Skip to content

Commit 317bb6d

Browse files
authored
Merge pull request #888 from notro/samd51_clock_rework
atmel-samd/samd51: Refactor clock setup + implement samd.clock
2 parents 6479cb0 + e158702 commit 317bb6d

File tree

4 files changed

+394
-6
lines changed

4 files changed

+394
-6
lines changed

ports/atmel-samd/boards/feather_m4_express/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232

3333
#include "external_flash/external_flash.h"
3434

35+
#define BOARD_HAS_CRYSTAL 1
36+
3537
#define DEFAULT_I2C_BUS_SCL (&pin_PA13)
3638
#define DEFAULT_I2C_BUS_SDA (&pin_PA12)
3739

ports/atmel-samd/boards/metro_m4_express/mpconfigboard.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333

3434
#include "external_flash/external_flash.h"
3535

36+
#define BOARD_HAS_CRYSTAL 1
37+
3638
#define DEFAULT_I2C_BUS_SCL (&pin_PB03)
3739
#define DEFAULT_I2C_BUS_SDA (&pin_PB02)
3840

0 commit comments

Comments
 (0)