lnk.sct 636 B

123456789101112131415161718192021222324252627282930
  1. #! armclang -E --target=arm-arm-none-eabi -mcpu=cortex-m33 -xc
  2. ; command above MUST be in first line (no comment above!)
  3. /*
  4. ;-------- <<< Use Configuration Wizard in Context Menu >>> -------------------
  5. */
  6. #include "mem_ARMv81MML.h"
  7. LOAD_REGION 0x0
  8. {
  9. CODE +0 0x100000
  10. {
  11. *.o (RESET, +First)
  12. * (InRoot$$$Sections)
  13. * (+RO-CODE)
  14. }
  15. DATA 0x20000000 NOCOMPRESS 0xF0000
  16. {
  17. * (+RO-DATA)
  18. * (+RW,+ZI)
  19. }
  20. ARM_LIB_STACK 0x20100000 ALIGN 64 EMPTY -0x00002000
  21. {}
  22. ARM_LIB_HEAP 0x20100000 ALIGN 64 EMPTY 0x00100000
  23. {}
  24. }