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.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/main.cpp
- Revision:
- 162:5e8948b8044d
- Parent:
- 151:9d47fe5ba805
- Child:
- 163:7b8d4c8b03e4
diff -r 9d47fe5ba805 -r 5e8948b8044d src/main.cpp --- a/src/main.cpp Fri Sep 30 14:32:26 2016 +0000 +++ b/src/main.cpp Fri Sep 30 20:10:50 2016 +0000 @@ -153,7 +153,7 @@ banner(); - Thread modbusMaster_thread(ModbusMaster, NULL, osPriorityHigh, (1024*10), NULL); + Thread modbusMaster_thread(ModbusMaster, NULL, osPriorityHigh, (1024*12), NULL); osSignalWait(sig_output_continue, osWaitForever); // start the output task @@ -163,14 +163,19 @@ // start the configuration handler Thread configHandler_thread(ConfigurationHandler, NULL, osPriorityNormal, (1024*3), NULL); osSignalWait(sig_config_continue, osWaitForever); + + printf("CONFIGURATION HANDLER DONE\r\n"); // we're clear to start running the controls Thread controlTask_thread(ControlTask, NULL, osPriorityNormal, (1024*2), NULL); - //printf("\r%s: continuing to initialize...\n", __func__); + printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); Thread BLE_thread(BLEDataHandler); - Thread CDH_thread(CloudDataHandler, NULL, osPriorityNormal, (1024*10), NULL); - Thread analyticsLoggerThread(AnalyticsLogger, NULL, osPriorityHigh, (1024*10), NULL); + printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); + Thread CDH_thread(CloudDataHandler, NULL, osPriorityNormal, (1024*12), NULL); + printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); + Thread analyticsLoggerThread(AnalyticsLogger, NULL, osPriorityHigh, (1024*12), NULL); + printf("\r%s:%d: continuing to initialize...\n", __func__, __LINE__); // assign globals