aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-04 10:20:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-04 10:20:21 +0000
commit247b5f5fc88eab8724d5c199c57aa9c005f4ffc6 (patch)
tree66803c7ae6caa42c5d2f16d0f7b9864decc632b9 /boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg
parenta581d62ddbb1afe3fe904614633a9bfe0efa9804 (diff)
downloadChibiOS-247b5f5fc88eab8724d5c199c57aa9c005f4ffc6.tar.gz
ChibiOS-247b5f5fc88eab8724d5c199c57aa9c005f4ffc6.tar.bz2
ChibiOS-247b5f5fc88eab8724d5c199c57aa9c005f4ffc6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4866 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg')
-rw-r--r--boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg210
1 files changed, 105 insertions, 105 deletions
diff --git a/boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg b/boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg
index 8dbfcc732..e08be32ac 100644
--- a/boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg
+++ b/boards/ST_STM32F3_DISCOVERY/cfg/board.chcfg
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- STM32F4xx board Template -->
+<!-- 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">
@@ -15,10 +15,10 @@
<ports>
<GPIOA>
<pin0
- ID=""
+ ID="BUTTON"
Type="PushPull"
Speed="Minimum"
- Resistor="PullUp"
+ Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
@@ -55,29 +55,29 @@
Mode="Input"
Alternate="0" />
<pin5
- ID=""
+ ID="SPI1_SCK"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
+ Speed="Maximum"
+ Resistor="Floating"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="5" ></pin5>
<pin6
- ID=""
+ ID="SPI1_MISO"
Type="PushPull"
- Speed="Minimum"
+ Speed="Maximum"
Resistor="PullUp"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="5" />
<pin7
- ID=""
+ ID="SPI1_MOSI"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
+ Speed="Maximum"
+ Resistor="Floating"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="5" />
<pin8
ID=""
Type="PushPull"
@@ -103,23 +103,23 @@
Mode="Input"
Alternate="0" />
<pin11
- ID=""
+ ID="USB_DM"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
+ Speed="Maximum"
+ Resistor="Floating"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="14" />
<pin12
- ID=""
+ ID="USB_DP"
Type="PushPull"
Speed="Minimum"
- Resistor="PullUp"
+ Resistor="Floating"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="14" ></pin12>
<pin13
- ID="JTAG_TMS"
+ ID="SWDIO"
Type="PushPull"
Speed="Maximum"
Resistor="PullUp"
@@ -127,7 +127,7 @@
Mode="Alternate"
Alternate="0" />
<pin14
- ID="JTAG_TCK"
+ ID="SWCLK"
Type="PushPull"
Speed="Maximum"
Resistor="PullDown"
@@ -135,12 +135,12 @@
Mode="Alternate"
Alternate="0" />
<pin15
- ID="JTAG_TDI"
+ ID=""
Type="PushPull"
- Speed="Maximum"
+ Speed="Minimum"
Resistor="PullUp"
Level="High"
- Mode="Alternate"
+ Mode="Input"
Alternate="0" />
</GPIOA>
<GPIOB>
@@ -161,15 +161,15 @@
Mode="Input"
Alternate="0" />
<pin2
- ID="BOOT1"
+ ID=""
Type="PushPull"
- Speed="Maximum"
- Resistor="Floating"
+ Speed="Minimum"
+ Resistor="PullUp"
Level="High"
Mode="Input"
Alternate="0" />
<pin3
- ID="JTAG_TDO"
+ ID="SWO"
Type="PushPull"
Speed="Maximum"
Resistor="Floating"
@@ -177,14 +177,6 @@
Mode="Alternate"
Alternate="0" />
<pin4
- ID="JTAG_TRST"
- Type="PushPull"
- Speed="Maximum"
- Resistor="PullUp"
- Level="High"
- Mode="Alternate"
- Alternate="0" />
- <pin5
ID=""
Type="PushPull"
Speed="Minimum"
@@ -192,22 +184,30 @@
Level="High"
Mode="Input"
Alternate="0" />
- <pin6
+ <pin5
ID=""
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
Level="High"
Mode="Input"
- Alternate="0" />
+ Alternate="0" ></pin5>
+ <pin6
+ ID="I2C1_SCL"
+ Type="OpenDrain"
+ Speed="Maximum"
+ Resistor="Floating"
+ Level="High"
+ Mode="Alternate"
+ Alternate="4" />
<pin7
- ID=""
- Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
+ ID="I2C1_SDA"
+ Type="OpenDrain"
+ Speed="Maximum"
+ Resistor="Floating"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Alternate"
+ Alternate="4" />
<pin8
ID=""
Type="PushPull"
@@ -535,7 +535,7 @@
</GPIOD>
<GPIOE>
<pin0
- ID=""
+ ID="L3GD20_INT1"
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
@@ -543,7 +543,7 @@
Mode="Input"
Alternate="0" />
<pin1
- ID=""
+ ID="L3GD20_INT2"
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
@@ -551,7 +551,7 @@
Mode="Input"
Alternate="0" />
<pin2
- ID=""
+ ID="LSM303_DRDY"
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
@@ -559,15 +559,15 @@
Mode="Input"
Alternate="0" />
<pin3
- ID=""
+ ID="SPI1_CS"
Type="PushPull"
Speed="Minimum"
- Resistor="PullUp"
+ Resistor="Floating"
Level="High"
- Mode="Input"
- Alternate="0" />
+ Mode="Output"
+ Alternate="0" ></pin3>
<pin4
- ID=""
+ ID="LSM303_INT1"
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
@@ -575,7 +575,7 @@
Mode="Input"
Alternate="0" />
<pin5
- ID=""
+ ID="LSM303_INT2"
Type="PushPull"
Speed="Minimum"
Resistor="PullUp"
@@ -599,87 +599,87 @@
Mode="Input"
Alternate="0" />
<pin8
- ID=""
+ ID="LED4_BLUE"
Type="PushPull"
- Speed="Minimum"
+ Speed="Maximum"
Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
<pin9
- ID=""
+ ID="LED3_RED"
Type="PushPull"
- Speed="Minimum"
+ Speed="Maximum"
Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
<pin10
- ID=""
+ ID="LED5_ORANGE"
Type="PushPull"
- Speed="Minimum"
+ Speed="Maximum"
Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
<pin11
- ID=""
+ ID="LED7_GREEN"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Speed="Maximum"
+ Resistor="Floating"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
<pin12
- ID=""
+ ID="LED9_BLUE"
Type="PushPull"
- Speed="Minimum"
+ Speed="Maximum"
Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
<pin13
- ID=""
+ ID="LED10_RED"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
- Level="High"
- Mode="Input"
- Alternate="0" />
+ Speed="Maximum"
+ Resistor="Floating"
+ Level="Low"
+ Mode="Output"
+ Alternate="0" ></pin13>
<pin14
- ID=""
+ ID="LED8_ORANGE"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Speed="Maximum"
+ Resistor="Floating"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
<pin15
- ID=""
+ ID="LED6_GREEN"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
- Level="High"
- Mode="Input"
+ Speed="Maximum"
+ Resistor="Floating"
+ Level="Low"
+ Mode="Output"
Alternate="0" />
</GPIOE>
<GPIOF>
<pin0
- ID=""
+ ID="OSC_IN"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
+ Speed="Maximum"
+ Resistor="Floating"
Level="High"
Mode="Input"
Alternate="0" />
<pin1
- ID=""
+ ID="OSC_OUT"
Type="PushPull"
- Speed="Minimum"
- Resistor="PullUp"
+ Speed="Maximum"
+ Resistor="Floating"
Level="High"
Mode="Input"
- Alternate="0" />
+ Alternate="0" ></pin1>
<pin2
ID=""
Type="PushPull"
@@ -695,7 +695,7 @@
Resistor="PullUp"
Level="High"
Mode="Input"
- Alternate="0" />
+ Alternate="0" ></pin3>
<pin4
ID=""
Type="PushPull"