Advertisement
DenseBrainMatrix

Untitled

Sep 23rd, 2024
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1. /* vim: ft=ld
  2. */
  3. --ram_model
  4. --stack_size 0x100
  5. --heap_size 0x100
  6.  
  7. /* diagnostic output */
  8. -abs
  9.  
  10. /* link-time optimization */
  11. /* --make_static */
  12.  
  13.  
  14.  
  15. MEMORY
  16. {
  17. PAGE 0: /* instruction address space */
  18. IRAM ( IX) : org = 0x00000000, len = 0x2000 /* 8K iram */
  19.  
  20. PAGE 1: /* data address space */
  21. LOCAL (RWI ) : org = 0x00000000, len = 0x2000, cregister = 24 /* 8K data ram for this core */
  22.  
  23. PAGE 2: /* uninitializable space */
  24. PEER (RW ) : org = 0x00002000, len = 0x2000, cregister = 25 /* 8K data ram for other core */
  25.  
  26. PRU_CFG (RW ) : org = 0x00026000, len = 0x1000, cregister = 4
  27. PRU_ECAP(RW ) : org = 0x00030000, len = 0x1000, cregister = 3
  28. PRU_IEP (RW ) : org = 0x0002e000, len = 0x1000, cregister = 26
  29. PRU_INTC(RW ) : org = 0x00020000, len = 0x1000, cregister = 0
  30. PRU_UART(RW ) : org = 0x00028000, len = 0x1000, cregister = 7
  31. }
  32.  
  33. SECTIONS
  34. {
  35. .text : {} > IRAM, PAGE 0
  36.  
  37. .init_array : {} > LOCAL, PAGE 1 /* constructors */
  38. .cinit : {} > LOCAL, PAGE 1 /* init tables used by --rom_model */
  39.  
  40. .rodata : {} > LOCAL, PAGE 1
  41. .data : {} > LOCAL, PAGE 1
  42. .bss : {} > LOCAL, PAGE 1
  43.  
  44. .sysmem : {} > LOCAL, PAGE 1 /* heap */
  45. .stack : {} > LOCAL, PAGE 1
  46. }
  47.  
  48.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement