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