From 6280e4e7cbad956aab1a2a519d93620c3990eedc Mon Sep 17 00:00:00 2001 From: "William D. Jones" Date: Sat, 14 Sep 2019 18:01:52 -0400 Subject: msp430f5529: Add empty msp_exp430f5529lp BSP and DCD. --- examples/make.mk | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'examples/make.mk') diff --git a/examples/make.mk b/examples/make.mk index b0aa5659e..f2428f5e3 100644 --- a/examples/make.mk +++ b/examples/make.mk @@ -2,8 +2,12 @@ # Common make definition for all examples # -# Compiler -CROSS_COMPILE = arm-none-eabi- +# Compiler +ifeq ($(BOARD), msp_exp430f5529lp) + CROSS_COMPILE = msp430-elf- +else + CROSS_COMPILE = arm-none-eabi- +endif CC = $(CROSS_COMPILE)gcc CXX = $(CROSS_COMPILE)g++ OBJCOPY = $(CROSS_COMPILE)objcopy @@ -67,10 +71,13 @@ CFLAGS += \ -Wno-deprecated-declarations \ -Wnested-externs \ -Wunreachable-code \ - -Wno-error=lto-type-mismatch \ -ffunction-sections \ -fdata-sections +ifneq ($(BOARD), msp_exp430f5529lp) + CFLAGS += -Wno-error=lto-type-mismatch +endif + # This causes lots of warning with nrf5x build due to nrfx code # CFLAGS += -Wcast-align -- cgit v1.3.1