Add Zephyr examples

This commit is contained in:
Alex Alashkin committed 2022-04-13 11:10:22 +03:00
1 parent 6e3e77a1a0
commit 17e0fb1c15
21 files changed
+757 -19

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.*