-
Notifications
You must be signed in to change notification settings - Fork 132
ESP32 Core 2.0.11 Broke Sloeber #1582
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
Comments
see #1576 |
Do the two lines need to go anywhere specific in platform.txt?: I put them at the end: Then deleted the project, restarted Sloeber and made a new project. No joy. Same error. |
That is not the correct process |
That did it, Thanks. Will this fix be added to a Nightly and eventually a released version? |
From my point of view this is a problem in ESP32 2.0.11 or some new(?) feature in the arduino IDE I am not aware of. |
It is a new arduino feature used by esp32 since arduino tries to build the core separately. recipe.hooks.prebuild.set_core_build_flag.pattern.windows=cmd /c type nul > "{file_opts.path}" It would help if it could be included just as a plain recipe.hooks.prebuild entry into platform.sloeber.txt as done in #1576 |
Sloeber implements the Arduino framework which -amongst others- specifies the platform |
Other workaround use version 3 |
But ESP version 3 is incompatible with a lot of libraries, they changed too much in this version https://docs.espressif.com/projects/arduino-esp32/en/latest/migration_guides/2.x_to_3.0.html. |
I understand but from a Sloeber perspective it is not a Sloeber problem.
You can not expect Sloeber to implement this "jankiness" just to support ESP32 2.0.11 especially as there is a workaround to make it work in Sloeber and it would be very easy for ESP32 to fix this. So in short: I wouldn't know what I can do. |
Sorry, everything is fine with slober (and ESP32 su...). |
no problem mate. |
OK, but unusable until Arduino IDE and/or Sloeber offer that as a choice in their Board Managers. |
As it is a release there should be a json to install it somewhere. |
v3 is a pre-release and still in development. And as documented here development JSON is https://espressif.github.io/arduino-esp32/package_esp32_dev_index.json |
Hi, I have the same error with esp2.0.11 installed (no other choices in Platforms selection) : What I missing ? Note that in the file sloeber.ino.cpp generated by Sloeber, it seem's that IN_ECLIPSE is not defined because this define part is greyed. Regards, |
Have you used the correct process? |
I think that yes but I am a little confuse with the .txt file since I have no .txt file in my test project. |
Your confusion is confusing me.
Which means you did find the platform.txt.
The platform.sloeber.txt is in the same folder as the platform.txt so you should be able to delete it.
Did you or did you not find the sloeber.platform.txt file? |
Hi, |
Is this bug fixed in Release 4.4.2 from last November? |
I guess I don't understand the nuance there since the ESP32 package works without any problems in the Arduino IDE. It requires no "workaround". And Sleober is supposed to be better than Arduino IDE. |
I think this comment explains is quite well:
I for one never said Sloeber is better in each and every way than Arduino IDE. |
I just added ESP32 Core 2.0.11 to my "Platforms and Boards". I'm running this version of the Sloeber Nightly:
https://github.com/Sloeber/arduino-eclipse-plugin/actions/runs/3659904477
This basic code fails to compile:
The error message from the console is below. Please Advise. Thanks.
The text was updated successfully, but these errors were encountered: