Open ivankravets opened 6 years ago
There is an old-style version of mbed library. It does not contain module.json file. We should add recursively all libraries into http://docs.platformio.org/en/latest/librarymanager/config.html#flags using build.flags
build.flags
{ .... "repository": { "type": "hg", "url": "https://os.mbed.com/teams/Semtech/code/SX1276Lib/" }, "build": { "flags": "-Iradio -Ienums -Iregisters -Iregisters -Isx1276 -Itypedefs" } }
Flags could be a string or list. We can organize includes using array.
Import extraIncludes from module.json if exists into build.flags. See above.
module.json
/cc @MrSurly
There is an old-style version of mbed library. It does not contain module.json file. We should add recursively all libraries into http://docs.platformio.org/en/latest/librarymanager/config.html#flags using
build.flags
Flags could be a string or list. We can organize includes using array.
Import extraIncludes from
module.json
if exists intobuild.flags
. See above.