Skip to content

Commit c9668fd

Browse files
khoa-nguyen-18KhiemNguyenT
authored andcommitted
hal: renesas: Modify to use ".noinit" instead of ".ram_noinit"
Since the ARM linker has defined the ".noinit" section. We change to use default noinit section instead of defining another noinit section. Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 43b2c28 commit c9668fd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

drivers/ra/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,7 @@ Patch List:
159159
Impacted files:
160160
drivers/ra/fsp/src/bsp/mcu/all/bsp_irq.c
161161
drivers/ra/fsp/src/r_dtc/r_dtc.c
162+
163+
* Modify to use ".noinit" instead of ".ram_noinit" for `BSP_SECTION_NOINIT` and `__NO_INIT`
164+
Impacted files:
165+
drivers/ra/fsp/src/bsp/mcu/all/bsp_compiler_support.h

drivers/ra/fsp/src/bsp/mcu/all/bsp_compiler_support.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ extern "C" {
4343
#define BSP_FORCE_INLINE _Pragma("inline=forced")
4444
#endif
4545

46-
#define BSP_SECTION_NOINIT BSP_UNINIT_SECTION_PREFIX ".ram_noinit"
46+
#define BSP_SECTION_NOINIT BSP_UNINIT_SECTION_PREFIX ".noinit"
4747
#define BSP_SECTION_FIXED_VECTORS ".fixed_vectors"
4848
#define BSP_SECTION_APPLICATION_VECTORS ".application_vectors"
4949

0 commit comments

Comments
 (0)