From 49add531c42db8cc7bccef80b413cc10c734fd83 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 2 Jan 2023 14:38:57 -0300 Subject: [PATCH 1/4] Moved pico-w example --- .../{raspberry/raspberry-pi-pico-w => rp2040/pico-w}/Makefile | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/{raspberry/raspberry-pi-pico-w => rp2040/pico-w}/Makefile (100%) diff --git a/examples/raspberry/raspberry-pi-pico-w/Makefile b/examples/rp2040/pico-w/Makefile similarity index 100% rename from examples/raspberry/raspberry-pi-pico-w/Makefile rename to examples/rp2040/pico-w/Makefile From b0f273157d0a07161597f03bc2846802abef30e1 Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 2 Jan 2023 15:16:50 -0300 Subject: [PATCH 2/4] Fix Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d086e182..1f70e6a4 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ VCFLAGS = /nologo /W3 /O2 /MD /I. $(DEFS) $(TFLAGS) IPV6 ?= 1 ASAN ?= -fsanitize=address,undefined,alignment -fno-sanitize-recover=all -fno-omit-frame-pointer -fno-common ASAN_OPTIONS ?= detect_leaks=1 -EXAMPLES := $(dir $(wildcard examples/*/Makefile)) $(wildcard examples/stm32/nucleo-*) $(wildcard examples/rp2040/*) +EXAMPLES := $(dir $(wildcard examples/*/Makefile)) PREFIX ?= /usr/local VERSION ?= $(shell cut -d'"' -f2 src/version.h) COMMON_CFLAGS ?= $(C_WARN) $(WARN) $(INCS) $(DEFS) -DMG_ENABLE_IPV6=$(IPV6) $(TFLAGS) From 28e6ef1d634e7556031f3fc7dde577aa8fa08dfe Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 2 Jan 2023 15:22:24 -0300 Subject: [PATCH 3/4] Update test.yml --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d9395023..79e7e89b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - run: sudo apt -y install libmbedtls-dev libpcap-dev gcc-arm-none-eabi + - run: sudo apt -y install libmbedtls-dev libpcap-dev - run: make clean examples - run: make clean test MG_ENABLE_POLL=1 macos: @@ -126,7 +126,8 @@ jobs: - path: ti/ti-ek-tm4c1294xl-http-server - path: ti/ek-tm4c1294xl-baremetal - path: ti/ek-tm4c1294xl-freertos-mip - - path: raspberry/raspberry-pi-pico-w + - path: raspberry/rp2040/pico-w + - path: raspberry/rp2040/pico-w5500 name: ${{ matrix.example.path }} steps: - uses: actions/checkout@v3 From 977e0802155e7b80a2135c313f227be966b7157a Mon Sep 17 00:00:00 2001 From: "Sergio R. Caprile" Date: Mon, 2 Jan 2023 15:29:21 -0300 Subject: [PATCH 4/4] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 79e7e89b..8695cabc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -126,8 +126,8 @@ jobs: - path: ti/ti-ek-tm4c1294xl-http-server - path: ti/ek-tm4c1294xl-baremetal - path: ti/ek-tm4c1294xl-freertos-mip - - path: raspberry/rp2040/pico-w - - path: raspberry/rp2040/pico-w5500 + - path: rp2040/pico-w + - path: rp2040/pico-w5500 name: ${{ matrix.example.path }} steps: - uses: actions/checkout@v3