summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2017-11-15[examples] fix bsp_directory parameter missingtanek liang
2017-11-12[gui] fix rtgui_dc_end_drawing() too few arguments in function calltanek liang
2017-10-27add examples/network/chargen.cSummerGift
2017-10-27update examples/network/tcpserver.c to rtt 3.0 test.SummerGift
2017-10-27update examples/network/udpclient.c examples/network/udpserver.cSummerGift
2017-10-27update examples/network/tcpclient.cSummerGift
2017-10-02修复无法重复使用finsh命令device_test进行驱动测试liu2guang
1. 该问题是打开设备后, 出错或者成功后没有关闭设备而导致.
2017-08-10[examples] code cleanup.Bernard Xiong
2017-08-10add some python example for tcp server and client.SummerGift
2017-08-10Complete some error handling when send or receive function returns a value ↵SummerGift
is zero.
2017-08-07correct some explainSummerGift
2015-09-06简化操作接口heyuanjie87
2015-09-02加入定时器使用范例heyuanjie87
2015-07-22添加mqtt客户端例程(注:由于条件限制仅在linux中测试通过)heyuanjie87
2015-03-10Nanopb is a plain-C implementation of Google's Protocol Buffers dataBright Pan
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
2014-11-03ymodem: fix examples due to new APIGrissiom
2014-08-24fixhduffddybz
2014-08-24fixhduffddybz
2014-08-24add version checkinghduffddybz
2014-08-18correct netconn API usagehduffddybz
2014-08-06correct spelling errorhduffddybz
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-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