stm32f107_basic: Add support for a simple stm32f107 platform
This platform is a basic waveshare stm32f107 devkit which contains a USART, USB device port, some buttons and some LEDs. Unfortunately not enough to bring up networking, but enough to test building and a simple contiki shell
This commit is contained in:
parent
5c6018f0e2
commit
222f93f023
10 changed files with 557 additions and 0 deletions
26
platform/stm32f107_basic/Makefile
Normal file
26
platform/stm32f107_basic/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
TARGET=stm32f107_basic
|
||||
|
||||
all: stm32f107_basic
|
||||
|
||||
|
||||
CONTIKI=../..
|
||||
|
||||
CONTIKI_TARGET_MAIN=contiki-main.c
|
||||
|
||||
PROJECT_SOURCEFILES = parity.c
|
||||
|
||||
|
||||
randgen: randgen.c
|
||||
gcc -DNDEBUG -I $(CONTIKI)/cpu/arm/stm32f107/ -I . -I $(CONTIKI)/core randgen.c -o randgen
|
||||
|
||||
randcheck: randcheck.c
|
||||
gcc -DNDEBUG -I $(CONTIKI)/cpu/arm/stm32f107/ -I . -I $(CONTIKI)/core randcheck.c -o randcheck
|
||||
|
||||
clean: stm32test_clean
|
||||
|
||||
.PHONY: stm32test_clean
|
||||
|
||||
stm32test_clean:
|
||||
|
||||
include $(CONTIKI)/Makefile.include
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue