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

Arduino as component: Cannot exclude Arduino library without excluding added libraries #1848

Closed
RA5040 opened this issue Sep 7, 2018 · 4 comments
Labels
Status: Stale Issue is stale stage (outdated/stuck)

Comments

@RA5040
Copy link

RA5040 commented Sep 7, 2018

Core Installation/update date: Current
IDE name: IDF component: Arduino

Referring to: https://github.com/espressif/arduino-esp32/blob/master/docs/esp-idf_component.md

It isn't possible to exclude an Arduino library (menuconfig/Arduino Configuration/Include only specific Arduino libraries) without at the same time excluding user-added libraries. This has come to light with the current need to exclude the SD_MMC library as this has a compilation error.

By selecting the option 'Include only specific Arduino libraries' I also cause the U8g2 library (that I have added to the /components/arduino/libraries) to be excluded.

I would like to suggest that:

  • the option 'Include only specific Arduino libraries' should be changed to 'Exclude specific Arduino libraries'
  • an additional option be added: 'Include specified third-party/user libraries' (or that the documentation should be enhanced to explain how to add third-party libraries)
@better-adapted
Copy link

I bodged my way through adding a 3rd party library (MQTT PubSubClient ) buy letting ALL Arduino library's be compiled - but deleting the SD_MMC directory first. so everything in the libs folder is getting compiled - i did not try too to edit component.mk

@lbernstone
Copy link
Contributor

OP is probably correct. Exclude rather than include seems a better way to manage this. Workaround: just add the one line needed to fix SD_MMC. #1836

@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