esp32s2.ulp.riscv.ld 658 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #include "sdkconfig.h"
  2. ENTRY(reset_vector)
  3. MEMORY
  4. {
  5. ram(RW) : ORIGIN = 0, LENGTH = CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM
  6. }
  7. SECTIONS
  8. {
  9. . = ORIGIN(ram);
  10. .text :
  11. {
  12. *start.S.obj(.text.vectors) /* Default reset vector must link to offset 0x0 */
  13. *(.text)
  14. *(.text*)
  15. } >ram
  16. .rodata ALIGN(4):
  17. {
  18. *(.rodata)
  19. *(.rodata*)
  20. } > ram
  21. .data ALIGN(4):
  22. {
  23. *(.data)
  24. *(.data*)
  25. *(.sdata)
  26. *(.sdata*)
  27. } > ram
  28. .bss ALIGN(4) :
  29. {
  30. *(.bss)
  31. *(.bss*)
  32. *(.sbss)
  33. *(.sbss*)
  34. } >ram
  35. __stack_top = ORIGIN(ram) + LENGTH(ram);
  36. }