build (#2399)
This commit is contained in:
parent
5f18fbee9d
commit
7b33ebfa9c
|
@ -4,10 +4,6 @@ USE_EXCEPTIONS_STACKSIZE = 4096
|
|||
|
||||
CYPRESS_CONTRIB = $(PROJECT_DIR)/config/boards/$(PROJECT_BOARD)/OS
|
||||
|
||||
CPU_STARTUP_DIR = $(CYPRESS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_S6E2CxAH.mk
|
||||
CPU_PLATFORM_DIR = $(CYPRESS_CONTRIB)/os/hal/ports/Cypress/S6E2CxAH/platform.mk
|
||||
CPU_HWLAYER = ports/cypress
|
||||
|
||||
GENERATED_ENUMS_DIR = $(BOARD_DIR)/config/controllers/algo
|
||||
|
||||
EXTRA_PARAMS += -DFIRMWARE_ID=\"cypress\" -DSHORT_BOARD_NAME=hellen_cypress
|
||||
|
|
|
@ -6,10 +6,6 @@ USE_EXCEPTIONS_STACKSIZE = 2400
|
|||
|
||||
KINETIS_CONTRIB = $(PROJECT_DIR)/config/boards/$(PROJECT_BOARD)/OS
|
||||
|
||||
CPU_STARTUP_DIR = $(KINETIS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_ke1xf.mk
|
||||
CPU_PLATFORM_DIR = $(KINETIS_CONTRIB)/os/hal/ports/KINETIS/KE1xF/platform.mk
|
||||
CPU_HWLAYER = ports/kinetis
|
||||
|
||||
GENERATED_ENUMS_DIR = $(BOARD_DIR)/config/controllers/algo
|
||||
|
||||
EXTRA_PARAMS += -DFIRMWARE_ID=\"kinetis\" -nodefaultlibs -L$(PROJECT_DIR)/config/boards/$(PROJECT_BOARD)/libc -lgcc -ltinyc
|
||||
|
|
|
@ -31,7 +31,13 @@ else ifeq ($(PROJECT_CPU),ARCH_STM32H7)
|
|||
CPU_PLATFORM = STM32H7xx/platform.mk
|
||||
CPU_HWLAYER = ports/stm32/stm32h7
|
||||
else ifeq ($(PROJECT_CPU),kinetis)
|
||||
CPU_STARTUP_DIR = $(KINETIS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_ke1xf.mk
|
||||
CPU_PLATFORM_DIR = $(KINETIS_CONTRIB)/os/hal/ports/KINETIS/KE1xF/platform.mk
|
||||
CPU_HWLAYER = ports/kinetis
|
||||
else ifeq ($(PROJECT_CPU),cypress)
|
||||
CPU_STARTUP_DIR = $(CYPRESS_CONTRIB)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_S6E2CxAH.mk
|
||||
CPU_PLATFORM_DIR = $(CYPRESS_CONTRIB)/os/hal/ports/Cypress/S6E2CxAH/platform.mk
|
||||
CPU_HWLAYER = ports/cypress
|
||||
else ifeq ($(PROJECT_CPU),simulator)
|
||||
else
|
||||
$(error Unexpected PROJECT_CPU)
|
||||
|
|
|
@ -85,7 +85,7 @@ endif
|
|||
# If enabled, this option makes the build process faster by not compiling
|
||||
# modules not used in the current configuration.
|
||||
ifeq ($(USE_SMART_BUILD),)
|
||||
USE_SMART_BUILD = yes
|
||||
USE_SMART_BUILD = no
|
||||
endif
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue