aboutsummaryrefslogtreecommitdiffstats
path: root/board.h
diff options
context:
space:
mode:
authorClyne <clyne@bitgloo.com>2024-06-11 17:03:55 -0400
committerClyne <clyne@bitgloo.com>2024-06-11 17:03:55 -0400
commit22c065042040f0901c6bf1ff33d1c056141afde6 (patch)
treecc95150ce8536a1cd84bd80857bd06ac1a13d8d5 /board.h
parent6463ae4174d093f3eac4dfc28e234d105484ed0f (diff)
parent67bdf76f1942eb210a52e5f0a96d92ed3238f456 (diff)
Merge pull request 'pcb-bringup' (#1) from pcb-bringup into main
Reviewed-on: https://code.bitgloo.com/clyne/noisecard/pulls/1
Diffstat (limited to 'board.h')
-rw-r--r--board.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/board.h b/board.h
index 55ef0aa..801cf6b 100644
--- a/board.h
+++ b/board.h
@@ -53,13 +53,22 @@
/*
* IO lines assignments.
*/
-//#define LINE_LED_GREEN PAL_LINE(GPIOA, 12U)
-
-#define LINE_I2S_SD PAL_LINE(GPIOA, 12U) // or PB5
-#define LINE_I2S_WS PAL_LINE(GPIOB, 0U)
-#define LINE_I2S_CK PAL_LINE(GPIOA, 1U)
-
-#define LINE_USART2_TX PAL_LINE(GPIOA, 14U)
+#define LINE_I2S_SD PAL_LINE(GPIOA, 7U)
+#define LINE_I2S_WS PAL_LINE(GPIOA, 4U)
+#define LINE_I2S_CK PAL_LINE(GPIOA, 5U)
+
+#define LINE_TP1 PAL_LINE(GPIOA, 12U)
+
+#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