aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorTravis Geiselbrecht <geist@foobox.com>2016-03-29 00:02:54 -0700
committerTravis Geiselbrecht <geist@foobox.com>2016-03-29 00:02:54 -0700
commitcbb6e051278da5d234fb58e77c70b4755825f954 (patch)
tree3c7faceeb170f7835683e0af6664d4966dca54ab /platform
parent8550876169370a896188bef1634a02211b59a384 (diff)
downloadcommon-cbb6e051278da5d234fb58e77c70b4755825f954.tar.gz
[arm-m][fpu] fix fpu context switch to not overly trigger fpused tracking
Make sure stellaris builds with fpu enabled
Diffstat (limited to 'platform')
-rw-r--r--platform/stellaris/rules.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/stellaris/rules.mk b/platform/stellaris/rules.mk
index 9c5cf39b..b602342c 100644
--- a/platform/stellaris/rules.mk
+++ b/platform/stellaris/rules.mk
@@ -11,7 +11,9 @@ MEMSIZE ?= 32768
MEMBASE := 0x20000000
ROMBASE := 0x00000000
ARM_CPU := cortex-m4f
-GLOBAL_DEFINES += TARGET_IS_BLIZZARD_RA1
+GLOBAL_DEFINES += \
+ TARGET_IS_BLIZZARD_RA1 \
+ __FPU_PRESENT=1
endif
ifeq ($(STELLARIS_CHIP),LM3S6965)
MEMSIZE ?= 65536