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

Unable to flash: driver/gpio.h: not found #21

Closed
alvarotorijano opened this issue Jan 29, 2023 · 5 comments
Closed

Unable to flash: driver/gpio.h: not found #21

alvarotorijano opened this issue Jan 29, 2023 · 5 comments

Comments

@alvarotorijano
Copy link

On a fresh w10 install there is no way to properly run idf.py -p COM14 flash because it complains about this error:
blackmagic-esp32-s2/components/blackmagic/esp32-platform/platform.c:6:10: fatal error: driver/gpio.h: No such file or directory

Why is not esp-idf being able to find this header?
a W10 guide on how to flash the debugger firmware would be really appreciated

@alvarotorijano
Copy link
Author

@DrZlo13
Copy link
Member

DrZlo13 commented Feb 7, 2023

It seems you are trying to compile with idf 5.0. You need esp-idf 4.4 to build the project.

@alvarotorijano
Copy link
Author

alvarotorijano commented Feb 7, 2023

Installing the environment is at least a pain in the ass. If you don't select the proper microcontroller selection you have to manually remove it to be able to reinstall again. The install script also needs pip3 and python 3.8. There are broken dependencies that are not installed. The install script is also not able to clone properly all the subrepositories, some of them needed to be cloned manually. In this repository, there are no notes about the required esp-idf version to be used.
After crying for 3 days I compiled it and uploaded the binaries which could be worth to be upload here as a release.
Hope this helps any wandering soul.
https://github.com/alvarotorijano/FlipperBlackMagicReady

@DrZlo13
Copy link
Member

DrZlo13 commented Feb 8, 2023

Okay, I'll update the build documentation.

@DrZlo13
Copy link
Member

DrZlo13 commented Feb 9, 2023

Fixed in #22

@DrZlo13 DrZlo13 closed this as completed Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants