Closed armwdev closed 1 year ago
@armwdev Hi the examples under examples/hmi were temporarily disabled. As we have removed all submodules from the repo, we will merge a new version code (based on esp component manager) and guide docs about HMI soon.
Currently please refer the examples in esp-dev-kits/tree/master/esp32-s3-lcd-ev-board/examples
@leeebo Hi and thanks for the quick response. I was mainly interested in the lvgl_wificonfig example to set the wifi credentials using the lvgl as this seems a bit complicated task. Is there any way so I can make modifications to make the lvgl_wificonfig example to work with the idf 5.1?
As a workaround, I've used the previous commit and fixed the board_common. But now I receive error "E (372) ADC: CONFLICT! driver_ng is not allowed to be used with the legacy driver"
I've tried to disable the i2s_lcd as much as I can from the code and the menuconfig but not sure why the error still occurs.
Logs for the error:
I (364) spi_flash: detected chip: gd
I (368) spi_flash: flash io: qio
E (372) ADC: CONFLICT! driver_ng is not allowed to be used with the legacy driver
abort() was called at PC 0x420358a3 on core 0
0x420358a3: check_adc_oneshot_driver_conflict at C:/esp/idf-v5.1/esp-idf/components/driver/deprecated/adc_legacy.c:930 (discriminator 3)
Backtrace: 0x40375b8a:0x3fceb1b0 0x4037eb9d:0x3fceb1d0 0x4038613e:0x3fceb1f0 0x420358a3:0x3fceb260 0x42003753:0x3fceb280 0x42003a8d:0x3fceb2a0 0x403759d6:0x3fceb2e0 0x403cda98:0x3fceb340 0x403cde91:0x3fceb380 0x403c999d:0x3fceb4b0 0x40045c01:0x3fceb570 |<-CORRUPTED
0x40375b8a: panic_abort at C:/esp/idf-v5.1/esp-idf/components/esp_system/panic.c:452
0x4037eb9d: esp_system_abort at C:/esp/idf-v5.1/esp-idf/components/esp_system/port/esp_system_chip.c:84
0x4038613e: abort at C:/esp/idf-v5.1/esp-idf/components/newlib/abort.c:38
0x420358a3: check_adc_oneshot_driver_conflict at C:/esp/idf-v5.1/esp-idf/components/driver/deprecated/adc_legacy.c:930 (discriminator 3)
0x42003753: do_global_ctors at C:/esp/idf-v5.1/esp-idf/components/esp_system/startup.c:200 (discriminator 15)
0x42003a8d: start_cpu0_default at C:/esp/idf-v5.1/esp-idf/components/esp_system/startup.c:463 (discriminator 3)
0x403759d6: call_start_cpu0 at C:/esp/idf-v5.1/esp-idf/components/esp_system/port/cpu_start.c:691
0x40045c01: ets_run_flash_bootloader in ROM
ELF file SHA256: eaba7a1a09934189
Rebooting...
Please let me know if there is a better way or how do I fix this error.
Thanks
@armwdev For wifi credentials
using LVGL, there is an example 86box_smart_panel, we suggest developing based it
Thanks for your suggestion. That example seems a bit resource intensive and incompatible with the development kit that I have. I need a compact and simpler example so I hope you can fix the hmi examples soon.
Environment
xtensa-esp32-elf-gcc --version
to find it): 12.2.0_20230208Problem Description
I am not sure if that's a bug or my mistake as I tried on multiple PCs. When I tried to build any examples (lvgl_example) from the esp-iot-solution of the master branch, lvgl (8.3) and esp-idf latest stable release (5.1), it fails to build with error: "TypeError: Version is not semantic". You can see the full logs in the "Debug Logs" at the bottom.
Expected Behavior
As there is no modifications to the files, it should build the examples normally.
Actual Behavior
It builds the esp-idf examples fine but not the esp-iot-solution examples.
Steps to repropduce
1- Downloaded the latest stable ESP-IDF, tools, lvgl and master branch of the esp-iot-solution 2- cd to any example project (lvgl_example), set the target to esp32s3, applied idf.py build 3- It starts to build but at the end it shows the error above and logs at the bottom.
Code to reproduce this issue:
From main.cpp of the lvgl_example below:
Debug Logs: