-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for IDF 4.4 release #710
Comments
I've created a pull-request based on the work of @X-Ryl669 and @jonathandreyer |
@FaBjE Thx, based on your ground work i added the S3 and all CI examples (added tests for S2 and S3) do compile successfully. |
How can I test this PR with an S3 sample? |
@turing-complete-labs |
@Jason2866
Output:
|
@quangvankts Try to delete hidden folder |
As a first-step, can the 4.4 package be uploaded to https://registry.platformio.org/tools/platformio/framework-espidf ? The ESPHome project uses the platformio registry, and there are new features in the 4.4 version I need access to. |
I deleted hidden folder However changing the platformio.ini back to
I can compile with no error |
@quangvankts I had the same issue, since I created the project from scratch. |
Espressif 3.5.0 is out and it supports S3. |
No it doesn't. Espressif 3.5 is based on IDF4.3 which does not support ESP32 S3 (it supports ESP32 C3 however). |
I've seen this issue before. The map file should match the name of your project. Make sure there are no spaces in your project name. Also verify that your project path doesn't have any spaces in it. Clean and rebuild. |
+1 for IDF 4.4 support and Arduino 2.0.2. Long overdue. Fortunately we can use TASMOTA custom builds as a workaround. |
Arduino Core 2.0.3 is nearly there. Here is my core 2.0.3 rc build from today
When core 2.0.3 is released i will do a "clean" platform build and update IDF44 to the one which is used too build the Arduino libs. |
+1 for latest ESP-IDF support. I found incredibly ancient APIs (e.g., Also, can |
@CSharperMantle Latest IDF44 and Arduino core 2.0.3-rc1 support.
Lets hope the devs of PlatformIO in Ukraine are safe and have soon time (when war is over) for there business again. |
Doesn't the current version of So this issue is already addressed by the latest platform release I think, please correct me if I'm wrong as I am super unfamiliar with how the platform's dependencies work. |
No, it is still IDF4.3 to be exact IDF4.3.2 as referenced here https://github.com/platformio/platform-espressif32/blob/develop/platform.json#L81 |
Hello everyone, I write a quick message here to inform you that I have updated the version for ESP-IDF v4.4.1.
I have already tested on two targets ESP32 & ESP32-S3. Best regards, Jonathan Dreyer |
Hello @jonathandreyer so we are too with the same idea ;-)
|
Oh was this issue for |
@Jason2866 I've been using the tasmota 4.4 build for a while, but this new 4.4.1 one you just posted 2 days ago fails like this:
I've tried |
Mhh, do you have sample program where i can try? |
@jonathandreyer, do you know what I need to do for this to compile on a Mac? I get this error: |
@bwjohns4 Use my fork (i added my compiled native Apple silicon toolchains)
|
@Jason2866 , trying yours I get a different error (shown below). Any insight on what I'm doing wrong? I'm trying to build with Arduino and IDF from scratch. [env:esp32devIDF2] PACKAGES:
|
Ahh, i did not test if the arm toolchains are used / working with IDF!
Thx, for the feedback. I try to solve the IDF issue with the other platform setup, so IDF will work with the native Apple silicon toolchains too. |
@Jason2866 , Thanks so much for helping with this! It compiled! I've been trying to get this to work for weeks! I did notice that there were many compiler warnings that were treated as errors and failing the build (such as [-Werror=maybe-uninitialized]). I was able to find and use Most / all of the warnings that were failing the build were within my code and not within Arduino/IDF cores/libraries. Has anyone else seen this too? Should I not worry about it since for any regular Arduino build the code works fine the way it's currently written. |
Yes, IDF is compiling with |
@Jason2866 , I'm still wrestling a bit with this. It compiles but just does a repeating WDT reboot when uploaded to a device. I'm thinking that somehow I don't have sdkconfig right or something. Also when I turn on my debug serial prints, its fails to build due to being too large 104% of flash capacity versus ~82% capacity when building with the latest standard espressif32 arduino framework (the one that has pre-built IDF). I've copied the sdkconfig file from https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/esp32/sdkconfig into my sdkconfig.esp32devIDF2 file. Is there something different that I should be doing to ensure that IDF is built with all the correct flags and configuration that Arduino is using presently? |
Yes, there have settings changed in IDF4.4 for Arduino 2.0.x. |
@bwjohns4 The arm toolchains should now work for IDF too. Please try
The Arduino framework is updated and used IDF441 for compiling |
@Jason2866
When running
|
@liebman Thx for the info. Should be fixed. Delete |
@Jason2866 Have you built a large project yet? I'm running into an issue where the rom size is not being read from the board file, and my project is running out of space, so I get eh following error: Linking .pio\build\xxx\firmware.elf I can effect the ram high water mark in the board file, but ROM is stuck @ 1048576, nothing I do will change it. Also as an FYI the project builds fine in the IDF, so I know partition file is good, it's just plarformio's translation of the board file that I suspect. Also as an FYI I'm using a ESP32-s3-wroom-1-m16n8, so should be able to set a 16Mb rom in board file. |
Easiest is to define your own boards.json which reflects your board to 100% |
That is exactly what I did, sorry if I was not clear on that. unfortunately
it was not changing the magic number, so I was always getting the error,
could never find the value that changed it, or had any effect on it. I've
attached my board file.
Also your "as you can see here" does not have any S3 16Mb parts in it, so not the same. my other project that is not a n S3 works fine as well.
…On Mon, Jun 6, 2022 at 10:50 PM Jason2866 ***@***.***> wrote:
Easiest is to define your own boards.json which reflects your board to 100%
See documentation for. We do for Project Tasmota (175000 lines of code) as
you can see here
<https://github.com/arendst/Tasmota/tree/development/boards>
—
Reply to this email directly, view it on GitHub
<#710 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AX7TOKOLSPIF6GK5IHN3Z53VN3PL5ANCNFSM5M5Q6QRA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
IDF v4.4 has been released by espressif. Arduino ESP32 2.0.2 is based on IDF 4.4
The text was updated successfully, but these errors were encountered: