From 8cd77b59a39ea0da371f4409f972c27776d4bba3 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Tue, 10 Sep 2024 14:27:57 +0100 Subject: [PATCH 1/2] default.cmake: Enable Pimoroni common modules. --- modules/default.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/default.cmake b/modules/default.cmake index 37272f6..017536f 100644 --- a/modules/default.cmake +++ b/modules/default.cmake @@ -16,8 +16,11 @@ set(CMAKE_CXX_STANDARD 17) include(c/example/micropython) -# include(micropython-common) -# enable_ulab() +include(micropython-common) + +if(PICO_BOARD STREQUAL "pga2350") +enable_ulab() +endif() # C++ Magic Memory # include(cppmem/micropython) From a45606d4cc404c6d6b3cd5376164fd231f347477 Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Wed, 11 Sep 2024 11:10:47 +0100 Subject: [PATCH 2/2] default.cmake: Enable C++ magic memory module. --- modules/default.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/default.cmake b/modules/default.cmake index 017536f..685ea10 100644 --- a/modules/default.cmake +++ b/modules/default.cmake @@ -23,7 +23,7 @@ enable_ulab() endif() # C++ Magic Memory -# include(cppmem/micropython) +include(cppmem/micropython) # Disable build-busting C++ exceptions include(micropython-disable-exceptions) \ No newline at end of file