From 72c51178952dd8a1df6e28e0eb54a242d4b9c4ea Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 2 Oct 2024 10:21:47 +0100 Subject: [PATCH] MicroPython: Drop Pico Wireless support. With PPP support added to MicroPython this would be better handled by creating a PPP-compatible firmware for Pico Wireless and using the PPP module instead... I think. --- micropython/modules/micropython-pico2w.cmake | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 micropython/modules/micropython-pico2w.cmake diff --git a/micropython/modules/micropython-pico2w.cmake b/micropython/modules/micropython-pico2w.cmake new file mode 100644 index 000000000..d4cb4fb99 --- /dev/null +++ b/micropython/modules/micropython-pico2w.cmake @@ -0,0 +1,16 @@ +include_directories(${CMAKE_CURRENT_LIST_DIR}/../../) + +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}") +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../") +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/../../") + +set(CMAKE_C_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) + +include(micropython-common) + +# C++ Magic Memory +include(cppmem/micropython) + +# Disable build-busting C++ exceptions +include(micropython-disable-exceptions)