Commit Graph

724 Commits

Author SHA1 Message Date
bernard.xiong@gmail.com 6698e69fc8 Add exit function when exit from a module.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2437 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 06:36:58 +00:00
xiongyihui3@gmail.com b820365317 add header dfs_posix.h to avoid warnings
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2436 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 03:46:05 +00:00
xiongyihui3@gmail.com 9fb62a5ff1 fix name of SConscript, add description to stubs.c and mem_std.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2435 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 03:26:09 +00:00
bernard.xiong@gmail.com 44eaae8c80 export more symbols of PThread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2433 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-23 02:40:32 +00:00
dzzxzz@gmail.com 68b7e7c481 fixed the coding style in the components/drivers
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2431 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22 08:43:40 +00:00
xiongyihui3@gmail.com 74bf69110e add support of arm standard c library, support using armcc to compile lua
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2429 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-22 03:39:22 +00:00
xiongyihui3@gmail.com 3968445d4a exclude sys/type.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2428 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-20 11:21:45 +00:00
goprife@gmail.com d5eb16dda2 fix the line break in dfs_elm.c(there are some windows line break characters)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2413 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 16:08:00 +00:00
goprife@gmail.com 583bb26fb2 fix the bug about directory in uffs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2412 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-14 15:53:54 +00:00
xiongyihui3@gmail.com e578007856 modified _write_r(), use CONSOLE to output stdout and stderr
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2411 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 15:30:31 +00:00
xiongyihui3@gmail.com d48ef70ecd In stm32fx's stm32_rom.ld, add symbol - '_stext' to support lua a. Update lua's README.TXT
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2410 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 15:21:01 +00:00
bernard.xiong@gmail.com ee2344c582 remove the unnecessary "#pragma pack(pop)"
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2409 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 13:39:47 +00:00
xiongyihui3@gmail.com 6c8080043f move larduinolib.c into ART's repo, add lua external library example
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2405 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-13 07:43:55 +00:00
sc943313837@gmail.com b04c308524 Add two function declarations
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2403 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 12:07:16 +00:00
sc943313837@gmail.com 715c1e609c Eliminate a warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2402 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 11:47:53 +00:00
bernard.xiong@gmail.com e6942f9a09 Add more errno definitions.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2401 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 02:08:27 +00:00
bernard.xiong@gmail.com 93b0d3e4ee The network interface can be initialized after lwIP initialization.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2400 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-12 02:07:10 +00:00
xiongyihui3@gmail.com c77e9d5c76 add lua support for rt-thead
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2399 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-10 07:32:39 +00:00
sc943313837@gmail.com e3b8d6f398 set bDeviceClass to CDC_CLASS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2397 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-07 15:38:10 +00:00
bernard.xiong@gmail.com 42a59720a9 Add more checking for _MSC_VER compiler.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2394 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-05 07:01:49 +00:00
goprife@gmail.com eda62844c1 fix the line break character in ff.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-04 06:02:40 +00:00
dzzxzz@gmail.com d0cba80c07 add invoke callback after serial DMA transmit complete in serial.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2387 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-03 13:56:14 +00:00
dzzxzz@gmail.com 1aab195a7d fixed coding style in component/drivers/src
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2384 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-02 04:05:38 +00:00
bernard.xiong@gmail.com 5d710e8862 Add MSC compiler in lwIP.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2383 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01 07:20:41 +00:00
dzzxzz@gmail.com db58e3350b add serial DMA transmit function(beta)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2382 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-11-01 07:17:54 +00:00
sc943313837@gmail.com fa9a7b0b0c Modified return value
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2379 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 13:35:35 +00:00
sc943313837@gmail.com aefe518780 corrected typos
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2378 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 03:21:37 +00:00
sc943313837@gmail.com 04bf06124f to correct typos
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2376 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-29 01:56:20 +00:00
sc943313837@gmail.com a690ad168f add alarm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2375 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:31:50 +00:00
sc943313837@gmail.com c287374982 add alarm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2374 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:31:22 +00:00
sc943313837@gmail.com c8857b64c0 add alarm
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2373 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-28 15:30:54 +00:00
goprife@gmail.com e956eedc20 fill st_blksize of struct stat in dfs_def.h(this filed has nothing to do with jffs2)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2369 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-23 04:08:54 +00:00
bernard.xiong@gmail.com 1c425607c3 fixed mutex issue in memheap; fixed compiling issue in kservice.c when COMPILER is not defined; add finsh for win32 porting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2365 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 03:12:21 +00:00
goprife@gmail.com b45dfd0a15 change block_size to pages_per_block in dfs_uffs.c and uffs_nandif.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2364 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-22 01:19:16 +00:00
goprife@gmail.com d9b0bec989 fix bug in dfs_unmount when test unmount condition found by Rob(rdent@iinet.net.au)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2356 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-20 01:59:41 +00:00
goprife@gmail.com 2bbd1496a3 update so can be build with vs2005
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2354 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-19 08:59:22 +00:00
bernard.xiong@gmail.com 8ab1059873 Fixed compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2349 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-14 13:41:04 +00:00
bernard.xiong@gmail.com da49833788 Remove compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2348 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-13 04:05:09 +00:00
qiuyiuestc@gmail.com 6bf06f7595 remove unused code in _set_interface
& modify some comment in rt_usb_device_init

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2346 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 23:43:10 +00:00
bernard.xiong f1862e80f7 Fixed _class_sof_handler function return value.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2345 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 23:35:42 +00:00
qiuyiuestc@gmail.com c752d9b095 submit the first version usb device stack.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2344 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 17:06:30 +00:00
qiuyiuestc@gmail.com 051fd8eca9 update wrong file name in rtdevice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2343 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-11 17:03:31 +00:00
dzzxzz@gmail.com 66c2e88566 change the coding style of rtdevice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2337 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 13:21:06 +00:00
wuyangyong 8b570bbae6 add rtc.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2336 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 06:14:53 +00:00
bernard.xiong@gmail.com 5e1f1268a1 Includes finsh.h header file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2335 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 04:02:36 +00:00
bernard.xiong@gmail.com c453dcd547 Add plane_num field in MTD_Nand structure.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2334 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-10 04:00:52 +00:00
qiuyiuestc@gmail.com 5c7fe30500 add a part of the usb stack
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2332 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 16:48:03 +00:00
sc943313837@gmail.com 7f2731c666 removing gettimeofday in mktime that would cause nested call
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2331 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 15:31:28 +00:00
dzzxzz@gmail.com 06165b8290 fixed a compiling error of mini2440 project
defined O_BINARY in newlib/sys/fcntl.h
#define O_BINARY        0x0008000

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2328 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-09 02:35:49 +00:00
dzzxzz@gmail.com b4a2beffba fixed two compiling error while defined RTGUI_USING_MOUSE_CURSOR
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2324 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-08 09:03:58 +00:00
sc943313837@gmail.com c77e211d1d add SYNC in function disk_ioctl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2322 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-07 05:13:36 +00:00
sc943313837@gmail.com f8b1db51e7 delet a char '\'
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2318 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05 14:39:56 +00:00
sc943313837@gmail.com bb6b798800 add default config for serial_configure structure
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2317 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-10-05 14:19:28 +00:00
bernard.xiong@gmail.com c75867fc5f Remove rt_ringbuffer_get_datasize function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2314 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30 08:13:53 +00:00
bernard.xiong@gmail.com 4f05dd5426 Add pipe, data queue implementation; Fix the issue which leaks one item in the available data of ring buffer.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2313 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-30 07:33:13 +00:00
dzzxzz@gmail.com ec1f35670d reformat the coding style
using -RT_ERROR instead of RT_ERROR for the return value


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2311 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-29 00:14:29 +00:00
wuyangyong 2aab960999 fixed rt_spi_release_bus assert error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2310 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-28 15:26:19 +00:00
sc943313837@gmail.com 9809c138b7 add open operation
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2309 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-27 16:31:07 +00:00
qiuyiuestc@gmail.com 76ba5137dd export symbols in dfs_posix.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2304 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-24 12:55:35 +00:00
dzzxzz@gmail.com bcc6ffac9e sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 9573987ab967d6823151f967e4715a995579c8e5
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2301 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 08:13:23 +00:00
bernard.xiong@gmail.com f7e6104397 Rename components_init.c/.h to components.c/.h.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2295 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 05:09:02 +00:00
bernard.xiong@gmail.com b07bd9b030 Change the const prefix to right position.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2294 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-20 05:07:14 +00:00
goprife@gmail.com 6864f3a38b fixed the memory leak in dfs_elm.c found by hezlog@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2292 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-17 02:33:18 +00:00
sc943313837@gmail.com d189f8c189 delete the config of PM
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2291 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:54:18 +00:00
sc943313837@gmail.com f4c975bf8c delete pm.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2290 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:52:48 +00:00
sc943313837@gmail.com 6a58ebee1f 添加PM头文件
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2289 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:34:15 +00:00
sc943313837@gmail.com a1519350a4 添加接口move_page,添加mtd_nand成员oob_free,更改成员block_size为pages_per_block
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2288 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-15 12:23:04 +00:00
wuyangyong 01aa24f2c5 update elmfat: add RT_DFS_ELM_CODE_PAGE define.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2285 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-09 05:50:58 +00:00
iamyhw@gmail.com e39022f3c7 dfs: add format flag O_BINARY
lzo: change to use posix interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2283 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-08 03:37:46 +00:00
dzzxzz@gmail.com c6c2a504f6 re-format the coding style in serial.h
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2282 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 09:00:33 +00:00
dzzxzz@gmail.com e699e09a11 re-format the coding style in serial.c
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2281 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-07 08:54:56 +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 fd425e792d re-format the coding style in spi.h
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2275 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 08:09:13 +00:00
dzzxzz@gmail.com 20de2ffa18 change file format(CR/LF) from PC to Unix/Mac OS X
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2274 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:23:11 +00:00
dzzxzz@gmail.com a4456b86d5 re-format the coding style in spi_core.c
1, Tabs to Spaces
2, File Format(CR/LF) using UNIX style
3, maximum line length = 80

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2273 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 07:21:35 +00:00
dzzxzz@gmail.com c1a64657f6 re-format the coding style in spi_dev.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2272 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-09-06 06:02:14 +00:00
dzzxzz@gmail.com 64b0cd34fe sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 126336387561442a0508b661595134deb28ad34b
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2265 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-27 07:57:19 +00:00
luohui2320@gmail.com d5a0362bb4 update sdio framwork
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2261 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-26 11:39:14 +00:00
bernard.xiong@gmail.com e6f634955d Update SConscript file.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2260 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-25 02:05:56 +00:00
qiuyiuestc@gmail.com 7307055b1c delete freemodbus
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2259 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-24 14:38:56 +00:00
goprife@gmail.com 3ea99e46f3 fix bug in dfs_elm.c the fat->drv to index, because fat->drv is uninitialized in f_mount.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2256 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-21 10:06:59 +00:00
dzzxzz@gmail.com e6a9dd1922 sync with github f5619cb8ad5e4f581e3b2f6a44be4ddd5b432e59
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2253 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-13 06:30:05 +00:00
goprife@gmail.com 063fb36089 add f_opendir to open root directory in dfs_elm_mount to make sure that there is a valid fat
partition on physical media.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2251 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:46:48 +00:00
goprife@gmail.com 3dbbc479fc revert to r2247
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2250 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:43:07 +00:00
goprife@gmail.com 3675f263cb fix the return type of leavefs
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2249 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:16:03 +00:00
goprife@gmail.com 853b1259b0 add chk_mounted in dfs_elm_mount to make sure that there is a valid fat partition on physical media.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2248 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-08 15:09:30 +00:00
dzzxzz@gmail.com 6c43028227 fix a used uninitialized bug in components/drivers/serial.c reported by Grission
and re-format the coding style

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2247 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-06 07:34:14 +00:00
goprife@gmail.com 8f5a5898fd remove nfs_init declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2246 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-02 14:14:45 +00:00
dzzxzz@gmail.com bc7e8d69e6 correct the return type of nfs_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2245 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-08-02 13:56:15 +00:00
goprife@gmail.com 0919b8dab1 fix non-align bug in the mem_cpy
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2239 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-30 13:39:11 +00:00
qiuyiuestc@gmail.com 03de4f8a48 add rt_usb_adk_set_string declaration
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2238 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-28 03:21:49 +00:00
qiuyiuestc@gmail.com 17ed1ba6b9 add rt_usb_adk_set_string API
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2237 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-28 02:59:13 +00:00
dzzxzz@gmail.com 08e05eb3b4 sync with github bd3351e572
As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2234 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-26 06:36:49 +00:00
goprife@gmail.com f7fbd6bc6d add two functions for elm fatfs provided by aozima
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2231 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-25 16:41:30 +00:00
bernard.xiong@gmail.com ee4da4b03e Add DHCP flag when LWIP_DHCP was defined.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2230 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-24 00:23:50 +00:00
chaos.proton@gmail.com c3f0850297 move components/tjpgd1a to components/external/tjpgd1a
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2228 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-22 11:20:11 +00:00
chaos.proton@gmail.com 8cf479caaa add "remove_components" feature
If one do not want to use some components in the RTT_ROOT, it can pass a remove_components=['the_component'] parameter to PrepareBuilding. Sample code is:

