diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-06 10:53:16 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-06 10:53:16 +0000 |
commit | 633098ebcd87d2a654deede6feff0d93fdabaebc (patch) | |
tree | b1f97259ff9915cae042e4c419aca1897d0892c6 /tools/eclipse | |
parent | cc3cf07897dbd9f4fc27c6117c88fb7cbf85b1a6 (diff) | |
download | ChibiOS-633098ebcd87d2a654deede6feff0d93fdabaebc.tar.gz ChibiOS-633098ebcd87d2a654deede6feff0d93fdabaebc.tar.bz2 ChibiOS-633098ebcd87d2a654deede6feff0d93fdabaebc.zip |
STM32F3 SPI working, STM32F0 support update.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4879 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'tools/eclipse')
-rw-r--r-- | tools/eclipse/config_wizard/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.h.ftl | 10 | ||||
-rw-r--r-- | tools/eclipse/config_wizard/resources/gencfg/schema/boards/stm32f0xx_board.xsd | 13 | ||||
-rw-r--r-- | tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar (renamed from tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.0.jar) | bin | 1875314 -> 1875433 bytes |
4 files changed, 22 insertions, 3 deletions
diff --git a/tools/eclipse/config_wizard/META-INF/MANIFEST.MF b/tools/eclipse/config_wizard/META-INF/MANIFEST.MF index 30e998e6f..37f4f5b08 100644 --- a/tools/eclipse/config_wizard/META-INF/MANIFEST.MF +++ b/tools/eclipse/config_wizard/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: ChibiOS-RT_Configuration_Support Bundle-SymbolicName: org.chibios.tools.eclipse.config;singleton:=true -Bundle-Version: 1.2.0 +Bundle-Version: 1.2.1 Bundle-Activator: config_wizard.Activator Require-Bundle: org.eclipse.core.resources;bundle-version="3.7.101", org.eclipse.core.runtime;bundle-version="3.7.0", diff --git a/tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.h.ftl b/tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.h.ftl index 30fda47df..6eb360b6c 100644 --- a/tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.h.ftl +++ b/tools/eclipse/config_wizard/resources/gencfg/processors/boards/stm32f0xx/templates/board.h.ftl @@ -47,8 +47,8 @@ [#if doc1.board.ethernet_phy.bus_type[0]?string == "RMII"]
#define BOARD_PHY_RMII
[/#if]
-[/#if]
+[/#if]
/*
* Board oscillators-related settings.
[#if doc1.board.clocks.@LSEFrequency[0]?number == 0]
@@ -62,14 +62,20 @@ #define STM32_LSECLK ${doc1.board.clocks.@LSEFrequency[0]}
#endif
+[#if doc1.board.clocks.@LSEBypass[0]?string == "true"]
+#define STM32_LSE_BYPASS
+
+[/#if]
+#define STM32_LSEDRV (${doc1.board.clocks.@LSEDrive[0]?word_list[0]?number} << 3)
+
#if !defined(STM32_HSECLK)
#define STM32_HSECLK ${doc1.board.clocks.@HSEFrequency[0]}
#endif
[#if doc1.board.clocks.@HSEBypass[0]?string == "true"]
#define STM32_HSE_BYPASS
-[/#if]
+[/#if]
/*
* MCU type as defined in the ST header file stm32f0xx.h.
*/
diff --git a/tools/eclipse/config_wizard/resources/gencfg/schema/boards/stm32f0xx_board.xsd b/tools/eclipse/config_wizard/resources/gencfg/schema/boards/stm32f0xx_board.xsd index 59b6e3d68..fb41cf6ea 100644 --- a/tools/eclipse/config_wizard/resources/gencfg/schema/boards/stm32f0xx_board.xsd +++ b/tools/eclipse/config_wizard/resources/gencfg/schema/boards/stm32f0xx_board.xsd @@ -41,6 +41,19 @@ </xs:restriction>
</xs:simpleType>
</xs:attribute>
+ <xs:attribute name="LSEDrive" use="required">
+ <xs:simpleType>
+ <xs:restriction base="xs:string">
+ <xs:whiteSpace
+ value="collapse">
+ </xs:whiteSpace>
+ <xs:enumeration value="3 High Drive (default)"></xs:enumeration>
+ <xs:enumeration value="2 Medium-High Drive"></xs:enumeration>
+ <xs:enumeration value="1 Medium-Low Drive"></xs:enumeration>
+ <xs:enumeration value="0 Low Drive (lowest consumption)"></xs:enumeration>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:attribute>
<xs:attribute name="LSEFrequency"
use="required">
<xs:simpleType>
diff --git a/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.0.jar b/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar Binary files differindex dfe509154..e29e8a946 100644 --- a/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.0.jar +++ b/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar |