AtmelStudio : 7.0.1931
AtmelKits : 7.0.122
AtmelStart : 22.214.171.124
Target Board : SAMV71 Xplained Ultra
I have a question about CAN and Heap configuration in FreeRTOS on SAMV71Q21.
I created a project by setting it to FreeRTOS Heap4 in Atmel Start. CAN communication does not work when the configTOTAL_HEAP_SIZE value in the Config / FreeRTOSConfig.h file is set to more than 64K.
During some tests, I found ucHeap [configTOTAL_HEAP_SIZE] in ‘thirdparty \ RTOS \ freertos \ FreeRTOSV10.0.0 \ Source \ portable \ MemMang \ heap_4.c’.
After clearing ‘static’, CAN communication worked.
However, I would like to know a solution that does not require modifying C files because modifying the files generated by Atmel Start is reluctant and I don’t know what side effects will occur.