File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 33
44zephyr_sources(soc.c)
55zephyr_include_directories(.)
6+ zephyr_linker_sources(NOINIT noinit.ld)
67
78# CAT1B family defines
89zephyr_compile_definitions_ifdef(CONFIG_SOC_FAMILY_INFINEON_CAT1 CY_USING_HAL)
Original file line number Diff line number Diff line change @@ -28,3 +28,4 @@ config SOC_SERIES_PSC3
2828 select CPU_CORTEX_M_HAS_CMSE
2929 select SOC_EARLY_INIT_HOOK
3030 select CPU_CORTEX_M33
31+ select NOINIT_SNIPPET_FIRST
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 Cypress Semiconductor Corporation (an Infineon company) or
3+ * an affiliate of Cypress Semiconductor Corporation
4+ *
5+ * SPDX-License-Identifier: Apache-2.0
6+ */
7+
8+ /* The boot ROM in this device uses the first 8k of SRAM while running. Applications like
9+ * tests\drivers\watchdog\wdt_basic_api expect that variables placed in noint memory will retain
10+ * there value through a reset. This means that the noinit memory region must be located after
11+ * the first 8k of SRAM. The line below is added to the noinit linker section to ensure that.
12+ * It must be used in conjunction with the NOINIT_SNIPPET_FIRST configuration option that has
13+ * been added to the Kconfig file.
14+ */
15+ . = MAX (ABSOLUTE (.), 0x34002000 );
You can’t perform that action at this time.
0 commit comments