a5046e83c7
This is a general cleanup of things like code style issues and code structure of the STM32w port to make it more like the rest of Contiki is structured.
21 lines
524 B
Text
21 lines
524 B
Text
ARCH= irq.c sensors.c acc-sensor.c button-sensor.c temperature-sensor.c mems.c
|
|
|
|
CONTIKI_TARGET_DIRS = . dev
|
|
ifndef CONTIKI_TARGET_MAIN
|
|
CONTIKI_TARGET_MAIN = contiki-main.c board-mb851.c
|
|
endif
|
|
|
|
ifeq ($(UIP_CONF_IPV6),1)
|
|
CFLAGS += -DWITH_UIP6=1
|
|
endif
|
|
|
|
CONTIKI_TARGET_SOURCEFILES += $(ARCH) $(CONTIKI_TARGET_MAIN)
|
|
|
|
MCU=STM32W108
|
|
include $(CONTIKI)/cpu/stm32w108/Makefile.stm32w108
|
|
|
|
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-linux
|
|
|
|
ifeq ($(HOST_OS),Windows)
|
|
SERIALDUMP = $(CONTIKI)/tools/stm32w/serialdump-windows
|
|
endif
|