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;
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,