⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scatter.scat

📁 ARM公司ATC培训的所有练习源码
💻 SCAT
字号:
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)
  }
  
  ; Position NVIC using scatter file
  NVIC_REGION 0xE000E000 UNINIT 0x1000
  {
  	nvic.o(nvic_registers)
  }
   
}


⌨️ 快捷键说明

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