File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -138,3 +138,8 @@ Patch List:
138
138
drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA8M1AH.h
139
139
drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA8D1BH.h
140
140
drivers/ra/fsp/src/bsp/cmsis/Device/RENESAS/Include/R7FA8T1AH.h
141
+
142
+ * Keep a backport for UCK, OCTA, U60CK clock marcro in bsp_clocks.c
143
+ Impacted files:
144
+ drivers/ra/fsp/src/bsp/mcu/all/bsp_clocks.c
145
+ Note: This will be remove in next FSP version
Original file line number Diff line number Diff line change 127
127
#define BSP_PRV_PERIPHERAL_CLK_RDY_BIT_POS (7U)
128
128
#define BSP_PRV_PERIPHERAL_CLK_RDY_BIT_MASK (1U << BSP_PRV_PERIPHERAL_CLK_RDY_BIT_POS)
129
129
130
+ /* Prepare for migrate */
131
+ #if !BSP_MCU_GROUP_RA8P1
132
+ #ifdef BSP_CFG_UCK_DIV
133
+ #define BSP_CFG_UCLK_SOURCE BSP_CFG_UCK_SOURCE
134
+ #define BSP_CFG_UCLK_DIV BSP_CFG_UCK_DIV
135
+ #endif
136
+ #if BSP_FEATURE_BSP_HAS_OCTASPI_CLOCK
137
+ #define BSP_CFG_OCTACLK_SOURCE BSP_CFG_OCTA_SOURCE
138
+ #define BSP_CFG_OCTACLK_DIV BSP_CFG_OCTA_DIV
139
+ #endif
140
+ #if BSP_FEATURE_BSP_HAS_USB60_CLOCK
141
+ #define BSP_CFG_USB60CLK_SOURCE BSP_CFG_U60CK_SOURCE
142
+ #define BSP_CFG_USB60CLK_DIV BSP_CFG_U60CK_DIV
143
+ #endif
144
+ #endif
145
+
130
146
#ifdef BSP_CFG_UCLK_DIV
131
147
132
148
/* If the MCU has SCKDIVCR2 for USBCK configuration. */
634
650
#endif
635
651
636
652
#if defined(BSP_CFG_OPTION_SETTING_OFS1_ICSATS ) && BSP_FEATURE_BSP_HAS_CLOCK_SUPPLY_TYPEB
637
- #define BSP_PRV_CLOCK_SUPPLY_TYPE_B (0 == BSP_CFG_OPTION_SETTING_OFS1_ICSATS )
653
+ #define BSP_PRV_CLOCK_SUPPLY_TYPE_B (0 == BSP_CFG_ROM_REG_OFS1_ICSATS )
638
654
#else
639
655
#define BSP_PRV_CLOCK_SUPPLY_TYPE_B (0)
640
656
#endif
You can’t perform that action at this time.
0 commit comments