summaryrefslogtreecommitdiff
path: root/examples/kernel
AgeCommit message (Collapse)Author
2014-04-12examples/kernel: fix warnings issued by ClangGrissiom
Fix some "unused variable" and "used before set" warnings.
2013-12-24TC: if TC is enabled, add the TC dir to CPPPATHGrissiom
Some component that depend on TC would like to include the tc_comm.h.
2013-12-23TC: delay longer in tc_stopGrissiom
2013-12-23TC: re-implement the loop featureGrissiom
We should not use the _tc_stat to determine whether we should loop the TCs. Use an other variable and introduce tc_loop FinSh command.
2013-12-21TC: more tolerate for tick in TC threadGrissiom
2013-12-21TC: expand TABsGrissiom
2013-12-21TC: more tolerate on the timeout tick in semaphore_dynamicGrissiom
With system that has RT_TICK_PER_SECOND is 1000, it's easy to get one tick error.
2013-12-21TC: format code, expand TABsGrissiom
No functional changes.
2013-12-21TC: print a summary after all the testsGrissiom
2013-12-20TC: fix the thread_deleteGrissiom
The tc thread should delay more time than tid2 in order to let it run the test. The hard-coded "27" is not enough in some cases.
2013-12-20TC: clear the TC_STAT_RUNNING flag when tc forgot to do soGrissiom
TCs are supposed to exit with the TC_STAT_RUNNING cleared. If it forgot to do this, do it by ourselves.
2013-12-18TC: fix the heap testsGrissiom
2013-12-18TC: code cleanupGrissiom
2013-12-18TC: always print the test result despite the wait timeGrissiom
2013-12-18TC: heap_realloc: check for realloc(ptr, 0)Grissiom
2013-12-18TC: semaphore_dynamic: code cleanupGrissiom
2013-12-18TC: release the sem in cleanupGrissiom
The sem that has been created should be deleted. The sem that has been inited should be detached.
2013-12-18TC: do not use rt_sem_trytake to clean the semGrissiom
There can be a race condition that the sem has alread been detached after we did the cleanup. Besides, there is a RT_IPC_CMD_RESET command in rt_sem_control which is more clear in setting the sem values.
2013-04-10fixed a syntax erroryiyue.fang
error: expected expression before 'void' error: too many arguments to function
2013-04-02fix spelling error by ziyi897, this commit fixes #74.aozima
2013-01-08Re-normalizing the repoMing, Bai
2013-01-08convert end of lineBernard Xiong
2012-12-29fix memory access error in list_tc() under bsp/simulator[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-30add tc_done()[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-30add rt_sem_treytalk()[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2380 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-26for rt-thread 1.1.0[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2372 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-25Fixed thread_delay test issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2371 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-19update testcase for kernel.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1849 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-26update kernel examplesdzzxzz
fixed an error in timer_control.c git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1730 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23fixed compiling error in lpc122x branchdzzxzz
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15minor fix of cpuusage.c in example[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1632 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12add reentrance check for lwip arch/ethernetif; convert an example to utf-8 ↵[email protected]
format. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12Add reentrance check. Put kernel debug switch together.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08add a test case for blocking mailbox send[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-20add CPU usage example code.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1282 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-12add RT_USING_TC in SConscript.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1191 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30fix kernel testcase fail issue, need to be reviewedqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1159 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22remove examples depend.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1087 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20cleanup scons building script[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-30fix size issue in memp_simple.cqiuyiuestc
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@886 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29add timer timeout example.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@783 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-02fix compiling error.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@685 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-14fix Chinese comments.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@618 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-12fix wrong comments in dynamic simple example.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@613 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-01fixed parameters fro mempool_simple_initgary.li.wenchao.4
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@570 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-31only include finsh.h when RT_USING_FINSH is defined.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@563 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-30fix compiling issue.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@558 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-29add more comments.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@553 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-25fix compiling error.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@544 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-25add timer_control example.bernard.xiong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@543 bbd45198-f89e-11dd-88c7-29a3b14d5316