Browse Source
Add stm32_psram PSRAM linker section. Signed-off-by: Hugues Fruchet <hugues.fruchet@foss.st.com>pull/88885/head
4 changed files with 19 additions and 0 deletions
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
/* |
||||
* Copyright (c) 2025 STMicroelectronics |
||||
* |
||||
* SPDX-License-Identifier: Apache-2.0 |
||||
*/ |
||||
#if DT_NODE_HAS_STATUS(DT_NODELABEL(psram), okay) |
||||
GROUP_START(PSRAM) |
||||
|
||||
SECTION_PROLOGUE(_STM32_PSRAM_SECTION_NAME, (NOLOAD),) |
||||
{ |
||||
*(.stm32_psram) |
||||
*(".stm32_psram.*") |
||||
} GROUP_LINK_IN(PSRAM) |
||||
|
||||
GROUP_END(PSRAM) |
||||
#endif |
Loading…
Reference in new issue