diff --git a/ports/esp32/esp32_common.cmake b/ports/esp32/esp32_common.cmake index 4f520f408..d6a4aedb8 100644 --- a/ports/esp32/esp32_common.cmake +++ b/ports/esp32/esp32_common.cmake @@ -289,6 +289,7 @@ endif() # Add additional extmod and usermod components. if (MICROPY_PY_BTREE) target_link_libraries(${MICROPY_TARGET} $) + target_link_libraries(${MICROPY_TARGET} "-u abort_") # micropy_extmod_btree links to this symbol found in MICROPY_TARGET endif() target_link_libraries(${MICROPY_TARGET} usermod)