aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F7xx/USB_MSD/Makefile
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2018-03-15 12:51:14 +0100
committerGitHub <noreply@github.com>2018-03-15 12:51:14 +0100
commit3add406135c78d44ebc38d810b22af5da19cd296 (patch)
treefd42297388ca04dc8ff202e40d491b73ff4c21d6 /testhal/STM32/STM32F7xx/USB_MSD/Makefile
parent345e218afd4f8009729dddc6eb541d8ec6a91565 (diff)
parentdabdfca04e5f470d1eb83f72f18269bd294031b6 (diff)
downloadChibiOS-Contrib-3add406135c78d44ebc38d810b22af5da19cd296.tar.gz
ChibiOS-Contrib-3add406135c78d44ebc38d810b22af5da19cd296.tar.bz2
ChibiOS-Contrib-3add406135c78d44ebc38d810b22af5da19cd296.zip
Merge branch 'master' into update_tests
Diffstat (limited to 'testhal/STM32/STM32F7xx/USB_MSD/Makefile')
-rw-r--r--testhal/STM32/STM32F7xx/USB_MSD/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/testhal/STM32/STM32F7xx/USB_MSD/Makefile b/testhal/STM32/STM32F7xx/USB_MSD/Makefile
index 4de0c47..4564c51 100644
--- a/testhal/STM32/STM32F7xx/USB_MSD/Makefile
+++ b/testhal/STM32/STM32F7xx/USB_MSD/Makefile
@@ -30,7 +30,7 @@ endif
# Enable this if you want link time optimizations (LTO)
ifeq ($(USE_LTO),)
- USE_LTO = no
+ USE_LTO = yes
endif
# If enabled, this option allows to compile the application in THUMB mode.
@@ -93,13 +93,12 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../../../ChibiOS
CHIBIOS_CONTRIB = $(CHIBIOS)/../ChibiOS-Contrib
-
# Startup files.
include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f7xx.mk
# HAL-OSAL files (optional).
include $(CHIBIOS_CONTRIB)/os/hal/hal.mk
-include $(CHIBIOS)/os/hal/ports/STM32/STM32F7xx/platform.mk
-include $(CHIBIOS)/os/hal/boards/ST_NUCLEO144_F767ZI/board.mk
+include $(CHIBIOS_CONTRIB)/os/hal/ports/STM32/STM32F7xx/platform.mk
+include $(CHIBIOS)/os/hal/boards/ST_STM32F746G_DISCOVERY/board.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
@@ -112,7 +111,7 @@ include $(CHIBIOS)/os/hal/lib/streams/streams.mk
include $(CHIBIOS)/os/various/shell/shell.mk
# Define linker script file here
-LDSCRIPT= $(STARTUPLD)/STM32F76xxI.ld
+LDSCRIPT= $(STARTUPLD)/STM32F746xG.ld
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.