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.

RTOS/EVMK2H: Undefined reference to _start Error

Part Number: EVMK2H

Tool/software: TI-RTOS

Hey All, I'm having issues building a basic RTOS Project. I'm using CCS v8 and i have the latest SDK installed. I created a new project and I am trying to get it to build but I get the following Error:

makefile:147 :recipe for target failed ./startup_ARMCA15.o in function : 'Enter_Main'

undefined reference to _start.

I included the linker file for The K2H as well as the ARMCA15.s file. The error seems to be that the linker isn't finding where start is. I have tried messing with the build settings, but that didn't do anything. Does anyone have a clue what this means?

  • Hi,

    I've notified the RTOS team. Please share which processor sdk rtos version are you using?

    Best Regards,
    Yordan
  • Alfredo,

    I think you are getting a few files mixed up. The startup_ARMA15C.s file is used by bare-metal developers as glue to to set ARM vector table and then branch to main. This is not required in TI RTOS project as the SYSBIOS has its own init for for A15 cores.

    Processor SDK RTOS is our recommended software development environment so I would recommend that you start by downloading that package with recommended CCS version. you can then setup the processor SDK RTOS development environment in CCS and refer to the reference TI RTOS project templates that we ship for CCS users:

    the documentation that you can use for reference is located here:
    software-dl.ti.com/.../Overview.html

    Refer to simple examples with operating system provided in the getting started guide.

    Regards,
    Rahul