dg_configCHECK_HEAP_STACK_OVERRUN

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
bobspam@free.fr
Offline
Last seen:1 month 2 weeks ago
加入:20.18-06-20 08:07
dg_configCHECK_HEAP_STACK_OVERRUN

Hello

I just tried to use the Heap Stack overrun check of the DA1468x BSP and it seems that the following statement is not defined properly in the BSP:
OS_POISON_AREA_CHECK( OS_POISON_ON_ERROR_HALT, result );
This function exists in most main.c examples but OS_POISON_ON_ERROR_HALT is defined nowhere so dg_configCHECK_HEAP_STACK_OVERRUN end up with an error.

SDK 1.0.14.1081.

Best Regards

ST

Device:
PM_Dialog
Offline
Last seen:3 days 18 hours ago
工作人员
加入:20.18-02-08 11:03
Hi bobspam@free.fr,

Hibobspam@free.fr,

Please change the OS_POISON_ON_ERROR_HALT toOS_MEM_POISON_ON_ERROR_HALTinto vApplicationTickHook() function of main.c file. It is a mistype error, the OS_MEM_POISON_ON_ERROR_HALT is an enumeration place into osal.h header file.

Thanks, PM_Dialog