diff --git a/micropython/ports/esp32/main/CMakeLists.txt b/micropython/ports/esp32/main/CMakeLists.txt
index 4a5a7ede1eacf13ddb1c8ace7088522a4cb8c7f6..59592b3ae06dd3594b3a7669903b44291eb88219 100644
--- a/micropython/ports/esp32/main/CMakeLists.txt
+++ b/micropython/ports/esp32/main/CMakeLists.txt
@@ -109,6 +109,7 @@ set(MICROPY_SOURCE_QSTR
     ${MICROPY_SOURCE_LIB}
     ${MICROPY_SOURCE_PORT}
     ${MICROPY_SOURCE_BOARD}
+    ${BADGE23_LIB}
 )
 
 set(IDF_COMPONENTS