Skip to content

Commit 43339e5

Browse files
committed
Add pimoroni_pico_plus2w board.
1 parent cc43ee9 commit 43339e5

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

ports/raspberrypi/boards/pimoroni_pico_plus2w/mpconfigboard.mk

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,17 @@ CIRCUITPY_WIFI = 1
2121

2222
# PIO clock divider set to 2 (default), consider changing if TM2 gSPI
2323
# becomes unreliable.
24-
CFLAGS += -DCYW43_PIN_WL_HOST_WAKE=24 \
25-
-DCYW43_PIN_WL_REG_ON=23 \
26-
-DCYW43_WL_GPIO_COUNT=3 \
27-
-DCYW43_WL_GPIO_LED_PIN=0 \
28-
-DCYW43_PIO_CLOCK_DIV_INT=2 \
29-
-DCYW43_PIO_CLOCK_DIV_FRAC=0
24+
CFLAGS += \
25+
-DCYW43_PIN_WL_DYNAMIC=0 \
26+
-DCYW43_DEFAULT_PIN_WL_HOST_WAKE=24 \
27+
-DCYW43_DEFAULT_PIN_WL_REG_ON=23 \
28+
-DCYW43_DEFAULT_PIN_WL_CLOCK=29 \
29+
-DCYW43_DEFAULT_PIN_WL_DATA_IN=24 \
30+
-DCYW43_DEFAULT_PIN_WL_DATA_OUT=24 \
31+
-DCYW43_DEFAULT_PIN_WL_CS=25 \
32+
-DCYW43_WL_GPIO_COUNT=3 \
33+
-DCYW43_WL_GPIO_LED_PIN=0 \
34+
-DCYW43_PIO_CLOCK_DIV_INT=2 \
35+
-DCYW43_PIO_CLOCK_DIV_FRAC=0
3036
# Must be accompanied by a linker script change
3137
CFLAGS += -DCIRCUITPY_FIRMWARE_SIZE='(1536 * 1024)'

0 commit comments

Comments
 (0)