linker.lf.esp32c2 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. [sections:bt_text]
  2. entries:
  3. .iram1+
  4. [sections:bt_bss]
  5. entries:
  6. .bss+
  7. .sbss+
  8. [sections:bt_data]
  9. entries:
  10. .data+
  11. .sdata+
  12. .dram1+
  13. [sections:bt_common]
  14. entries:
  15. COMMON
  16. [scheme:bt_start_end]
  17. entries:
  18. bt_text -> iram0_bt_text
  19. bt_bss -> dram0_bt_bss
  20. bt_common -> dram0_bt_bss
  21. bt_data -> dram0_bt_data
  22. # For the following fragments, order matters for
  23. # 'ALIGN(4) ALIGN(4, post) SURROUND(sym)', which generates:
  24. #
  25. # . = ALIGN(4)
  26. # _sym_start
  27. # ...
  28. # . = ALIGN(4)
  29. # _sym_end
  30. [mapping:bt]
  31. archive: libbt.a
  32. entries:
  33. * (bt_start_end);
  34. bt_bss -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_bss),
  35. bt_common -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_common),
  36. bt_data -> dram0_bt_data ALIGN(4) ALIGN(4, post) SURROUND(bt_data)
  37. if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y:
  38. * (extram_bss)
  39. [mapping:btdm]
  40. archive: libbtdm_app.a
  41. entries:
  42. * (bt_start_end);
  43. bt_bss -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(btdm_bss),
  44. bt_common -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(btdm_common),
  45. bt_data -> dram0_bt_data ALIGN(4) ALIGN(4, post) SURROUND(btdm_data)
  46. [mapping:bt_controller]
  47. archive: libble_app.a
  48. entries:
  49. * (bt_start_end);
  50. bt_bss -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_controller_bss),
  51. bt_common -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_controller_common),
  52. bt_data -> dram0_bt_data ALIGN(4) ALIGN(4, post) SURROUND(bt_controller_data)