Skip to content

Add TestEspApi example, exercising the non-RTOS C API. #1688

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

Merged
merged 2 commits into from
Mar 1, 2016

Conversation

nuket
Copy link
Contributor

@nuket nuket commented Feb 27, 2016

Wrote a little code to exercise the C API, using the CallSDKFunctions example as a starting point. It doesn't exercise every last function, but is helpful for learning how the C API works.

@ibaranov-cp
Copy link

This looks really good to me!

@nuket
Copy link
Contributor Author

nuket commented Feb 29, 2016

Thanks!

Curiosity: Is the latest 1.5.1 non-RTOS SDK planned to be merged into the codebase? I noticed some new forced-sleep API calls that might be interesting to use. Wondering if I could help out in porting this stuff.

It also seems like the PlatformIO guys are still using the esp8266/Arduino with the 1.3.0 version of the SDK? (off-topic, I know).

igrr added a commit that referenced this pull request Mar 1, 2016
Add TestEspApi example, exercising the non-RTOS C API.
@igrr igrr merged commit 416f0a6 into esp8266:master Mar 1, 2016
@igrr
Copy link
Member

igrr commented Mar 1, 2016

@krzychb
Copy link
Contributor

krzychb commented Mar 1, 2016

@nuket

This part of code is my favourite 😄

Serial.begin(74880); 
system_update_cpu_freq(SYS_CPU_160MHZ); 

Nice example 👍

Krzysztof

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

Successfully merging this pull request may close these issues.

4 participants