Build dbg-io as a module
This commit is contained in:
parent
6d592945a0
commit
1bf1f37b24
@ -27,14 +27,13 @@ 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
|
||||||
|
|
||||||
DEBUG_IO_SOURCEFILES += dbg-printf.c dbg-snprintf.c dbg-sprintf.c strformat.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
|
||||||
|
|
||||||
CONTIKI_SOURCEFILES += $(CONTIKI_CPU_SOURCEFILES) $(DEBUG_IO_SOURCEFILES)
|
CONTIKI_SOURCEFILES += $(CONTIKI_CPU_SOURCEFILES) $(USB_SOURCEFILES)
|
||||||
CONTIKI_SOURCEFILES += $(USB_SOURCEFILES)
|
|
||||||
|
|
||||||
### Always re-build ieee-addr.o in case the command line passes a new NODEID
|
### Always re-build ieee-addr.o in case the command line passes a new NODEID
|
||||||
FORCE:
|
FORCE:
|
||||||
|
@ -37,9 +37,9 @@ CONTIKI_CPU_SOURCEFILES += rf-core.c rf-ble.c ieee-mode.c
|
|||||||
CONTIKI_CPU_SOURCEFILES += ble-cc2650.c ble-hal-cc26xx.c ble-addr.c rf-ble-cmd.c
|
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
|
||||||
|
|
||||||
DEBUG_IO_SOURCEFILES += dbg-printf.c dbg-snprintf.c dbg-sprintf.c strformat.c
|
MODULES += os/lib/dbg-io
|
||||||
|
|
||||||
CONTIKI_SOURCEFILES += $(CONTIKI_CPU_SOURCEFILES) $(DEBUG_IO_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)
|
||||||
|
|
||||||
|
@ -15,8 +15,7 @@ CONTIKI_SOURCEFILES += rtt-printf.c segger-rtt.c segger-rtt-printf.c
|
|||||||
else
|
else
|
||||||
CONTIKI_TARGET_DIRS += dbg-io
|
CONTIKI_TARGET_DIRS += dbg-io
|
||||||
CONTIKI_SOURCEFILES += dbg.c
|
CONTIKI_SOURCEFILES += dbg.c
|
||||||
CONTIKI_CPU_DIRS += ../arm/common/dbg-io
|
MODULES += os/lib/dbg-io
|
||||||
CONTIKI_CPU_SOURCEFILES += dbg-printf.c dbg-putchar.c dbg-snprintf.c dbg-sprintf.c strformat.c
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CLEAN += *.nrf52dk
|
CLEAN += *.nrf52dk
|
||||||
|
Loading…
Reference in New Issue
Block a user