We use the TIVA129 processor for several of our boards (both TQFP and BGA versions).
For one of the boards that we NEEDed to build during COVID we could not source enough TQFP versions of the CPU for the build so we did a board spin and changed to the BGA package.
We plan to switch back to the TQFP once they become available again, but we will have one build of the board with the BGA version to support going forward.
If necessary we will create a separate version of the firmware designed just for this build, but would prefer to use a single binary that can run on either CPU.
CCS requires that you specify which processor you are using as part of the project properties. I understand there will be a significant different configuration code depending on which CPU is installed.
Is it possible to:
1. Determine at time-zero prior to any configuration whether it is a TQFP or BGA version and branch to different code to configure based on this?
2. I know that which CPU you are using is a defined pre-processor constant and decisions are made within the libraries based on what to do at compile-time. Is this going to prevent our attempt from working?
3. What other questions should I be asking?
Thanks