Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Fixed #98 by removing camelCasing of library names #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marthinwurer
Copy link

CamelCasing of library names caused issues with using the built-in SD library. I removed it, and fixed up the case where the stepper library example did not match that in the wiki docs. I also added an example with the SD library linked to act as a regression test.

This change might break existing code that uses the CamelCasing feature.

Copy link
Member

@MrPointer MrPointer left a comment

Choose a reason for hiding this comment

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

Besides the specific comments I've left, it looks that this PR doesn't pass all required checks.
As such, I can't approve this merge yet.

@@ -1,3 +1,4 @@
set(CMAKE_TOOLCHAIN_FILE ../cmake/Arduino-Toolchain.cmake)
Copy link
Member

Choose a reason for hiding this comment

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

Unnecessary, please remove this line

@@ -27,10 +27,6 @@ function(find_arduino_library _target_name _library_name)

is_platform_library(${_library_name} is_plib) # Detect whether library is a platform library

if (NOT parsed_args_3RD_PARTY AND NOT is_plib)
Copy link
Member

Choose a reason for hiding this comment

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

I'm afraid you can't simply delete this block.
It's been a long time since I've written any code in this project, so I don't exactly remember the details, but I do remember that this is important, for other libraries.
You've got to find another way around this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants