mirror of
				https://github.com/espressif/esp-idf.git
				synced 2025-11-04 09:01:40 +01:00 
			
		
		
		
	1. rename linker files 2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled 3. improve the implementation of memory release
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[sections:bt_iram_text]
 | 
						|
entries:
 | 
						|
    .iram1+
 | 
						|
 | 
						|
[sections:bt_bss]
 | 
						|
entries:
 | 
						|
    .bss+
 | 
						|
    .sbss+
 | 
						|
 | 
						|
[sections:bt_data]
 | 
						|
entries:
 | 
						|
    .data+
 | 
						|
    .sdata+
 | 
						|
    .dram1+
 | 
						|
 | 
						|
[sections:bt_common]
 | 
						|
entries:
 | 
						|
    COMMON
 | 
						|
 | 
						|
[scheme:bt_default]
 | 
						|
entries:
 | 
						|
    bt_iram_text -> iram0_bt_text
 | 
						|
    bt_bss -> dram0_bt_bss
 | 
						|
    bt_common -> dram0_bt_bss
 | 
						|
    bt_data -> dram0_bt_data
 | 
						|
 | 
						|
# For the following fragments, order matters for
 | 
						|
# 'ALIGN(4) ALIGN(4, post) SURROUND(sym)', which generates:
 | 
						|
#
 | 
						|
#   . = ALIGN(4)
 | 
						|
#   _sym_start
 | 
						|
#   ...
 | 
						|
#   . = ALIGN(4)
 | 
						|
#   _sym_end
 | 
						|
 | 
						|
[mapping:bt]
 | 
						|
archive: libbt.a
 | 
						|
entries:
 | 
						|
    * (bt_default);
 | 
						|
        bt_bss -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_bss),
 | 
						|
        bt_common -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_common),
 | 
						|
        bt_data -> dram0_bt_data  ALIGN(4) ALIGN(4, post) SURROUND(bt_data)
 | 
						|
 | 
						|
[mapping:ble_app]
 | 
						|
archive: libble_app.a
 | 
						|
entries:
 | 
						|
    * (bt_default);
 | 
						|
        bt_bss -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_controller_bss),
 | 
						|
        bt_common -> dram0_bt_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_controller_common),
 | 
						|
        bt_data -> dram0_bt_data ALIGN(4) ALIGN(4, post) SURROUND(bt_controller_data)
 |