Commit Graph

189 Commits

Author SHA1 Message Date
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