scatter.scat

来自「ARM公司ATC培训的所有练习源码」· SCAT 代码 · 共 45 行

SCAT
45
字号
LOAD_REGION 0x00000000 0x00200000
{
  ;; Maximum of 256 exceptions (256*4bytes == 1024 == 0x400)
  VECTORS +0 0x400
  {
    ; First two entries provided by library
    ; Remaining entries provided by the user in exceptions.c
    
    * (:gdef:__vectab_stack_and_reset, +FIRST)
    * (exceptions_area)
  }

  CODE 0x400 FIXED
  { 
    * (+RO)
  }

  ;; ISSM has 32MB of RAM
  ;; SMM has 2MB of 'RAM'
  DATA 0x20000000 0x00100000
  {                     
    * (+RW, +ZI)
  }

  ;; Heap starts at 1MB and grows upwards
  ARM_LIB_HEAP 0x20100000 EMPTY 0x100000-0x8000
  {
  } 

  ;; Stack starts at the end of the 2MB of RAM
  ;; And grows downwards for 32KB
  ARM_LIB_STACK 0x20200000 EMPTY -0x8000  
  {
  }
  
  UART0 0x40018000 UNINIT 0x1000
  {
  	uart.o(uart0_registers)
  }
  
   
}


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?