2016-12-14 11:48:15 +08:00
|
|
|
# CONFIG_CC3200SDK_BUILTIN can be used for debugging purposes.
|
|
|
|
# In that case, the CC3200 SDK driverlib must be built with level 0
|
|
|
|
# optimization (-O0) for the uart module to work properly.
|
|
|
|
# Note the default build for Zephyr is CONFIG_CC3200SDK_ROM_DRIVERLIB=y
|
|
|
|
# which uses the ROM versions of the APIs instead.
|
2016-10-26 06:59:12 +08:00
|
|
|
ccflags-$(CONFIG_CC3200SDK_BUILTIN) += -O0
|
2016-12-14 11:48:15 +08:00
|
|
|
ccflags-$(CONFIG_HAS_CC3200SDK) += -D$(COMPILER)
|
2016-10-26 06:59:12 +08:00
|
|
|
obj-$(CONFIG_CC3200SDK_BUILTIN) += driverlib/gpio.o
|
|
|
|
obj-$(CONFIG_CC3200SDK_BUILTIN) += driverlib/interrupt.o
|
|
|
|
obj-$(CONFIG_CC3200SDK_BUILTIN) += driverlib/pin.o
|
|
|
|
obj-$(CONFIG_CC3200SDK_BUILTIN) += driverlib/uart.o
|
|
|
|
obj-$(CONFIG_CC3200SDK_BUILTIN) += driverlib/udma.o
|
|
|
|
# spi.c warns on parens
|
|
|
|
CFLAGS_spi.o += -Wno-parentheses
|
|
|
|
obj-$(CONFIG_CC3200SDK_BUILTIN) += driverlib/spi.o
|
2016-12-14 11:48:15 +08:00
|
|
|
# Need prcm and utils for PRCMCC3200MCUInit which is not in ROM
|
|
|
|
obj-$(CONFIG_HAS_CC3200SDK) += driverlib/utils.o
|
|
|
|
obj-$(CONFIG_HAS_CC3200SDK) += driverlib/prcm.o
|