From e8b869702f8655f2cc231097b74714dd5e15e926 Mon Sep 17 00:00:00 2001 From: Matthias Blankertz Date: Sat, 23 Aug 2025 12:38:12 +0200 Subject: [PATCH] Revert "rp2: Allow using btree module with rp2 port" This reverts commit f05c88b1166e689ad353137265e7d4b21f95b440. --- ports/rp2/CMakeLists.txt | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ports/rp2/CMakeLists.txt b/ports/rp2/CMakeLists.txt index ed7202fb5..e58fc00fd 100644 --- a/ports/rp2/CMakeLists.txt +++ b/ports/rp2/CMakeLists.txt @@ -479,15 +479,6 @@ if (MICROPY_PY_NETWORK_WIZNET5K) ) endif() -if (MICROPY_PY_BTREE) - target_link_libraries(${MICROPY_TARGET} micropy_extmod_btree) - target_compile_definitions(${MICROPY_TARGET} PRIVATE - MICROPY_STREAMS_POSIX_API=1 - MICROPY_BERKELEY_DB_DEFPSIZE=1024 - MICROPY_BERKELEY_DB_MINCACHE=3 - ) -endif() - # Add qstr sources for extmod and usermod, in case they are modified by components above. list(APPEND MICROPY_SOURCE_QSTR ${MICROPY_SOURCE_EXTMOD} @@ -581,7 +572,6 @@ set_source_files_properties( ) target_compile_definitions(${MICROPY_TARGET} PRIVATE - ${MICROPY_DEF_CORE} ${MICROPY_DEF_BOARD} FFCONF_H=\"${MICROPY_OOFATFS_DIR}/ffconf.h\" LFS1_NO_MALLOC LFS1_NO_DEBUG LFS1_NO_WARN LFS1_NO_ERROR LFS1_NO_ASSERT