embeddedartistry / arduino-printf

Add printf support to the Arduino SDK
MIT License
91 stars 15 forks source link

PlatformIO doesn't like the reference to files in the "extras" folder #21

Closed RalphBacon closed 3 years ago

RalphBacon commented 3 years ago

PlatformIO can include this library in the plaformio.ini file like this:

lib_deps = embeddedartistry/LibPrintf@^1.1.3

But compilations fails as there are references to an "extras" library that is not part of (or subordinate to) the "src" folder and is thus considered outside of the source files and not downloaded.

Please consider putting the extras files (config stuff, it looks like) in the src folder so PlatformIO can find it.

Workaround: copy the entire GitHub repository into the "lib" folder; this however, freezes the library and will not get updates.

phillipjohnston commented 3 years ago

Then it doesn't work with its intended environment, Arduino. A workaround for Platformio's packaging problem can be found here: https://github.com/embeddedartistry/arduino-printf/issues/17#issuecomment-733244442

phillipjohnston commented 3 years ago

Closing as a duplicate.