Hi Tilen,
I am not sure this is an issue, but still...
Tried to consume the library thru PlatformIO IDE and had some issues building the library as-is.
I have very little experience with PlatofrmIO but I assumed it should work out of the box.
Is the library.json file for use only by the PlatformIO? or have another purpose in life?
After changing it a bit, I could build the library:
]
},
"build": {
"includeDir": "lwprintf/src/include",
"srcDir": "lwprintf",
"flags": [
"-I../../include"
]
}
}
without the includeDir, I couldn't include the library
without the srcDir, PlatoformIO try to build also the dev folder
the last bit, which I found helpful, is adding another include folder (-I) so I can place the options header, lwprintf_opts.h, in a project folder and not inside the library itself.
Hi Tilen,
I am not sure this is an issue, but still...
Tried to consume the library thru PlatformIO IDE and had some issues building the library as-is.
I have very little experience with PlatofrmIO but I assumed it should work out of the box.
Is the
library.jsonfile for use only by the PlatformIO? or have another purpose in life?After changing it a bit, I could build the library:
without the
includeDir, I couldn't include the librarywithout the
srcDir, PlatoformIO try to build also thedevfolderthe last bit, which I found helpful, is adding another include folder (
-I) so I can place the options header,lwprintf_opts.h, in a project folder and not inside the library itself.