From 7ba6fda23662f6260af61d7833dd3b05bd4d0daa Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Thu, 26 Aug 2021 11:40:47 +0100 Subject: [PATCH] Add stm32-nucleo-h743z and stm32-nucleo-f429z --- .github/workflows/test.yml | 12 ++++++++++++ docs/README.md | 2 +- examples/stm32-nucleo-f429z/Makefile | 8 ++++++++ examples/stm32-nucleo-f746z/Makefile | 3 +++ examples/stm32-nucleo-h743z/Makefile | 8 ++++++++ 5 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 examples/stm32-nucleo-f429z/Makefile create mode 100644 examples/stm32-nucleo-h743z/Makefile diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e67c4e8..6e3d0a75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -73,3 +73,15 @@ jobs: - uses: actions/checkout@v2 - name: stm32-nucleo-f746z run: make -C examples/stm32-nucleo-f746z build + stm32-nucleo-f429z: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: stm32-nucleo-f429z + run: make -C examples/stm32-nucleo-f429z build + stm32-nucleo-h743z: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: stm32-nucleo-h743z + run: make -C examples/stm32-nucleo-h743z build diff --git a/docs/README.md b/docs/README.md index dd740773..bb1b3dc3 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1389,7 +1389,7 @@ invalid. Usage example: -``` +```c if (mg_check_ip_acl(mg_str("-0.0.0.0/0,+1.2.3.4"), c->peer.ip) != 1) { LOG(LL_INFO, ("NOT ALLOWED!")); } diff --git a/examples/stm32-nucleo-f429z/Makefile b/examples/stm32-nucleo-f429z/Makefile new file mode 100644 index 00000000..b1b0dd57 --- /dev/null +++ b/examples/stm32-nucleo-f429z/Makefile @@ -0,0 +1,8 @@ +NAME ?= $(notdir $(CURDIR)) + +build: + git clone --depth 1 https://github.com/mongoose-examples/$(NAME) + make -C $(NAME) build + +clean: + rm -rf $(NAME) diff --git a/examples/stm32-nucleo-f746z/Makefile b/examples/stm32-nucleo-f746z/Makefile index d7cb79f0..b1b0dd57 100644 --- a/examples/stm32-nucleo-f746z/Makefile +++ b/examples/stm32-nucleo-f746z/Makefile @@ -3,3 +3,6 @@ NAME ?= $(notdir $(CURDIR)) build: git clone --depth 1 https://github.com/mongoose-examples/$(NAME) make -C $(NAME) build + +clean: + rm -rf $(NAME) diff --git a/examples/stm32-nucleo-h743z/Makefile b/examples/stm32-nucleo-h743z/Makefile new file mode 100644 index 00000000..b1b0dd57 --- /dev/null +++ b/examples/stm32-nucleo-h743z/Makefile @@ -0,0 +1,8 @@ +NAME ?= $(notdir $(CURDIR)) + +build: + git clone --depth 1 https://github.com/mongoose-examples/$(NAME) + make -C $(NAME) build + +clean: + rm -rf $(NAME)