diff options
author | Kaleb Elwert <belak@coded.io> | 2017-01-09 20:15:10 +0100 |
---|---|---|
committer | Kaleb Elwert <belak@coded.io> | 2017-01-09 20:15:10 +0100 |
commit | 49a00a535f6106f37e5ebd272238e018832803a0 (patch) | |
tree | cc0960d82af41060935294422abdf0f45a7d66fc | |
parent | a702f4631ebfb8f2ae92c8da0cc9a49d899bd920 (diff) | |
download | qmk_firmware-49a00a535f6106f37e5ebd272238e018832803a0.tar.gz qmk_firmware-49a00a535f6106f37e5ebd272238e018832803a0.tar.xz |
Update clock frequencies to match the infinity ergodox
-rw-r--r-- | keyboards/whitefox/mcuconf.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/keyboards/whitefox/mcuconf.h b/keyboards/whitefox/mcuconf.h index 68c29cf68..28f3c6cda 100644 --- a/keyboards/whitefox/mcuconf.h +++ b/keyboards/whitefox/mcuconf.h @@ -29,21 +29,10 @@ /* PEE mode - 48MHz system clock driven by external crystal. */ #define KINETIS_MCG_MODE KINETIS_MCG_MODE_PEE -#define KINETIS_PLLCLK_FREQUENCY 96000000UL -#define KINETIS_SYSCLK_FREQUENCY 48000000UL - -#if 0 -/* FEI mode - 48 MHz with internal 32.768 kHz crystal */ -#define KINETIS_MCG_MODE KINETIS_MCG_MODE_FEI -#define KINETIS_MCG_FLL_DMX32 1 /* Fine-tune for 32.768 kHz */ -#define KINETIS_MCG_FLL_DRS 1 /* 1464x FLL factor */ -#define KINETIS_SYSCLK_FREQUENCY 47972352UL /* 32.768 kHz * 1464 (~48 MHz) */ -#define KINETIS_CLKDIV1_OUTDIV1 1 -#define KINETIS_CLKDIV1_OUTDIV2 1 -#define KINETIS_CLKDIV1_OUTDIV4 2 -#define KINETIS_BUSCLK_FREQUENCY KINETIS_SYSCLK_FREQUENCY -#define KINETIS_FLASHCLK_FREQUENCY KINETIS_SYSCLK_FREQUENCY/2 -#endif +#define KINETIS_PLLCLK_FREQUENCY 72000000UL +#define KINETIS_SYSCLK_FREQUENCY 72000000UL +#define KINETIS_BUSCLK_FREQUENCY 36000000UL +#define KINETIS_FLASHCLK_FREQUENCY 24000000UL /* * SERIAL driver system settings. |