summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
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-10-23log_trace: add a in-mem-log exampleGrissiom
After `log_trace_init()`, call `memlog_init`. It then turn the logtrace into a "in-memory" logger which will buffer all the log in memory. It also set a hook in idle to flush all the log into console. One may create an other thread to flush the logs but idle might be the simplest place to go.
2013-10-09components/utilities: add ymodemGrissiom
Real-YModem implemented a flexible YModem support. It use callback-based structure to let the user application to deal with the data. It contains 3 examples: 1. echo.c: write the data recieved on YModem to an other device 2. null.c: discard the YModem data 3. tofile.c: write the data to the file system Currently, it does not support batch file transmission.
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-02-24remove gui examplesGrissiom
As part of RTGUI, we should also remove gui examples. Copy demo/examples/* in RT-Thread/RTGUI to examples/gui in RTT When you need them.
2013-02-01sync with rtgui-0.6Grissiom
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-11-26sync RTGUI with github(https://github.com/RT-Thread/RTGUI) ↵[email protected]
9ae08379da5b698d6facc40bd0415de2e254ae9c As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2449 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
2012-09-10fixed bug: close sock when connect fail.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2287 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07fixed a compiling error and change tabs to spaces[email protected]
demo_view_benchmark.c:125:18: error: static declaration of '_benchmark_onshow' follows non-static declaration demo_view_benchmark.c:87:9: note: previous implicit declaration of '_benchmark_onshow' was here git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2277 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07sync RTGUI with github(https://github.com/RT-Thread/RTGUI)[email protected]
a8dac7ed473f381b7042cf9d14028488192624c5 As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2276 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-13update RTGUI/SConscript[email protected]
do not include demo_listview.c and demo_listview_icon.c git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2255 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-13sync gui examples with github 6cf0a8bc19c292ca810c917574895c8defa3922e[email protected]
As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2254 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-26fixed compiling errors while rtgui sync with github[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2235 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-20sync with RTGUI c074ff2898b9e[email protected]
Full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2222 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02fixed list directory issue on path.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2200 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-19update rtgui related project[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2177 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14Fixed buffer size issue.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2166 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29use rt_deice API.wuyangyong
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2135 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18fixed recv issue in tcp client example.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2126 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18fixed recv issue in tcp server example.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2125 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20remove rtgui-win[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2097 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20fix compiling warnings and errors ifndef RTGUI_USING_SMALL_SIZE[email protected]
Thank lgnq for pointing out it. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2096 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-18merge new RTGUI in to trunk[email protected]
The full log is at https://github.com/RTGUI/RTGUI/commits/merge_1 and it's difficult to merge the new tree commit by commit. I also converted all the file into unix eol so there are many fake diff. Big changes are noted in rtgui/doc/road_map.txt and rtgui/doc/attention.txt. Keep an eye on them if you want to migrate your old code. Note that the work is still in progress and the bsp is not prepared in trunk so far. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2092 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16fixed compiling error.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2082 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16fixed RT-Thread/GUI building warning.[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2080 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04add -mlong-calls to gcc compile parameter[email protected]
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1987 bbd45198-f89e-11dd-88c7-29a3b14d5316