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

Using ESP-ADF with Arduino (AUD-3517) #19

Closed
HumamHelfawi opened this issue Jun 5, 2018 · 9 comments
Closed

Using ESP-ADF with Arduino (AUD-3517) #19

HumamHelfawi opened this issue Jun 5, 2018 · 9 comments

Comments

@HumamHelfawi
Copy link

Hi,
Is it possible to use ESP-ADF from Arudino IDE with other Arduino libraries? I used to use ESP-IDF from Arduino IDE. However, I could not find any documentation about using ESP-ADF from Arduino.

@tuanpmt
Copy link
Contributor

tuanpmt commented Jun 7, 2018

I think the better way to use ADF with Arduino is using Arduino for ESP32 as IDF component: https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md

It means that you can compile examples of the current ADF, and add Arduino features, libraries to ADF application.

@HumamHelfawi
Copy link
Author

@tuanpmt Thanks for your reply! Yes this the only way it worked with me.

@unltdsoul
Copy link

I am trying to use Arduino as component of ADF - but only get errors - I have successfully used Arduino as component of IDF.
Errors I get:
execvp: xtensa-esp32-elf-gcc: Argument list too long
make[1]: *** [/home/ameyatma/esp/esp-adf/esp-idf/make/component_wrapper.mk:274: cores/esp32/libb64/cencode.o] Error 127
make: *** [c:/msys32/home/ameyatma/esp/esp-adf/esp-idf/make/project.mk:450: component-arduino-build] Error 2

I have reloaded in ADF - i can build without Arduino, or can use Arduino as component of IDF, but, not with ADF - any idea?

@mgsscorr1
Copy link

From what ive seen on another forum is that ESP has no plan to make ADF compatibly with Arduino, but seems like the guys above^^^ have found a slight work around

@HumamHelfawi
Copy link
Author

I am trying to use Arduino as component of ADF - but only get errors - I have successfully used Arduino as component of IDF.
Errors I get:
execvp: xtensa-esp32-elf-gcc: Argument list too long
make[1]: *** [/home/ameyatma/esp/esp-adf/esp-idf/make/component_wrapper.mk:274: cores/esp32/libb64/cencode.o] Error 127
make: *** [c:/msys32/home/ameyatma/esp/esp-adf/esp-idf/make/project.mk:450: component-arduino-build] Error 2

I have reloaded in ADF - i can build without Arduino, or can use Arduino as component of IDF, but, not with ADF - any idea?

I have faced the same issue at some point while I was updating the version of AFD and Arduino. As far as I remember (I am note sure actually), the problem was that the Arduino version (commit actually) was compatible. So, you have to make sure that ADF, IDF and Arduni-esp32 commits you are using are the same the repos suggest in their sub-modules.

If you clone the last commit of each repo, it won't work.

@unltdsoul
Copy link

Thank, HumanHelfawi, I'll look into that when i get time, and will post here if successful letting others know how, or if, i got it to work.

@maharshi114
Copy link

Hey, @tuanpmt page not found in this comment, link: #19 (comment)

Thank you.

@github-actions github-actions bot changed the title Using ESP-ADF with Arduino Using ESP-ADF with Arduino (AUD-3517) Dec 31, 2021
@Droxx
Copy link

Droxx commented Jun 12, 2024

@sheetaljain01
Copy link

Hi, have u completed successfully?

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

7 participants