New defaults for H7 clock dividers for higher performance.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13334 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
d4bb13cec9
commit
7f1ae50109
|
@ -121,11 +121,11 @@
|
|||
#define STM32_SW STM32_SW_PLL1_P_CK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_LSE_CK
|
||||
#define STM32_D1CPRE STM32_D1CPRE_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV4
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV2
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
|
||||
|
||||
/*
|
||||
* Peripherals clocks static settings.
|
||||
|
|
|
@ -121,11 +121,11 @@
|
|||
#define STM32_SW STM32_SW_PLL1_P_CK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_LSE_CK
|
||||
#define STM32_D1CPRE STM32_D1CPRE_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV4
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV2
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
|
||||
|
||||
/*
|
||||
* Peripherals clocks static settings.
|
||||
|
|
|
@ -121,11 +121,11 @@
|
|||
#define STM32_SW STM32_SW_PLL1_P_CK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_LSE_CK
|
||||
#define STM32_D1CPRE STM32_D1CPRE_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV4
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV2
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
|
||||
|
||||
/*
|
||||
* Peripherals clocks static settings.
|
||||
|
|
|
@ -121,11 +121,11 @@
|
|||
#define STM32_SW STM32_SW_PLL1_P_CK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_LSE_CK
|
||||
#define STM32_D1CPRE STM32_D1CPRE_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV4
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV2
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
|
||||
|
||||
/*
|
||||
* Peripherals clocks static settings.
|
||||
|
|
|
@ -121,11 +121,11 @@
|
|||
#define STM32_SW STM32_SW_PLL1_P_CK
|
||||
#define STM32_RTCSEL STM32_RTCSEL_LSE_CK
|
||||
#define STM32_D1CPRE STM32_D1CPRE_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV4
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV1
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV1
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV1
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV1
|
||||
#define STM32_D1HPRE STM32_D1HPRE_DIV2
|
||||
#define STM32_D1PPRE3 STM32_D1PPRE3_DIV2
|
||||
#define STM32_D2PPRE1 STM32_D2PPRE1_DIV2
|
||||
#define STM32_D2PPRE2 STM32_D2PPRE2_DIV2
|
||||
#define STM32_D3PPRE4 STM32_D3PPRE4_DIV2
|
||||
|
||||
/*
|
||||
* Peripherals clocks static settings.
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.FORMAT" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><contentList><content id="I2SCFGR-spi-null-_idle_thread-(format)" val="4"/><content id="UDRDR-spi-null-_idle_thread-(format)" val="4"/><content id="RXCRC-spi-null-_idle_thread-(format)" val="4"/><content id="TXCRC-spi-null-_idle_thread-(format)" val="4"/><content id="CRCPOLY-spi-null-_idle_thread-(format)" val="4"/><content id="RESERVED2-spi-null-_idle_thread-(format)" val="4"/><content id="RXDR-spi-null-_idle_thread-(format)" val="4"/><content id="RESERVED1-spi-null-_idle_thread-(format)" val="4"/><content id="TXDR-spi-null-_idle_thread-(format)" val="4"/><content id="RESERVED0-spi-null-_idle_thread-(format)" val="4"/><content id="IFCR-spi-null-_idle_thread-(format)" val="4"/><content id="SR-spi-null-_idle_thread-(format)" val="4"/><content id="IER-spi-null-_idle_thread-(format)" val="4"/><content id="CFG2-spi-null-_idle_thread-(format)" val="4"/><content id="CFG1-spi-null-_idle_thread-(format)" val="4"/><content id="CR2-spi-null-_idle_thread-(format)" val="4"/><content id="CR1-spi-null-_idle_thread-(format)" val="4"/><content id="I2SCFGR-spi-null-spi_thread_1-(format)" val="4"/><content id="UDRDR-spi-null-spi_thread_1-(format)" val="4"/><content id="RXCRC-spi-null-spi_thread_1-(format)" val="4"/><content id="TXCRC-spi-null-spi_thread_1-(format)" val="4"/><content id="CRCPOLY-spi-null-spi_thread_1-(format)" val="4"/><content id="RESERVED2-spi-null-spi_thread_1-(format)" val="4"/><content id="RXDR-spi-null-spi_thread_1-(format)" val="4"/><content id="RESERVED1-spi-null-spi_thread_1-(format)" val="4"/><content id="TXDR-spi-null-spi_thread_1-(format)" val="4"/><content id="RESERVED0-spi-null-spi_thread_1-(format)" val="4"/><content id="IFCR-spi-null-spi_thread_1-(format)" val="4"/><content id="SR-spi-null-spi_thread_1-(format)" val="4"/><content id="IER-spi-null-spi_thread_1-(format)" val="4"/><content id="CFG2-spi-null-spi_thread_1-(format)" val="4"/><content id="CFG1-spi-null-spi_thread_1-(format)" val="4"/><content id="CR2-spi-null-spi_thread_1-(format)" val="4"/><content id="CR1-spi-null-spi_thread_1-(format)" val="4"/><content id="xPSR-(format)" val="4"/></contentList>"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.FORMAT" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><contentList><content id="xPSR-(format)" val="4"/><content id="CR1-spi-null-spi_thread_1-(format)" val="4"/><content id="CR2-spi-null-spi_thread_1-(format)" val="4"/><content id="CFG1-spi-null-spi_thread_1-(format)" val="4"/><content id="CFG2-spi-null-spi_thread_1-(format)" val="4"/><content id="IER-spi-null-spi_thread_1-(format)" val="4"/><content id="SR-spi-null-spi_thread_1-(format)" val="4"/><content id="IFCR-spi-null-spi_thread_1-(format)" val="4"/><content id="RESERVED0-spi-null-spi_thread_1-(format)" val="4"/><content id="TXDR-spi-null-spi_thread_1-(format)" val="4"/><content id="RESERVED1-spi-null-spi_thread_1-(format)" val="4"/><content id="RXDR-spi-null-spi_thread_1-(format)" val="4"/><content id="RESERVED2-spi-null-spi_thread_1-(format)" val="4"/><content id="CRCPOLY-spi-null-spi_thread_1-(format)" val="4"/><content id="TXCRC-spi-null-spi_thread_1-(format)" val="4"/><content id="RXCRC-spi-null-spi_thread_1-(format)" val="4"/><content id="UDRDR-spi-null-spi_thread_1-(format)" val="4"/><content id="I2SCFGR-spi-null-spi_thread_1-(format)" val="4"/><content id="CR1-spi-null-_idle_thread-(format)" val="4"/><content id="CR2-spi-null-_idle_thread-(format)" val="4"/><content id="CFG1-spi-null-_idle_thread-(format)" val="4"/><content id="CFG2-spi-null-_idle_thread-(format)" val="4"/><content id="IER-spi-null-_idle_thread-(format)" val="4"/><content id="SR-spi-null-_idle_thread-(format)" val="4"/><content id="IFCR-spi-null-_idle_thread-(format)" val="4"/><content id="RESERVED0-spi-null-_idle_thread-(format)" val="4"/><content id="TXDR-spi-null-_idle_thread-(format)" val="4"/><content id="RESERVED1-spi-null-_idle_thread-(format)" val="4"/><content id="RXDR-spi-null-_idle_thread-(format)" val="4"/><content id="RESERVED2-spi-null-_idle_thread-(format)" val="4"/><content id="CRCPOLY-spi-null-_idle_thread-(format)" val="4"/><content id="TXCRC-spi-null-_idle_thread-(format)" val="4"/><content id="RXCRC-spi-null-_idle_thread-(format)" val="4"/><content id="UDRDR-spi-null-_idle_thread-(format)" val="4"/><content id="I2SCFGR-spi-null-_idle_thread-(format)" val="4"/></contentList>"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.GLOBAL_VARIABLES" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <globalVariableList/> "/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList> <memoryBlockExpressionItem> <expression text="0x40021004"/> </memoryBlockExpressionItem> </memoryBlockExpressionList> "/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="${selected_resource_loc}"/>
|
||||
|
|
|
@ -132,11 +132,11 @@
|
|||
#define STM32_SW ${doc.STM32_SW!"STM32_SW_PLL1_P_CK"}
|
||||
#define STM32_RTCSEL ${doc.STM32_RTCSEL!"STM32_RTCSEL_LSE_CK"}
|
||||
#define STM32_D1CPRE ${doc.STM32_D1CPRE!"STM32_D1CPRE_DIV1"}
|
||||
#define STM32_D1HPRE ${doc.STM32_D1HPRE!"STM32_D1HPRE_DIV4"}
|
||||
#define STM32_D1PPRE3 ${doc.STM32_D1PPRE3!"STM32_D1PPRE3_DIV1"}
|
||||
#define STM32_D2PPRE1 ${doc.STM32_D2PPRE1!"STM32_D2PPRE1_DIV1"}
|
||||
#define STM32_D2PPRE2 ${doc.STM32_D2PPRE2!"STM32_D2PPRE2_DIV1"}
|
||||
#define STM32_D3PPRE4 ${doc.STM32_D3PPRE4!"STM32_D3PPRE4_DIV1"}
|
||||
#define STM32_D1HPRE ${doc.STM32_D1HPRE!"STM32_D1HPRE_DIV2"}
|
||||
#define STM32_D1PPRE3 ${doc.STM32_D1PPRE3!"STM32_D1PPRE3_DIV2"}
|
||||
#define STM32_D2PPRE1 ${doc.STM32_D2PPRE1!"STM32_D2PPRE1_DIV2"}
|
||||
#define STM32_D2PPRE2 ${doc.STM32_D2PPRE2!"STM32_D2PPRE2_DIV2"}
|
||||
#define STM32_D3PPRE4 ${doc.STM32_D3PPRE4!"STM32_D3PPRE4_DIV2"}
|
||||
|
||||
/*
|
||||
* Peripherals clocks static settings.
|
||||
|
|
Loading…
Reference in New Issue