summaryrefslogtreecommitdiff
path: root/hw/bsp
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-03-02 11:50:57 +0700
committerhathach <[email protected]>2021-03-02 11:50:57 +0700
commit71313d934d2258802a850cccecaf18f0cdccf386 (patch)
tree6c7412231563abb5187665e38b8ff438577194bf /hw/bsp
parenta2366fce53196d49fb7b51606bf2c32be4203642 (diff)
update ci for msp430 family
Diffstat (limited to 'hw/bsp')
-rw-r--r--hw/bsp/msp430/family.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/hw/bsp/msp430/family.mk b/hw/bsp/msp430/family.mk
index 870b27165..a982c2866 100644
--- a/hw/bsp/msp430/family.mk
+++ b/hw/bsp/msp430/family.mk
@@ -1,3 +1,7 @@
+CROSS_COMPILE = msp430-elf-
+FAMILY_SUBMODULES = hw/mcu/ti
+SKIP_NANOLIB = 1
+
CFLAGS += \
-D__MSP430F5529__ \
-DCFG_TUSB_MCU=OPT_MCU_MSP430x5xx \
@@ -6,8 +10,7 @@ CFLAGS += \
#-mmcu=msp430f5529
-# Cross Compiler for MSP430
-CROSS_COMPILE = msp430-elf-
+
# All source paths should be relative to the top level.
LD_FILE = hw/mcu/ti/msp430/msp430-gcc-support-files/include/msp430f5529.ld