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

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