diff options
Diffstat (limited to 'nuttx/configs/stm3240g-eval/ostest/Make.defs')
-rw-r--r-- | nuttx/configs/stm3240g-eval/ostest/Make.defs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/configs/stm3240g-eval/ostest/Make.defs b/nuttx/configs/stm3240g-eval/ostest/Make.defs index dc7d728eb..c261d4ec3 100644 --- a/nuttx/configs/stm3240g-eval/ostest/Make.defs +++ b/nuttx/configs/stm3240g-eval/ostest/Make.defs @@ -51,7 +51,7 @@ ifeq ($(CONFIG_STM32_CODESOURCERYL),y) ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft MAXOPTIMIZATION = -O2 endif -ifeq ($(CONFIG_STM32_ATOLLIC),y) +ifeq ($(CONFIG_STM32_ATOLLIC_LITE),y) # Atollic toolchain under Windows CROSSDEV = arm-atollic-eabi- ARCROSSDEV = @@ -62,6 +62,17 @@ else ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft endif endif +ifeq ($(CONFIG_STM32_ATOLLIC_PRO),y) + # Atollic toolchain under Windows + CROSSDEV = arm-atollic-eabi- + ARCROSSDEV = arm-atollic-eabi- + WINTOOL = 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-m3 -mthumb -mfloat-abi=soft +endif +endif ifeq ($(CONFIG_STM32_DEVKITARM),y) # devkitARM under Windows CROSSDEV = arm-eabi- |