enable F7/H7 double precision
This commit is contained in:
parent
e4497a7398
commit
83441e1c32
|
@ -174,11 +174,6 @@ ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
|
|||
USE_EXCEPTIONS_STACKSIZE = 0x1000
|
||||
endif
|
||||
|
||||
# Enables the use of FPU on Cortex-M4 (no, softfp, hard).
|
||||
ifeq ($(USE_FPU),)
|
||||
USE_FPU = hard
|
||||
endif
|
||||
|
||||
# and this is not working for be :( See https://github.com/rusefi/rusefi/issues/638
|
||||
# use -j4 unless some value was specified
|
||||
NUMJOBS=${NUMJOBS:-" -j4 "}
|
||||
|
|
|
@ -100,11 +100,6 @@ ifeq ($(USE_EXCEPTIONS_STACKSIZE),)
|
|||
USE_EXCEPTIONS_STACKSIZE = 0x1000
|
||||
endif
|
||||
|
||||
# Enables the use of FPU on Cortex-M4 (no, softfp, hard).
|
||||
ifeq ($(USE_FPU),)
|
||||
USE_FPU = hard
|
||||
endif
|
||||
|
||||
#
|
||||
# Architecture or project specific options
|
||||
##############################################################################
|
||||
|
|
|
@ -5,6 +5,7 @@ HW_LAYER_PORT_CPP += $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/mpu_util.cpp \
|
|||
$(PROJECT_DIR)/hw_layer/ports/stm32/stm32_adc_v2.cpp
|
||||
|
||||
MCU = cortex-m4
|
||||
USE_FPU = hard
|
||||
LDSCRIPT = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f4/STM32F4.ld
|
||||
# kludge: while we the very generic ChibiOS board.c we use our custom board.h from current folder!
|
||||
ifeq ($(BOARD_C),)
|
||||
|
|
|
@ -12,6 +12,8 @@ USE_OPT += -falign-functions=16
|
|||
|
||||
DDEFS += -DSTM32F767xx
|
||||
MCU = cortex-m7
|
||||
USE_FPU = hard
|
||||
USE_FPU_OPT = -mfloat-abi=$(USE_FPU) -mfpu=fpv5-d16
|
||||
LDSCRIPT = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32f7/STM32F7.ld
|
||||
# kludge: while we the very generic ChibiOS board.c we use our custom board.h from current folder!
|
||||
ifeq ($(BOARD_C),)
|
||||
|
|
|
@ -11,6 +11,8 @@ USE_OPT += -falign-functions=16
|
|||
|
||||
DDEFS += -DSTM32H743xx
|
||||
MCU = cortex-m7
|
||||
USE_FPU = hard
|
||||
USE_FPU_OPT = -mfloat-abi=$(USE_FPU) -mfpu=fpv5-d16
|
||||
LDSCRIPT = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32h7/STM32H743xI.ld
|
||||
ALLCSRC += $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_H743ZI/board.c
|
||||
CONFDIR = $(PROJECT_DIR)/hw_layer/ports/stm32/stm32h7/cfg
|
||||
|
|
Loading…
Reference in New Issue