2018-05-08 19:39:20 +00:00
|
|
|
################################################################################
|
2018-02-02 14:31:37 +00:00
|
|
|
# SimpleLink MCU platform makefile
|
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
################################################################################
|
|
|
|
# Sanity check of expected symbols
|
|
|
|
|
2018-02-02 14:31:37 +00:00
|
|
|
ifndef CONTIKI
|
|
|
|
$(error CONTIKI not defined! You must specify where CONTIKI resides!)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifndef SIMPLELINK_SDK
|
|
|
|
$(error SIMPLELINK_SDK not defined! You must specify where the SimpleLink SDK resides!)
|
|
|
|
endif
|
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
ifndef SIMPLELINK_DEVICE
|
|
|
|
$(error SIMPLELINK_DEVICE not defined! You must specify which device you are using!)
|
2018-02-15 14:39:18 +00:00
|
|
|
endif
|
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
ifndef SIMPLELINK_BOARD
|
|
|
|
$(error SIMPLELINK_BOARD not defined! You must specify which board you are using!)
|
2018-02-06 13:30:50 +00:00
|
|
|
endif
|
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
################################################################################
|
|
|
|
# Defines
|
2018-02-16 15:55:39 +00:00
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
SIMPLELINK_PATH := $(CONTIKI)/arch/platform/simplelink
|
2018-02-02 14:31:37 +00:00
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
include $(SIMPLELINK_PATH)/Makefile.device-family
|
2018-02-02 14:31:37 +00:00
|
|
|
|
|
|
|
CLEAN += *.simplelink
|
|
|
|
|
2018-05-08 19:39:20 +00:00
|
|
|
# Build without code size optimisations, unless the project dictates otherwise
|
2018-02-02 14:31:37 +00:00
|
|
|
SMALL ?= 0
|