This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F280049C: Compilation failure with F28x_usDelay when compiled with EABI format

Part Number: LAUNCHXL-F280049C
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