Other Parts Discussed in Thread: C2000WARE
Hi,
I am getting compilation failure for F28x_usDelay.asm at the path C2000Ware_5_00_00_00\device_support\f28004x\common\source as the implementation does not take care of lead underscores for EABI format as explained in https://software-dl.ti.com/ccs/esd/documents/C2000_c28x_migration_from_coff_to_eabi.html#:~:text=The%20size%20of%20double%20changes,names%2C%20but%20EABI%20does%20not. This should be a bug in the implementation and needs to be fixed.
.def _F28x_usDelay
.sect ".TI.ramfunc"
.global __F28x_usDelay
_F28x_usDelay:
SUB ACC,#1
BF _F28x_usDelay,GEQ ;; Loop if ACC >= 0
LRETR
Thanks,
Aditya