Skip to content

Commit

Permalink
Metro M4: ignore unused pins to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
dhalbert committed Sep 9, 2024
1 parent da58110 commit e089b08
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions ports/atmel-samd/boards/metro_m4_express/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@
#define DEFAULT_UART_BUS_RX (&pin_PA23)
#define DEFAULT_UART_BUS_TX (&pin_PA22)

// Used for 32 kHZ crystal
#define IGNORE_PIN_PA00 1
#define IGNORE_PIN_PA01 1

// USB is always used internally so skip the pin objects for it.
#define IGNORE_PIN_PA24 1
#define IGNORE_PIN_PA25 1

// Not connected
#define IGNORE_PIN_PA07 1
#define IGNORE_PIN_PA15 1
#define IGNORE_PIN_PB00 1
#define IGNORE_PIN_PB01 1
#define IGNORE_PIN_PB04 1
#define IGNORE_PIN_PB05 1
#define IGNORE_PIN_PB23 1

0 comments on commit e089b08

Please sign in to comment.