ESP-BOX-3 rebuilding Factory Demo
Posted: Thu Nov 30, 2023 4:41 pm
- For my ESP Box 3 I tried to reconstruct the factory demo. LaunchPad is not working and the firmware for Box-3 (...bin) ist still not available. Please provide it for easy use and reset to delivry status.
- I am working with Win 10 and standard ESP-IDF 5.1.1. Using that IDF seems to be more reliable that VSCode-IDF.
- I did not dare to flash_read all flash in order to save its initial state because I read, that flshing back the boot area is only for people how know what they are doing - not for me!
- The advice is to rebuild the demo from source "esp-box-master". OK, should be no problem. I set-target esp32s3, struggled with menuconfig, but for me everything looked fine. Then idf.py build ... ERROR.. I am not shure, if any log or any longer dump will help, this is what happened:
- --------------------
- [code]
- In file included from C:/Espressif/frameworks/esp-idf-v5.1.1/components/soc/include/soc/lldesc.h:10,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/port/include/aes/esp_aes_gcm.h:15,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/port/include/gcm_alt.h:22,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/include/mbedtls/gcm.h:76,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/include/psa/crypto_struct.h:74,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/include/psa/crypto.h:4690,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/include/mbedtls/legacy_or_psa.h:104,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/include/mbedtls/x509_crt.h:27,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/include/mbedtls/ssl.h:35,
- from C:/Espressif/frameworks/esp-idf-v5.1.1/components/mbedtls/mbedtls/library/ssl_ciphersuites.c:29:
- C:/Espressif/frameworks/esp-idf-v5.1.1/components/esp_rom/include/esp_rom_lldesc.h:10:10: fatal error: openthread/openthread/third_party/tcplp/bsdtcp/sys/queue.h: No such file or directory
- 10 | #include "openthread/openthread/third_party/tcplp/bsdtcp/sys/queue.h"
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- compilation terminated.
- [/code]
- -------------------
- I checked that path below "C:/Espressif/frameworks/esp-idf-v5.1.1/components",[b] queue.h it is there[/b]!!!
- Maybe path is too long?
- When I worked with the esp32 example "lv_port_esp32" I had problems with queue.h as well. The compiler was looking for strange pathnames for other occurences of "queue", but finally (hours later) I could fit that problem.
- Soplease help and please provide better and more documentation and examples for Box-3. I do think it is a good product and it could make pleasure to work with it.