Guest User

Untitled

a guest
Aug 16th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. MEMORY
  2. {
  3. RAM (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
  4. FLASH(rx ) : ORIGIN = 0x00000000, LENGTH = 128K
  5. }
  6.  
  7. SECTIONS
  8. {
  9. _STACKTOP = 0x20000000 + 20K;
  10. . = 0x0;
  11.  
  12. .text : {
  13. . = ALIGN(4);
  14. KEEP(*(.nvic_vector))
  15. *(.text)
  16. *(.text.*)
  17. *(.rodata)
  18. *(.rodata.*)
  19. . = ALIGN(4);
  20. __data_init__ = . ;
  21. } >FLASH
  22.  
  23. .data : AT(__data_init__) {
  24. . = ALIGN(4);
  25. __data_start__ = . ;
  26. *(.data)
  27. *(.data.*)
  28. . = ALIGN(4);
  29. __data_end__ = . ;
  30. } >RAM
  31.  
  32. .bss : {
  33. . = ALIGN(4);
  34. __bss_start__ = . ;
  35. *(.bss)
  36. *(.bss.*)
  37. *(COMMON)
  38. . = ALIGN(4);
  39. __bss_end__ = . ;
  40. } >RAM
  41. }
Add Comment
Please, Sign In to add comment