-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ESP-IDF Update to unblock Mac M1 Builds #4182
Comments
I'm ok if we switch to the 4.3 branch. I'm not planning on doing it myself. I'd expect them to backport this to 4.2 as well. |
I started a PR and did the boring parts of updating the include paths. I don't know C so if someone is excited and could pick up from here, that would be great. |
Im unable to build CP at all on M1 due to the inability to build mpy-cross from source in setting up my toolchain. Looked at the MicroPython solutions to this but not able to implement on the CircuitPython git sync - I know this detracts that the Espressif nature of this specific issue, but all the same stuck with this atm |
If you can't build mpy-cross, then other things will not build as well. What is the error? |
its as follows in a clean case sensitive APFS case sensitive sparse image :
|
@wildestpixel Try changing line 399 in #if defined(__i386__) || defined(__x86_64__) || defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
|
Thats a big step in the right direction I just need to add a path export - mpy-cross is built, just the arm-eabi to link up :
Thanks so much :) |
ah - now at this : After
|
Do a If you are still having trouble let us know the |
all good I couldn't see the wood for the tress last night before going to bed. I'm building on M1 - Thanks Dan!!!! And build times are snappy! |
When installing the esp-idf from github and runing
source ~/esp/esp-idf/export.sh
it works but in a new terminal when running the export fromports/esp32s2/
I getERROR: Platform Darwin-arm64 appears to be unsupported
.I can build successfully using the latest IDF (commit 73db142).
The fix in the IDF appears to be this one
espressif/esp-idf@5739127#diff-873391a19109de0fec9486d3ef26704a32fe81560a38f2e1f6c4f3db99d19350
Looks like it is time to update the IDF or possibly just pickup this one change.
The text was updated successfully, but these errors were encountered: