Skip to content

Trying to use arduino-esp32 as a component to the esp-idf get error: #1612

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

Closed
esims11395 opened this issue Jul 8, 2018 · 5 comments
Closed
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@esims11395
Copy link

esims11395 commented Jul 8, 2018

I installed the arduino components inside of a simple esp32 example using this reference: https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md

When I run "make flash" i get this error:
$ make flash CC build/arduino/cores/esp32/libb64/cencode.o make[1]: execvp: xtensa-esp32-elf-gcc: Argument list too long make[1]: *** [/home/Eric/esp/esp-idf/make/component_wrapper.mk:274: cores/esp32/libb64/cencode.o] Error 127 make: *** [C:/Users/Eric/Documents/msys32/home/Eric/esp/esp-idf/make/project.mk:450: component-arduino-build] Error 2
Looking at the make file, line 450 is:
$(foreach component,$(COMPONENT_PATHS),$(eval $(call GenerateComponentTargets,$(component),$(notdir $(component)))))

I'm not sure what to do about it. All help is appreciated.

Thanks

@lbernstone
Copy link
Contributor

Try moving to a shorter path. Filepaths over 254 characters can cause issues.

@esims11395
Copy link
Author

esims11395 commented Jul 11, 2018

Thanks for the response. I checked my longest filepath and it was 113 chars. I ended up updating the esp-idf and that fixed it. Not sure what happened. This can be closed.

@QuadCorei8085
Copy link

fixed by #1853

@stale
Copy link

stale bot commented Aug 1, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Status: Stale Issue is stale stage (outdated/stuck) label Aug 1, 2019
@stale
Copy link

stale bot commented Aug 15, 2019

This stale issue has been automatically closed. Thank you for your contributions.

@stale stale bot closed this as completed Aug 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Stale Issue is stale stage (outdated/stuck)
Projects
None yet
Development

No branches or pull requests

3 participants