File tree Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Expand file tree Collapse file tree 4 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ zephyr_library_sources_ifdef(CONFIG_MEMC_STM32_SDRAM memc_stm32_sdram.c)
77zephyr_linker_sources_ifdef (CONFIG_MEMC_STM32_SDRAM SECTIONS memc_stm32_sdram.ld )
88zephyr_library_sources_ifdef (CONFIG_MEMC_STM32_NOR_PSRAM memc_stm32_nor_psram.c )
99zephyr_library_sources_ifdef (CONFIG_MEMC_STM32_XSPI_PSRAM memc_stm32_xspi_psram.c )
10+ zephyr_linker_sources_ifdef (CONFIG_MEMC_STM32_XSPI_PSRAM SECTIONS memc_stm32_xspi_psram.ld )
1011
1112zephyr_library_sources_ifdef (CONFIG_MEMC_MCUX_FLEXSPI memc_mcux_flexspi.c )
1213zephyr_library_sources_ifdef (CONFIG_MEMC_MCUX_FLEXSPI_W956A8MBYA memc_mcux_flexspi_w956a8mbya.c )
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) 2025 STMicroelectronics
3+ *
4+ * SPDX-License-Identifier : Apache-2.0
5+ */
6+ #if DT_NODE_HAS_STATUS(DT_NODELABEL(psram), okay)
7+ GROUP_START (PSRAM )
8+
9+ SECTION_PROLOGUE(_STM32_PSRAM_SECTION_NAME, (NOLOAD),)
10+ {
11+ *(.stm32_psram)
12+ *(".stm32_psram.*")
13+ } GROUP_LINK_IN(PSRAM)
14+
15+ GROUP_END (PSRAM )
16+ #endif
Original file line number Diff line number Diff line change 4747#define __imx_boot_container_section Z_GENERIC_SECTION(_IMX_BOOT_CONTAINER_SECTION_NAME)
4848#define __stm32_sdram1_section Z_GENERIC_SECTION(_STM32_SDRAM1_SECTION_NAME)
4949#define __stm32_sdram2_section Z_GENERIC_SECTION(_STM32_SDRAM2_SECTION_NAME)
50+ #define __stm32_psram_section Z_GENERIC_SECTION(_STM32_PSRAM_SECTION_NAME)
5051#define __stm32_backup_sram_section Z_GENERIC_SECTION(_STM32_BACKUP_SRAM_SECTION_NAME)
5152#endif /* CONFIG_ARM */
5253
Original file line number Diff line number Diff line change 7171
7272#define _STM32_SDRAM1_SECTION_NAME .stm32_sdram1
7373#define _STM32_SDRAM2_SECTION_NAME .stm32_sdram2
74+ #define _STM32_PSRAM_SECTION_NAME .stm32_psram
7475
7576#define _STM32_BACKUP_SRAM_SECTION_NAME .stm32_backup_sram
7677
You can’t perform that action at this time.
0 commit comments