summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2021-08-31 17:00:42 +0700
committerGitHub <[email protected]>2021-08-31 17:00:42 +0700
commite2175f6ed1e9a42c76dacf345d51ba61eecd8a6a (patch)
treeca9926ad4a3f6c91579ec0890c055c91283eb94d /hw
parent1a1bcd816ce1c91aa41635d33ee12632dc0b3d9e (diff)
parent76345ea3a1d78924585b8c4e0c5b5cb5e89d74e7 (diff)
Merge pull request #1061 from hathach/samd-compliance
Update SAMD to pass USBCV
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/samd21/boards/metro_m0_express/board.h2
-rw-r--r--hw/bsp/samd51/boards/metro_m4_express/board.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/hw/bsp/samd21/boards/metro_m0_express/board.h b/hw/bsp/samd21/boards/metro_m0_express/board.h
index b9292b9af..13b7556b0 100644
--- a/hw/bsp/samd21/boards/metro_m0_express/board.h
+++ b/hw/bsp/samd21/boards/metro_m0_express/board.h
@@ -35,7 +35,7 @@
#define LED_PIN 17
#define LED_STATE_ON 1
-// Button
+// Button: D5
#define BUTTON_PIN 15
#define BUTTON_STATE_ACTIVE 0
diff --git a/hw/bsp/samd51/boards/metro_m4_express/board.h b/hw/bsp/samd51/boards/metro_m4_express/board.h
index 9bb5f815e..ab10ae4f8 100644
--- a/hw/bsp/samd51/boards/metro_m4_express/board.h
+++ b/hw/bsp/samd51/boards/metro_m4_express/board.h
@@ -35,8 +35,8 @@
#define LED_PIN 16
#define LED_STATE_ON 1
-// Button
-#define BUTTON_PIN (32+14) // D5
+// Button: D5
+#define BUTTON_PIN (32+14)
#define BUTTON_STATE_ACTIVE 0
// UART