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

Improved library search algorithm #22

Merged
merged 3 commits into from
May 9, 2020
Merged

Conversation

a9183756-gh
Copy link
Owner

Library and include names in some of the libraries differ, which
prevented the toolchain in locating the library (issue #19). The
improved algorithm introduces library indexer to index the available
libraries, their names and includes, the library search algorithm
utilizes this info during the search to fix the issue #19.

Copy link

@raphael-bmec-co raphael-bmec-co left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apologies for the delay.

I have not carried out a detailed code review but I have tested and it is now finding the various BLE<>.h includes such as "BLEDevice.h".

Thanks for the fix!

Library and include names in some of the libraries differ, which
prevented the toolchain in locating the library (issue #19). The
improved algorithm introduces library indexer to index the available
libraries, their names and includes, the library search algorithm
utilizes this info during the search to fix the issue #19.
Internal target names of Arduino libraries are made consistent as
there is now a possibility to use both the include as well as library
names in target_link_arduino_libraries. This is to avoid multiple
targets of the same library.
@a9183756-gh a9183756-gh merged commit 8cf61de into release-1.1-dev May 9, 2020
@a9183756-gh a9183756-gh deleted the feat/lib_indexer branch May 9, 2020 10:25
@a9183756-gh
Copy link
Owner Author

Thanks for verifying that it works for you. Fix is merged.

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

Successfully merging this pull request may close these issues.

2 participants