873bd00ad4
PICO might not always be a unique name across all ports, and the convention generally for other boards is to do VENDOR_BOARD. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
18 lines
425 B
CMake
18 lines
425 B
CMake
# cmake file for Raspberry Pi Pico W
|
|
|
|
set(PICO_BOARD "pico_w")
|
|
|
|
# The C malloc is needed by cyw43-driver Bluetooth
|
|
set(MICROPY_C_HEAP_SIZE 4096)
|
|
|
|
set(MICROPY_PY_LWIP ON)
|
|
set(MICROPY_PY_NETWORK_CYW43 ON)
|
|
|
|
# Bluetooth
|
|
set(MICROPY_PY_BLUETOOTH ON)
|
|
set(MICROPY_BLUETOOTH_BTSTACK ON)
|
|
set(MICROPY_PY_BLUETOOTH_CYW43 ON)
|
|
|
|
# Board specific version of the frozen manifest
|
|
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py)
|