custom-board-makefile pull request

This commit is contained in:
Andrei 2017-04-17 18:22:09 +03:00
parent 4c1908ccf9
commit 32ba5bc0d9
1 changed files with 4 additions and 2 deletions

View File

@ -99,7 +99,7 @@ PROJECT_DIR = .
CHIBIOS = ChibiOS3
CHIBIOS_CONTRIB = ChibiOS-Contrib
ifneq ($(PROJECT_BOARD),OLIMEX_STM32_E407)
ifeq ($(PROJECT_BOARD),)
PROJECT_BOARD = ST_STM32F4
endif
DDEFS += -D$(PROJECT_BOARD)
@ -138,7 +138,9 @@ include $(PROJECT_DIR)/controllers/trigger/trigger.mk
include $(PROJECT_DIR)/console/console.mk
# Define linker script file here
LDSCRIPT= config/stm32f4ems/STM32F407xG_CCM.ld
ifeq ($(LDSCRIPT),)
LDSCRIPT= config/stm32f4ems/STM32F407xG_CCM.ld
endif
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.