mirror of
https://github.com/danbee/unicorn
synced 2026-06-20 22:52:22 +00:00
23 lines
768 B
CMake
23 lines
768 B
CMake
# cmake file for Pimoroni Inky with Raspberry Pi Pico W
|
|
set(MICROPY_BOARD RPI_PICO_W)
|
|
set(PICO_BOARD "pico2_w")
|
|
set(UNICORN "galactic")
|
|
|
|
# The C malloc is needed by cyw43-driver Bluetooth and Pimoroni Pico modules
|
|
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)
|
|
|
|
# dir2uf2 manifest and root directory
|
|
set(PIMORONI_UF2_MANIFEST ${CMAKE_CURRENT_LIST_DIR}/manifest.txt)
|
|
set(PIMORONI_UF2_DIR ${CMAKE_CURRENT_LIST_DIR}/../../examples/${UNICORN}_unicorn/launch)
|
|
include(${CMAKE_CURRENT_LIST_DIR}/../common.cmake) |