arch/mips/src/pic32mz/pic32mz-config.h: Make the PLL input clock configurable.

This commit is contained in:
Ouss4 2019-07-21 16:11:04 -06:00 committed by Gregory Nutt
parent 99111c2af8
commit 2d6e4bd26b

View File

@ -384,11 +384,16 @@
# define CONFIG_PIC32MZ_UPLLFSEL DEVCFG2_UPLLFSEL_24MHZ
#endif
/* Not yet configurable settings (REVISIT) */
/* System PLL Input Clock Select bit */
/* System PLL Input Clock Select bit */
#define CONFIG_PIC32MZ_FPLLICLK 0 /* POSC is selected as input to the System PLL */
/* USB PLL Input Frequency Select bit */
#undef CONFIG_PIC32MZ_FPLLICLK
#if defined(BOARD_FPLLICLK_FRC)
# define CONFIG_PIC32MZ_FPLLICLK DEVCFG2_FPLLICLK
#else
# define CONFIG_PIC32MZ_FPLLICLK 0 /* POSC is selected as input to the System PLL */
#endif
/* USB PLL Input Frequency Select bit */
/* DEVCFG1 */
/* Configurable settings */