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/AM5728: SMP project issue

Guru 10235 points

Part Number: AM5728
Other Parts Discussed in Thread: SYSBIOS

Tool/software: TI-RTOS

Hello, TI Experts,

Our customer sent us questions about SMP programming in PROCESSOR-SDK-RTOS-AM57X 05_03_00_07 .

They created the small program with SMP and tried to run on the TMDXIDK5728.

They already checked the posix-smp demo from TI recommendation like below;

http://software-dl.ti.com/processor-sdk-rtos/esd/docs/latest/rtos/index_examples_demos.html#posix-smp-demo

 

But they don't have plan to use posix for their product.

So, they tried to create SMP project by using "Task_create API" reffering the below wiki.

http://processors.wiki.ti.com/index.php/SMP/BIOS#Getting_started

 

And they found below behavior.

   - If *.cfg include below statement, their SMP code went into abort().

     BIOS.customCCOpts +="-mcpu=cortex-a15 -mfpu=neon -mfloat-abi=hard -mabi=aapcs -O3 -Wunused -Wunknown-pragmas -ffunction-sections -fdata-sections -g -Dti_sysbios_Build_useHwiMacros -Dfar= -D__DYNAMIC_REENT__"

   - But if we removed "-Dti_sysbios_Build_useHwiMacros" from the statement, their SMP code run properly.

 

Question:

- Could you tell us the detail description of the compile option "-Dti_sysbios_Build_useHwiMacros"?

- Are there any document of the compile option "-Dti_sysbios_Build_useHwiMacros"?

- Is it OK to remove "-Dti_sysbios_Build_useHwiMacros"?

 

Best regards,