Skip to content

Commit 4d53eed

Browse files
authored
Update variant_DATABOARD.h - add pin aliases
Signed-off-by: its-kronos <140297693+its-kronos@users.noreply.github.com>
1 parent b8e9eb2 commit 4d53eed

File tree

1 file changed

+101
-0
lines changed

1 file changed

+101
-0
lines changed

variants/STM32F1xx/F103C8T_F103CB(T-U)/variant_DATABOARD.h

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,107 @@
5353
#define PD0 35
5454
#define PD1 36
5555

56+
// Pin Aliases
57+
58+
#define IO1 PA10
59+
#define GPIO1 PA10
60+
#define GP1 PA10
61+
62+
#define IO2 PA9
63+
#define GPIO2 PA9
64+
#define GP2 PA9
65+
66+
#define IO3 PA8
67+
#define GPIO3 PA8
68+
#define GP3 PA8
69+
70+
#define IO4 PB15
71+
#define GPIO4 PB15
72+
#define GP4 PB15
73+
74+
#define IO5 PB14
75+
#define GPIO5 PB14
76+
#define GP5 PB14
77+
78+
#define IO6 PB13
79+
#define GPIO6 PB13
80+
#define GP6 PB13
81+
82+
#define IO7 PB12
83+
#define GPIO7 PB12
84+
#define GP7 PB12
85+
86+
#define AIO8 PA7
87+
#define IO8 PA7
88+
#define GPIO8 PA7
89+
#define GP8 PA7
90+
91+
#define AIO9 PA6
92+
#define IO9 PA6
93+
#define GPIO9 PA6
94+
#define GP9 PA6
95+
96+
#define AIO10 PA5
97+
#define IO10 PA5
98+
#define GPIO10 PA5
99+
#define GP10 PA5
100+
101+
#define IO11 PB11
102+
#define GPIO11 PB11
103+
#define GP11 PB11
104+
105+
#define IO12 PB10
106+
#define GPIO12 PB10
107+
#define GP12 PB10
108+
109+
#define AIO13 PB1
110+
#define IO13 PB1
111+
#define GPIO13 PB1
112+
#define GP13 PB1
113+
114+
#define AIO14 PA4
115+
#define IO14 PA4
116+
#define GPIO14 PA4
117+
#define GP14 PA4
118+
119+
#define AIO15 PA3
120+
#define IO15 PA3
121+
#define GPIO15 PA3
122+
#define GP15 PA3
123+
124+
#define AIO16 PA2
125+
#define IO16 PA2
126+
#define GPIO16 PA2
127+
#define GP16 PA2
128+
129+
#define AIO17 PA1
130+
#define IO17 PA1
131+
#define GPIO17 PA1
132+
#define GP17 PA1
133+
134+
#define AIO18 PA0
135+
#define IO18 PA0
136+
#define GPIO18 PA0
137+
#define GP18 PA0
138+
139+
#define WIFI_EN PB8
140+
#define WIFI PB8
141+
#define WIFI_RX PB7
142+
#define WIFI_TX PB6
143+
#define WIFI_BOOT PB9
144+
#define WIFI_BOOT_EN PB9
145+
#define WIFI_BOOT_UART PB0
146+
#define WIFI_BOOT_UART_EN PB0
147+
148+
#define MICROSD PB2
149+
#define MICROSD_EN PB2
150+
#define MICROSD_MOSI PB5
151+
#define MICROSD_CLOCK PB3
152+
#define MICROSD_CLK PB3
153+
#define MICROSD_MISO PB4
154+
155+
156+
56157
// Alternate pins number
57158
#define PA0_ALT1 (PA0 | ALT1)
58159
#define PA1_ALT1 (PA1 | ALT1)

0 commit comments

Comments
 (0)