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: C12832_fix EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Diff: main.cpp
- Revision:
- 11:41d0316866bb
- Parent:
- 10:0b5e0dfee08e
- Child:
- 13:2234cf0a8127
diff -r 0b5e0dfee08e -r 41d0316866bb main.cpp
--- a/main.cpp Mon Oct 20 14:37:33 2014 +0000
+++ b/main.cpp Thu Mar 19 14:27:39 2015 +0000
@@ -50,6 +50,9 @@
#elif defined(TARGET_K64F)
#warning "Compiling for mbed K64F"
#include "K64F.h"
+#elif defined(TARGET_RZ_A1H)
+#warning "Compiling for mbed GR-PEACH"
+#include "RZA1H.h"
#endif
bool quickstartMode = true;
@@ -259,7 +262,11 @@
// this works - reset the system when the retry count gets to a threshold
if (retryAttempt == 5)
+#if defined(TARGET_RZ_A1H)
+ mbed_die();
+#else
NVIC_SystemReset();
+#endif
else
wait(timeout);
}
