Adjust to timer API change, add root makefile

This commit is contained in:
Sergey Lyubka committed 2022-04-13 14:03:00 +01:00
1 parent d630ba743d
commit 186eb998ba
8 files changed
+24 -20

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
CWD = $(realpath $(CURDIR))
ZEPHYR_DIR ?= $(realpath ../../../../zephyrproject)
BOARD ?= nucleo_h743zi
example:
true
build:
cp ../../../mongoose.c ../../../mongoose.h src/
cd $(ZEPHYR_DIR) && west build -b $(BOARD) -p auto $(CWD)
flash:
cd $(ZEPHYR_DIR) && west flash
clean:
rm -rf */*/mongoose.*