mongoose/examples/zephyr/Makefile
2022-03-31 17:26:58 +01:00

13 lines
272 B
Makefile

CWD = $(realpath $(CURDIR))
ZEPHYR_DIR ?= $(realpath ../../../zephyrproject)
example:
true
build:
cp ../../mongoose.c ../../mongoose.h http-server/src/
cd $(ZEPHYR_DIR) && west build -b nucleo_f746zg -p auto $(CWD)/http-server
flash:
cd $(ZEPHYR_DIR) && west flash