mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
More STM32F429 Discovery FPU-related changes from David Alessio
This commit is contained in:
@@ -6588,4 +6588,7 @@
|
||||
(2014-2-16).
|
||||
* sched/task_terminate.c: Always returns an error because the
|
||||
return value was not being set correctly. From Gosha (2014-2-18).
|
||||
|
||||
* stm32f429i-disco/ostest-fpu: OS test for FPU-enabled system from
|
||||
David Alessio (2014-2-18).
|
||||
* Other misc changes to support FPU on STM32F429 Discovery from
|
||||
David Alession (2014-2-18)
|
||||
|
||||
@@ -186,8 +186,16 @@ ifeq ($(CONFIG_ARMV7M_OABI_TOOLCHAIN),y)
|
||||
else
|
||||
CROSSDEV ?= arm-nuttx-eabi-
|
||||
ARCROSSDEV ?= arm-nuttx-eabi-
|
||||
ifeq ($(CONFIG_ARCH_CORTEXM4),y)
|
||||
ifeq ($(CONFIG_ARCH_FPU),y)
|
||||
ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfpu=fpv4-sp-d16 -mfloat-abi=hard
|
||||
else
|
||||
ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -march=armv7e-m -mfloat-abi=soft
|
||||
endif
|
||||
else ifeq ($(CONFIG_ARCH_CORTEXM3),y)
|
||||
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
|
||||
endif
|
||||
endif
|
||||
MAXOPTIMIZATION ?= -Os
|
||||
endif
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
/*
|
||||
* When this file is assembled, it will require the following GCC options:
|
||||
*
|
||||
* -mcpu=cortex-m3 -mfloat-abi=hard -mfpu=vfp -meabi=5
|
||||
* -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=vfp -meabi=5 -mthumb
|
||||
*/
|
||||
|
||||
/************************************************************************************
|
||||
|
||||
@@ -774,7 +774,7 @@ config STM32_OTGFS
|
||||
config STM32_OTGHS
|
||||
bool "OTG HS"
|
||||
default n
|
||||
depends on STM32_STM32F20XX || STM32_STM32F40XX
|
||||
depends on STM32_STM32F20XX || STM32_STM32F40XX || STM32_STM32F429
|
||||
|
||||
config STM32_OTGHS_FS_MODE
|
||||
bool "Use OTG HS in FS mode"
|
||||
|
||||
Reference in New Issue
Block a user