Newer
Older
mbed-os / targets / TARGET_ONSEMI / TARGET_NCS36510 / device / TOOLCHAIN_ARM / NCS36510.sct
#! armcc -E

#if !defined(MBED_BOOT_STACK_SIZE)
  #define MBED_BOOT_STACK_SIZE 0x400
#endif

#define Stack_Size MBED_BOOT_STACK_SIZE

LR_IROM1 0x00003000 0x0004F000  {    ; load region size_region
  ER_IROM1 0x00003000 0x0004F000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (*)
  }


  RW_IRAM1 0x3FFF4000 + 0x90 { ; 8_byte_aligned(35 vectors * 4 bytes each) = 0x90
    .ANY(+RW +ZI)
  }
  
  ARM_LIB_HEAP AlignExpr(+0, 8) ALIGN 8 EMPTY (0x3FFF4000 + 0xC000 - AlignExpr(ImageLimit(RW_IRAM1),8) - Stack_Size) {
  }
  
  ARM_LIB_STACK 0x3FFF4000 + 0xC000 EMPTY -Stack_Size { ; stack
  }
}