mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +00:00
Merge pull request #1751 from cesanta/stm32-nucleo-f746zg
Add new example as per the tutorial
This commit is contained in:
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
|
||||||
|
|
||||||
Reference in new issue
Block a user