git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10842 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
ba2ff06045
commit
18fee78c20
|
@ -42,14 +42,14 @@
|
|||
* @brief System time counter resolution.
|
||||
* @note Allowed values are 16 or 32 bits.
|
||||
*/
|
||||
#define CH_CFG_ST_RESOLUTION 16
|
||||
#define CH_CFG_ST_RESOLUTION 32
|
||||
|
||||
/**
|
||||
* @brief System tick frequency.
|
||||
* @details Frequency of the system timer that drives the system ticks. This
|
||||
* setting also defines the system tick time unit.
|
||||
*/
|
||||
#define CH_CFG_ST_FREQUENCY 100000
|
||||
#define CH_CFG_ST_FREQUENCY 10000
|
||||
|
||||
/**
|
||||
* @brief Time intervals data size.
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
<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="delta-next-vtlist-null-_idle_thread.lto_priv.25-(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="0x0"/> </memoryBlockExpressionItem> </memoryBlockExpressionList> "/>
|
||||
<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="0x0"/> </memoryBlockExpressionItem> </memoryBlockExpressionList> "/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="./build/ch.elf"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="RT-STM32F746G-DISCOVERY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
|
|
|
@ -670,7 +670,7 @@ void chThdSleepUntil(systime_t time) {
|
|||
sysinterval_t interval;
|
||||
|
||||
chSysLock();
|
||||
interval = chTimeDiffX(time, chVTGetSystemTimeX());
|
||||
interval = chTimeDiffX(chVTGetSystemTimeX(), time);
|
||||
if (interval > (sysinterval_t)0) {
|
||||
chThdSleepS(interval);
|
||||
}
|
||||
|
@ -697,7 +697,7 @@ systime_t chThdSleepUntilWindowed(systime_t prev, systime_t next) {
|
|||
chSysLock();
|
||||
time = chVTGetSystemTimeX();
|
||||
if (chTimeIsInRangeX(time, prev, next)) {
|
||||
chThdSleepS(chTimeDiffX(next, time));
|
||||
chThdSleepS(chTimeDiffX(time, next));
|
||||
}
|
||||
chSysUnlock();
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SPC5-Config version="1.0.0">
|
||||
<application name="ChibiOS/RT Test Suite" version="1.0.0" standalone="true" locked="false">
|
||||
<description>Test Specification for ChibiOS/RT.</description>
|
||||
<description>ChibiOS OS Library Test Suite.</description>
|
||||
<component id="org.chibios.spc5.components.portable.generic_startup">
|
||||
<component id="org.chibios.spc5.components.portable.chibios_unitary_tests_engine" />
|
||||
</component>
|
||||
|
|
|
@ -61,7 +61,7 @@ const testsequence_t * const oslib_test_suite_array[] = {
|
|||
* @brief Test suite root structure.
|
||||
*/
|
||||
const testsuite_t oslib_test_suite = {
|
||||
NULL,
|
||||
"ChibiOS OS Library Test Suite.",
|
||||
oslib_test_suite_array
|
||||
};
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<SPC5-Config version="1.0.0">
|
||||
<application name="ChibiOS/RT Test Suite" version="1.0.0" standalone="true" locked="false">
|
||||
<description>Test Specification for ChibiOS/RT.</description>
|
||||
<description>ChibiOS/RT Library Test Suite.</description>
|
||||
<component id="org.chibios.spc5.components.portable.generic_startup">
|
||||
<component id="org.chibios.spc5.components.portable.chibios_unitary_tests_engine" />
|
||||
</component>
|
||||
|
|
|
@ -79,7 +79,7 @@ const testsequence_t * const rt_test_suite_array[] = {
|
|||
* @brief Test suite root structure.
|
||||
*/
|
||||
const testsuite_t rt_test_suite = {
|
||||
NULL,
|
||||
"ChibiOS/RT Library Test Suite.",
|
||||
rt_test_suite_array
|
||||
};
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ const testsequence_t * const ${prefix_lower}test_suite_array[] = {
|
|||
* @brief Test suite root structure.
|
||||
*/
|
||||
const testsuite_t ${prefix_lower}test_suite = {
|
||||
NULL,
|
||||
"${utils.WithDot(conf.*.application.description[0]?trim)}",
|
||||
${prefix_lower}test_suite_array
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue