<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Hi Michael,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Sorry to hear you have issues but very
      happy that you're trying to compile it ! We're going to solve
      those :-)</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I don't use this command <font
        face="monospace">`idf.py set-target esp32`</font> myself - but
      after trying it, it works as expected.</div>
    <div class="moz-cite-prefix">(By the look of it, it says "<font
        face="monospace">Set Target to: esp32, new sdkconfig created.
        Existing sdkconfig renamed to sdkconfig.old.</font>" so I would
      be careful not to use it too much as you loose your sdkconfig)</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">The only commands I'm using are:</div>
    <div class="moz-cite-prefix">
      <ul>
        <li><font face="monospace">menuconfig</font> (once in a while)</li>
        <li><font face="monospace">fullclean</font> (while switching
          ESP-IDF version ; also doing `rm -rf build/`)</li>
        <li><font face="monospace">clean</font> (if some changes have
          been made and not caught by cmake)</li>
        <li><font face="monospace">build</font> (90% of the time)</li>
        <li><font face="monospace">app-flash</font></li>
        <li><font face="monospace">monitor</font></li>
      </ul>
      <p>My versions of git / bison / flex are (for the record):</p>
      <p><br>
        <font face="monospace">-- Found Git: /usr/local/bin/git (found
          version "2.39.1") <br>
          -- The C compiler identification is GNU 11.2.0<br>
          -- The CXX compiler identification is GNU 11.2.0</font></p>
      <p><font face="monospace">...<br>
        </font></p>
      <p><font face="monospace">-- Found BISON: /usr/bin/bison (found
          version "2.3") <br>
          -- Found FLEX: /usr/bin/flex (found version "2.6.4") </font><br>
      </p>
    </div>
    <div class="moz-cite-prefix">(I also had success with bison 3.8.2 so
      not an issue)<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">and my cmake is : <font
        face="monospace">cmake version 3.25.2</font></div>
    <div class="moz-cite-prefix">and ninja is at version 1.11.1<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I set a required version of cmake 3.16
      in the main CMakeLists.txt, as recommended by ESP-IDF v5
      instructions, but if it's the issue we can modify this.</div>
    <div class="moz-cite-prefix">Could you please check your version and
      see if there is something to try here ?</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">During the `set-target esp32` run, my
      output is similar to yours but continues:</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">
      <blockquote type="cite"><font face="monospace">Adding
          "set-target"'s dependency "fullclean" to list of commands with
          default set of options.<br>
          Executing action: fullclean<br>
          Executing action: set-target<br>
          Set Target to: esp32, new sdkconfig created. Existing
          sdkconfig renamed to sdkconfig.old.<br>
          Running cmake in directory SRCS/OVMS-wt2/vehicle/OVMS.V3/build<br>
          Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1
          -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0
          SRCS/OVMS-wt2/vehicle/OVMS.V3"...<br>
          CMake Warning (dev) at CMakeLists.txt:8 (message):<br>
            WARNING - OVMSv3 build is only supported on ESP-IDF 3.3.x<br>
          This warning is for project developers.  Use -Wno-dev to
          suppress it.<br>
          <br>
          -- Found Git: /usr/local/bin/git (found version "2.39.1") <br>
          -- The C compiler identification is GNU 11.2.0<br>
          -- The CXX compiler identification is GNU 11.2.0<br>
          -- The ASM compiler identification is GNU<br>
          -- Found assembler:
SRCS/ESP-IDF-TOOLS/5.0/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc<br>
          -- Detecting C compiler ABI info<br>
          -- Detecting C compiler ABI info - done<br>
          -- Check for working C compiler:
SRCS/ESP-IDF-TOOLS/5.0/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
          - skipped<br>
          -- Detecting C compile features<br>
          -- Detecting C compile features - done<br>
          -- Detecting CXX compiler ABI info<br>
          -- Detecting CXX compiler ABI info - done<br>
          -- Check for working CXX compiler:
