Skip to content

Changes for local relative includes to work #164

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
wants to merge 1 commit into from

Conversation

jpmeijers
Copy link

Arduino allows one to have a directory structure as follows:

sketch/
- sketch.ino
+ src/
  + SdFat/
    - library.properties
    - LICENSE.md
    - README.md
    + src/
      - SdFat.h
      + FatLib
      ...

This is useful when one want to commit specific versions of libraries into git as submodules. This is also useful in cases where you do not trust what is on the system, or if you want to save the effort of installing many libraries.

To get SdFat to compile in this circumstance, I had to make a few changes to the relative includes.

References:
arduino/arduino-builder#148
arduino/Arduino#5186 (comment)

@greiman
Copy link
Owner

greiman commented Nov 13, 2019

I am not making mods to SdFat V1. I never apply pulls because they often don't work for other systems like Particle and other IDEs.

I will look at this for SdFat V2.

@greiman greiman closed this Nov 13, 2019
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