revert to use float-abi

define __USE_CMSIS instead of __USE_LPCOPEN will have startup enable FPU
on startup properly. Although it is only relevant to lpx43/40 series,
change all to __USE_CMSIS for consistency
This commit is contained in:
hathach
2020-09-02 00:46:08 +07:00
parent f17d6f15e0
commit c492aef4c7
11 changed files with 17 additions and 13 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ CFLAGS += \
-nostdlib \
-DCORE_M0PLUS \
-D__VTOR_PRESENT=0 \
-D__USE_LPCOPEN \
-D__USE_CMSIS \
-DCFG_TUSB_MCU=OPT_MCU_LPC11UXX \
-DCFG_TUSB_MEM_SECTION='__attribute__((section(".data.$$RAM3")))' \
-DCFG_TUSB_MEM_ALIGN='__attribute__((aligned(64)))'