mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-11 06:54:32 +00:00
This commit creates a `common` directory, aimed to host drivers supported by multiple boards of the CC13xx/CC26xx family. We move the Sensortag SPI and External Flash drivers to this location and we change the Sensortag build system to pull the respective files from therein.
11 lines
421 B
Makefile
11 lines
421 B
Makefile
CFLAGS += -DBOARD_SENSORTAG=1
|
|
CFLAGS += -DBACKDOOR_IOID=0x00000000
|
|
|
|
CONTIKI_TARGET_DIRS += sensortag common
|
|
|
|
BOARD_SOURCEFILES += sensortag-sensors.c sensor-common.c
|
|
BOARD_SOURCEFILES += bmp-280-sensor.c tmp-007-sensor.c opt-3001-sensor.c
|
|
BOARD_SOURCEFILES += hdc-1000-sensor.c mpu-9250-sensor.c button-sensor.c
|
|
BOARD_SOURCEFILES += reed-relay.c ext-flash.c buzzer.c
|
|
BOARD_SOURCEFILES += board.c board-spi.c board-i2c.c
|