]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/cannonkeys/an_c/boards/ST_STM32F072B_DISCOVERY/cfg/board.chcfg
[Keyboard] Add AN-C PCB (#6157)
[qmk_firmware.git] / keyboards / cannonkeys / an_c / boards / ST_STM32F072B_DISCOVERY / cfg / board.chcfg
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- STM32F0xx board Template -->
3 <board
4   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5   xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32f0xx_board.xsd">
6   <configuration_settings>
7     <templates_path>resources/gencfg/processors/boards/stm32f0xx/templates</templates_path>
8     <output_path>..</output_path>
9     <hal_version>3.0.x</hal_version>
10   </configuration_settings>
11   <board_name>ST STM32F072B-Discovery</board_name>
12   <board_id>ST_STM32F072B_DISCOVERY</board_id>
13   <board_functions></board_functions>
14   <subtype>STM32F072xB</subtype>
15   <clocks HSEFrequency="0" HSEBypass="true" LSEFrequency="0"
16         LSEBypass="false" LSEDrive="3 High Drive (default)" />
17   <ports>
18     <GPIOA>
19       <pin0
20         ID="BUTTON"
21         Type="PushPull"
22         Speed="Minimum"
23         Resistor="Floating"
24         Level="High"
25         Mode="Input"
26         Alternate="0" />
27       <pin1
28         ID=""
29         Type="PushPull"
30         Speed="Minimum"
31         Resistor="PullUp"
32         Level="High"
33         Mode="Input"
34         Alternate="0" />
35       <pin2
36         ID=""
37         Type="PushPull"
38         Speed="Minimum"
39         Resistor="PullUp"
40         Level="High"
41         Mode="Input"
42         Alternate="0" />
43       <pin3
44         ID=""
45         Type="PushPull"
46         Speed="Minimum"
47         Resistor="PullUp"
48         Level="High"
49         Mode="Input"
50         Alternate="0" />
51       <pin4
52         ID=""
53         Type="PushPull"
54         Speed="Minimum"
55         Resistor="PullUp"
56         Level="High"
57         Mode="Input"
58         Alternate="0" />
59       <pin5
60         ID=""
61         Type="PushPull"
62         Speed="Minimum"
63         Resistor="PullUp"
64         Level="High"
65         Mode="Input"
66         Alternate="0" />
67       <pin6
68         ID=""
69         Type="PushPull"
70         Speed="Minimum"
71         Resistor="PullUp"
72         Level="High"
73         Mode="Input"
74         Alternate="0" />
75       <pin7
76         ID=""
77         Type="PushPull"
78         Speed="Minimum"
79         Resistor="PullUp"
80         Level="High"
81         Mode="Input"
82         Alternate="0" />
83       <pin8
84         ID=""
85         Type="PushPull"
86         Speed="Minimum"
87         Resistor="PullUp"
88         Level="High"
89         Mode="Input"
90         Alternate="0" />
91       <pin9
92         ID=""
93         Type="PushPull"
94         Speed="Minimum"
95         Resistor="PullUp"
96         Level="High"
97         Mode="Input"
98         Alternate="0" />
99       <pin10
100         ID=""
101         Type="PushPull"
102         Speed="Minimum"
103         Resistor="PullUp"
104         Level="High"
105         Mode="Input"
106         Alternate="0" />
107       <pin11
108         ID="USB_DM"
109         Type="PushPull"
110         Speed="Minimum"
111         Resistor="Floating"
112         Level="High"
113         Mode="Input"
114         Alternate="0" />
115       <pin12
116         ID="USB_DP"
117         Type="PushPull"
118         Speed="Minimum"
119         Resistor="Floating"
120         Level="High"
121         Mode="Input"
122         Alternate="0" />
123       <pin13
124         ID="SWDIO"
125         Type="PushPull"
126         Speed="Maximum"
127         Resistor="PullUp"
128         Level="High"
129         Mode="Alternate"
130         Alternate="0" />
131       <pin14
132         ID="SWCLK"
133         Type="PushPull"
134         Speed="Maximum"
135         Resistor="PullDown"
136         Level="High"
137         Mode="Alternate"
138         Alternate="0" />
139       <pin15
140         ID=""
141         Type="PushPull"
142         Speed="Maximum"
143         Resistor="PullUp"
144         Level="High"
145         Mode="Input"
146         Alternate="0" />
147     </GPIOA>
148     <GPIOB>
149       <pin0
150         ID=""
151         Type="PushPull"
152         Speed="Minimum"
153         Resistor="PullUp"
154         Level="High"
155         Mode="Input"
156         Alternate="0" />
157       <pin1
158         ID=""
159         Type="PushPull"
160         Speed="Minimum"
161         Resistor="PullUp"
162         Level="High"
163         Mode="Input"
164         Alternate="0" />
165       <pin2
166         ID=""
167         Type="PushPull"
168         Speed="Maximum"
169         Resistor="PullUp"
170         Level="High"
171         Mode="Input"
172         Alternate="0" />
173       <pin3
174         ID=""
175         Type="PushPull"
176         Speed="Maximum"
177         Resistor="PullUp"
178         Level="High"
179         Mode="Input"
180         Alternate="0" />
181       <pin4
182         ID=""
183         Type="PushPull"
184         Speed="Maximum"
185         Resistor="PullUp"
186         Level="High"
187         Mode="Input"
188         Alternate="0" />
189       <pin5
190         ID=""
191         Type="PushPull"
192         Speed="Minimum"
193         Resistor="PullUp"
194         Level="High"
195         Mode="Input"
196         Alternate="0" />
197       <pin6
198         ID=""
199         Type="PushPull"
200         Speed="Minimum"
201         Resistor="PullUp"
202         Level="High"
203         Mode="Input"
204         Alternate="0" />
205       <pin7
206         ID=""
207         Type="PushPull"
208         Speed="Minimum"
209         Resistor="PullUp"
210         Level="High"
211         Mode="Input"
212         Alternate="0" />
213       <pin8
214         ID=""
215         Type="PushPull"
216         Speed="Minimum"
217         Resistor="PullUp"
218         Level="High"
219         Mode="Input"
220         Alternate="0" />
221       <pin9
222         ID=""
223         Type="PushPull"
224         Speed="Minimum"
225         Resistor="PullUp"
226         Level="High"
227         Mode="Input"
228         Alternate="0" />
229       <pin10
230         ID=""
231         Type="PushPull"
232         Speed="Minimum"
233         Resistor="PullUp"
234         Level="High"
235         Mode="Input"
236         Alternate="0" />
237       <pin11
238         ID=""
239         Type="PushPull"
240         Speed="Minimum"
241         Resistor="PullUp"
242         Level="High"
243         Mode="Input"
244         Alternate="0" />
245       <pin12
246         ID=""
247         Type="PushPull"
248         Speed="Minimum"
249         Resistor="PullUp"
250         Level="High"
251         Mode="Input"
252         Alternate="0" />
253       <pin13
254         ID="SPI2_SCK"
255         Type="PushPull"
256         Speed="Minimum"
257         Resistor="Floating"
258         Level="High"
259         Mode="Alternate"
260         Alternate="0" />
261       <pin14
262         ID="SPI2_MISO"
263         Type="PushPull"
264         Speed="Minimum"
265         Resistor="Floating"
266         Level="High"
267         Mode="Alternate"
268         Alternate="0" />
269       <pin15
270         ID="SPI2_MOSI"
271         Type="PushPull"
272         Speed="Minimum"
273         Resistor="Floating"
274         Level="High"
275         Mode="Alternate"
276         Alternate="0" />
277     </GPIOB>
278     <GPIOC>
279       <pin0
280         ID="MEMS_CS"
281         Type="PushPull"
282         Speed="Maximum"
283         Resistor="Floating"
284         Level="High"
285         Mode="Output"
286         Alternate="0" />
287       <pin1
288         ID=""
289         Type="PushPull"
290         Speed="Minimum"
291         Resistor="PullUp"
292         Level="High"
293         Mode="Input"
294         Alternate="0" />
295       <pin2
296         ID=""
297         Type="PushPull"
298         Speed="Minimum"
299         Resistor="PullUp"
300         Level="High"
301         Mode="Input"
302         Alternate="0" />
303       <pin3
304         ID=""
305         Type="PushPull"
306         Speed="Minimum"
307         Resistor="PullUp"
308         Level="High"
309         Mode="Input"
310         Alternate="0" />
311       <pin4
312         ID=""
313         Type="PushPull"
314         Speed="Minimum"
315         Resistor="PullUp"
316         Level="High"
317         Mode="Input"
318         Alternate="0" />
319       <pin5
320         ID=""
321         Type="PushPull"
322         Speed="Minimum"
323         Resistor="PullUp"
324         Level="High"
325         Mode="Input"
326         Alternate="0" />
327       <pin6
328         ID="LED_RED"
329         Type="PushPull"
330         Speed="Maximum"
331         Resistor="Floating"
332         Level="Low"
333         Mode="Output"
334         Alternate="0" />
335       <pin7
336         ID="LED_BLUE"
337         Type="PushPull"
338         Speed="Maximum"
339         Resistor="Floating"
340         Level="Low"
341         Mode="Output"
342         Alternate="0" />
343       <pin8
344         ID="LED_ORANGE"
345         Type="PushPull"
346         Speed="Maximum"
347         Resistor="Floating"
348         Level="Low"
349         Mode="Output"
350         Alternate="0" ></pin8>
351       <pin9
352         ID="LED_GREEN"
353         Type="PushPull"
354         Speed="Maximum"
355         Resistor="Floating"
356         Level="Low"
357         Mode="Output"
358         Alternate="0" />
359       <pin10
360         ID=""
361         Type="PushPull"
362         Speed="Minimum"
363         Resistor="PullUp"
364         Level="High"
365         Mode="Input"
366         Alternate="0" />
367       <pin11
368         ID=""
369         Type="PushPull"
370         Speed="Minimum"
371         Resistor="PullUp"
372         Level="High"
373         Mode="Input"
374         Alternate="0" />
375       <pin12
376         ID=""
377         Type="PushPull"
378         Speed="Minimum"
379         Resistor="PullUp"
380         Level="High"
381         Mode="Input"
382         Alternate="0" />
383       <pin13
384         ID=""
385         Type="PushPull"
386         Speed="Minimum"
387         Resistor="PullUp"
388         Level="High"
389         Mode="Input"
390         Alternate="0" />
391       <pin14
392         ID="OSC32_IN"
393         Type="PushPull"
394         Speed="Maximum"
395         Resistor="Floating"
396         Level="High"
397         Mode="Input"
398         Alternate="0" />
399       <pin15
400         ID="OSC32_OUT"
401         Type="PushPull"
402         Speed="Maximum"
403         Resistor="Floating"
404         Level="High"
405         Mode="Input"
406         Alternate="0" />
407     </GPIOC>
408     <GPIOD>
409       <pin0
410         ID=""
411         Type="PushPull"
412         Speed="Minimum"
413         Resistor="PullUp"
414         Level="High"
415         Mode="Input"
416         Alternate="0" />
417       <pin1
418         ID=""
419         Type="PushPull"
420         Speed="Minimum"
421         Resistor="PullUp"
422         Level="High"
423         Mode="Input"
424         Alternate="0" />
425       <pin2
426         ID=""
427         Type="PushPull"
428         Speed="Minimum"
429         Resistor="PullUp"
430         Level="High"
431         Mode="Input"
432         Alternate="0" />
433       <pin3
434         ID=""
435         Type="PushPull"
436         Speed="Minimum"
437         Resistor="PullUp"
438         Level="High"
439         Mode="Input"
440         Alternate="0" />
441       <pin4
442         ID=""
443         Type="PushPull"
444         Speed="Minimum"
445         Resistor="PullUp"
446         Level="High"
447         Mode="Input"
448         Alternate="0" />
449       <pin5
450         ID=""
451         Type="PushPull"
452         Speed="Minimum"
453         Resistor="PullUp"
454         Level="High"
455         Mode="Input"
456         Alternate="0" />
457       <pin6
458         ID=""
459         Type="PushPull"
460         Speed="Minimum"
461         Resistor="PullUp"
462         Level="High"
463         Mode="Input"
464         Alternate="0" />
465       <pin7
466         ID=""
467         Type="PushPull"
468         Speed="Minimum"
469         Resistor="PullUp"
470         Level="High"
471         Mode="Input"
472         Alternate="0" />
473       <pin8
474         ID=""
475         Type="PushPull"
476         Speed="Minimum"
477         Resistor="PullUp"
478         Level="High"
479         Mode="Input"
480         Alternate="0" />
481       <pin9
482         ID=""
483         Type="PushPull"
484         Speed="Minimum"
485         Resistor="PullUp"
486         Level="High"
487         Mode="Input"
488         Alternate="0" />
489       <pin10
490         ID=""
491         Type="PushPull"
492         Speed="Minimum"
493         Resistor="PullUp"
494         Level="High"
495         Mode="Input"
496         Alternate="0" />
497       <pin11
498         ID=""
499         Type="PushPull"
500         Speed="Minimum"
501         Resistor="PullUp"
502         Level="High"
503         Mode="Input"
504         Alternate="0" />
505       <pin12
506         ID=""
507         Type="PushPull"
508         Speed="Minimum"
509         Resistor="PullUp"
510         Level="High"
511         Mode="Input"
512         Alternate="0" />
513       <pin13
514         ID=""
515         Type="PushPull"
516         Speed="Minimum"
517         Resistor="PullUp"
518         Level="High"
519         Mode="Input"
520         Alternate="0" />
521       <pin14
522         ID=""
523         Type="PushPull"
524         Speed="Minimum"
525         Resistor="PullUp"
526         Level="High"
527         Mode="Input"
528         Alternate="0" />
529       <pin15
530         ID=""
531         Type="PushPull"
532         Speed="Minimum"
533         Resistor="PullUp"
534         Level="High"
535         Mode="Input"
536         Alternate="0" />
537     </GPIOD>
538     <GPIOE>
539         <pin0 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
540                 Level="High" Mode="Input" Alternate="0" />
541         <pin1 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
542                 Level="High" Mode="Input" Alternate="0" />
543         <pin2 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
544                 Level="High" Mode="Input" Alternate="0" />
545         <pin3 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
546                 Level="High" Mode="Input" Alternate="0" />
547         <pin4 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
548                 Level="High" Mode="Input" Alternate="0" />
549         <pin5 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
550                 Level="High" Mode="Input" Alternate="0" />
551         <pin6 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
552                 Level="High" Mode="Input" Alternate="0" />
553         <pin7 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
554                 Level="High" Mode="Input" Alternate="0" />
555         <pin8 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
556                 Level="High" Mode="Input" Alternate="0" />
557         <pin9 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
558                 Level="High" Mode="Input" Alternate="0" />
559         <pin10 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
560                 Level="High" Mode="Input" Alternate="0" />
561         <pin11 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
562                 Level="High" Mode="Input" Alternate="0" />
563         <pin12 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
564                 Level="High" Mode="Input" Alternate="0" />
565         <pin13 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
566                 Level="High" Mode="Input" Alternate="0" />
567         <pin14 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
568                 Level="High" Mode="Input" Alternate="0" />
569         <pin15 ID="" Type="PushPull" Speed="Minimum" Resistor="PullUp"
570                 Level="High" Mode="Input" Alternate="0" />
571     </GPIOE>
572     <GPIOF>
573       <pin0
574         ID="OSC_IN"
575         Type="PushPull"
576         Speed="Minimum"
577         Resistor="Floating"
578         Level="High"
579         Mode="Input"
580         Alternate="0" />
581       <pin1
582         ID="OSC_OUT"
583         Type="PushPull"
584         Speed="Minimum"
585         Resistor="Floating"
586         Level="High"
587         Mode="Input"
588         Alternate="0" />
589       <pin2
590         ID=""
591         Type="PushPull"
592         Speed="Minimum"
593         Resistor="PullUp"
594         Level="High"
595         Mode="Input"
596         Alternate="0" />
597       <pin3
598         ID=""
599         Type="PushPull"
600         Speed="Minimum"
601         Resistor="PullUp"
602         Level="High"
603         Mode="Input"
604         Alternate="0" />
605       <pin4
606         ID=""
607         Type="PushPull"
608         Speed="Minimum"
609         Resistor="PullUp"
610         Level="High"
611         Mode="Input"
612         Alternate="0" />
613       <pin5
614         ID=""
615         Type="PushPull"
616         Speed="Minimum"
617         Resistor="PullUp"
618         Level="High"
619         Mode="Input"
620         Alternate="0" />
621       <pin6
622         ID=""
623         Type="PushPull"
624         Speed="Minimum"
625         Resistor="PullUp"
626         Level="High"
627         Mode="Input"
628         Alternate="0" />
629       <pin7
630         ID=""
631         Type="PushPull"
632         Speed="Minimum"
633         Resistor="PullUp"
634         Level="High"
635         Mode="Input"
636         Alternate="0" />
637       <pin8
638         ID=""
639         Type="PushPull"
640         Speed="Minimum"
641         Resistor="PullUp"
642         Level="High"
643         Mode="Input"
644         Alternate="0" />
645       <pin9
646         ID=""
647         Type="PushPull"
648         Speed="Minimum"
649         Resistor="PullUp"
650         Level="High"
651         Mode="Input"
652         Alternate="0" />
653       <pin10
654         ID=""
655         Type="PushPull"
656         Speed="Minimum"
657         Resistor="PullUp"
658         Level="High"
659         Mode="Input"
660         Alternate="0" />
661       <pin11
662         ID=""
663         Type="PushPull"
664         Speed="Minimum"
665         Resistor="PullUp"
666         Level="High"
667         Mode="Input"
668         Alternate="0" />
669       <pin12
670         ID=""
671         Type="PushPull"
672         Speed="Minimum"
673         Resistor="PullUp"
674         Level="High"
675         Mode="Input"
676         Alternate="0" />
677       <pin13
678         ID=""
679         Type="PushPull"
680         Speed="Minimum"
681         Resistor="PullUp"
682         Level="High"
683         Mode="Input"
684         Alternate="0" />
685       <pin14
686         ID=""
687         Type="PushPull"
688         Speed="Minimum"
689         Resistor="PullUp"
690         Level="High"
691         Mode="Input"
692         Alternate="0" />
693       <pin15
694         ID=""
695         Type="PushPull"
696         Speed="Minimum"
697         Resistor="PullUp"
698         Level="High"
699         Mode="Input"
700         Alternate="0" />
701     </GPIOF>
702   </ports>
703 </board>