diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gmake_scripts/cpu_stm32m4.mk | 14 | ||||
-rw-r--r-- | tools/gmake_scripts/cpu_stm32m7.mk | 13 |
2 files changed, 11 insertions, 16 deletions
diff --git a/tools/gmake_scripts/cpu_stm32m4.mk b/tools/gmake_scripts/cpu_stm32m4.mk index 5acfe8ad..1e205eb6 100644 --- a/tools/gmake_scripts/cpu_stm32m4.mk +++ b/tools/gmake_scripts/cpu_stm32m4.mk @@ -14,11 +14,11 @@ # NONE # -#SRCFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16 -#LDFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16 -#DEFS += CORTEX_USE_FPU=TRUE -#LIBS += m -SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16 -LDFLAGS += -mcpu=cortex-m4 -DEFS += CORTEX_USE_FPU=FALSE +SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant +LDFLAGS += -mcpu=cortex-m4 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant +DEFS += CORTEX_USE_FPU=TRUE USE_FPU=hard +LIBS += m +#SRCFLAGS += -mcpu=cortex-m4 -falign-functions=16 +#LDFLAGS += -mcpu=cortex-m4 +#DEFS += CORTEX_USE_FPU=FALSE diff --git a/tools/gmake_scripts/cpu_stm32m7.mk b/tools/gmake_scripts/cpu_stm32m7.mk index 0a59e24f..78e1cc4e 100644 --- a/tools/gmake_scripts/cpu_stm32m7.mk +++ b/tools/gmake_scripts/cpu_stm32m7.mk @@ -13,12 +13,7 @@ # # NONE # - -#SRCFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16 -#LDFLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -falign-functions=16 -#DEFS += CORTEX_USE_FPU=TRUE -#LIBS += m -SRCFLAGS += -mcpu=cortex-m7 -falign-functions=16 -LDFLAGS += -mcpu=cortex-m7 -DEFS += CORTEX_USE_FPU=FALSE - +SRCFLAGS += -mcpu=cortex-m7 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant +LDFLAGS += -mcpu=cortex-m7 -falign-functions=16 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant +DEFS += CORTEX_USE_FPU=TRUE USE_FPU=hard +LIBS += m
\ No newline at end of file |