tinySA/os/hal/boards/ST_STM32F4_DISCOVERY/cfg/board.chcfg

1194 lines
26 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!-- STM32F4xx board Template -->
<board
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.chibios.org/xml/schema/boards/stm32f4xx_board.xsd">
<configuration_settings>
<templates_path>resources/gencfg/processors/boards/stm32f4xx/templates</templates_path>
<output_path>..</output_path>
<hal_version>3.0.x</hal_version>
</configuration_settings>
<board_name>STMicroelectronics STM32F4-Discovery</board_name>
<board_id>ST_STM32F4_DISCOVERY</board_id>
<board_functions></board_functions>
<subtype>STM32F407xx</subtype>
<clocks
HSEFrequency="8000000"
HSEBypass="false"
LSEFrequency="0"
LSEBypass="false"
VDD="300" />
<ports>
<GPIOA>
<pin0
ID="BUTTON"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
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="LRCK"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="6" />
<pin5
ID="SPC"
Type="PushPull"
Level="High"
Speed="High"
Resistor="Floating"
Mode="Alternate"
Alternate="5" />
<pin6
ID="SDO"
Type="PushPull"
Level="High"
Speed="High"
Resistor="Floating"
Mode="Alternate"
Alternate="5" />
<pin7
ID="SDI"
Type="PushPull"
Level="High"
Speed="High"
Resistor="Floating"
Mode="Alternate"
Alternate="5" />
<pin8
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="PullUp"
Mode="Input"
Alternate="0" ></pin8>
<pin9
ID="VBUS_FS"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin10
ID="OTG_FS_ID"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="10" />
<pin11
ID="OTG_FS_DM"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="10" />
<pin12
ID="OTG_FS_DP"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="10" />
<pin13
ID="SWDIO"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="0" />
<pin14
ID="SWCLK"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
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="Floating"
Mode="Alternate"
Alternate="0" ></pin3>
<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="SCL"
Type="OpenDrain"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="4" />
<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="SDA"
Type="OpenDrain"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="4" ></pin9>
<pin10
ID="CLK_IN"
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" />
</GPIOB>
<GPIOC>
<pin0
ID="OTG_FS_POWER_ON"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
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="PDM_OUT"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="PullUp"
Mode="Input"
Alternate="0" ></pin3>
<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="MCLK"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="6" />
<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="SCLK"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="6" />
<pin11
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="PullUp"
Mode="Input"
Alternate="0" />
<pin12
ID="SDIN"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Alternate"
Alternate="6" />
<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" />
</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="RESET"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
Alternate="0" />
<pin5
ID="OVER_CURRENT"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" ></pin5>
<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="LED4"
Type="PushPull"
Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
Alternate="0" />
<pin13
ID="LED3"
Type="PushPull"
Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
Alternate="0" />
<pin14
ID="LED5"
Type="PushPull"
Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
Alternate="0" ></pin14>
<pin15
ID="LED6"
Type="PushPull"
Level="Low"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
Alternate="0" />
</GPIOD>
<GPIOE>
<pin0
ID="INT1"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin1
ID="INT2"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin2
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin3
ID="CS_SPI"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Output"
Alternate="0" />
<pin4
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
</GPIOE>
<GPIOF>
<pin0
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin1
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin2
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin3
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin4
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
</GPIOF>
<GPIOG>
<pin0
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin1
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin2
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin3
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin4
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
</GPIOG>
<GPIOH>
<pin0
ID="OSC_IN"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin1
ID="OSC_OUT"
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin2
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" ></pin2>
<pin3
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin4
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
</GPIOH>
<GPIOI>
<pin0
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin1
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin2
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin3
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin4
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin5
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin6
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin7
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin8
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin9
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin10
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin11
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin12
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin13
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin14
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
<pin15
ID=""
Type="PushPull"
Level="High"
Speed="Maximum"
Resistor="Floating"
Mode="Input"
Alternate="0" />
</GPIOI>
</ports>
</board>