Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sming Build Error on SmingCore/Platform/RTC #165

Closed
smitjj opened this issue Jul 6, 2015 · 6 comments
Closed

Sming Build Error on SmingCore/Platform/RTC #165

smitjj opened this issue Jul 6, 2015 · 6 comments

Comments

@smitjj
Copy link

smitjj commented Jul 6, 2015

When building Sming, the following build error occurs.

C+ SmingCore/Platform/RTC.cpp
SmingCore/Platform/RTC.cpp: In constructor 'RtcClass::RtcClass()':
SmingCore/Platform/RTC.cpp:4:39: error: 'system_get_rst_info' was not declared in this scope
  rst_info* info = system_get_rst_info();
                                       ^
SmingCore/Platform/RTC.cpp:5:35: error: 'REASON_WDT_RST' was not declared in this scope
  hardwareReset = (info->reason == REASON_WDT_RST);
                                   ^
make: *** [out/build/SmingCore/Platform//RTC.o] Error 1
@tavalin
Copy link
Contributor

tavalin commented Jul 6, 2015

What version of SDK are you using?

@smitjj
Copy link
Author

smitjj commented Jul 7, 2015

sdk_v1.1.0_15_05_26

@hreintke
Copy link
Contributor

hreintke commented Jul 7, 2015

searching SDK's, according changelogs and direcory contents :
system_get_rst_info and REASON_WDT_RST are only available from SDK 1.1.1 onwards

@smitjj
Copy link
Author

smitjj commented Jul 7, 2015

I will update my SDK and check. Sming dependency then need to be updated from Espressif SDK v1.0.1b1 to v1.1.1

@smitjj
Copy link
Author

smitjj commented Jul 7, 2015

@hreintke, I can confirm it builds successfully with 1.1.2 no problem, https://bintray.com/artifact/download/kireevco/generic/esp-open-sdk-1.1.2-linux-x86_64.tar.gz. Readme.md needs updating

@AutomationD
Copy link
Contributor

Great.

Sent from my iPhone

On Jul 7, 2015, at 10:31 AM, smitjj notifications@github.com wrote:

I can confirm it build successfully with 1.1.2, https://bintray.com/artifact/download/kireevco/generic/esp-open-sdk-1.1.2-linux-x86_64.tar.gz


Reply to this email directly or view it on GitHub.

@smitjj smitjj closed this as completed Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants