GameOpener / mbed-src

Fork of mbed-src by mbed official

Revision:
443:ed48b4122bfb
Parent:
390:35c2c1cf29cd
Child:
460:3bcf9be0332c
--- a/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h	Thu Jan 08 12:00:08 2015 +0000
+++ b/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/device.h	Mon Jan 12 08:15:07 2015 +0000
@@ -16,6 +16,14 @@
 #ifndef MBED_DEVICE_H
 #define MBED_DEVICE_H
 
+/* ->Take measures about optimization problems of web compiler */
+   /* Web compiler has problem that inlining code may not be generated correctly */
+   /* when "-O3 -Otime" was specified. */
+#if defined(__arm__) && (__ARMCC_VERSION <= 5040027)
+#pragma Ospace
+#endif
+/* <-Take measures about optimization problems of web compiler */
+
 #define DEVICE_PORTIN           1
 #define DEVICE_PORTOUT          1
 #define DEVICE_PORTINOUT        1