Hello,
Targeting qca4020-or-3-1 with FreeRTOS has duplicate symbols for pvPortMalloc and vPortFree. They are both defined in portable/MemMang/heap_4.c and target/lib/cortex-m4IPT/freertos/core.lib (/local/mnt/workspace/CRMBuilds/CNSS_W.QZ.3.1-00030-QZHW-1_20190501_171346/b/ioesw_proc/core/services/utils/src/fom/umemheap_lite.c).
This was not the case with qca4020-or-3-0.
This obviously deals with the FreeRTOS heap. The questions are what changed, why, and what is the best resolution? Is the separate FreeRTOS heap still required? Is there updated documentation for using FreeRTOS with SDK 3.1?
Thanks,
Ryan
Does the separate FreeRTOS heap still needs to be defined in the linker script? In the 3.0 SDK this was defined as "'RTOS_HEAP_SIZE'", and also referenced in FreeRTOSConfig.h as "configTOTAL_HEAP_SIZE". Please confirm.
Hi Ryan,
RTOS_HEAP_SIZE is not set/used anymore.
This is linker script on 3.1 SDK.
/bin/cortex-m4/freertos/DefaultTemplateLinkerScript.ld
RTOS_HEAP_SIZE = 0x0;
Thanks
BR,
Jayden