git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9181 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
da68278385
commit
c7de7490b1
|
@ -48,7 +48,7 @@
|
|||
* @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 10000
|
||||
#define CH_CFG_ST_FREQUENCY 1000
|
||||
|
||||
/**
|
||||
* @brief Time delta constant for the tick-less mode.
|
||||
|
@ -58,7 +58,7 @@
|
|||
* The value one is not valid, timeouts are rounded up to
|
||||
* this value.
|
||||
*/
|
||||
#define CH_CFG_ST_TIMEDELTA 2
|
||||
#define CH_CFG_ST_TIMEDELTA 0
|
||||
|
||||
/** @} */
|
||||
|
||||
|
@ -396,7 +396,7 @@
|
|||
* @note This debug option is not currently compatible with the
|
||||
* tickless mode.
|
||||
*/
|
||||
#define CH_DBG_THREADS_PROFILING FALSE
|
||||
#define CH_DBG_THREADS_PROFILING TRUE
|
||||
|
||||
/** @} */
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "ch.h"
|
||||
#include "hal.h"
|
||||
#include "test.h"
|
||||
#include "ch_test.h"
|
||||
|
||||
/*
|
||||
* This is a periodic thread that does absolutely nothing except flashing
|
||||
|
@ -72,7 +72,7 @@ int main(void) {
|
|||
*/
|
||||
while (true) {
|
||||
if (palReadLine(LINE_BUTTON_USER))
|
||||
TestThread(&SD1);
|
||||
test_execute((BaseSequentialStream *)&SD1);
|
||||
chThdSleepMilliseconds(500);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
# List of all the ChibiOS/RT test files.
|
||||
TESTSRC = ${CHIBIOS}/test/rt/test.c \
|
||||
${CHIBIOS}/test/rt/testthd.c \
|
||||
${CHIBIOS}/test/rt/testsem.c \
|
||||
${CHIBIOS}/test/rt/testmtx.c \
|
||||
${CHIBIOS}/test/rt/testmsg.c \
|
||||
${CHIBIOS}/test/rt/testmbox.c \
|
||||
${CHIBIOS}/test/rt/testevt.c \
|
||||
${CHIBIOS}/test/rt/testheap.c \
|
||||
${CHIBIOS}/test/rt/testpools.c \
|
||||
${CHIBIOS}/test/rt/testdyn.c \
|
||||
${CHIBIOS}/test/rt/testsys.c \
|
||||
${CHIBIOS}/test/rt/testbmk.c
|
||||
TESTSRC = ${CHIBIOS}/test/lib/ch_test.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_root.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_001.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_002.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_003.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_004.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_005.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_006.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_007.c \
|
||||
${CHIBIOS}/test/rt/source/test/test_sequence_008.c
|
||||
|
||||
# Required include directories
|
||||
TESTINC = ${CHIBIOS}/test/rt
|
||||
TESTINC = ${CHIBIOS}/test/lib \
|
||||
${CHIBIOS}/test/rt/source/test
|
||||
|
|
Loading…
Reference in New Issue