summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/fomu/board.mk3
-rw-r--r--hw/bsp/msp_exp430f5529lp/board.mk3
2 files changed, 6 insertions, 0 deletions
diff --git a/hw/bsp/fomu/board.mk b/hw/bsp/fomu/board.mk
index b824b6979..403a7fb95 100644
--- a/hw/bsp/fomu/board.mk
+++ b/hw/bsp/fomu/board.mk
@@ -5,6 +5,9 @@ CFLAGS += \
-nostdlib \
-DCFG_TUSB_MCU=OPT_MCU_VALENTYUSB_EPTRI
+# Cross Compiler for RISC-V
+CROSS_COMPILE = riscv-none-embed-
+
MCU_DIR = hw/mcu/fomu
BSP_DIR = hw/bsp/fomu
diff --git a/hw/bsp/msp_exp430f5529lp/board.mk b/hw/bsp/msp_exp430f5529lp/board.mk
index 13e3b7217..8e857eb66 100644
--- a/hw/bsp/msp_exp430f5529lp/board.mk
+++ b/hw/bsp/msp_exp430f5529lp/board.mk
@@ -6,6 +6,9 @@ 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
LDINC += $(TOP)/hw/mcu/ti/msp430/msp430-gcc-support-files/include