17 lines
306 B
Makefile
Raw Normal View History

2022-04-07 15:29:42 +03:00
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.*