.data �?역�?� 2개�?� Memory �?역�? 할당하는 방법
안녕하십니까?
STM32H743�?� 예로 들 경우,
MEMORY
{
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K
}
와 같�?� �?역�?� 있�?� 때, RAM_D1�?� 공간�?� 부족하여
.data 섹션�? 대해서 RAM_D1과 RAM_D2�? 할당하고 싶습니다.
.data :
{
. = ALIGN(4);
_sdata = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
*(.RamFunc) /* .RamFunc sections */
*(.RamFunc*) /* .RamFunc* sections */
. = ALIGN(4);
_edata = .; /* define a global symbol at data end */
} >RAM_D1 AT> FLASH
�?� 부분�?� 어떻게 수정해야 하나요?