Updated all NIL chconf.h files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11135 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
052945de4d
commit
8361acead5
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 15624
|
#define CH_CFG_ST_FREQUENCY 15624
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 15624
|
#define CH_CFG_ST_FREQUENCY 15624
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 15624
|
#define CH_CFG_ST_FREQUENCY 15624
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 15624
|
#define CH_CFG_ST_FREQUENCY 15624
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 15624
|
#define CH_CFG_ST_FREQUENCY 15624
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 14545
|
#define CH_CFG_ST_FREQUENCY 14545
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 2000
|
#define CH_CFG_ST_FREQUENCY 2000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 2000
|
#define CH_CFG_ST_FREQUENCY 2000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# Compiler options here.
|
# Compiler options here.
|
||||||
ifeq ($(USE_OPT),)
|
ifeq ($(USE_OPT),)
|
||||||
USE_OPT = -O2 -ggdb -fomit-frame-pointer -falign-functions=16
|
USE_OPT = -O0 -ggdb -fomit-frame-pointer -falign-functions=16
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# C specific options here (added to USE_OPT).
|
# C specific options here (added to USE_OPT).
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
* @brief System time counter resolution.
|
* @brief System time counter resolution.
|
||||||
* @note Allowed values are 16 or 32 bits.
|
* @note Allowed values are 16 or 32 bits.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_RESOLUTION 32
|
#define CH_CFG_ST_RESOLUTION 16
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System tick frequency.
|
* @brief System tick frequency.
|
||||||
|
@ -66,19 +66,7 @@
|
||||||
* option defines the maximum amount of time allowed for
|
* option defines the maximum amount of time allowed for
|
||||||
* timeouts.
|
* timeouts.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 5000
|
#define CH_CFG_ST_FREQUENCY 10000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
<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.COREFILE_PATH" value=""/>
|
||||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_REGISTER_GROUPS" 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="r1-(format)" val="4"/><content id="r0-(format)" val="4"/></contentList>"/>
|
<stringAttribute key="org.eclipse.cdt.launch.FORMAT" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><contentList><content id="r0-(format)" val="4"/><content id="r1-(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.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/> "/>
|
<stringAttribute key="org.eclipse.cdt.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <memoryBlockExpressionList/> "/>
|
||||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="./build/ch.elf"/>
|
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="./build/ch.elf"/>
|
||||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="NIL-STM32F746G-DISCOVERY"/>
|
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="NIL-STM32F746G-DISCOVERY"/>
|
||||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
|
@ -486,7 +486,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CH_CFG_ST_FREQUENCY <= 0
|
#if CH_CFG_ST_FREQUENCY <= 0
|
||||||
#error "invalid CH_CFG_ST_FREQUENCY specified, must be greated than zero"
|
#error "invalid CH_CFG_ST_FREQUENCY specified, must be greater than zero"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (CH_CFG_ST_TIMEDELTA < 0) || (CH_CFG_ST_TIMEDELTA == 1)
|
#if (CH_CFG_ST_TIMEDELTA < 0) || (CH_CFG_ST_TIMEDELTA == 1)
|
||||||
|
|
|
@ -68,18 +68,6 @@
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_ST_FREQUENCY 1000
|
#define CH_CFG_ST_FREQUENCY 1000
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time intervals data size.
|
|
||||||
* @note Allowed values are 16, 32 or 64 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_INTERVALS_SIZE 32
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Time types data size.
|
|
||||||
* @note Allowed values are 16 or 32 bits.
|
|
||||||
*/
|
|
||||||
#define CH_CFG_TIME_TYPES_SIZE 32
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Time delta constant for the tick-less mode.
|
* @brief Time delta constant for the tick-less mode.
|
||||||
* @note If this value is zero then the system uses the classic
|
* @note If this value is zero then the system uses the classic
|
||||||
|
|
Loading…
Reference in New Issue