mbed official / mbed

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Revision:
169:a7c7b631e539
Parent:
160:5571c4ff569f
--- a/TARGET_RZ_A1H/cmsis_gcc.h	Thu May 24 15:35:55 2018 +0100
+++ b/TARGET_RZ_A1H/cmsis_gcc.h	Fri Jun 22 15:38:59 2018 +0100
@@ -642,7 +642,7 @@
     "        VMOV    D14,R2,R2         \n"
     "        VMOV    D15,R2,R2         \n"
 
-#if __ARM_NEON == 1
+#if (defined(__ARM_NEON) && (__ARM_NEON == 1))
     //Initialise D32 registers to 0
     "        VMOV    D16,R2,R2         \n"
     "        VMOV    D17,R2,R2         \n"