Part Number: TDA4VM
Hi,
SDK:processor sdk rtos
Customer wants to run the SDK on the r5f mcu, but when using the keyword _weak, an error is reported. Does this keyword support?
error: unknown type name '__weak'
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.
Part Number: TDA4VM
Hi,
SDK:processor sdk rtos
Customer wants to run the SDK on the r5f mcu, but when using the keyword _weak, an error is reported. Does this keyword support?
error: unknown type name '__weak'
Hi Nancy,
Which version of SDK is your customer using?
Also, can you ask them the code snippet showing how they are using this keyword?
Regards,
Parth
hi
This is the question I asked him. Let me reply. I use the latest SDK. The method I use is similar to this:
__weak void test_func(){}
But the compiler will report this error when compiling:
Hi chen,
Can you try using "__attribute__((weak))" when declaring variable?
I see it being used in ti-processor-sdk-rtos-j721e-evm-08_01_00_13/pdk_jacinto_08_01_00_36/packages/ti/csl/arch/r5/src/startup/startup.c
Regards,
Brijesh