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 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) diff --git a/mongoose.h b/mongoose.h index 55a828c5..a1d00646 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