summaryrefslogtreecommitdiff
path: root/lib/bt/linker_esp_ble_controller.lf
diff options
context:
space:
mode:
authorcooljqln <cooljqln@noreply.codeberg.org>2025-08-04 03:39:45 +0200
committercooljqln <cooljqln@noreply.codeberg.org>2025-08-04 03:39:45 +0200
commitfd064b996a432074b3e5c18b6a8c5439a372f281 (patch)
tree4e3b2880e11f3169000d4273323399677af8c05f /lib/bt/linker_esp_ble_controller.lf
parentdf8fc4104e5ed884f3b52257558191955375d1e7 (diff)
parentf4eea3a18add40b84ea2494970ef5945c755f578 (diff)
downloadtangara-fw-fd064b996a432074b3e5c18b6a8c5439a372f281.tar.gz
Merge pull request 'Update esp-idf to the v5.5' (#418) from jqln/idfv5.5 into main
Reviewed-on: https://codeberg.org/cool-tech-zone/tangara-fw/pulls/418
Diffstat (limited to 'lib/bt/linker_esp_ble_controller.lf')
-rw-r--r--lib/bt/linker_esp_ble_controller.lf42
1 files changed, 42 insertions, 0 deletions
diff --git a/lib/bt/linker_esp_ble_controller.lf b/lib/bt/linker_esp_ble_controller.lf
index fe859811..0af407f8 100644
--- a/lib/bt/linker_esp_ble_controller.lf
+++ b/lib/bt/linker_esp_ble_controller.lf
@@ -1,3 +1,45 @@
+[sections:bt_iram_text]
+entries:
+ .iram1+
+
+[sections:high_perf_iram_text]
+entries:
+ .high_perf_code_iram1+
+
+[scheme:bt_default]
+entries:
+ bt_bss -> dram0_bss
+ bt_common -> dram0_bss
+ data -> dram0_data
+ high_perf_iram_text -> iram0_text
+ if BT_CTRL_RUN_IN_FLASH_ONLY = y:
+ bt_iram_text -> flash_text
+ else:
+ bt_iram_text -> iram0_text
+
+# 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:
+ if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y:
+ * (bt_extram_bss);
+ bt_bss -> extern_ram ALIGN(4) ALIGN(4, post) SURROUND(bt_bss),
+ bt_common -> extern_ram ALIGN(4) ALIGN(4, post) SURROUND(bt_common),
+ data -> dram0_data ALIGN(4) ALIGN(4, post) SURROUND(bt_data)
+ else:
+ * (bt_default);
+ bt_bss -> dram0_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_bss),
+ bt_common -> dram0_bss ALIGN(4) ALIGN(4, post) SURROUND(bt_common),
+ data -> dram0_data ALIGN(4) ALIGN(4, post) SURROUND(bt_data)
+
[mapping:ble_app]
archive: libble_app.a
entries: