diff options
Diffstat (limited to 'testhal/STM32/STM32F7xx/USB_RAW')
| -rw-r--r-- | testhal/STM32/STM32F7xx/USB_RAW/Makefile | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/testhal/STM32/STM32F7xx/USB_RAW/Makefile b/testhal/STM32/STM32F7xx/USB_RAW/Makefile index 3cef56ba2..cf6257f33 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/Makefile +++ b/testhal/STM32/STM32F7xx/USB_RAW/Makefile @@ -74,6 +74,11 @@ ifeq ($(USE_FPU),)    USE_FPU = no
  endif
 +# FPU-related options.
 +ifeq ($(USE_FPU_OPT),)
 +  USE_FPU_OPT = -mfloat-abi=$(USE_FPU) -mfpu=fpv5-sp-d16 -fsingle-precision-constant
 +endif
 +
  #
  # Architecture or project specific options
  ##############################################################################
 @@ -155,7 +160,7 @@ INCDIR = $(CHIBIOS)/os/license \  # Compiler settings
  #
 -MCU  = cortex-m4
 +MCU  = cortex-m7
  #TRGT = arm-elf-
  TRGT = arm-none-eabi-
  | 
