Skip to content

Commit 3861c81

Browse files
quytranpzzKhiemNguyenT
authored andcommitted
hal: renesas: ra: Update flash configuration definition
This update is update definitions for flash configuration to get status from dts Signed-off-by: Quy Tran <[email protected]>
1 parent d17dc07 commit 3861c81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zephyr/ra/ra_cfg/fsp_cfg/r_flash_hp_cfg.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#endif
1212

1313
#define FLASH_HP_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
14-
#define FLASH_HP_CFG_CODE_FLASH_PROGRAMMING_ENABLE (1)
15-
#define FLASH_HP_CFG_DATA_FLASH_PROGRAMMING_ENABLE (1)
14+
#define FLASH_HP_CFG_CODE_FLASH_PROGRAMMING_ENABLE ((DT_PROP(DT_NODELABEL(flash0), programming_enable)))
15+
#define FLASH_HP_CFG_DATA_FLASH_PROGRAMMING_ENABLE ((DT_PROP(DT_NODELABEL(flash1), programming_enable)))
1616

1717
#ifdef __cplusplus
1818
}

0 commit comments

Comments
 (0)