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

SD card library is not being found. #98

Open
marthinwurer opened this issue Feb 3, 2020 · 1 comment
Open

SD card library is not being found. #98

marthinwurer opened this issue Feb 3, 2020 · 1 comment

Comments

@marthinwurer
Copy link

marthinwurer commented Feb 3, 2020

I've tried to use the Arduino built-in SD card library. In my code, I have:

find_arduino_library(sd_lib SD ${board_id})

Which raises an error:

  Couldn't find library named Sd

I think it's somehow CamelCasing it, which is causing it to not find the actual path, libraries/SD/. The SPI library works fine, though, so it's a bit confusing.

@marthinwurer
Copy link
Author

After some further perusing, it looks like the camelCasing was the issue. If there's no need for the libraries to be case-insensitive as the comment here states, then I really think that the camel-casing should be removed.

marthinwurer added a commit to marthinwurer/Arduino-CMake-NG that referenced this issue Feb 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant