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.

MCU-PLUS-SDK-AM243X: DebugP_ASSERT_ENABLED always 1?

Part Number: MCU-PLUS-SDK-AM243X

Hello,

we wanted to deactivate the DebugP_assert-implementation for our release-builds to shrink the code-size. Unfortunately the flag for that is only present in the DebugP.h under source/kernel/dpl.

Since our environment builds on top of the sdk, we have no chance to overwrite this flag since we precompile the sdk and use it as a library. We also had this topic with the FreeRTOS-Configuration where we included our own config-header then, but we wanted to keep the impact at the sdk as minimal as possible.

Is there another way to disable the asserts?

Regards

Felix