We have a BLE Peripheral Application we would like to target at multiple TI chips (cc2540T, cc2650, cc2640R2F-Q1) to meet different power, temperature & qualification constraints.
So far we have experimented by just manually copying our application source over the simple_peripheral examples in the cc4540T & cc2650 SDK source trees and using the existing SDK project definitions to build. (We have created a shim to hide the Stack API differences).
We now want to create project definition(s) so that we can place our source in a separate directory and build against any of these TI stacks/chips. Our initial goal is to build against the cc2650 & cc2640R2F-Q1 stacks as they at least share the arm/CCS toolchain. Are there any guidelines for modifying a project definition to achieve this goal?
I have embarked on copying and modifying the example project definition so that it refers to SDK resources via an single environment variable but I got as far as this error when building:-
Can't find import file: '../../../../../src/common/cc26xx/kernel/cc2640/config/cc2640.cfg' (not found along ...)
and decided I should ask for advice before digging any deeper in this direction!