summaryrefslogtreecommitdiff
path: root/nuttx/configs/kwikstik-k40/ostest/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/kwikstik-k40/ostest/Make.defs')
-rw-r--r--nuttx/configs/kwikstik-k40/ostest/Make.defs8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/configs/kwikstik-k40/ostest/Make.defs b/nuttx/configs/kwikstik-k40/ostest/Make.defs
index 6259f67cb..ef478d80a 100644
--- a/nuttx/configs/kwikstik-k40/ostest/Make.defs
+++ b/nuttx/configs/kwikstik-k40/ostest/Make.defs
@@ -41,24 +41,24 @@ ifeq ($(CONFIG_KINETIS_CODESOURCERYW),y)
# CodeSourcery under Windows
CROSSDEV = arm-none-eabi-
WINTOOL = y
- ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -mfloat-abi=soft
+ ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -mlong-calls
endif
ifeq ($(CONFIG_KINETIS_CODESOURCERYL),y)
# CodeSourcery under Linux
CROSSDEV = arm-none-eabi-
- ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -mfloat-abi=soft
+ ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -mlong-calls
MAXOPTIMIZATION = -O2
endif
ifeq ($(CONFIG_KINETIS_DEVKITARM),y)
# devkitARM under Windows
CROSSDEV = arm-eabi-
WINTOOL = y
- ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -mfloat-abi=soft
+ ARCHCPUFLAGS = -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -mlong-calls
endif
ifeq ($(CONFIG_KINETIS_BUILDROOT),y)
# NuttX buildroot under Linux or Cygwin
CROSSDEV = arm-elf-
- ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
+ ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft -mlong-calls
MAXOPTIMIZATION = -Os
endif