Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of example-DISCO_L475_IOT-mbed-Cloud-connect by
Diff: main.cpp
- Revision:
- 6:e0e1e1b93099
- Parent:
- 4:cf7342047b4d
- Child:
- 9:265744785d33
--- a/main.cpp Fri Jul 06 15:08:07 2018 +0200 +++ b/main.cpp Tue Jul 10 14:52:15 2018 +0200 @@ -26,12 +26,13 @@ // This is great because things such as network operations are illegal in ISR, so updating a resource in a button's fall() function is not allowed EventQueue eventQueue; +// Declaring net interface as a global variable instead of local to avoid stack overflow +ISM43362Interface net; + // Storage implementation definition, currently using SDBlockDevice (SPI flash, DataFlash, and internal flash are also available) SDBlockDevice sd(SPI_MOSI, SPI_MISO, SPI_SCK, SPI_CS); FATFileSystem fs("sd", &sd); -// Declaring net interface as a global variable instead of local to avoid stack overflow -ISM43362Interface net; // Declaring pointers for access to Mbed Cloud Client resources outside of main() MbedCloudClientResource *button_res;