atanisoft / Esp32OlcbIO

ESP32 OpenLCB IO Board
9 stars 5 forks source link

Error during compiling esp32io_bootloader.cpp #7

Closed dwightkelly closed 1 year ago

dwightkelly commented 1 year ago

a clean clone of the master branch has the compiler error:

In file included from ../main/esp32io_bootloader.cpp:39:
../components/OpenMRNIDF/src/freertos_drivers/esp32/Esp32BootloaderHal.hxx: In function 'void esp32_bootloader_run(uint64_t, gpio_num_t, gpio_num_t, bool)':
../components/OpenMRNIDF/src/freertos_drivers/esp32/Esp32BootloaderHal.hxx:354:12: error: enumeration value 'CHIP_ESP32H2' not handled in switch [-Werror=switch]
     switch (chip_info.model)
            ^

This enum value was added on 1/7/22 in 0f6073123ebb836d6515858a56661fb36ddd23e5

The servo branch is using newer version (9/18/22) 10b7e3cf3c65cf0e71788427e6c3227b100f4802

atanisoft commented 1 year ago

Master should be pointing to 217a5db2465b9091a106ce9ca476a6f37ec6f4dd which has no reference to CHIP_ESP32H2 that I can find. . This will be resolved on the servo branch which syncs to the latest OpenMRNIDF and switches to ESP-IDF v4.4 (master uses v4.3)

dwightkelly commented 1 year ago

I must have somehow forced OpenMRNIDF to HEAD.