From bc7178e5f74ecc71431de51f985ea13bca55d873 Mon Sep 17 00:00:00 2001 From: Alex Alashkin Date: Wed, 29 Sep 2021 12:13:02 +0300 Subject: [PATCH 1/3] Add missed include --- mongoose.h | 1 + src/arch_freertos_lwip.h | 1 + 2 files changed, 2 insertions(+) diff --git a/mongoose.h b/mongoose.h index de4ee5a6..c77b9c72 100644 --- a/mongoose.h +++ b/mongoose.h @@ -241,6 +241,7 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) { #include #include #include +#include #if defined(__GNUC__) #include diff --git a/src/arch_freertos_lwip.h b/src/arch_freertos_lwip.h index 88d08ff4..de19d9fb 100644 --- a/src/arch_freertos_lwip.h +++ b/src/arch_freertos_lwip.h @@ -6,6 +6,7 @@ #include #include #include +#include #if defined(__GNUC__) #include From 5cdaa931f991188a7308ff085e0bde829d2ae05b Mon Sep 17 00:00:00 2001 From: Alex Alashkin Date: Mon, 4 Oct 2021 12:54:15 +0300 Subject: [PATCH 2/3] Add NXP examples --- examples/nxp-frdmk66f-freertos/Makefile | 8 ++++++++ examples/nxp-lpcxpresso54s018m-freertos/Makefile | 8 ++++++++ examples/nxp-mimxrt1020-freertos/Makefile | 8 ++++++++ 3 files changed, 24 insertions(+) create mode 100644 examples/nxp-frdmk66f-freertos/Makefile create mode 100644 examples/nxp-lpcxpresso54s018m-freertos/Makefile create mode 100644 examples/nxp-mimxrt1020-freertos/Makefile diff --git a/examples/nxp-frdmk66f-freertos/Makefile b/examples/nxp-frdmk66f-freertos/Makefile new file mode 100644 index 00000000..b1b0dd57 --- /dev/null +++ b/examples/nxp-frdmk66f-freertos/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/nxp-lpcxpresso54s018m-freertos/Makefile b/examples/nxp-lpcxpresso54s018m-freertos/Makefile new file mode 100644 index 00000000..b1b0dd57 --- /dev/null +++ b/examples/nxp-lpcxpresso54s018m-freertos/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/nxp-mimxrt1020-freertos/Makefile b/examples/nxp-mimxrt1020-freertos/Makefile new file mode 100644 index 00000000..b1b0dd57 --- /dev/null +++ b/examples/nxp-mimxrt1020-freertos/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) From d2f8b346e67467f2626ab20f9e92a55e0298f3a9 Mon Sep 17 00:00:00 2001 From: Alex Alashkin Date: Mon, 4 Oct 2021 13:15:32 +0300 Subject: [PATCH 3/3] Add nxp to actions --- .github/workflows/test.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 424ac44d..65515979 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -93,3 +93,21 @@ jobs: - uses: actions/checkout@v2 - name: nxp-mimxrt1020-azurertos run: make -C examples/nxp-mimxrt1020-azurertos build + nxp-frdmk66f-freertos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: nxp-frdmk66f-freertos + run: make -C examples/nxp-frdmk66f-freertos build + nxp-lpcxpresso54s018m-freertos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: nxp-lpcxpresso54s018m-freertos + run: make -C examples/nxp-lpcxpresso54s018m-freertos build + nxp-mimxrt1020-freertos: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: nxp-mimxrt1020-freertos + run: make -C examples/nxp-mimxrt1020-freertos build \ No newline at end of file