Closed takasehideki closed 3 months ago
apologies for you not having the best experience.
CI is running 4.4.7, 5.0.6, 5.1.3, 5.2.1, esp32c3 5.2.1: https://github.com/atomvm/AtomVM/actions/runs/9238140806/job/25415891557
So seems like we have hit a snag against older 4.x 5.x SDKs.
If it's not too time consuming can you try using 4.4.7 and 5.0.6?
I will investigate further..
@petermm thank you so much for your reply. You have nothing to apologize for. I'd be happy to contribute to a better development experience.
So I wasn't aware of the CI build. I have tried with 4.4.7 and 5.0.6 and was able to build successfully!
Also FYI, I forgot to tell you an important piece of information: I was doing it for esp32c3
(but I think that ESP-IDF does not have much influence on the differences between the different targets).
According to my experience, I think it is better to include the subminor number in the document. What do you think?
For the ESP32 platform, but as the title says, it does not seem to build well (
idf.py build
) with ESP-IDF v4.4 and v5.0. FYI, I am trying it out in an Ubuntu 20.04 based Docker environment.with ESP-IDF v4.4.4:
with ESP-IDF v5.0:
As for v4.4, it uses APIs related to System Time, such as
esp_sntp_setoperatingmode
, which was introduced in this repository in #1083. However, these APIs seem to be available in ESP-IDF v5.1 or later. https://github.com/espressif/esp-idf/commit/a71fa82177214657a62dda77d148631227f68e9e#diff-c33768532c70ee7f2fe8b24289f5a1de7fc4b664e929a3100c81f3aaeac8e9dbAs for v5.0,
esp_task_wdt_reconfigure
, which was introduced at #981 and caused this issue, also seems to be available in v5.1 or later.Rebasing these changes may eliminate this problem, or there may be other better solutions. However, I think that these coping strategies may hinder the growth of technology.
My recommended conclusion is that users who want to build AtomVM virtual machine by themselves should use ESP-IDF v5.1 or later, with proper documentation. I think the following document needs to be modified. https://www.atomvm.net/doc/main/release-notes.html#esp32-support https://github.com/atomvm/AtomVM/blob/main/doc/release-notes.md.in#L63-L70
What do you think about my proposal? I'll be happy if you want me to create PR for the modification of docs.