This is an automated email from the ASF dual-hosted git repository. jerzy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit f299a9f67b92d372efac42f1bd9771467fa15874 Author: Jerzy Kasenberg <[email protected]> AuthorDate: Wed Mar 26 11:53:01 2025 +0100 mcu/nrf5340: Use link_tables for net core inclusion nrf5340 had special section in nrf5340.ld file to include image for network core. Now it's not longer needed since this inclusion can be done with link_table feature. Signed-off-by: Jerzy Kasenberg <[email protected]> --- hw/mcu/nordic/nrf5340/net_core_image/pkg.yml | 3 +++ hw/mcu/nordic/nrf5340/nrf5340.ld | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/hw/mcu/nordic/nrf5340/net_core_image/pkg.yml b/hw/mcu/nordic/nrf5340/net_core_image/pkg.yml index 1d4bc28f2..a0607c047 100644 --- a/hw/mcu/nordic/nrf5340/net_core_image/pkg.yml +++ b/hw/mcu/nordic/nrf5340/net_core_image/pkg.yml @@ -26,3 +26,6 @@ pkg.keywords: pkg.pre_link_cmds: scripts/build_net_core.sh: 100 + +pkg.link_tables: + - net_core_img diff --git a/hw/mcu/nordic/nrf5340/nrf5340.ld b/hw/mcu/nordic/nrf5340/nrf5340.ld index b4080fc6f..82ef26c16 100644 --- a/hw/mcu/nordic/nrf5340/nrf5340.ld +++ b/hw/mcu/nordic/nrf5340/nrf5340.ld @@ -109,13 +109,6 @@ INCLUDE "link_tables.ld.h" . = ALIGN(4); } > FLASH - .net_core_img : - { - PROVIDE(net_core_img_start = .); - KEEP(*(.net_core_img)); - PROVIDE(net_core_img_end = .); - } > FLASH - .ARM.extab : { *(.ARM.extab* .gnu.linkonce.armextab.*)
