diff options
Diffstat (limited to 'src/atsamd/samd51_clock.c')
-rw-r--r-- | src/atsamd/samd51_clock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/atsamd/samd51_clock.c b/src/atsamd/samd51_clock.c index 040f29b7..1256ac5f 100644 --- a/src/atsamd/samd51_clock.c +++ b/src/atsamd/samd51_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 @@ -94,6 +95,10 @@ config_dfll(uint32_t dfllmul, uint32_t ctrlb) ; } +#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) |