I am attempting to port an Arduino Framework application from a TM4C1294XL to an ESP32,
For the ported version, at least initially, I am working in VSCode with PlatformIO and the Wokwi simulator.
One of the libraries used by the app is this one
As you can see, the code including headers is in subfolders of the main library folder, and they are not being searched by #include<>
So, how can I get those folders added to the search path? Can I add a properties file to the root folder of the library? If so, what goes in it?
Answering my own question, a library.json with this content seems to have done the trick
{
"name": "PN532",
"version": "0.0.0",
"build": {
"includeDir": "PN532",
"flags": [
"-I PN532_HSU",
"-I PN532_I2C",
"-I PN532_SPI"
]
}
}