diff options
Diffstat (limited to 'src/atsamd/clock.c')
-rw-r--r-- | src/atsamd/clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/atsamd/clock.c b/src/atsamd/clock.c index 1a97fe52..a60fc1eb 100644 --- a/src/atsamd/clock.c +++ b/src/atsamd/clock.c @@ -4,6 +4,7 @@ // // This file may be distributed under the terms of the GNU GPLv3 license. +#include "command.h" // DECL_CONSTANT_STR #include "compiler.h" // DIV_ROUND_CLOSEST #include "internal.h" // enable_pclock @@ -48,6 +49,10 @@ get_pclock_frequency(uint32_t pclk_id) return FREQ_MAIN; } +#if CONFIG_CLOCK_REF_X32K +DECL_CONSTANT_STR("RESERVE_PINS_crystal", "PA0,PA1"); +#endif + // Initialize the clocks using an external 32K crystal static void clock_init_32k(void) |