Skip to content
Snippets Groups Projects
Commit 5a205b62 authored by Torben Petersen's avatar Torben Petersen
Browse files

Enables I2C only for specific Boards and changes RIOTBASE

parent fb4ea590
No related branches found
No related tags found
No related merge requests found
APPLICATION=software
BOARD ?= inga_blue
RIOTBASE ?= $(CURDIR)/../../RIOT/
#BOARD ?= inga_blue
RIOTBASE ?= ../../../RIOT/PinChangeInterruptBranch/RIOT
BOARD_USES_I2C := inga_red inga_blue /
USEMODULE += shell
USEMODULE += shell_commands
......@@ -11,7 +13,9 @@ USEMODULE += gnrc_netdev_default
USEMODULE += auto_init_gnrc_netif
#USEMODULE += gnrc_txtsnd
#USEMODULE += gnrc_pktdump
USEMODULE += periph_i2c
ifneq (,$(filter $(BOARD),$(BOARD_USES_I2C)))
USEMODULE += periph_i2c
endif
NODE_ID ?= 0
CFLAGS += -DNODE_ID=$(NODE_ID)
......@@ -19,9 +23,10 @@ CFLAGS += -DDEBUG_ASSERT_VERBOSE
CFLAGS += -DGNRC_PKTBUF_SIZE=512
CFLAGS += -DSHELL_NO_ECHO -DSHELL_NO_PROMPT
BAUD := 9600
CFLAGS += -DUART_STDIO_BAUDRATE=9600
DEVELHELP ?= 1
# No debug information
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment