Merge branch 'develop' into contrib/cc1200-tsch
This commit is contained in:
commit
00291a5fa0
@ -29,10 +29,17 @@ else
|
|||||||
CFLAGS += -O2
|
CFLAGS += -O2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### Use CMSIS and the existing dbg-io from arch/cpu/arm/common
|
### Use CMSIS from arch/cpu/arm/common
|
||||||
CONTIKI_ARM_DIRS += . common/dbg-io
|
CONTIKI_ARM_DIRS += .
|
||||||
CONTIKI_CPU_DIRS += $(addprefix ../arm/, $(CONTIKI_ARM_DIRS))
|
CONTIKI_CPU_DIRS += $(addprefix ../arm/, $(CONTIKI_ARM_DIRS))
|
||||||
|
|
||||||
|
### Default to use os/lib/dbg-io unless configured to do otherwise
|
||||||
|
MAKE_WITH_LIB_DBG_IO ?= 1
|
||||||
|
|
||||||
|
ifeq ($(MAKE_WITH_LIB_DBG_IO),1)
|
||||||
|
MODULES += os/lib/dbg-io
|
||||||
|
endif
|
||||||
|
|
||||||
### CPU-dependent cleanup files
|
### CPU-dependent cleanup files
|
||||||
CLEAN += *.elf *.bin *.lst *.hex *.i16hex
|
CLEAN += *.elf *.bin *.lst *.hex *.i16hex
|
||||||
|
|
||||||
|
@ -28,8 +28,6 @@ CONTIKI_CPU_SOURCEFILES += slip-arch.c slip.c
|
|||||||
CONTIKI_CPU_SOURCEFILES += i2c.c cc2538-temp-sensor.c vdd3-sensor.c
|
CONTIKI_CPU_SOURCEFILES += i2c.c cc2538-temp-sensor.c vdd3-sensor.c
|
||||||
CONTIKI_CPU_SOURCEFILES += cfs-coffee.c cfs-coffee-arch.c pwm.c
|
CONTIKI_CPU_SOURCEFILES += cfs-coffee.c cfs-coffee-arch.c pwm.c
|
||||||
|
|
||||||
MODULES += os/lib/dbg-io
|
|
||||||
|
|
||||||
USB_SOURCEFILES += usb-core.c cdc-acm.c usb-arch.c usb-serial.c cdc-acm-descriptors.c
|
USB_SOURCEFILES += usb-core.c cdc-acm.c usb-arch.c usb-serial.c cdc-acm-descriptors.c
|
||||||
|
|
||||||
CPU_START_SOURCEFILES = startup-gcc.c
|
CPU_START_SOURCEFILES = startup-gcc.c
|
||||||
|
@ -45,8 +45,6 @@ CONTIKI_CPU_SOURCEFILES += ble-cc2650.c ble-hal-cc26xx.c ble-addr.c rf-ble-cmd.c
|
|||||||
CONTIKI_CPU_SOURCEFILES += random.c soc-trng.c int-master.c
|
CONTIKI_CPU_SOURCEFILES += random.c soc-trng.c int-master.c
|
||||||
CONTIKI_CPU_SOURCEFILES += spi-arch.c
|
CONTIKI_CPU_SOURCEFILES += spi-arch.c
|
||||||
|
|
||||||
MODULES += os/lib/dbg-io
|
|
||||||
|
|
||||||
CONTIKI_SOURCEFILES += $(CONTIKI_CPU_SOURCEFILES)
|
CONTIKI_SOURCEFILES += $(CONTIKI_CPU_SOURCEFILES)
|
||||||
|
|
||||||
CPU_START_SOURCEFILES += fault-handlers.c $(TI_XXWARE_STARTUP_SRCS)
|
CPU_START_SOURCEFILES += fault-handlers.c $(TI_XXWARE_STARTUP_SRCS)
|
||||||
|
@ -91,9 +91,6 @@ SDK_DEVICES := $(CORE_SDK)/source/ti/devices/$(SDK_DEVICES_NAME)
|
|||||||
|
|
||||||
EXTERNALDIRS += $(SDK_SOURCE) $(SDK_NORTOS)
|
EXTERNALDIRS += $(SDK_SOURCE) $(SDK_NORTOS)
|
||||||
|
|
||||||
# CPU-dependent debug source files
|
|
||||||
MODULES += os/lib/dbg-io
|
|
||||||
|
|
||||||
# CPU-dependent directories
|
# CPU-dependent directories
|
||||||
CONTIKI_CPU_DIRS += . dev $(SUBFAMILY)
|
CONTIKI_CPU_DIRS += . dev $(SUBFAMILY)
|
||||||
CONTIKI_CPU_DIRS += rf rf-settings rf-settings/$(DEVICE_FAMILY_LC)
|
CONTIKI_CPU_DIRS += rf rf-settings rf-settings/$(DEVICE_FAMILY_LC)
|
||||||
|
@ -103,8 +103,6 @@ endif
|
|||||||
CONTIKI_TARGET_DIRS = . dev
|
CONTIKI_TARGET_DIRS = . dev
|
||||||
CONTIKI_TARGET_MAIN = platform.c
|
CONTIKI_TARGET_MAIN = platform.c
|
||||||
|
|
||||||
MODULES += os/lib/dbg-io
|
|
||||||
|
|
||||||
ifeq ($(JN516x_WITH_DR1175),1)
|
ifeq ($(JN516x_WITH_DR1175),1)
|
||||||
JN516x_WITH_DR1174 = 1
|
JN516x_WITH_DR1174 = 1
|
||||||
CFLAGS += -DSENSOR_BOARD_DR1175
|
CFLAGS += -DSENSOR_BOARD_DR1175
|
||||||
|
@ -9,12 +9,12 @@ CONTIKI_TARGET_DIRS += . dev config
|
|||||||
CONTIKI_SOURCEFILES += platform.c leds-arch.c nrf52dk-sensors.c button-sensor.c temperature-sensor.c
|
CONTIKI_SOURCEFILES += platform.c leds-arch.c nrf52dk-sensors.c button-sensor.c temperature-sensor.c
|
||||||
|
|
||||||
ifeq ($(NRF52_USE_RTT),1)
|
ifeq ($(NRF52_USE_RTT),1)
|
||||||
### Use the existing debug I/O in arch/cpu/arm/common
|
### Suppress the existing debug I/O in os/lib
|
||||||
|
MAKE_WITH_LIB_DBG_IO = 0
|
||||||
CONTIKI_TARGET_DIRS += rtt
|
CONTIKI_TARGET_DIRS += rtt
|
||||||
CONTIKI_SOURCEFILES += rtt-printf.c segger-rtt.c segger-rtt-printf.c
|
CONTIKI_SOURCEFILES += rtt-printf.c segger-rtt.c segger-rtt-printf.c
|
||||||
else
|
else
|
||||||
CONTIKI_SOURCEFILES += dbg.c
|
CONTIKI_SOURCEFILES += dbg.c
|
||||||
MODULES += os/lib/dbg-io
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
### Unless the example dictates otherwise, build with code size optimisations switched off
|
### Unless the example dictates otherwise, build with code size optimisations switched off
|
||||||
|
Loading…
Reference in New Issue
Block a user