-
-
Notifications
You must be signed in to change notification settings - Fork 686
espidf-arduino-blink example uncompilable because of missing branch #524
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
Same problem here. If I use master branch I also got:
It seems this files are needed as an extra idf component: https://github.com/espressif/esp32-arduino-lib-builder/tree/master/components/arduino_tinyusb |
Does the workaround here work? |
Well I gave this a try. Besides I will be stucked in that commit (https://github.com/marcovannoord/arduino-esp32.git), it gives me the error that requires another component:
The problem is that arduino-esp32 now has support for esp32s2 and incorporates another component arduino_tinyusb for usb support. |
Is there any solution to this problem? Can't make it work, tried the workaround mentioned by @maxgerhardt but I get problems with other libraries. |
This works for IDF4.4
We are using here https://github.com/arendst/Tasmota/blob/development/platformio_override_sample.ini#L201 |
Hi everybody! |
@yogyyoghurt Just tried, compiled and working with ESP32 and ESP32-S2 |
After doing my very first projects in arduino framework, I would like to test some more professional issues, which seem only be possible under espidf framework. So, as I noticed from a number of discussions (e.g. https://community.platformio.org/t/using-esp-idf-library-within-the-arduino-framework-esp32/17226) this should be possible in a very handy way using both frameworks. @Jason2866 When I have a look in your platformio.ini, it just uses framework Arduino. Right? So this discussion here is about the espidf-arduino-blink example not arduino-blink. Or didn't I get some details?
@maxgerhardt I have tried this. Seems to work!!! Compiling and linking is OK. I didn't test the application so far. But by the way I have a more general question. Using such a more 'private' branch of a platform_package doesn't make me really happy, although it works. Is it possible to tell platformio, not to check online if this branch still exists? So I would like to stay and ensure not to destroy my working environment? |
Thanks. Your test setup works fine, but the problem we are discussing here is when you use:
For example the espidf-arduino-blink |
Should work too, it uses the same setup as espressif/arduino-esp32#4998 (comment) |
Just fork the setup (platform and platform_packages) which is working for you and refer to your own. As long there is no stable version released, you could not expect a setup which will last for early alpha or beta stuff. |
maybe the definition of board need to be updated as the latest expressif package is officially supporting esp32s2 : https://github.com/espressif/arduino-esp32#esp32-s2-and-esp32-c3-support (all branches used for esp32s2 has been deleted by expressif) |
@apwwn the branch esp32s2 is now integrated in master and so not needed anymore. You can easily define boards yourself. Just place your |
@valeros people are still hitting this issue, see e.g. community topic. Please update the branches / build system of the Arduino+ESP-IDF examples? It's indeed bad that Arduino-ESP32 deletes branches at any time, so maybe a backup fork would be good 🤔 Edit: Ah I see that the example has switched to platform-espressif32/examples/espidf-arduino-blink/platformio.ini Lines 16 to 18 in 56f9c60
but can we also get support for building the master branch of Arduino-ESP32 with the there-in referenced ESP-IDF version, more dynamically? (E.g., more easily changable ESP-IDF versions by commit-id instead of being able to use only what's in the package repository -- can't use the esp-idf repo directly because they have no |
Per espressif/arduino-esp32#5007 and espressif/arduino-esp32#4998
The
espidf-arduino-blink
is uncompilable because the referenced#idf-release/v4.0
was killed in the repo.platform-espressif32/examples/espidf-arduino-blink/platformio.ini
Lines 16 to 18 in b9530d3
The text was updated successfully, but these errors were encountered: