File tree Expand file tree Collapse file tree 3 files changed +17
-8
lines changed
include/arch/arm/aarch32/cortex_m/scripts
soc/arm/ti_simplelink/cc13x2_cc26x2 Expand file tree Collapse file tree 3 files changed +17
-8
lines changed Original file line number Diff line number Diff line change @@ -232,14 +232,6 @@ SECTIONS
232232
233233 GROUP_END (ROMABLE_REGION)
234234
235- /* Some TI SoCs have a special configuration footer, at the end of flash. */
236- #ifdef CONFIG_HAS_TI_CCFG
237- SECTION_PROLOGUE (.ti_ccfg ,,)
238- {
239- KEEP (*(_TI_CCFG_SECTION_NAME))
240- } > FLASH_CCFG
241- #endif
242-
243235 /*
244236 * These are here according to 'arm-zephyr-elf-ld --verbose',
245237 * before data section.
Original file line number Diff line number Diff line change @@ -7,3 +7,5 @@ zephyr_sources(ccfg.c)
77
88zephyr_library_sources_ifdef(CONFIG_PM power.c)
99zephyr_library_sources_ifdef(CONFIG_PM_DEVICE power.c)
10+
11+ zephyr_linker_sources_ifdef(CONFIG_HAS_TI_CCFG SECTIONS ccfg.ld)
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2021, Commonwealth Scientific and Industrial Research
3+ * Organisation (CSIRO) ABN 41 687 119 230.
4+ *
5+ * SPDX-License-Identifier: Apache-2.0
6+ */
7+
8+ GROUP_START (FLASH_CCFG)
9+
10+ SECTION_PROLOGUE(.ti_ccfg,,)
11+ {
12+ KEEP (*(_TI_CCFG_SECTION_NAME))
13+ } GROUP_LINK_IN(FLASH_CCFG)
14+
15+ GROUP_END (FLASH_CCFG)
You can’t perform that action at this time.
0 commit comments