Hello Sitara Device Forum,
I have posted the following issue to the TI-RTOS forum before:
Benedikt said:How do the codes generated from multiple .cfg files mix in an application build?
What will happen if the .cfg of a library includes some settings which are inconsistent to the settings in my app or another library used? Especially: Will I see some warning or error if, e.g., I choose different HAL implementations for the *Proxy components?
Context:
- I am developing a SYS/BIOS-based application which uses "a lot of" third-party libraries (e.g., TI Industrial SDK components) and some home-made libraries. The application and some of the libraries build upon example projects from different vendors.
- The application itself and several library projects each include an own .cfg file.
- For the present app, I am using XDCtools 3.31.3.43_core, CCS 6.1.3, ISDK 2.1.2.1, SYS/BIOS 6.42.3.35
The support team in the TI-RTOS forum has adviced me to repost my question to this forum, so you find further detail and earlier discussion under
Maybe, the question rather affects the design of the ISDK projects than RTOS.
Thanks in advance for any further help,
Benedikt
Edit / PS:
Just a conclusion of the findings from the other forum thread:
- Building the ISDK sub-library without its .cfg file does not work because a compiler option file generated from the cfg is missing (and maybe other files).
- We discussed the question focussed on the cfg files needed for SYS/BIOS integration, namelyBenedikt said:
- A proposition was that a single cfg file for the whole application should be used, which should support all features required, and which should be used for the application build and all library builds affected. But
(a) this would break the idea of creating and using a library
(b) it is not clear how the requirements to all subcomponents must be merged (taking the sum, the max,...). Any link to documentation is highly appreciated...
- A proposition was that a single cfg file for the whole application should be used, which should support all features required, and which should be used for the application build and all library builds affected. But