I am building a project that I inherited from another developer. I understand to some degree the effect of
mbed_app.json (I don’t have any
mbed_lib.json files.) but the project has a couple extra
.json files that are used (deleting them causes build errors). These
.json files are in my
ROOT directory (as defined in
.mbed) but I can’t figure out why
mbed compile is using them.
Does mbed CLI automatically use
.json files just as it does other source files?
Note that I’ve looked at Mbed OS Build Rules which discusses which source files are used in a build but I couldn’t find any discussion of
I also found a discussion of
custom_targets.json in https://os.mbed.com/docs/mbed-os/v5.14/reference/configuration.html where it says:
In prior releases, the configuration system provided a method for adding custom targets. The Mbed OS tools now look for custom targets in a file named
custom_targets.jsonin the root of an application and treat custom targets the same as Mbed targets.
mbed compile uses these additional
.json files, is this an example of the method used in prior releases?