800 lines
17 KiB
XML
800 lines
17 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- STM32F3xx board Template -->
|
|
<board
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32f3xx_board.xsd">
|
|
<configuration_settings>
|
|
<templates_path>resources/gencfg/processors/boards/stm32f3xx/templates</templates_path>
|
|
<output_path>..</output_path>
|
|
<hal_version>3.0.x</hal_version>
|
|
</configuration_settings>
|
|
<board_name>STMicroelectronics NUCLEO-F302R8</board_name>
|
|
<board_id>ST_NUCLEO_F302R8</board_id>
|
|
<board_functions></board_functions>
|
|
<subtype>STM32F302x8</subtype>
|
|
<clocks HSEFrequency="0" HSEBypass="false" LSEFrequency="0"
|
|
LSEBypass="false" LSEDrive="3 High Drive (default)" />
|
|
<ports>
|
|
<GPIOA>
|
|
<pin0
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin1
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin2
|
|
ID="USART_TX"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="High"
|
|
Resistor="Floating"
|
|
Mode="Alternate"
|
|
Alternate="7" />
|
|
<pin3
|
|
ID="USART_RX"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="High"
|
|
Resistor="Floating"
|
|
Mode="Alternate"
|
|
Alternate="7" />
|
|
<pin4
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin5
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="Low"
|
|
Speed="High"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin6
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin7
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin8
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin9
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin10
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin11
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin12
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin13
|
|
ID="SWDIO"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Alternate"
|
|
Alternate="0" />
|
|
<pin14
|
|
ID="SWCLK"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullDown"
|
|
Mode="Alternate"
|
|
Alternate="0" />
|
|
<pin15
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
</GPIOA>
|
|
<GPIOB>
|
|
<pin0
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin1
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin2
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin3
|
|
ID="SWO"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Alternate"
|
|
Alternate="0" />
|
|
<pin4
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin5
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin6
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin7
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin8
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin9
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin10
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin11
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin12
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin13
|
|
ID="LED_GREEN"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="Floating"
|
|
Mode="Output"
|
|
Alternate="0" />
|
|
<pin14
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin15
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
</GPIOB>
|
|
<GPIOC>
|
|
<pin0
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin1
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin2
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin3
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin4
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin5
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin6
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin7
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin8
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin9
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin10
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin11
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin12
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin13
|
|
ID="BUTTON"
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="Floating"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin14
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin15
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
</GPIOC>
|
|
<GPIOD>
|
|
<pin0
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin1
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin2
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin3
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin4
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin5
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin6
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin7
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin8
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin9
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin10
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin11
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin12
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin13
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin14
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin15
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
</GPIOD>
|
|
<GPIOE>
|
|
<pin0
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin1
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin2
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin3
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin4
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin5
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin6
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin7
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin8
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin9
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin10
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin11
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin12
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin13
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin14
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin15
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
</GPIOE>
|
|
<GPIOF>
|
|
<pin0
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin1
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin2
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin3
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin4
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin5
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin6
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin7
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin8
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin9
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin10
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin11
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin12
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin13
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin14
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
<pin15
|
|
ID=""
|
|
Type="PushPull"
|
|
Level="High"
|
|
Speed="Maximum"
|
|
Resistor="PullUp"
|
|
Mode="Input"
|
|
Alternate="0" />
|
|
</GPIOF>
|
|
</ports>
|
|
</board>
|