mayhem-firmware/firmware/chibios/boards/ST_STM32373C_EVAL/cfg/board.chcfg

799 lines
18 KiB
XML
Executable File

<?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>
</configuration_settings>
<board_name>STMicroelectronics STM32373C-EVAL</board_name>
<board_id>ST_STM32373C_EVAL</board_id>
<board_functions></board_functions>
<subtype>STM32F37X</subtype>
<clocks HSEFrequency="8000000" HSEBypass="false" LSEFrequency="32768"
LSEBypass="false" LSEDrive="3 High Drive (default)" />
<ports>
<GPIOA>
<pin0
ID="WKUP_BUTTON"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
<pin1
ID="LDR_OUT"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Analog"
Alternate="0" />
<pin2
ID="KEY_BUTTON"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" ></pin2>
<pin3
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin4
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="5" ></pin5>
<pin6
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin7
ID="COMP2_OUT"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="Low"
Mode="Output"
Alternate="0" />
<pin8
ID="I2C2_SMB"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
<pin9
ID="I2C2_SCL"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="4" />
<pin10
ID="I2C2_SDA"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="4" ></pin10>
<pin11
ID="USB_DM"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="14" />
<pin12
ID="USB_DP"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="14" ></pin12>
<pin13
ID="SWDIO"
Type="PushPull"
Speed="Maximum"
Resistor="PullUp"
Level="High"
Mode="Alternate"
Alternate="0" />
<pin14
ID="SWCLK"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
Level="High"
Mode="Alternate"
Alternate="0" />
<pin15
ID="JTDI"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="0" />
</GPIOA>
<GPIOB>
<pin0
ID="MIC_IN"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Analog"
Alternate="0" />
<pin1
ID="ADC_POT_IN"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Analog"
Alternate="0" />
<pin2
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin3
ID="SWO"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="0" />
<pin4
ID="JTRST"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" ></pin5>
<pin6
ID="I2C1_SCL"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="4" />
<pin7
ID="I2C1_SDA"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="4" />
<pin8
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
</GPIOB>
<GPIOC>
<pin0
ID="LED1"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" />
<pin1
ID="LED2"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" />
<pin2
ID="LED3"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" />
<pin3
ID="LED4"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" ></pin3>
<pin4
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin5
ID="USB_DISCONNECT"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin10
ID="SPI3_SCK"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="6" />
<pin11
ID="SPI3_MISO"
Type="PushPull"
Speed="Maximum"
Resistor="PullUp"
Level="High"
Mode="Alternate"
Alternate="6" />
<pin12
ID="SPI3_MOSI"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="6" />
<pin13
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin14
ID="OSC32_IN"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
<pin15
ID="OSC32_OUT"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
</GPIOC>
<GPIOD>
<pin0
ID="CAN_RX"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="7" />
<pin1
ID="CAN_TX"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="7" />
<pin2
ID="LCD_CS"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" />
<pin3
ID="USART2_CTS"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="7" ></pin3>
<pin4
ID="USART2_RST"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="7" />
<pin5
ID="USART2_TX"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="7" />
<pin6
ID="USART2_RX"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Alternate"
Alternate="7" />
<pin7
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin11
ID="AUDIO_RST"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="Low"
Mode="Output"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
</GPIOD>
<GPIOE>
<pin0
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin1
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin2
ID="SD_CS"
Type="OpenDrain"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Output"
Alternate="0" ></pin2>
<pin3
ID="SD_DETECT"
Type="PushPull"
Speed="Maximum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" ></pin3>
<pin4
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" ></pin5>
<pin6
ID="JOY_SEL"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
Level="High"
Mode="Input"
Alternate="0" />
<pin7
ID="RTD_IN"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="High"
Mode="Analog"
Alternate="0" />
<pin8
ID="PRESSUREP"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Analog"
Alternate="0" />
<pin9
ID="PRESSUREN"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Analog"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" ></pin10>
<pin11
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="Low"
Mode="Input"
Alternate="0" ></pin13>
<pin14
ID="PRESSURE_TEPM"
Type="PushPull"
Speed="Minimum"
Resistor="Floating"
Level="Low"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="Low"
Mode="Input"
Alternate="0" />
</GPIOE>
<GPIOF>
<pin0
ID="OSC_IN"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
<pin1
ID="OSC_OUT"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" ></pin1>
<pin2
ID="JOY_DOWN"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
Level="High"
Mode="Input"
Alternate="0" />
<pin3
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" ></pin3>
<pin4
ID="JOY_LEFT"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
Level="High"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin9
ID="JOY_RIGHT"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
Level="High"
Mode="Input"
Alternate="0" />
<pin10
ID="JOY_UP"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
Level="High"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
</GPIOF>
</ports>
</board>