When compliling quirc_decode, I get this error :
-c /home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/quirc_decode.c <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition /home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/quirc_decode.c:14:8: error: conflicting types for 'uxTaskGetStackHighWaterMark'; have 'size_t(void *)' {aka 'unsigned int(void *)'} 14 | size_t uxTaskGetStackHighWaterMark(void * unused) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/esp-idf/components/freertos/esp_additions/include/freertos/idf_additions.h:20, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:1533, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/ports/esp32/mpconfigport.h:11, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/py/mpconfig.h:100, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/py/obj.h:31, from /home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/quirc_decode.c:5: /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:1513:13: note: previous declaration of 'uxTaskGetStackHighWaterMark' with type 'UBaseType_t(struct tskTaskControlBlock *)' {aka 'unsigned int(struct tskTaskControlBlock *)'} 1513 | UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) PRIVILEGED_FUNCTION; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1414/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/lib/littlefs/lfs2.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1415/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/pdm_mic.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1416/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/c_mpos/quirc/lib/version_db.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1417/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/secp256k1-embedded-ecdh/mpy/libsecp256k1.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1418/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/c_mpos/quirc/lib/identify.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1419/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/__/__/frozen_content.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1420/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/secp256k1-embedded-ecdh/secp256k1/src/secp256k1.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics ninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_P4/log/idf_py_stderr_output_808961 and /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_P4/log/idf_py_stdout_output_808961 -e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting
When compliling quirc_decode, I get this error :
-c /home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/quirc_decode.c <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition /home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/quirc_decode.c:14:8: error: conflicting types for 'uxTaskGetStackHighWaterMark'; have 'size_t(void *)' {aka 'unsigned int(void *)'} 14 | size_t uxTaskGetStackHighWaterMark(void * unused) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/esp-idf/components/freertos/esp_additions/include/freertos/idf_additions.h:20, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos/FreeRTOS.h:1533, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/ports/esp32/mpconfigport.h:11, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/py/mpconfig.h:100, from /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/py/obj.h:31, from /home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/quirc_decode.c:5: /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/esp-idf/components/freertos/FreeRTOS-Kernel/include/freertos/task.h:1513:13: note: previous declaration of 'uxTaskGetStackHighWaterMark' with type 'UBaseType_t(struct tskTaskControlBlock *)' {aka 'unsigned int(struct tskTaskControlBlock *)'} 1513 | UBaseType_t uxTaskGetStackHighWaterMark( TaskHandle_t xTask ) PRIVILEGED_FUNCTION; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1414/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/lib/littlefs/lfs2.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1415/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/c_mpos/src/pdm_mic.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1416/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/c_mpos/quirc/lib/version_db.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1417/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/secp256k1-embedded-ecdh/mpy/libsecp256k1.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1418/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/c_mpos/quirc/lib/identify.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1419/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/__/__/frozen_content.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics [1420/2402] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/home/laurent/factory/MPOS/MicroPythonOS/secp256k1-embedded-ecdh/secp256k1/src/secp256k1.c.obj <command-line>: warning: "MICROPY_ROM_TEXT_COMPRESSION" redefined <command-line>: note: this is the location of the previous definition cc1: note: unrecognized command-line option '-Wno-unterminated-string-initialization' may have been intended to silence earlier diagnostics ninja: build stopped: subcommand failed. ninja failed with exit code 1, output of the command is in the /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_P4/log/idf_py_stderr_output_808961 and /home/laurent/factory/MPOS/MicroPythonOS/lvgl_micropython/lib/micropython/ports/esp32/build-ESP32_GENERIC_P4/log/idf_py_stdout_output_808961 -e See https://github.com/micropython/micropython/wiki/Build-Troubleshooting