Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions soc/ambiq/apollo5x/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ zephyr_include_directories(${ZEPHYR_BASE}/soc/arm/common/cortex_m)

zephyr_linker_sources(SECTIONS shared_ram.ld)

if(CONFIG_SOC_APOLLO510)
zephyr_linker_sources(ITCM_SECTION hal_internal.ld)
endif()

set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm/cortex_m/scripts/linker.ld CACHE INTERNAL "")
8 changes: 8 additions & 0 deletions soc/ambiq/apollo5x/hal_internal.ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
* Copyright (c) 2025 Ambiq Micro Inc. <www.ambiq.com>
*
* SPDX-License-Identifier: Apache-2.0
*/
#if defined(CONFIG_SOC_APOLLO510)
*(.itcm_text)
#endif
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ manifest:
groups:
- hal
- name: hal_ambiq
revision: 5546a303ac04b7bc728b2c92ff1b1009ea795a22
revision: 5efc0228528a8adce5eae0d226fac85d2551eb3b
path: modules/hal/ambiq
groups:
- hal
Expand Down