Other Parts Discussed in Thread: TMS320F28069, TMS320F280049, C2000WARE
Tool/software:
Hello,
I’m running into two issues after switching from the TMS320F28069 to the TMS320F280049 when using the Solar library:
- “identifier ‘int32’ is undefined”
These errors appear throughout the SPLL_1ph_IQ headers, which use types likeint32
,int16
, etc. I addedint32=int32_t
to the compiler’s predefined symbols, which seems to solve these errors—but I’m not sure this is the correct or only fix. - TI-COFF object files which are incompatible with the ELF output file.
[45]<Linking>
[46]warning #10373-D: library "/Applications/ti/Solar_lib/IQ/lib/Solar_Lib_IQ.lib" contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the proper library.
[47]warning #10373-D: library "/Applications/ti/Solar_lib/IQ/lib/Solar_Lib_IQ.lib" contains TI-COFF object files which are incompatible with the ELF output file. Ensure you are using the proper library.
[48]Finished building target: "Notch_PLL.out"
[49]echo "=========
I’m not sure how to resolve the second issue. My thought was to pull only the necessary .h
and .c
files into my project—avoiding the outdated F28069 .lib
entirely—so I could bypass the compatibility error. However, I’d prefer to leverage TI’s pre-built library for its optimizations rather than re-implement everything myself.
For reference, I started from the “empty” C2000Ware example for the F280049.
Any guidance would be greatly appreciated.