diff options
| author | hathach <[email protected]> | 2023-11-23 12:43:13 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2023-11-23 12:43:13 +0700 |
| commit | 82880eecbd51ce8cf801ae0c04871e65f81826f4 (patch) | |
| tree | c22f030dfd488da61173967ac192176bb3cd498f /hw/bsp/lpc55 | |
| parent | 1a98f5389c70d159f359c5bfe369d1cbf3af7475 (diff) | |
make nanolib linking explicitly by each family/board
Diffstat (limited to 'hw/bsp/lpc55')
| -rw-r--r-- | hw/bsp/lpc55/family.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/bsp/lpc55/family.mk b/hw/bsp/lpc55/family.mk index a87fa5acf..1b97c43e4 100644 --- a/hw/bsp/lpc55/family.mk +++ b/hw/bsp/lpc55/family.mk @@ -4,6 +4,7 @@ DEPS_SUBMODULES += lib/CMSIS_5 lib/sct_neopixel $(SDK_DIR) include $(TOP)/$(BOARD_PATH)/board.mk CPU_CORE ?= cortex-m33 +MCU_DIR = $(SDK_DIR)/devices/$(MCU_VARIANT) # Default to Highspeed PORT1 PORT ?= 1 @@ -27,7 +28,7 @@ endif # mcu driver cause following warnings CFLAGS += -Wno-error=unused-parameter -Wno-error=float-equal -MCU_DIR = $(SDK_DIR)/devices/$(MCU_VARIANT) +LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs # All source paths should be relative to the top level. LD_FILE ?= $(MCU_DIR)/gcc/$(MCU_CORE)_flash.ld |
