Skip to content
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

ledcDetachPin code not working with ESP32 3.0.0 core. #4015

Closed
1 task done
mrdude2478 opened this issue Jun 5, 2024 · 4 comments
Closed
1 task done

ledcDetachPin code not working with ESP32 3.0.0 core. #4015

mrdude2478 opened this issue Jun 5, 2024 · 4 comments
Labels
external Not part of WLED itself - an external plugin/remote etc.

Comments

@mrdude2478
Copy link

mrdude2478 commented Jun 5, 2024

What happened?

Unable to compile with ESP32 3.0.0+ core.

To Reproduce Bug

Update esp32 boards from 2.7 to new 3.0+ cores

Expected Behavior

Wanted to compile, but fails on new cores dues to missing ledcDetachPin code in new libraries.

Install Method

Binary from WLED.me

What version of WLED?

Latest release from git release page.

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Not needed.

Anything else?

I spent about 4 hours trying to figure out why this wouldn't compile, then I found that someone had updated the esp32 board to the newer 3.0 core, after downgrading back to 2.7 core I was able to compile again.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@mrdude2478 mrdude2478 added the bug label Jun 5, 2024
@blazoncek blazoncek added external Not part of WLED itself - an external plugin/remote etc. and removed bug labels Jun 6, 2024
@blazoncek
Copy link
Collaborator

Nobody said WLED is developed for core 3.0.0 (whatever that is).

Please specify what core 3.0.0. means to you.

@softhack007
Copy link
Collaborator

softhack007 commented Jun 6, 2024

Unable to compile with ESP32 3.0.0+ core.

If you think about using arduino-esp32 v3.0.x - the summary is: it's not possible.

As espressif have changed a lot of functions and basicially nothing works as before, there would be a lot of work just to "upgrade" to the latest arduino-esp32. There are no plans in the WLED core team to do this, at least not in 2024.

@softhack007
Copy link
Collaborator

Update esp32 boards from 2.7 to new 3.0+ cores

PS are you trying to build WLED in Arduino-IDE? Please use VSCode with platformIO. https://kno.wled.ge/advanced/compiling-wled/

Building WLED in Arduino-IDE is not supported any more.

@mrdude2478
Copy link
Author

Thanks, I've installed visual studio 2022 and Platformio so I'll compiled with that instead, I can compile fine on Arduino though if I disable the a Alexa code and use the 2.7 boards core (I don't use Alexa anyway).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Not part of WLED itself - an external plugin/remote etc.
Projects
None yet
Development

No branches or pull requests

3 participants