From 75db0b907942f4b2e7306d2ce90d2f014cd5a414 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 21 Feb 2021 11:33:15 +1100 Subject: [PATCH] esp32: Define MICROPY_QSTRDEFS_PORT to include special qstrs. Fixes issue #6942. Signed-off-by: Damien George --- ports/esp32/main/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/esp32/main/CMakeLists.txt b/ports/esp32/main/CMakeLists.txt index 9fb48a904..bd25d76ee 100644 --- a/ports/esp32/main/CMakeLists.txt +++ b/ports/esp32/main/CMakeLists.txt @@ -5,6 +5,10 @@ get_filename_component(MICROPY_DIR ${PROJECT_DIR}/../.. ABSOLUTE) include(${MICROPY_DIR}/py/py.cmake) include(${MICROPY_DIR}/extmod/extmod.cmake) +set(MICROPY_QSTRDEFS_PORT + ${PROJECT_DIR}/qstrdefsport.h +) + set(MICROPY_SOURCE_EXTMOD_EXTRA ${MICROPY_DIR}/extmod/modonewire.c )