Skip to content

Commit 800fb2f

Browse files
khoa-nguyen-18KhiemNguyenT
authored andcommitted
hal: renesas: ra: Define PARTITION_FLASH_CPU1_S_START in bsp_cfg.h
Define CPU1 flash partition start address in bsp_cfg.h Signed-off-by: Khoa Nguyen <[email protected]>
1 parent 34a83cd commit 800fb2f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

drivers/ra/README

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,7 @@ Patch List:
171171
* Copy `BSP_ASSIGN_EVENT_TO_CURRENT_CORE` from bsp_irq.c to bsp_irq.h to let it can be used in Zephyr driver
172172
Impacted files:
173173
zephyr/ra/portable/bsp_irq.h
174+
175+
* Define `BSP_PARTITION_FLASH_CPU1_S_START` in bsp_cfg.h
176+
Impacted files:
177+
zephyr/ra/ra_cfg/fsp_cfg/bsp/ra8p1/bsp_cfg.h

zephyr/ra/ra_cfg/fsp_cfg/bsp/ra8p1/bsp_cfg.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@
4040
SUBCLOCK_STABILIZATION_MAX((DT_PROP_OR(DT_NODELABEL(subclk), stabilization_time, 1000)))
4141
#endif
4242

43+
#ifdef CONFIG_SOC_RA_ENABLE_START_SECOND_CORE
44+
#define BSP_PARTITION_FLASH_CPU1_S_START DT_REG_ADDR(DT_NODELABEL(flash1))
45+
#endif /* CONFIG_SOC_RA_ENABLE_START_SECOND_CORE */
46+
4347
#endif /* BSP_CFG_H_ */

0 commit comments

Comments
 (0)