SRCS/ESP-IDF-TOOLS/5.0/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
          - skipped<br>
          -- Detecting CXX compile features<br>
          -- Detecting CXX compile features - done<br>
          -- Building ESP-IDF components for target esp32<br>
          Processing 2 dependencies:<br>
          [1/2] espressif/mdns (1.0.7)<br>
          [2/2] idf (5.0.0)<br>
          -- Found BISON: /usr/bin/bison (found version "2.3") <br>
          -- Found FLEX: /usr/bin/flex (found version "2.6.4") <br>
          -- IDF Version: 5.0.0 - NOT enabling strverscmp<br>
          -- Project sdkconfig file
          SRCS/OVMS-wt2/vehicle/OVMS.V3/sdkconfig<br>
          -- Looking for sys/types.h<br>
          -- Looking for sys/types.h - found<br>
          -- Looking for stdint.h<br>
          -- Looking for stdint.h - found<br>
          -- Looking for stddef.h<br>
          -- Looking for stddef.h - found<br>
          -- Check size of time_t<br>
          -- Check size of time_t - done<br>
          -- Found Python3:
          SRCS/ESP-IDF-TOOLS/5.0/python_env/idf5.0_py3.10_env/bin/python
          (found version "3.10.9") found components: Interpreter <br>
          -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS<br>
          -- Performing Test C_COMPILER_SUPPORTS_WFORMAT_SIGNEDNESS -
          Success<br>
          -- App "ovms3" version: 3.3.003-316-gcb90ef8c-dirty<br>
          -- Adding linker script
          SRCS/OVMS-wt2/vehicle/OVMS.V3/build/esp-idf/esp_system/ld/memory.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_system/ld/esp32/sections.ld.in<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.api.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.libgcc.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-data.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.syscalls.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/esp_rom/esp32/ld/esp32.rom.newlib-funcs.ld<br>
          -- Adding linker script
          SRCS/ESP-IDF/5.0/components/soc/esp32/ld/esp32.peripherals.ld<br>
          -- Adding linker script
          SRCS/OVMS-wt2/vehicle/OVMS.V3/main/ovms_boot.ld<br>
          -- wolfssl : EXCLUDE_ASM =
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/aes_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/aes_gcm_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/aes_gcm_x86_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/chacha_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/fe_x25519_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/poly1305_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-aes-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-curve25519.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-sha256-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-32-sha512-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-curve25519.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-sha3-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/port/arm/armv8-sha512-asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sha256_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sha3_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sha512_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/sp_x86_64_asm.S;SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl/wolfssl/wolfcrypt/src/wc_kyber_asm.S<br>
          -- Found BISON: /usr/bin/bison (found version "2.3") <br>
          -- Found FLEX: /usr/bin/flex (found version "2.6.4") <br>
          -- Found Perl: /usr/local/bin/perl (found version "5.36.0") <br>
          -- IDF Version: 5.0.0 - NOT enabling strverscmp<br>
          -- Component idf::main will be linked with -Wl,--whole-archive<br>
          -- Component idf::pcp will be linked with -Wl,--whole-archive<br>
          -- Component idf::ovms_buffer will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::can will be linked with -Wl,--whole-archive<br>
          -- Component idf::canopen will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::wolfssl will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::console_ssh will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::console_telnet will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::crypto will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::dbc will be linked with -Wl,--whole-archive<br>
          -- Component idf::esp32adc will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::esp32bluetooth will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::esp32can will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::esp32system will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::esp32wifi will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ext12v will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::max7317 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::mcp2515 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::microrl will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::obd2ecu will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_http will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_location will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_mdns will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_netlib will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_ota will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::pushover will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_webserver will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_plugins will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_tls will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_script will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_server will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_server_v2 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_server_v3 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::ovms_tpms will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::powermgmt will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::retools will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::retools_pidscan will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::retools_testerpresent will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::sdcard will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::simcom will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::spi will be linked with -Wl,--whole-archive<br>
          -- Component idf::strverscmp will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::swcan will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_bmwi3 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_boltev will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_cadillac_c2_cts will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_chevrolet_c6_corvette will be linked
          with -Wl,--whole-archive<br>
          -- Component idf::vehicle_dbc will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_demo will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_fiat500 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_hyundai_ioniq5 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_hyundai_ioniqvfl will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_jaguaripace will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_kianiroev will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_kiasoulev will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_maxus_edeliver3 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_mercedesb250e will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_mgev will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_minise will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_mitsubishi will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_nissanleaf will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_none will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_obdii will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_renaulttwizy will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_renaultzoe will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_renaultzoe_ph2_obd will be linked
          with -Wl,--whole-archive<br>
          -- Component idf::vehicle_smarted will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_smarteq will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_teslamodel3 will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_teslamodels will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_teslaroadster will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_thinkcity will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_toyotarav4ev will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_track will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_voltampera will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_vweup will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vehicle_zeva will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::vfsedit will be linked with
          -Wl,--whole-archive<br>
          -- Component idf::zip will be linked with -Wl,--whole-archive<br>
          -- Components: app_trace app_update bootloader
          bootloader_support bt can canopen cmock console console_ssh
          console_telnet crypto cxx dbc driver duktape efuse esp-tls
          esp32adc esp32bluetooth esp32can esp32system esp32wifi esp_adc
          esp_app_format esp_common esp_eth esp_event esp_gdbstub
          esp_hid esp_http_client esp_http_server esp_https_ota
          esp_https_server esp_hw_support esp_lcd esp_local_ctrl
          esp_netif esp_partition esp_phy esp_pm esp_psram esp_ringbuf
          esp_rom esp_system esp_timer esp_wifi espcoredump
          espressif__mdns esptool_py ext12v fatfs freertos hal heap
          http_parser idf_test ieee802154 json libtelnet log lwip main
          max7317 mbedtls mcp2515 microrl mongoose mqtt newlib nvs_flash
          obd2ecu openthread ovms_buffer ovms_cellular ovms_http
          ovms_location ovms_mdns ovms_netlib ovms_ota ovms_plugins
          ovms_script ovms_server ovms_server_v2 ovms_server_v3 ovms_tls
          ovms_tpms ovms_webserver partition_table pcp perfmon powermgmt
          protobuf-c protocomm pthread pushover retools retools_pidscan
          retools_testerpresent sdcard sdmmc simcom soc spi spi_flash
          spiffs strverscmp swcan tcp_transport ulp unity usb vehicle
          vehicle_bmwi3 vehicle_boltev vehicle_cadillac_c2_cts
          vehicle_chevrolet_c6_corvette vehicle_dbc vehicle_demo
          vehicle_fiat500 vehicle_hyundai_ioniq5
          vehicle_hyundai_ioniqvfl vehicle_jaguaripace vehicle_kianiroev
          vehicle_kiasoulev vehicle_maxus_edeliver3
          vehicle_mercedesb250e vehicle_mgev vehicle_minise
          vehicle_mitsubishi vehicle_nissanleaf vehicle_none
          vehicle_obdii vehicle_renaulttwizy vehicle_renaultzoe
          vehicle_renaultzoe_ph2_obd vehicle_smarted vehicle_smarteq
          vehicle_teslamodel3 vehicle_teslamodels vehicle_teslaroadster
          vehicle_thinkcity vehicle_toyotarav4ev vehicle_track
          vehicle_voltampera vehicle_vweup vehicle_zeva vfs vfsedit
          wear_levelling wifi_provisioning wolfssh wolfssl
          wpa_supplicant xtensa zip<br>
          -- Component paths: SRCS/ESP-IDF/5.0/components/app_trace
          SRCS/ESP-IDF/5.0/components/app_update
          SRCS/ESP-IDF/5.0/components/bootloader
          SRCS/ESP-IDF/5.0/components/bootloader_support
          SRCS/ESP-IDF/5.0/components/bt
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/can
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/canopen
          SRCS/ESP-IDF/5.0/components/cmock
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/console
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/console_ssh
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/console_telnet
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/crypto
          SRCS/ESP-IDF/5.0/components/cxx
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/dbc
          SRCS/ESP-IDF/5.0/components/driver
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/duktape
          SRCS/ESP-IDF/5.0/components/efuse
          SRCS/ESP-IDF/5.0/components/esp-tls
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32adc
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32bluetooth
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32can
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32system
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/esp32wifi
          SRCS/ESP-IDF/5.0/components/esp_adc
          SRCS/ESP-IDF/5.0/components/esp_app_format
          SRCS/ESP-IDF/5.0/components/esp_common
          SRCS/ESP-IDF/5.0/components/esp_eth
          SRCS/ESP-IDF/5.0/components/esp_event
          SRCS/ESP-IDF/5.0/components/esp_gdbstub
          SRCS/ESP-IDF/5.0/components/esp_hid
          SRCS/ESP-IDF/5.0/components/esp_http_client
          SRCS/ESP-IDF/5.0/components/esp_http_server
          SRCS/ESP-IDF/5.0/components/esp_https_ota
          SRCS/ESP-IDF/5.0/components/esp_https_server
          SRCS/ESP-IDF/5.0/components/esp_hw_support
          SRCS/ESP-IDF/5.0/components/esp_lcd
          SRCS/ESP-IDF/5.0/components/esp_local_ctrl
          SRCS/ESP-IDF/5.0/components/esp_netif
          SRCS/ESP-IDF/5.0/components/esp_partition
          SRCS/ESP-IDF/5.0/components/esp_phy
          SRCS/ESP-IDF/5.0/components/esp_pm
          SRCS/ESP-IDF/5.0/components/esp_psram
          SRCS/ESP-IDF/5.0/components/esp_ringbuf
          SRCS/ESP-IDF/5.0/components/esp_rom
          SRCS/ESP-IDF/5.0/components/esp_system
          SRCS/ESP-IDF/5.0/components/esp_timer
          SRCS/ESP-IDF/5.0/components/esp_wifi
          SRCS/ESP-IDF/5.0/components/espcoredump
          SRCS/OVMS-wt2/vehicle/OVMS.V3/managed_components/espressif__mdns
          SRCS/ESP-IDF/5.0/components/esptool_py
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ext12v
          SRCS/ESP-IDF/5.0/components/fatfs
          SRCS/ESP-IDF/5.0/components/freertos
          SRCS/ESP-IDF/5.0/components/hal
          SRCS/ESP-IDF/5.0/components/heap
          SRCS/ESP-IDF/5.0/components/http_parser
          SRCS/ESP-IDF/5.0/components/idf_test
          SRCS/ESP-IDF/5.0/components/ieee802154
          SRCS/ESP-IDF/5.0/components/json
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/libtelnet
          SRCS/ESP-IDF/5.0/components/log
          SRCS/ESP-IDF/5.0/components/lwip
          SRCS/OVMS-wt2/vehicle/OVMS.V3/main
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/max7317
          SRCS/ESP-IDF/5.0/components/mbedtls
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/mcp2515
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/microrl
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/mongoose
          SRCS/ESP-IDF/5.0/components/mqtt
          SRCS/ESP-IDF/5.0/components/newlib
          SRCS/ESP-IDF/5.0/components/nvs_flash
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/obd2ecu
          SRCS/ESP-IDF/5.0/components/openthread
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_buffer
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_cellular
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_http
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_location
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_mdns
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_netlib
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_ota
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_plugins
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_script
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_server
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_server_v2
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_server_v3
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_tls
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_tpms
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/ovms_webserver
          SRCS/ESP-IDF/5.0/components/partition_table
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/pcp
          SRCS/ESP-IDF/5.0/components/perfmon
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/powermgmt
          SRCS/ESP-IDF/5.0/components/protobuf-c
          SRCS/ESP-IDF/5.0/components/protocomm
          SRCS/ESP-IDF/5.0/components/pthread
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/pushover
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/retools
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/retools_pidscan
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/retools_testerpresent
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/sdcard
          SRCS/ESP-IDF/5.0/components/sdmmc
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/simcom
          SRCS/ESP-IDF/5.0/components/soc
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/spi
          SRCS/ESP-IDF/5.0/components/spi_flash
          SRCS/ESP-IDF/5.0/components/spiffs
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/strverscmp
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/swcan
          SRCS/ESP-IDF/5.0/components/tcp_transport
          SRCS/ESP-IDF/5.0/components/ulp
          SRCS/ESP-IDF/5.0/components/unity
          SRCS/ESP-IDF/5.0/components/usb
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_bmwi3
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_boltev
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_cadillac_c2_cts
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_chevrolet_c6_corvette
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_dbc
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_demo
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_fiat500
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_hyundai_ioniq5
SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_hyundai_ioniqvfl
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_jaguaripace
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_kianiroev
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_kiasoulev
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_maxus_edeliver3
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_mercedesb250e
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_mgev
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_minise
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_mitsubishi
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_nissanleaf
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_none
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_obdii
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_renaulttwizy
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_renaultzoe
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_renaultzoe_ph2_obd
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_smarted
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_smarteq
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_teslamodel3
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_teslamodels
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_teslaroadster
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_thinkcity
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_toyotarav4ev
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_track
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_voltampera
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_vweup
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vehicle_zeva
          SRCS/ESP-IDF/5.0/components/vfs
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/vfsedit
          SRCS/ESP-IDF/5.0/components/wear_levelling
          SRCS/ESP-IDF/5.0/components/wifi_provisioning
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssh
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/wolfssl
          SRCS/ESP-IDF/5.0/components/wpa_supplicant
          SRCS/ESP-IDF/5.0/components/xtensa
          SRCS/OVMS-wt2/vehicle/OVMS.V3/components/zip<br>
          -- Configuring done<br>
          -- Generating done<br>
          -- Build files have been written to:
          SRCS/OVMS-wt2/vehicle/OVMS.V3/build</font></blockquote>
      <br>
    </div>
    <div class="moz-cite-prefix">So the next line that should have been
      printed, instead of the error, would have been:</div>
    <div class="moz-cite-prefix">
      <blockquote type="cite"><font face="monospace">-- Project
          sdkconfig file SRCS/OVMS-wt2/vehicle/OVMS.V3/sdkconfig</font></blockquote>
      <br>
    </div>
    <div class="moz-cite-prefix">Could you check that your env variable
      `IDF_PATH` is pointing to the proper copy of ESP-IDF (v5 then) ?
      It's currently set to <font face="monospace">`/home/balzer/esp/esp-idf`.<br>
      </font></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">(The main CMakeLists.txt includes `<font
        face="monospace">$ENV{IDF_PATH}/tools/cmake/project.cmake</font>`)</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">The important env variables for ESP-IDF
      would be:</div>
    <div class="moz-cite-prefix">
      <ul>
        <li>CMAKE_COLOR_DIAGNOSTICS set to 1 to have beautiful error
          messages<br>
        </li>
        <li>ESPBAUD set to 921600<br>
        </li>
        <li>ESPPORT set to your usb device (mine is
          /dev/cu.usbserial-0001)<br>
        </li>
        <li>ESP_IDF_VERSION (5.0 here)<br>
        </li>
        <li>IDF_PATH should be set to the proper 5.0 root</li>
        <li>IDF_TOOLS_EXPORT_CMD on my installation is equivalent to
          $IDF_PATH/export.sh<br>
        </li>
        <li>IDF_TOOLS_INSTALL_CMD on my installation is equivalent to
          $IDF_PATH/install.sh</li>
        <li>IDF_TOOLS_PATH should be set to proper 5.0 tools root<br>
        </li>
        <li>IDF_PYTHON_ENV_PATH on my installation is equivalent to $IDF_TOOLS_PATH/python_env/idf5.0_py3.10_env
        </li>
        <li>OPENOCD_SCRIPTS on my installation is equivalent to
$IDF_TOOLS_PATH/tools/openocd-esp32/v0.11.0-esp32-20221026/openocd-esp32/share/openocd/scripts<br>
          and<br>
        </li>
        <li>PATH which should include a few occurrences of $IDF_PATH and
          $IDF_TOOLS_PATH</li>
      </ul>
      <p>All of them should be automatically set it you have installed
        per the docs, and the fact that "hello_world" compiles is a good
        indicator that it was OK on your install , but double-checking
        is always interesting.<br>
      </p>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Let me know the result of your checks.</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Regards,</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Le 05/02/2023 à 11:48, Michael Balzer a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:d1e6e12b-d059-63ed-f035-0a6b055a876c@expeedo.de">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      Ludovic,<br>
      <br>
      I'm having trouble getting the experimental-esp-idf-v5 branch to
      even configure.<br>
      <br>
      Configuring and building the "hello_world" example with idf5.0
      works without any issues, so it's related to our sources.<br>
      <br>
      I've tried removing the build directory, doing "idf.py
      python-clean", doing "idf.py clean" "idf.py fullclean", but I
      always get this, already when doing set-target:<br>
      <br>
      <font face="monospace"><a class="moz-txt-link-abbreviated
          moz-txt-link-freetext"
href="mailto:balzer@leela:~/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3"
          moz-do-not-send="true">balzer@leela:~/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3</a>>
        idf.py set-target esp32<br>
        Adding "set-target"'s dependency "fullclean" to list of commands
        with default set of options.<br>
        Executing action: fullclean<br>
        Build directory
'/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build'
        not found. Nothing to clean.<br>
        Executing action: set-target<br>
        Set Target to: esp32, new sdkconfig created. Existing sdkconfig
        renamed to sdkconfig.old.<br>
        Running cmake in directory
        /home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build<br>
        Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1
        -DESP_PLATFORM=1 -DIDF_TARGET=esp32 -DCCACHE_ENABLE=0
        /home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3"...<br>
        CMake Warning (dev) at CMakeLists.txt:8 (message):<br>
          WARNING - OVMSv3 build is only supported on ESP-IDF 3.3.x<br>
        This warning is for project developers.  Use -Wno-dev to
        suppress it.<br>
        <br>
        -- Found Git: /usr/bin/git (found version "2.35.3") <br>
        -- The C compiler identification is GNU 11.2.0<br>
        -- The CXX compiler identification is GNU 11.2.0<br>
        -- The ASM compiler identification is GNU<br>
        -- Found assembler:
/home/balzer/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc<br>
        -- Detecting C compiler ABI info<br>
        -- Detecting C compiler ABI info - done<br>
        -- Check for working C compiler:
/home/balzer/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc
        - skipped<br>
        -- Detecting C compile features<br>
        -- Detecting C compile features - done<br>
        -- Detecting CXX compiler ABI info<br>
        -- Detecting CXX compiler ABI info - done<br>
        -- Check for working CXX compiler:
/home/balzer/.espressif/tools/xtensa-esp32-elf/esp-2022r1-11.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++
        - skipped<br>
        -- Detecting CXX compile features<br>
        -- Detecting CXX compile features - done<br>
        -- Building ESP-IDF components for target esp32<br>
        Processing 2 dependencies:<br>
        [1/2] espressif/mdns (1.0.7)<br>
        [2/2] idf (5.0.0)<br>
        -- Found BISON: /usr/bin/bison (found version "3.0.4") <br>
        -- Found FLEX: /usr/bin/flex (found version "2.6.4") <br>
        -- IDF Version: 5.0.0 - NOT enabling strverscmp<br>
        CMake Error at
        /home/balzer/esp/esp-idf/tools/cmake/component.cmake:224
        (message):<br>
          CMake Warning (dev) at build_properties.temp.cmake:8:<br>
        <br>
            Syntax Warning in cmake code at column 51<br>
        <br>
          <br>
        <br>
            Argument not separated from preceding token by whitespace.<br>
        <br>
          Call Stack (most recent call first):<br>
        <br>
           
/home/balzer/esp/esp-idf/tools/cmake/scripts/component_get_requirements.cmake:3
        (include)<br>
        <br>
          This warning is for project developers.  Use -Wno-dev to
        suppress it.<br>
        <br>
          <br>
        <br>
          CMake Error: Error required internal CMake variable not set,
        cmake may not<br>
          be built correctly.<br>
        <br>
          Missing variable is:<br>
        <br>
          CMAKE_FIND_LIBRARY_PREFIXES<br>
        <br>
          CMake Error: Error required internal CMake variable not set,
        cmake may not<br>
          be built correctly.<br>
        <br>
          Missing variable is:<br>
        <br>
          CMAKE_FIND_LIBRARY_SUFFIXES<br>
        <br>
        Call Stack (most recent call first):<br>
          /home/balzer/esp/esp-idf/tools/cmake/build.cmake:553
        (__component_get_requirements)<br>
          /home/balzer/esp/esp-idf/tools/cmake/project.cmake:440
        (idf_build_process)<br>
          CMakeLists.txt:18 (project)<br>
        <br>
        <br>
        -- Configuring incomplete, errors occurred!<br>
        See also
"/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/CMakeFiles/CMakeOutput.log".<br>
        cmake failed with exit code 1, output of the command is in the
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/log/idf_py_stderr_output_8211
        and
/home/balzer/esp/Open-Vehicle-Monitoring-System-3/vehicle/OVMS.V3/build/log/idf_py_stdout_output_8211<br>
      </font><br>
      <br>
      <br>
      Any idea about this?<br>
      <br>
      Regards,<br>
      Michael<br>
      <br>
      <br>
      <div class="moz-cite-prefix">Am 02.02.23 um 22:38 schrieb Ludovic
        LANGE:<br>
      </div>
      <blockquote type="cite"
        cite="mid:8a075626-bfbe-c00c-9601-f7c21707f7d9@lange.nom.fr">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <div class="moz-cite-prefix">Hi list,</div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix">I started to split my big list of
          patches into smaller, more manageable, easier to review PRs:</div>
        <div class="moz-cite-prefix">
          <div class="moz-cite-prefix">
            <ul>
              <li> <a id="issue_825_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/825/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/825"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">missing headers</a> <span
                  class="opened-by">#825</span></li>
              <li> <a id="issue_824_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/824/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/824"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">ESP-IDF v5+: dependency on
                  ovms_webserver.h</a> <span class="opened-by">#824</span></li>
              <li> <a id="issue_823_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/823/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/823"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">ESP-IDF v5+: change type of
                  TaskHandle_t</a><span class="opened-by"> #823</span></li>
              <li> <a id="issue_822_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/822/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/822"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">changes to (long deprecated)
                  ADC constants</a> <span class="opened-by">#822 </span>
              </li>
              <li> <a id="issue_821_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/821/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/821"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">ESP-IDF v5+: static assertion
                  failed: std::vector must have the same value_type as
                  its allocator</a> <span class="opened-by">#821 </span>
              </li>
              <li> <a id="issue_820_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/820/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/820"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">ESP-IDF v5+: static assertion
                  failed: comparison object must be invocable as const</a>
                <span class="opened-by">#820</span> </li>
              <li> <a id="issue_819_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/819/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/819"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">ESP-IDF v4+ : remove deprecated
                  and unused esp_event_loop.h</a> <span
                  class="opened-by">#819</span> </li>
              <li> <a id="issue_818_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/818/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/818"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">remove warning by replacing
                  rom/queue.h with sys/queue.h</a> <span
                  class="opened-by">#818</span> </li>
              <li> <a id="issue_817_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/817/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/817"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">remove warning : '_GNU_SOURCE'
                  redefined</a> <span class="opened-by">#817</span> </li>
              <li> <a id="issue_816_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/816/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/816"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">ESP-IDF v4+ : esp_intr.h is
                  deprecated, replaced by esp_intr_alloc.h</a> <span
                  class="opened-by">#816</span> </li>
              <li> <a id="issue_815_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/815/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/815"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">Add header and fix function
                  signature</a> <span class="opened-by">#815</span> </li>
              <li> <a id="issue_813_link" class="Link--primary
                  v-align-middle no-underline h4 js-navigation-open
                  markdown-title" data-hovercard-type="pull_request"
data-hovercard-url="/openvehicles/Open-Vehicle-Monitoring-System-3/pull/813/hovercard"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/813"
                  data-turbo-frame="repo-content-turbo-frame"
                  moz-do-not-send="true">replace some constants with
                  their more adapted counterpart</a> <span
                  class="opened-by">#813 </span></li>
            </ul>
          </div>
        </div>
        <div class="moz-cite-prefix">Let me know if it's the proper
          approach ; and if some of you can review those changes and
          comment on them, it'll help merging those - and progress in
          reaching ESP-IDFv5 compatibility.<br>
        </div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix">Best regards,<br>
        </div>
        <div class="moz-cite-prefix"><br>
        </div>
        <div class="moz-cite-prefix">Le 31/01/2023 à 01:49, Ludovic
          LANGE a écrit :<br>
        </div>
        <blockquote type="cite"
          cite="mid:c8a3790f-a00f-3760-2a7b-a1086cdcb992@lange.nom.fr">
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <div class="moz-cite-prefix">Hi list,</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Another quick post to share with
            you the progress on the ESP-IDFv5 + cmake endeavour:</div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">
            <ul>
              <li>ESP-IDF v5 version of OVMSv3 is now officially booting
                and seems to work fine (then again, I'm not doing any
                real-world testing for lack of time / car at the moment
                - it's here that you can help me) with a few caveats
                detailed in the PR or <a moz-do-not-send="true"
href="https://github.com/llange/Open-Vehicle-Monitoring-System-3/blob/experimental-esp-idf-v5/README.md">the
                  README.md</a>.<br>
                <br>
              </li>
              <li>The branch <a class="moz-txt-link-freetext"
href="https://github.com/llange/Open-Vehicle-Monitoring-System-3/tree/experimental-esp-idf-v5"
                  moz-do-not-send="true">https://github.com/llange/Open-Vehicle-Monitoring-System-3/tree/experimental-esp-idf-v5</a>
                is now ready for testing, sharing, studying, ...<br>
                <br>
              </li>
              <li>I created a draft PR <a class="moz-txt-link-freetext"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/810"
                  moz-do-not-send="true">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/pull/810</a>
                (just like for ESP-IDFv4), in order to show the diff and
                gather feedback. Not to be merged as-is.<br>
                <br>
              </li>
              <li>I'll try to break it into smaller low-impact /
                easy-to-review PR's that could be merged as-is in
                current master (warning corrections, header definitions,
                xxprintf type impact, etc...), so that the big pieces
                could be more easily reviewed.<br>
              </li>
            </ul>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Please note that those branches /
            PRs are still Work-In-Progress, and that I may certainly
            (and wrongly) `push --force` some changes as I rebase,
            update or split the big PR into smaller, easy to study PRs.
            I'll try not to but can't promise :-)</div>
          <div class="moz-cite-prefix">So if you checkout the branch,
            please be warned and know your git commands to either reset
            or rebase your working copy...<br>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Next on my list are, in no
            particular order:</div>
          <div class="moz-cite-prefix">
            <ul>
              <li>Have a few patches/bugs fixed in upstream wolfSSL (in
                progress) in order to enable<br>
              </li>
              <li>Check to see if we could upgrade mongoose (not
                absolutely necessary because it works / compile OK with
                a small patch)</li>
              <li>Fix the remaining warnings</li>
              <ul>
                <li>And change the ADC implementation that is deprecated
                  now</li>
                <li>deprecation of esp_vfs_fat_spiflash_mount /
                  esp_vfs_fat_spiflash_unmount</li>
              </ul>
              <li>Fix the WIP WIP WIP commits</li>
              <li>Resume work on <a class="moz-txt-link-freetext"
href="https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/752"
                  moz-do-not-send="true">https://github.com/openvehicles/Open-Vehicle-Monitoring-System-3/issues/752</a><br>
              </li>
            </ul>
          </div>
          <div class="moz-cite-prefix"><br>
          </div>
          <div class="moz-cite-prefix">Boot time warnings to study and
            check if OK:</div>
          <div class="moz-cite-prefix">
            <ul>
              <li>W (1091) esp_psram: Virtual address not enough for
                PSRAM, map as much as we can. 4MB is mapped</li>
              <li>W (2132) ADC: legacy driver is deprecated, please
                migrate to `esp_adc/adc_oneshot.h`   (<- this one is
                easy to understand...)</li>
            </ul>
            <p><br>
            </p>
            <p>Additional instructions:</p>
            <p>When first building, your sdkconfig will be converted as
              some config options did change betwen ESP-IDF v3.x and
              v5.x.</p>
            <p>Run `menuconfig` and :</p>
            <ul>
              <li><b>Select FREERTOS_ENABLE_BACKWARD_COMPATIBILITY</b>(=y)
                "configENABLE_BACKWARD_COMPATIBILITY"</li>
              <li><b>Unselect MG_ENABLE_SSL</b>(=n) "Enable MONGOOSE
                SSL/TLS support"</li>
            </ul>
            <p><br>
            </p>
            <p>If any of you with some free time could be nice enough to
              try to reproduce such a build and share the experience
              here. Let me know how the instructions could be updated
              and what issues you are facing.<br>
            </p>
            <p><br>
            </p>
          </div>
          <div class="moz-cite-prefix">Best regards,</div>
        </blockquote>
        <br>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:OvmsDev@lists.openvehicles.com" moz-do-not-send="true">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev" moz-do-not-send="true">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
      </blockquote>
      <br>
      <pre class="moz-signature" cols="72">-- 
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26</pre>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
OvmsDev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OvmsDev@lists.openvehicles.com">OvmsDev@lists.openvehicles.com</a>
<a class="moz-txt-link-freetext" href="http://lists.openvehicles.com/mailman/listinfo/ovmsdev">http://lists.openvehicles.com/mailman/listinfo/ovmsdev</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <div id="grammalecte_menu_main_button_shadow_host" style="width:
      0px; height: 0px;"></div>
  </body>
</html>