aboutsummaryrefslogtreecommitdiffstats
path: root/board.h
diff options
context:
space:
mode:
authorClyne Sullivan <clyne@bitgloo.com>2024-06-10 08:31:40 -0400
committerClyne Sullivan <clyne@bitgloo.com>2024-06-10 08:31:40 -0400
commit686e00c9217f47ead88662ab6fd3eb00c6ee24de (patch)
treecde331597f284d86e651759f5a5835b8870bf71c /board.h
parentb4360fbf445df5ff326af25bac30395f871fb2a8 (diff)
pcb firmware working
Diffstat (limited to 'board.h')
-rw-r--r--board.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/board.h b/board.h
index 9576dba..98fa567 100644
--- a/board.h
+++ b/board.h
@@ -59,6 +59,17 @@
#define LINE_USART2_TX PAL_LINE(GPIOA, 14U)
+#define LINE_LED0 PAL_LINE(GPIOB, 7U)
+#define LINE_LED1 PAL_LINE(GPIOC, 14U)
+#define LINE_LED2 PAL_LINE(GPIOC, 15U)
+#define LINE_LED3 PAL_LINE(GPIOA, 0U)
+#define LINE_LED4 PAL_LINE(GPIOA, 1U)
+#define LINE_LED5 PAL_LINE(GPIOA, 2U)
+#define LINE_LED6 PAL_LINE(GPIOA, 3U)
+#define LINE_LED7 PAL_LINE(GPIOA, 6U)
+#define LINE_LED8 PAL_LINE(GPIOB, 0U)
+#define LINE_LED9 PAL_LINE(GPIOB, 3U)
+
/*
* I/O ports initial setup, this configuration is established soon after reset
* in the initialization code.