瀏覽代碼

alignment

Gives more free DTCM. 
This is the first iteration - after USB and other things are done we should look at this, again.
main
Frank 6 年之前
父節點
當前提交
28facbf3ee
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 6 行新增1 行删除
  1. +6
    -1
      teensy4/imxrt.ld

+ 6
- 1
teensy4/imxrt.ld 查看文件

@@ -37,13 +37,18 @@ SECTIONS
. = ALIGN(16);
} > ITCM AT> FLASH

.vectorsRAM (NOLOAD) : {
. = ALIGN(4);
*(.vectorsRAM*)
} > DTCM
.data : {
*(.rodata*)
*(.data*)
. = ALIGN(16);
} > DTCM AT> FLASH

.bss : {
.bss ALIGN(4) : {
*(.bss*)
*(COMMON)
. = ALIGN(32);

Loading…
取消
儲存