summaryrefslogtreecommitdiff
path: root/hw/bsp/msp432e4
diff options
context:
space:
mode:
authorhathach <[email protected]>2023-11-23 12:43:13 +0700
committerhathach <[email protected]>2023-11-23 12:43:13 +0700
commit82880eecbd51ce8cf801ae0c04871e65f81826f4 (patch)
treec22f030dfd488da61173967ac192176bb3cd498f /hw/bsp/msp432e4
parent1a98f5389c70d159f359c5bfe369d1cbf3af7475 (diff)
make nanolib linking explicitly by each family/board
Diffstat (limited to 'hw/bsp/msp432e4')
-rw-r--r--hw/bsp/msp432e4/family.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/bsp/msp432e4/family.mk b/hw/bsp/msp432e4/family.mk
index b5ade6a52..6fcb22457 100644
--- a/hw/bsp/msp432e4/family.mk
+++ b/hw/bsp/msp432e4/family.mk
@@ -12,6 +12,8 @@ CFLAGS += \
# mcu driver cause following warnings
CFLAGS += -Wno-error=cast-qual -Wno-error=format=
+LDFLAGS_GCC += -specs=nosys.specs -specs=nano.specs
+
# All source paths should be relative to the top level.
LD_FILE = hw/mcu/ti/msp432e4/Source/msp432e401y.ld
LDINC += $(TOP)/hw/mcu/ti/msp432e4/Include