Commit Graph

381 Commits

Author SHA1 Message Date
liu2guang 1a7e251423 [Examples] add RTC drive test finsh command. | 添加RTC驱动测试finsh命令. 2018-01-17 23:42:10 +08:00
Bernard Xiong 8123ab4cd7 [Examples] Remove unnecessary files 2018-01-15 18:59:57 +08:00
JasonJiaJie de0a201e44 [Termios]1. Add termios test. 2.Add termios.h
1. Add termios test. 2.Add termios.h
2017-12-07 18:32:06 +08:00
tanek liang 33b97d9c5e [examples] fix bsp_directory parameter missing 2017-11-15 15:22:57 +08:00
tanek liang a752418065 [gui] fix rtgui_dc_end_drawing() too few arguments in function call 2017-11-12 22:21:59 +08:00
SummerGift 110ccb0602 add examples/network/chargen.c 2017-10-27 16:10:42 +08:00
SummerGift 8e0d9b4de5 update examples/network/tcpserver.c to rtt 3.0 test. 2017-10-27 16:10:42 +08:00
SummerGift 89cc00a91c update examples/network/udpclient.c examples/network/udpserver.c 2017-10-27 16:10:41 +08:00
SummerGift 1b37cd7dd0 update examples/network/tcpclient.c 2017-10-27 16:10:41 +08:00
liu2guang d47dd9a12c 修复无法重复使用finsh命令device_test进行驱动测试
1. 该问题是打开设备后, 出错或者成功后没有关闭设备而导致.
2017-10-02 23:30:46 +08:00
Bernard Xiong 5f4bcfa3e1 [examples] code cleanup. 2017-08-10 14:09:57 +08:00
SummerGift 0d33799d0d add some python example for tcp server and client. 2017-08-10 11:04:17 +08:00
SummerGift 07cc5047bb Complete some error handling when send or receive function returns a value is zero. 2017-08-10 10:47:51 +08:00
SummerGift f9ec093f51 correct some explain 2017-08-07 11:36:44 +08:00
heyuanjie87 d19f424909 简化操作接口 2015-09-06 15:05:47 +08:00
heyuanjie87 47b3a4d3cc 加入定时器使用范例 2015-09-02 22:03:16 +08:00
heyuanjie87 0def1a7691 添加mqtt客户端例程(注:由于条件限制仅在linux中测试通过) 2015-07-22 21:55:18 +08:00
Bright Pan a61d228b76 Nanopb is a plain-C implementation of Google's Protocol Buffers data
format. It is targeted at 32 bit microcontrollers, but is also fit for
other embedded systems with tight (2-10 kB ROM, <1 kB RAM) memory
constraints.(http://koti.kapsi.fi/jpa/nanopb/)

How to use the example:
	1. move examples/nanopb to bsp/xxxx/
	2. enable macro RT_USING_NANOPB in rtconfig.h
	3. regenerate the project file (scons --target=xxxx)
	4. rebuild the project
2015-03-10 18:24:17 +08:00
Grissiom fe603dd379 ymodem: fix examples due to new API 2014-11-03 11:46:57 +08:00
hduffddybz 7aff40f3f9 fix 2014-08-24 21:23:52 -08:00
hduffddybz 6ccfe9f374 fix 2014-08-24 21:16:02 -08:00
hduffddybz c1d0db700c add version checking 2014-08-24 21:12:47 -08:00
hduffddybz a8804d3503 correct netconn API usage 2014-08-18 00:41:03 -08:00
hduffddybz b833a5ca80 correct spelling error 2014-08-06 00:19:13 -08:00
Grissiom 1b878f256f examples/kernel: fix warnings issued by Clang
Fix some "unused variable" and "used before set" warnings.
2014-04-12 16:33:35 +08:00
Grissiom e336a9807a TC: if TC is enabled, add the TC dir to CPPPATH
Some component that depend on TC would like to include the tc_comm.h.
2013-12-24 12:08:22 +08:00
Grissiom 21fe463168 TC: delay longer in tc_stop 2013-12-23 10:47:15 +08:00
Grissiom fddbd836b4 TC: re-implement the loop feature
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-23 10:42:39 +08:00
Grissiom f6bf69f233 TC: more tolerate for tick in TC thread 2013-12-21 13:18:46 +08:00
Grissiom f7b1421880 TC: expand TABs 2013-12-21 12:57:35 +08:00
Grissiom ac0e10bb83 TC: more tolerate on the timeout tick in semaphore_dynamic
With system that has RT_TICK_PER_SECOND is 1000, it's easy to get one
tick error.
2013-12-21 12:45:16 +08:00
Grissiom 5019b3ee14 TC: format code, expand TABs
No functional changes.
2013-12-21 11:59:22 +08:00
Grissiom 6b02886eb3 TC: print a summary after all the tests 2013-12-21 11:59:21 +08:00
Grissiom 9a679cc7d8 TC: fix the thread_delete
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-20 10:52:51 +08:00
Grissiom bf640015e6 TC: clear the TC_STAT_RUNNING flag when tc forgot to do so
TCs are supposed to exit with the TC_STAT_RUNNING cleared. If it forgot
to do this, do it by ourselves.
2013-12-20 10:23:31 +08:00
Grissiom a51b5799f7 TC: fix the heap tests 2013-12-18 23:04:18 +08:00
Grissiom 752fe135cd TC: code cleanup 2013-12-18 22:21:31 +08:00
Grissiom b66c5ee074 TC: always print the test result despite the wait time 2013-12-18 22:20:10 +08:00
Grissiom a7c4d07fb7 TC: heap_realloc: check for realloc(ptr, 0) 2013-12-18 22:03:55 +08:00
Grissiom c6c6b5ef74 TC: semaphore_dynamic: code cleanup 2013-12-18 21:47:00 +08:00
Grissiom 4434c87a71 TC: release the sem in cleanup
The sem that has been created should be deleted. The sem that has been
inited should be detached.
2013-12-18 21:46:08 +08:00
Grissiom e9e8e3f3ca TC: do not use rt_sem_trytake to clean the sem
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-12-18 20:52:55 +08:00
Grissiom a391e0a893 log_trace: add a in-mem-log example
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-23 01:48:47 +08:00
Grissiom 5674198759 components/utilities: add ymodem
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-10-09 23:26:42 +08:00
yiyue.fang 5510dec187 fixed a syntax error
error: expected expression before 'void'
error: too many arguments to function
2013-04-10 00:17:52 +08:00
aozima 71297d15e2 fix spelling error by ziyi897, this commit fixes #74. 2013-04-02 16:13:11 +08:00
Grissiom b0c84dc305 remove gui examples
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-24 18:19:31 +08:00
Grissiom f06c70feed sync with rtgui-0.6 2013-02-01 10:27:10 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
Bernard Xiong 72782e9203 convert end of line 2013-01-08 05:05:02 -08:00
rogerz.zhang@gmail.com d573786d52 fix memory access error in list_tc() under bsp/simulator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2550 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-12-29 08:11:38 +00:00
dzzxzz@gmail.com 62447b2cd8 sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 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-11-26 02:42:52 +00:00
nongli1031@gmail.com 6773015c4a add tc_done()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-30 01:13:54 +00:00
nongli1031@gmail.com aa0d3695e1 add rt_sem_treytalk()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2380 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-30 00:55:48 +00:00
nongli1031@gmail.com 6fe2afed8c for rt-thread 1.1.0
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2372 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-26 03:36:13 +00:00
bernard.xiong@gmail.com 2cdbbf8b05 Fixed thread_delay test issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2371 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-25 08:54:26 +00:00
wuyangyong 8d4d8a8338 fixed bug: close sock when connect fail.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2287 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-10 14:01:30 +00:00
dzzxzz@gmail.com fcfdd06bab fixed a compiling error and change tabs to spaces
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-07 02:21:57 +00:00
dzzxzz@gmail.com 9707b6ce0b sync RTGUI with github(https://github.com/RT-Thread/RTGUI)
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-09-07 01:50:13 +00:00
dzzxzz@gmail.com 526de394b0 update RTGUI/SConscript
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-13 08:39:03 +00:00
dzzxzz@gmail.com 9a99573152 sync gui examples with github 6cf0a8bc19c292ca810c917574895c8defa3922e
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2254 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-13 08:32:01 +00:00
dzzxzz@gmail.com cb9cfb3100 fixed compiling errors while rtgui sync with github
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2235 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-26 08:06:15 +00:00
chaos.proton@gmail.com 92a50c838d sync with RTGUI c074ff2898b9e
Full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2222 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-20 12:37:56 +00:00
bernard.xiong@gmail.com 760f837871 fixed list directory issue on path.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2200 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02 23:28:06 +00:00
dzzxzz@gmail.com 70e39ffa54 update rtgui related project
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2177 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-19 00:48:11 +00:00
bernard.xiong@gmail.com 5cf2b9c3a2 Fixed buffer size issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2166 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 15:47:27 +00:00
wuyangyong 2c82d4945b use rt_deice API.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2135 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 03:21:04 +00:00
bernard.xiong@gmail.com c891da75df fixed recv issue in tcp client example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2126 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 08:44:22 +00:00
bernard.xiong@gmail.com 844bca0bd6 fixed recv issue in tcp server example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2125 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 08:42:58 +00:00
chaos.proton@gmail.com 5e1494dd32 remove rtgui-win
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2097 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 07:16:54 +00:00
chaos.proton@gmail.com df8bebdc55 fix compiling warnings and errors ifndef RTGUI_USING_SMALL_SIZE
Thank lgnq for pointing out it.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2096 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-20 06:47:38 +00:00
chaos.proton@gmail.com db06460208 merge new RTGUI in to trunk
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-18 15:06:12 +00:00
bernard.xiong@gmail.com bfad5e609f fixed compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2082 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 09:03:01 +00:00
bernard.xiong@gmail.com ffbbf82474 fixed RT-Thread/GUI building warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2080 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-04-16 04:59:28 +00:00
qiuyiuestc@gmail.com b613ecdb3e add -mlong-calls to gcc compile parameter
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1987 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-03-04 02:24:40 +00:00
wuyangyong 3fca6b062a add multiple sector speed test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1944 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-11 09:40:22 +00:00
dzzxzz@gmail.com d21b20835f avoid arithmetic overflow in the examples/file/readspeed.c and writespeed.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1916 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-01-11 11:19:41 +00:00
bernard.xiong@gmail.com d28cdf68d9 update testcase for kernel.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1849 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-19 07:08:06 +00:00
wuyangyong db82f30dc2 add mem_test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1837 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-13 07:08:34 +00:00
chaos.proton@gmail.com 09f2dc4137 example/gui: add notebook demo
There is notebook demo but somehow the workbench didn't show it...

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1813 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-28 07:17:17 +00:00
chaos.proton@gmail.com 4f62f6e568 fix typo in examples/gui/demo_workbench.c
use RT_USING_FINSH micro to decide whether to compile FINSH functions or not.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1780 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-11-01 01:52:04 +00:00
wuyangyong 7af3914228 add calculate_speed_print for device_test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1747 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-09 16:14:45 +00:00
qiuyiuestc@gmail.com cbfe1d64de fix module compile error when RTT_ROOT variable not to be set
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1738 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-05 00:52:30 +00:00
qiuyiuestc@gmail.com 96049b7e5c add module support for cortex-m3 feature
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1731 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-28 02:10:43 +00:00
dzzxzz 9bb329daee update kernel examples
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-26 02:50:43 +00:00
dzzxzz 2ab9a1602e fixed compiling error in lpc122x branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1721 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-09-23 05:23:46 +00:00
qiuyiuestc@gmail.com 01292bb587 delete application.c in tetris module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1656 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-29 15:54:34 +00:00
qiuyiuestc@gmail.com 11953570f7 update tetris
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1651 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-28 12:49:06 +00:00
mbbill@gmail.com c9a5379a0c minor fix of cpuusage.c in example
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1632 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-15 14:45:08 +00:00
wuyangyong 4bac05ffad remove key and lcd init from rtgui_startup()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1599 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-04 05:35:22 +00:00
bernard.xiong@gmail.com 6b6cecac2f fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1591 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-03 23:16:59 +00:00
bernard.xiong 9194b17b4a add Dhrystone benchmark code (only for testing).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1566 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 07:49:49 +00:00
bernard.xiong@gmail.com 6904f495e1 add network test code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1518 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-16 12:09:10 +00:00
mbbill@gmail.com 8e8fa0035d add reentrance check for lwip arch/ethernetif; convert an example to utf-8 format.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1495 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 12:02:14 +00:00
mbbill@gmail.com 864bd11802 Add reentrance check. Put kernel debug switch together.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1494 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-12 10:01:48 +00:00
mbbill@gmail.com 70c031362a add a test case for blocking mailbox send
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1472 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-08 16:40:46 +00:00
bernard.xiong@gmail.com ae4fa4fcbe add seekdir_test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1449 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-04 13:28:25 +00:00
qiuyiuestc@gmail.com 6990871cb5 reconstruct module examples
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1430 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 13:42:26 +00:00
qiuyiuestc@gmail.com 5a1c347acc reconstruct module examples
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1429 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 13:38:44 +00:00
qiuyiuestc@gmail.com 8d25a8ae63 reconstruct module examples
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1428 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 13:37:58 +00:00
qiuyiuestc@gmail.com efb7aefdec reconstruct module examples
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1427 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 13:36:26 +00:00
qiuyiuestc@gmail.com ea5421567c update module construction
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1422 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-23 01:04:03 +00:00
qiuyiuestc@gmail.com 9faa3d9989 eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1407 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-16 01:18:43 +00:00
bernard.xiong bfd56fffea use new object type implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1403 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-13 10:58:37 +00:00
iamyhw@gmail.com 8e5f428777 add example: RTTAB
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1398 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-05-07 10:17:01 +00:00
iamyhw@gmail.com 790fff9db9 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1378 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-04-16 10:20:24 +00:00
iamyhw@gmail.com 967f6f6eef translation examples to rtgui_win
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1350 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-26 16:05:51 +00:00
iamyhw@gmail.com c715ed6d90 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1347 bbd45198-f89e-11dd-88c7-29a3b14d5316 2011-03-24 15:47:58 +00:00
iamyhw@gmail.com 0e93e6809c add rtgui_win subfield,Highlight the ease of use
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1345 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-24 14:00:19 +00:00
wuyangyong a8ba93e97c update fs_test.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1335 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-18 03:01:02 +00:00
wuyangyong 8bb6586942 add test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1334 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-17 14:01:01 +00:00
bernard.xiong@gmail.com ceda7d874e add CPU usage example code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1282 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-02-20 15:15:04 +00:00
bernard.xiong 5af8cc55c1 add more demo features in listbox and listctrl.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1263 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-25 09:44:46 +00:00
wuyangyong 50bd74d3cb fix compiler error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1238 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-12 06:21:10 +00:00
wuyangyong 74bb729462 fix speed calculate bug
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1231 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-02 16:39:23 +00:00
qiuyiuestc 6389520f5e update ftk calculator demo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1230 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-01 14:37:00 +00:00
qiuyiuestc e97fa0027d delete ftk_label demo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1229 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-01 14:35:10 +00:00
qiuyiuestc b050da1c2a update ftk demo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1228 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-01-01 14:31:29 +00:00
bernard.xiong@gmail.com ae9cf0ea5c update notebook example; fix listview_icon image size issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1227 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-28 00:07:31 +00:00
bernard.xiong@gmail.com ecb7e7d987 add notebook example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1222 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-22 23:56:44 +00:00
bernard.xiong@gmail.com 990d052de1 update menu demo.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1221 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-22 00:13:32 +00:00
bernard.xiong@gmail.com 84d701bce3 update GUI example building script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1212 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-18 02:03:25 +00:00
bernard.xiong@gmail.com 05bb889d8c add menu demo.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-18 01:55:25 +00:00
bernard.xiong 7eee3d5e82 update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1206 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-15 11:04:37 +00:00
bernard.xiong 89ac28b9bb add building script for ftk module demo.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1205 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-15 11:03:26 +00:00
qiuyiuestc 3569b27c32 add ftk demo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1204 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-15 00:22:55 +00:00
qiuyiuestc 9ee5762068 add ftk calculator
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1198 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-13 00:57:09 +00:00
bernard.xiong@gmail.com af95ba6304 add combobox and listctrl example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-12 23:40:40 +00:00
bernard.xiong@gmail.com fdfe4f4781 add RT_USING_TC in SConscript.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1191 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-12 23:37:14 +00:00
bernard.xiong@gmail.com efdd4043bd add ftk label demo.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1190 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-10 14:18:29 +00:00
bernard.xiong@gmail.com ffbda31410 add combobox example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1181 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-12-07 00:05:14 +00:00
qiuyiuestc 010afcef48 fix kernel testcase fail issue, need to be reviewed
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1159 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 11:36:34 +00:00
bernard.xiong e5eac973a8 malloc(0) is implementation defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1155 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 06:58:06 +00:00
bernard.xiong 5cacd95a25 increase more stack size in demo workbench.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1150 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-30 05:33:38 +00:00
bernard.xiong a7bf529851 remove mdk import.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1137 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 11:31:37 +00:00
bernard.xiong c6a2715902 fix compile error in Preprocessor setting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1136 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-29 09:19:46 +00:00
qiuyiuestc 9555bf2975 clean up module config file and SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1113 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-25 00:35:06 +00:00
bernard.xiong@gmail.com 7191e2220f add pthread magic assert.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1112 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 23:59:27 +00:00
qiuyiuestc f5d2b36adb update conscript of module examples
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1111 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 23:45:51 +00:00
qiuyiuestc 64b4a18874 remove to example directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1110 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 17:04:54 +00:00
bernard.xiong@gmail.com c2caac7e73 add posix semaphore test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1104 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-24 00:04:33 +00:00
bernard.xiong 7c0004b7c4 add libc_mq test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1092 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 09:52:37 +00:00
bernard.xiong f01f25b451 remove examples depend.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1087 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-22 01:50:05 +00:00
bernard.xiong@gmail.com 10732a76e9 cleanup scons building script
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1065 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-20 12:31:00 +00:00
bernard.xiong@gmail.com d9cb84f484 add libc testcase.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1061 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-18 11:31:54 +00:00
qiuyiuestc d240423d74 construct module symbol table
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1053 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-17 16:17:07 +00:00
bernard.xiong@gmail.com ac407d25ae update GUI examples.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1047 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-15 00:26:11 +00:00
bernard.xiong@gmail.com 523980b430 fix not deleting timer when auto window has been closed.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1041 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-11-06 04:21:19 +00:00
qiuyiuestc 87c7e890b2 update module demo
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1021 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-19 09:22:56 +00:00
bernard.xiong@gmail.com 67eff19969 add init loongson soc3210 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1012 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-10-15 23:40:44 +00:00
bernard.xiong@gmail.com 7498af2fd0 add RT_USING_MODULE macro condition.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@970 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 23:30:22 +00:00
bernard.xiong@gmail.com c8a48b5d23 fix compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@968 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 15:51:17 +00:00
bernard.xiong@gmail.com 7774d03fd7 update font engine.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@967 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 15:36:45 +00:00
qiuyiuestc d33bee4762 add demo_view_module.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@965 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-27 13:21:30 +00:00
bernard.xiong@gmail.com 916a730251 fix gui example issue in 0.3.x.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@939 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-23 15:12:45 +00:00
qiuyiuestc d640fd4445 add application module demo view
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@938 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-23 14:54:52 +00:00
richard.lion.heart.gl 3013432806 added rtgui_dc_draw_annulus example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@922 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-20 09:13:44 +00:00
richard.lion.heart.gl d918c69567 added demo_view_instrument_panel.c, and added rtgui_dc_fill_round_rect test for demo_view_dc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@921 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-09-20 09:08:48 +00:00
richard.lion.heart.gl af76e75ed9 git-svn-id: https://rt-thread.googlecode.com/svn/trunk@920 bbd45198-f89e-11dd-88c7-29a3b14d5316 2010-09-20 07:13:12 +00:00
qiuyiuestc 3048d23935 fix size issue in memp_simple.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@886 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-30 13:59:36 +00:00
bernard.xiong@gmail.com ffc3f02fca compatible with 0.3.x branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@872 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-21 05:30:50 +00:00
bernard.xiong c188bba485 update list item callback action.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@864 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-18 09:55:01 +00:00
bernard.xiong 9a3f67746f update benchmark example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@859 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-17 11:33:36 +00:00
bernard.xiong 8d4598cc00 update building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@856 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-16 05:31:39 +00:00
bernard.xiong@gmail.com 0c1c732cb8 add benchmark example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@855 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-16 00:03:51 +00:00
bernard.xiong 7e88b9cfcf git-svn-id: https://rt-thread.googlecode.com/svn/trunk@850 bbd45198-f89e-11dd-88c7-29a3b14d5316 2010-08-13 10:36:52 +00:00
bernard.xiong@gmail.com a385dc3940 cleanup code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@843 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-10 23:57:23 +00:00
bernard.xiong bb22b8ec0d remove the static view name.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@841 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-10 07:28:54 +00:00
bernard.xiong@gmail.com 2e0297c527 update scrollbar widget.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@835 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-08 23:18:28 +00:00
bernard.xiong 0708dd8aa0 add scrollbar example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@831 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-05 09:59:48 +00:00
bernard.xiong 4b4a4f2003 fix compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@825 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-08-03 08:48:57 +00:00
qiuyiuestc d394761e22 add play.hdh and stop.hdh to gui example files
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@797 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-18 00:07:00 +00:00
bernard.xiong@gmail.com acd6097444 update DC example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@788 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-07-04 23:59:45 +00:00
bernard.xiong c253f349d9 add timer timeout example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@783 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-29 09:34:12 +00:00
bernard.xiong d4150036b8 add ttf and xml example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@757 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-06-01 07:54:34 +00:00
bernard.xiong 72139e8441 update GUI demo building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@715 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-16 02:33:57 +00:00
bernard.xiong 0cea283b5e fix compiling error on mini2440.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@713 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-16 02:02:27 +00:00
bernard.xiong 37e3e9886a update RT-Thread/GUI examples.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@711 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-15 14:38:12 +00:00
bernard.xiong cfe7e91b95 add listbox example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@698 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-05 14:29:28 +00:00
bernard.xiong 1cbde10e57 add buffer animation demo.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@691 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-03 23:27:57 +00:00
bernard.xiong 030b39fad4 fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@685 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-05-02 12:06:28 +00:00
bernard.xiong 190324c7a6 fix Chinese comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@618 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-14 00:00:41 +00:00
bernard.xiong adcbe9d53f fix wrong comments in dynamic simple example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@613 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-12 15:55:06 +00:00
bernard.xiong 06f58468b6 add rtgui_dc_draw_color_point function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@610 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-12 14:09:56 +00:00
bernard.xiong 1e5fe1d7c1 remove dc_buffer example
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@589 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-07 06:19:09 +00:00
gary.li.wenchao.4 014ddb72ff add demo_view_dc_buffer.c to SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@581 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-06 00:54:25 +00:00
bernard.xiong bc1e63c291 fix dual panel issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@580 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-05 23:15:05 +00:00
bernard.xiong 6c83bee27f add TCP client send test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@571 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-01 12:58:29 +00:00
gary.li.wenchao.4 8f431e61bb fixed parameters fro mempool_simple_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@570 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-04-01 12:04:47 +00:00
bernard.xiong 1c2f82359c only include finsh.h when RT_USING_FINSH is defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@563 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-31 22:52:34 +00:00
bernard.xiong 34e894f8ac fix compiling issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@558 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-30 02:40:59 +00:00
bernard.xiong d088ff6366 add more comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@553 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-29 16:05:19 +00:00
bernard.xiong e8cc40b3ec fix compiling error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@544 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-25 15:19:42 +00:00
bernard.xiong 474d3b8056 add timer_control example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@543 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-25 15:16:34 +00:00
bernard.xiong a08d9637b6 add timer examples.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@542 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-25 14:35:50 +00:00
bernard.xiong cd039a8b49 add more Chinese comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@536 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-24 15:26:48 +00:00
bernard.xiong 31561ae50a update thread delete example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@534 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-24 09:48:59 +00:00
bernard.xiong 8d4da31b8e add more Chinese comments.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@525 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-23 09:45:58 +00:00
bernard.xiong 8d19f32ac2 add event, mailbox, message queue and timer simple examples.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@524 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-22 09:17:38 +00:00
bernard.xiong e89bc7053e add mutex_simple, semaphore_producer_consumer example.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@522 bbd45198-f89e-11dd-88c7-29a3b14d5316
2010-03-21 23:46:18 +00:00