I want to define uint8_t ucHeap[configTOTAL_HEAP_SIZE] in SRAM1 of kw36.
uint8_t ucHeap[configTOTAL_HEAP_SIZE] __attribute__((section(".data_RAM2")));
Let me define this variable like this. But it's not in SRAM1.
Please show me how to correctly define ucHeap into SRAM1. thank you.
解決済! 解決策の投稿を見る。
The input name is used to define the variable!!!
Like this it will work properly:
uint8_t ucHeap[configTOTAL_HEAP_SIZE] __attribute__((section(".bss.$SRAM1")));
The input name is used to define the variable!!!
Like this it will work properly:
uint8_t ucHeap[configTOTAL_HEAP_SIZE] __attribute__((section(".bss.$SRAM1")));