IBM IoT Client Ethernet example

Dependencies:   C12832_fix EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed

Fork of IBMIoTClientEthernetExample by IBM Watson IoT

Revision:
11:41d0316866bb
Parent:
10:0b5e0dfee08e
Child:
13:2234cf0a8127
--- 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);
     }