Newer
Older
mbed-os / targets / TARGET_GigaDevice / TARGET_GD32F30X / TATGET_GD32F307VG / device / TOOLCHAIN_ARM_STD / gd32f307vg.sct
@chao_king chao_king on 18 Nov 2018 708 bytes Re add target support for GD32F307VG
#! armcc -E
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *****

#if !defined(MBED_APP_START)
  #define MBED_APP_START 0x08000000
#endif

#if !defined(MBED_APP_SIZE)
  #define MBED_APP_SIZE 0x100000
#endif

LR_IROM1 MBED_APP_START MBED_APP_SIZE  {    ; load region size_region (1024K)

  ER_IROM1 MBED_APP_START MBED_APP_SIZE  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }

  ; 84 vectors (16 core + 68 peripheral) * 4 bytes = 336 bytes to reserve (0x150)
  RW_IRAM1 (0x20000000+0x150) (0x18000-0x150)  {  ; RW data
   .ANY (+RW +ZI)
  }
}