alif/alif.mk: Add MPY_CROSS_FLAGS setting.
The HP and HE CPUs have double-precision hardware floating point, so can use the armv7emdp architecture. This allows frozen code to use native/viper/asm_thumb decorators. Fixes issue #17896. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
parent
f0f5abb7a3
commit
b7cfafc1ee
1 changed files with 2 additions and 0 deletions
|
|
@ -22,6 +22,8 @@ include $(TOP)/extmod/extmod.mk
|
|||
################################################################################
|
||||
# Project specific settings and compiler/linker flags
|
||||
|
||||
MPY_CROSS_FLAGS += -march=armv7emdp
|
||||
|
||||
CROSS_COMPILE ?= arm-none-eabi-
|
||||
ALIF_DFP_REL_TOP ?= lib/alif_ensemble-cmsis-dfp
|
||||
ALIF_DFP_REL_HERE ?= $(TOP)/lib/alif_ensemble-cmsis-dfp
|
||||
|
|
|
|||
Loading…
Reference in a new issue