aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gencfg/schema
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-08 09:55:25 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-08 09:55:25 +0000
commitdf72da79cfa6a9edab2811a057f137b069f37c13 (patch)
treefb3553d6c4de7051a66feca63abf5507ccafd2cb /tools/gencfg/schema
parent3d44ca0b8b480970a094f265ffa020e211896789 (diff)
downloadChibiOS-df72da79cfa6a9edab2811a057f137b069f37c13.tar.gz
ChibiOS-df72da79cfa6a9edab2811a057f137b069f37c13.tar.bz2
ChibiOS-df72da79cfa6a9edab2811a057f137b069f37c13.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4432 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'tools/gencfg/schema')
-rw-r--r--tools/gencfg/schema/boards/stm32f4xx_board.xsd22
1 files changed, 17 insertions, 5 deletions
diff --git a/tools/gencfg/schema/boards/stm32f4xx_board.xsd b/tools/gencfg/schema/boards/stm32f4xx_board.xsd
index 8b7ba2bbb..0b3622e6f 100644
--- a/tools/gencfg/schema/boards/stm32f4xx_board.xsd
+++ b/tools/gencfg/schema/boards/stm32f4xx_board.xsd
@@ -17,7 +17,7 @@
minOccurs="1">
</xs:element>
</xs:sequence>
- <xs:attribute
+ <xs:attribute
name="HSEBypass"
type="xs:boolean"
use="required">
@@ -32,7 +32,6 @@
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
-
<xs:minInclusive value="0"></xs:minInclusive>
</xs:restriction>
</xs:simpleType>
@@ -50,12 +49,26 @@
<xs:minInclusive value="0"></xs:minInclusive>
</xs:restriction>
</xs:simpleType>
- </xs:attribute>
+ </xs:attribute>
+
+ <xs:attribute
+ name="VDD"
+ use="required">
+ <xs:annotation>
+ <xs:documentation>STM32F4xx VDD.</xs:documentation>
+ </xs:annotation>
+ <xs:simpleType>
+ <xs:restriction base="xs:int">
+ <xs:minInclusive value="180"></xs:minInclusive>
+ <xs:whiteSpace value="collapse"></xs:whiteSpace>
+ <xs:maxInclusive value="360"></xs:maxInclusive>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
-
<xs:complexType name="portsType">
<xs:sequence>
<xs:element name="GPIOA" type="STM32GPIOv2PortType"
@@ -79,6 +92,5 @@
</xs:sequence>
</xs:complexType>
-
<xs:element name="board" type="STM32F4xxBoardType"></xs:element>
</xs:schema>