rp2/boards: Set PICO_BOARD correctly for each board.

In most cases, it's calculated automatically from the board name, and so
doesn't need to be set at all.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
Jim Mussared 2022-09-06 23:32:11 +10:00 committed by Damien George
parent 6aa3c94634
commit c364301817
4 changed files with 2 additions and 6 deletions

View File

@ -1,3 +1 @@
# cmake file
set(PICO_BOARD garatronic_pybstick26_rp2040)

View File

@ -1,6 +1,4 @@
# cmake file for Raspberry Pi Pico W
set(MICROPY_BOARD PICO_W)
set(MICROPY_PY_LWIP ON)
set(MICROPY_PY_NETWORK_CYW43 ON)

View File

@ -1,4 +1,4 @@
# cmake file for Wiznet W5100S-EVB-Pico.
set(PICO_BOARD pico)
set(PICO_BOARD wiznet_w5100s_evb_pico)
set(MICROPY_PY_NETWORK_WIZNET5K W5100S)
set(MICROPY_PY_LWIP 1)

View File

@ -1,4 +1,4 @@
# cmake file for Wiznet W5500-EVB-Pico.
set(PICO_BOARD pico)
set(PICO_BOARD wiznet_w5100s_evb_pico)
set(MICROPY_PY_NETWORK_WIZNET5K W5500)
set(MICROPY_PY_LWIP 1)