When using malloc and free there were out-of-memory situations depending on the arm-none-eabi package version. This commit changes malloc/free to use the MicroPython GC heap instead. Signed-off-by: robert-hh <robert@hammelrath.com> Signed-off-by: Damien George <damien@micropython.org>
15 lines
343 B
CMake
15 lines
343 B
CMake
# cmake file for Raspberry Pi Pico W
|
|
|
|
set(PICO_BOARD "pico_w")
|
|
|
|
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)
|