Skip to content

Commit 9336bdd

Browse files
committed
SANTIAGO: default to no crystal variant
Former-commit-id: 9ea939c
1 parent 99919d4 commit 9336bdd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

variants/SANTIAGO/includes/ra_gen/bsp_clock_cfg.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
#define BSP_CLOCK_CFG_H_
44
#define BSP_CFG_CLOCKS_SECURE (0)
55
#define BSP_CFG_CLOCKS_OVERRIDE (0)
6-
#define BSP_CFG_XTAL_HZ (16000000) /* XTAL 16000000Hz */
6+
#define BSP_CFG_XTAL_HZ (0) /* XTAL 0Hz */
77
#define BSP_CFG_PLL_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_MAIN_OSC) /* PLL Src: XTAL */
8-
#define BSP_CFG_HOCO_FREQUENCY (0) /* HOCO 24MHz */
8+
#define BSP_CFG_HOCO_FREQUENCY (4) /* HOCO 48MHz */
99
#define BSP_CFG_PLL_DIV (BSP_CLOCKS_PLL_DIV_4) /* PLL Div /4 */
1010
#define BSP_CFG_PLL_MUL BSP_CLOCKS_PLL_MUL_12_0 /* PLL Mul x12 */
11-
#define BSP_CFG_CLOCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_PLL) /* Clock Src: PLL */
11+
#define BSP_CFG_CLOCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_HOCO) /* Clock Src: HOCO */
1212
#define BSP_CFG_ICLK_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* ICLK Div /1 */
1313
#define BSP_CFG_PCLKA_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* PCLKA Div /1 */
1414
#define BSP_CFG_PCLKB_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_2) /* PCLKB Div /2 */
1515
#define BSP_CFG_PCLKC_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* PCLKC Div /1 */
1616
#define BSP_CFG_PCLKD_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* PCLKD Div /1 */
1717
#define BSP_CFG_FCLK_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_2) /* FCLK Div /2 */
18-
#define BSP_CFG_CLKOUT_SOURCE (BSP_CLOCKS_CLOCK_DISABLED) /* CLKOUT Disabled */
18+
#define BSP_CFG_CLKOUT_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_SUBCLOCK) /* CLKOUT Src: SUBCLK */
1919
#define BSP_CFG_CLKOUT_DIV (BSP_CLOCKS_SYS_CLOCK_DIV_1) /* CLKOUT Div /1 */
20-
#define BSP_CFG_UCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_PLL) /* UCLK Src: PLL */
20+
#define BSP_CFG_UCK_SOURCE (BSP_CLOCKS_SOURCE_CLOCK_HOCO) /* UCLK Src: HOCO */
2121
#endif /* BSP_CLOCK_CFG_H_ */

variants/SANTIAGO/libs/libfsp.a

965 KB
Binary file not shown.

0 commit comments

Comments
 (0)