summaryrefslogtreecommitdiffstats
path: root/stm32/app/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32/app/board.h')
-rw-r--r--stm32/app/board.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/stm32/app/board.h b/stm32/app/board.h
new file mode 100644
index 0000000..41eeafc
--- /dev/null
+++ b/stm32/app/board.h
@@ -0,0 +1,15 @@
+
+#define LED1 GPIO8
+#define LED1_PORT GPIOB
+
+#define LED2 GPIO9
+#define LED2_PORT GPIOB
+
+
+#define USART1_TX GPIO_USART1_TX
+#define USART1_TX_PORT GPIOA
+
+#define USART1_RX GPIO_USART1_RX
+#define USART1_RX_PORT GPIOA
+
+