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.
Diff: source/main-https.cpp
- Revision:
- 99:05398b3184f8
- Parent:
- 98:65c2333a38b6
- Child:
- 103:7b566b522427
diff -r 65c2333a38b6 -r 05398b3184f8 source/main-https.cpp
--- a/source/main-https.cpp Sun Apr 21 13:06:41 2019 +0000
+++ b/source/main-https.cpp Mon Apr 22 11:11:41 2019 +0000
@@ -409,6 +409,10 @@
int main() {
//print_all_thread_info();
//print_heap_and_isr_stack_info();
+#ifdef MBED_MAJOR_VERSION
+ printf("Mbed OS version %d.%d.%d\n\n", MBED_MAJOR_VERSION, MBED_MINOR_VERSION, MBED_PATCH_VERSION);
+#endif
+
reset_counter++;
print_memory_info();
printf("\r\n ++++++ PROGRAM STARTING -- reset count = %d ++++++ \r\n", reset_counter);