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.

CCS/TMS570LS3137: CCS/TMS570LS3137

Part Number: TMS570LS3137

Tool/software: Code Composer Studio

Hi forum,

I'm trying to create an ELF or COFF image to be flashed to EEPROM sector that is device config data built from a C source code. I want to flash this with nowFlash.

CCS always expects a main function and I want to find a way to circumvent this.  Failing that, what's the best way to achieve my goal?

Thanks!

  • Hi Karl,
    If you are not using the runtime lib, a main function is not required. Use the --entry_point option to specify a different entry point instead of _c_init00. Of course you'd lose some of the initialization code that's built into the runtime lib.

    Thanks
    ki