linker.lf 1.6 KB

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