Skip to content

Commit

Permalink
Add pimoroni_pico_plus2w board.
Browse files Browse the repository at this point in the history
  • Loading branch information
eightycc committed Nov 26, 2024
1 parent cc43ee9 commit 43339e5
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions ports/raspberrypi/boards/pimoroni_pico_plus2w/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,17 @@ CIRCUITPY_WIFI = 1

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

0 comments on commit 43339e5

Please sign in to comment.