Comments (4)
from arduino-printf.
I don't know how PlatformIO interfaces to github, but the problem appears to be that when PlatformIO pulls the library into the project, it does not grab the extras folder. Thus the compilation fails because the header file can't be found, as the original poster described. Sorry that I can't tell you how to fix it; this kind of seems like PlatformIO's issue rather than yours.
The workaround, obviously, is to download the library from here and copy its extras folder into the LibPrintf folder, which is at .pio/libdeps/<configuration_name>/LibPrintf .
from arduino-printf.
There is a work around!
Instead of relying on platformio's own (faulty) packages, just use the github archive directly.
Put this in your platformio.ini file:
lib_deps =
LibPrintf=https://github.com/embeddedartistry/arduino-printf/archive/1.1.4.tar.gz
from arduino-printf.
worked for me. Thanks!
from arduino-printf.
Related Issues (20)
- Add CI Support HOT 1
- Support Arduino Uno Wifi Rev 2
- Can't clone use without logged into github HOT 3
- Add meson build system notes
- printf_init(Serial3) does not work HOT 3
- error: '::printf', '::sprintf', '::vprintf' has not been declared for ESP8266 HOT 2
- PlatformIO doesn't like the reference to files in the "extras" folder HOT 2
- Not compatible with Teensy! HOT 2
- Arduino Uno not working with snprintf and %E or %G HOT 7
- Update advanced_usage page HOT 1
- Implement printf/puts workaround that does not rely on undefined behavior
- README still links to mpaland's repository
- printf does not output anything with the %c format charater HOT 3
- Hex # flag not printed for zero value HOT 3
- what is the macro to disable all prints HOT 7
- How to print a String HOT 1
- PlatformIO version of LibPrintf appears broken. HOT 12
- Refactor library to move extras/ files back into src/
- Issues building in platformio for ESP32. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arduino-printf.