RTT_RTGUI = os.getenv('RTT_RTGUI')
# if GUI dir is set to other place, don't use the one in RTT_ROOT
if RTT_RTGUI:
    # prepare building environment
    objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False, remove_components=['rtgui'])
    objs += SConscript(os.path.join(RTT_RTGUI, 'SConscript'))
else:
    objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=False)

You can safely omit the parameter if you do not want to remove any components.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2227 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-22 11:17:04 +00:00
chaos.proton@gmail.com 21c9c6e13a add tjpgd1a which is forgotten in r2222
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2225 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-22 10:23:54 +00:00
chaos.proton@gmail.com f2503a770f sync with github 5892d5b7
Add update_toplevel event. As always, full log is in GitHub.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2224 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-21 12:18:51 +00:00
chaos.proton@gmail.com 8c03104507 sync with RTGUI d24a1ff
fix rtgui/driver and bmp engine bugs.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2223 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-20 18:48:34 +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
qiuyiuestc@gmail.com 1016e3ae5b add ADK protocol implement & format code style
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2219 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-16 02:20:20 +00:00
qiuyiuestc@gmail.com 70cee4b82e add atol and isspace to minilibc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2218 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-12 22:42:06 +00:00
dzzxzz@gmail.com 128a283245 fixed a spelling error and use RT_NULL instead of NULL in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2215 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 10:08:46 +00:00
dzzxzz@gmail.com 291c4336d7 fixed a spelling error and format the code in components_init.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2214 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:52:45 +00:00
dzzxzz@gmail.com fdc7dfc768 use RT_NULL instead of NULL in DFS, and format the code in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2213 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:25:19 +00:00
dzzxzz@gmail.com 9d4072ce59 fixed spelling errors in DFS
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2212 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 09:09:42 +00:00
dzzxzz@gmail.com 4b0e272644 delete the re-defined rt_list_entry(node, type, member) and format the code in devfs.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2211 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-10 00:42:39 +00:00
iamyhw@gmail.com 961a6a51c9 Display the function name and the line Numbers, when detect widget type.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2210 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-09 02:53:40 +00:00
luohui2320@gmail.com 7729b4a1e4 move SDIO driver header files to the drivers/include directory and update rtdevice.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2209 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-08 14:43:08 +00:00
qiuyiuestc@gmail.com 6ae04deffb update rt_components_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2208 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-07 14:34:57 +00:00
qiuyiuestc@gmail.com 5e5362202e add usb_host.h file
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2207 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-07 09:04:27 +00:00
qiuyiuestc@gmail.com 64c485f5fc reconstruct USB host project directory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2206 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-07 08:49:28 +00:00
bernard.xiong@gmail.com 08f329d5f7 POSIX thread can be compiled with minilibc.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2204 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-06 11:19:52 +00:00
bernard.xiong@gmail.com c1ad7c8f69 Add more type definitions for POSIX thread.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2203 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-06 11:19:16 +00:00
bernard.xiong@gmail.com ee546fb0d4 change rt_memcpy to memcpy in ringbuffer implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2199 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-02 15:51:58 +00:00
goprife@gmail.com e040266967 fix bug in f_seekdir in elm fatfs, with the patch provided by rogerz.zhang@gmail.com
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2198 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-07-01 10:36:47 +00:00
dzzxzz@gmail.com d402cfea19 fixed compiling error in stm32f0x
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2197 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-30 01:52:48 +00:00
bernard.xiong@gmail.com 94d413a7a7 merge 1.0.2 modification.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2194 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-29 06:03:11 +00:00
iamyhw@gmail.com b440fc981e beautify the focused rectangle.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2191 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-27 03:03:44 +00:00
dzzxzz@gmail.com b5ce8cb195 correct the path for I2C device driver framework
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2181 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-25 03:50:04 +00:00
goprife@gmail.com 503534a506 remove uffs/sr/test code to reduce size of source
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2179 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-23 18:48:53 +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 9d53578c54 Fixed comments of file description.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2172 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 07:54:24 +00:00
bernard.xiong@gmail.com d228266e65 Remove I2C device and add PM pseudo device.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2171 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 03:11:40 +00:00
dzzxzz@gmail.com 0fde4d778a don't make a empty directory "DeviceDrivers" in IAR project while RT_USING_MTD_NOR or RT_USING_MTD_NAND was not defined in rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2169 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-18 02:54:01 +00:00
dzzxzz@gmail.com 0b30e68b10 fixed calibration issue in mini2440 BSP
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2167 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-15 07:42:45 +00:00
wuyangyong 7582459691 add RTC public function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2164 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 13:17:50 +00:00
wuyangyong 9e3c72a635 fixed a eclipse compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2163 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-14 12:18:52 +00:00
luohui2320@gmail.com 72bce28791 backup to previous version
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2162 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 17:16:22 +00:00
luohui2320@gmail.com 9b8fcde8af ADD "I2C BUS Device" type in _list_device()
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2161 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 17:08:43 +00:00
luohui2320@gmail.com 85169d7fe8 update I2C driver, which now just use small memory
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2159 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-13 16:55:46 +00:00
qiuyiuestc@gmail.com c9250dc32c add rtgui_system_server_init to components_init function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2158 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-12 12:49:25 +00:00
dzzxzz@gmail.com 07b910be8f fixed compiling error related to rtgui in mini2440 branch
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2155 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-08 08:13:44 +00:00
qiuyiuestc@gmail.com 070e54a17b add usbhost stack
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2154 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-05 00:07:50 +00:00
dzzxzz@gmail.com a2c1785648 fixed a eclipse compiling warning:
in fm3_uart.c Line 599
case label value exceeds maximum value for type

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2152 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-04 03:20:12 +00:00
dzzxzz@gmail.com 43f2bfc013 add a new command list_memheap() into finsh
and unify the coding style in memheap.c

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2151 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-03 06:16:30 +00:00
dzzxzz@gmail.com 60ada9665d add the standard CMSIS(Version 3.01) into components
and implement examples in MB9BF506R and LPC176x branches
define RT_USING_BSP_CMSIS in rtconfig.h will use CMSIS in bsp
define RT_USING_RTT_CMSIS in rtconfig.h will use CMSIS in components 

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2146 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 07:31:15 +00:00
dzzxzz@gmail.com 7fddcb0e35 add serial device driver framework
and implement the example in MB9BF506R branch

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2145 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-06-01 06:52:34 +00:00
goprife@gmail.com 020c380b83 1. add mtd nor files. 2 fixed include head files in rtdevice.h and mtd_nand.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2141 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:44:13 +00:00
goprife@gmail.com 9b2ea9bc0f 1. change mtd to mtd_nor, 2. update jffs2
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2140 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:39:39 +00:00
goprife@gmail.com a512661b9f delete the old version of mtd
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2139 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 13:36:41 +00:00
bernard.xiong@gmail.com 3ad6f43ff3 Added VisualDSP++ Compiler support.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2137 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 06:50:06 +00:00
bernard.xiong@gmail.com e86bd68278 fixed the mismatch of device definitions in rtdef.h and finsh shell; add line comment in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2136 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-30 02:42:26 +00:00
iamyhw@gmail.com 506a68edee uniform resource name, _rtgui_type => _rtgui_object
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2134 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:46:09 +00:00
iamyhw@gmail.com b20311198a fix compile error,restore old name,conflicting.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2133 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:37:10 +00:00
iamyhw@gmail.com 5653251c20 unified naming rules,_rtgui_type => _rtgui_object
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2132 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 00:12:26 +00:00
chaos.proton@gmail.com 87e992a574 fix various bugs found by amsl
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2131 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-27 16:34:19 +00:00
luohui2320@gmail.com 55460652d3 ADD I2C driver framework and I2C gpio driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2128 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-22 17:32:32 +00:00
bernard.xiong@gmail.com 03668c93b9 Changed SPI message to message list. Added take/release SPI device/bus interface.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2123 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-18 05:37:09 +00:00