Merge pull request #1751 from cesanta/stm32-nucleo-f746zg

Add new example as per the tutorial
This commit is contained in:
Sergio R. Caprile authored and GitHub committed 2022-09-22 12:00:15 -03:00
commit d7fe819699
1 file changed
+18
@@ -0,0 +1,18 @@
NAME ?= $(notdir $(CURDIR))
$(NAME):
git clone --depth 1 https://github.com/mongoose-examples/$(NAME)
build: | $(NAME)
cp ./../../../mongoose.c $(NAME)/Core/Src/
cp ./../../../mongoose.h $(NAME)/Core/Inc/
make -C $(NAME) build
clean:
rm -rf $(NAME)
flash:
make -C $(NAME) flash
.PHONY: flash