From 633098ebcd87d2a654deede6feff0d93fdabaebc Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 6 Dec 2012 10:53:16 +0000 Subject: STM32F3 SPI working, STM32F0 support update. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4879 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- tools/eclipse/config_wizard/META-INF/MANIFEST.MF | 2 +- .../processors/boards/stm32f0xx/templates/board.h.ftl | 10 ++++++++-- .../gencfg/schema/boards/stm32f0xx_board.xsd | 13 +++++++++++++ .../org.chibios.tools.eclipse.config_1.2.0.jar | Bin 1875314 -> 0 bytes .../org.chibios.tools.eclipse.config_1.2.1.jar | Bin 0 -> 1875433 bytes 5 files changed, 22 insertions(+), 3 deletions(-) delete mode 100644 tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.0.jar create mode 100644 tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar (limited to 'tools') 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 @@ + + + + + + + + + + + + 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.0.jar deleted file mode 100644 index dfe509154..000000000 Binary files a/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.0.jar and /dev/null differ diff --git a/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar b/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar new file mode 100644 index 000000000..e29e8a946 Binary files /dev/null and b/tools/eclipse/plugins/org.chibios.tools.eclipse.config_1.2.1.jar differ -- cgit v1.2.3