Commit Graph

1184 Commits

Author SHA1 Message Date
Grissiom b43573844d romfs: rewrite mkromfs.py 2014-11-03 12:20:09 +08:00
Grissiom e882597f9c romfs: check the dirent before use it
System will crash when the romfs is erased. Add checks before using them
to avoid it.
2014-11-03 12:10:25 +08:00
Grissiom 3531fa71aa romfs: declare the dummy entry as weak 2014-11-01 17:57:43 +08:00
bernard 6281ab2bbe [DeviceDriver] Remove i2c_core_lock. 2014-11-01 16:38:53 +08:00
Bernard Xiong 0fa10629f7 [Sensor] code cleanup 2014-11-01 15:52:25 +08:00
Bernard Xiong ef90e4828d Merge branch 'master' of https://github.com/BernardXiong/rt-thread 2014-11-01 15:36:37 +08:00
Bernard Xiong 1974bec8bf [C++] fix the ctors initialization issue 2014-11-01 14:12:58 +08:00
Bernard Xiong b081df6b93 [NFS] fix opendir failed issue. 2014-11-01 10:53:44 +08:00
Bernard Xiong 18cd95688d [Drivers] Add sensor framework 2014-11-01 09:09:52 +08:00
Bernard Xiong b84123b0b4 [C++] Add cplusplus component 2014-11-01 09:09:21 +08:00
Bernard Xiong 0797e54f3f [LIBC] fix the fopen/open issue in armlibc 2014-10-30 03:53:22 +00:00
Bernard Xiong 802c768475 [LIBC] Use RT_USING_LIBC instead of libs option for each compiler 2014-10-28 03:45:43 +00:00
Bernard Xiong 372926477b [GDB] Fix compiling error when not enable GDB. 2014-10-27 22:27:54 +08:00
Grissiom 3d584266e5 finsh: allow user to disable the FINSH_USING_HISTORY 2014-10-21 16:01:08 +08:00
Grissiom e030451220 minilibc: only define malloc family when RT_USING_HEAP enabled 2014-10-14 16:14:02 +08:00
Grissiom 9a75583349 dfs: check for null reference 2014-10-14 16:09:10 +08:00
Grissiom 4c39f8765a msh: free is only available when HEAP is enabled 2014-10-14 16:07:49 +08:00
Grissiom 23cc390474 msh: check path is non-null in msh_auto_complete_path 2014-10-14 16:07:19 +08:00
aozima 3c99a5bf8d update RW009 wifi driver. 2014-09-24 12:08:01 +08:00
陈豪 dd7fff2b31 [gdb]Change open flag 2014-09-20 20:53:17 +08:00
陈豪 62af08370b Merge pull request #2 from RT-Thread/master
sync
2014-09-20 01:19:42 +08:00
armink 762f18d743 [Ymodem]Change tabs to space. 2014-09-14 14:52:00 +08:00
armink 987532967f [Ymodem]Change macro definition and code format. 2014-09-14 14:44:48 +08:00
armink 7121697a71 [Ymodem]Add device open flag as input parameter to ymodem function. 2014-09-13 11:22:01 +08:00
armink ed57c7c32a [Ymodem]When active end the session, It can config send CAN number. 2014-09-13 11:15:48 +08:00
bernard 3b5c2e2f9f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-09-11 12:55:18 +08:00
bernard 6045b3a075 [LogTrace] Use OFLAG_RDWR to replace FLAG_RDWR when opening a device. 2014-09-11 12:53:23 +08:00
bernard a8b0fe3f36 [shell] Fix compiling issue when DFS is not enable 2014-09-11 12:47:25 +08:00
aozima 03496f0700 update RW009 driver. 2014-09-08 16:59:52 +08:00
heyuanjie87 8a44c7dbfb [Serial] BUG Fix: data be send twice in mode that other than polling 2014-09-01 23:43:50 +08:00
Grissiom ab729429b3 minilibc: define SIZE_MAX in stdint.h 2014-09-01 10:41:37 +08:00
hduffddybz 5694c77bcf add judge of RT_USING_LWIP_HEAD 2014-08-30 11:10:50 +08:00
hduffddybz 838cdbe660 change code style 2014-08-30 11:04:13 +08:00
hduffddybz 5a7d40f80e add conditional compilation of ipv6 source file 2014-08-30 11:02:14 +08:00
hduffddybz c9aba13f40 update lwip git head 2014-08-30 10:59:33 +08:00
aozima 69d089cac0 Update SConscript: add spi to include path. 2014-08-29 21:53:28 +08:00
hduffddybz 53ff02b563 add ipv6 support 2014-08-26 22:32:40 -08:00
weety 12136cfeb1 [finsh] fixed finsh issue. 2014-08-26 23:36:16 +08:00
Bernard Xiong d0a7861534 Update string.h 2014-08-22 09:02:35 +08:00
Bernard Xiong 50dbce3c1a Update string.c 2014-08-22 09:01:33 +08:00
陈豪 697e216606 [GDB stub]first version 2014-08-12 18:18:23 +08:00
Bernard Xiong 0ad17f462d [DeviceDrivers] Add modification under Linux 2014-08-04 16:40:40 +08:00
bernard 4ee93b7552 [libc] Fix system issue when use msh and make code cleanup. 2014-08-03 14:31:19 +08:00
bernard fccd0e6b83 [libc] Use __SIZE_TYPE__ instead of rt_size_t in minilibc. 2014-08-03 14:30:31 +08:00
bernard 5397e18c56 [DeviceDrivers] Fix compiling warning. 2014-08-03 14:29:46 +08:00
bernard 582aff86ed Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-08-01 12:03:24 +08:00
bernard 516711dc1d [DFS] make comments cleanup. 2014-08-01 12:03:11 +08:00
aozima 0fc1ac6189 add more SPI device driver. 2014-07-31 16:58:43 +08:00
Bernard Xiong 07c486413b [external] PNG_NO_WRITE_SUPPORTED issue
Move PNG_NO_WRITE_SUPPORTED outside of RT_USING_NEWLIB. #197
2014-07-31 09:46:01 +08:00
Bernard Xiong 59c128c073 [libc] fix compiling warning 2014-07-31 09:30:18 +08:00
bernard 94883a92fb [pthreads] Fix pthread_cond_init issue. #261 2014-07-31 08:34:36 +08:00
bernard 02faf9edb8 [Finsh] fix device_open issue when set_device in finsh. 2014-07-20 13:57:49 +08:00
bernard 0eb35940a4 [POSIX] fix mq_open and sem_open argument issue. 2014-07-19 06:52:35 +08:00
bernard c45f5a2490 [Drivers] re-write serial framework. 2014-07-18 06:45:54 +08:00
Grissiom 2aa51d42f9 ymodem: increase the default RYM_CHD_INTV_TICK
Frequent 'C' on the handshake will confuse some sender(lrzsz for
example).
2014-07-15 14:58:05 +08:00
Grissiom ff1eb2cbc9 ymodem: refactor _rym_read_code
Make fast path fast and slow path slow.
2014-07-14 18:45:46 +08:00
shaolin 64a2902fa9 1. Fix some spell error;
2. Fix data transfer size calculate error issue;
2014-07-13 17:19:34 +08:00
bernard 005014e7d0 [Drivers] Add workqueue implementation. 2014-07-13 07:27:57 +08:00
Bernard Xiong 29437da109 Merge pull request #297 from hduffddybz/master
add some comments of lwip porting
2014-07-11 17:26:44 +08:00
root 0ddc739a18 add some comments of lwip porting 2014-07-10 23:18:03 -08:00
bernard f44f6caadb [Finsh] Fix command line size issue in finsh. 2014-07-10 13:35:28 +08:00
bernard d0debf9892 [Drivers] Make code cleanup in serial framework. 2014-07-10 13:32:16 +08:00
bernard b0c94dc4d9 [lwIP] Fix the usage issue of NETIF_LINK_CALLBACK. 2014-06-27 14:49:51 +08:00
bernard 7dbb4dc939 [lwIP] Add LWIP_NO_RX_THREAD/LWIP_NO_TX_THREAD options for lwIP. 2014-06-26 15:55:45 +08:00
bernard a118801bfe [DFS] Add dfs_filesystem_get_mounted_path() function. 2014-06-26 13:59:26 +08:00
bernard edfcc6041b Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-06-25 17:26:08 +08:00
bernard dcd7974794 [Finsh] Enhance mv command. 2014-06-25 17:23:28 +08:00
bernard a58593f784 [libc] code cleanup. 2014-06-25 17:20:57 +08:00
Bernard Xiong d10444337b [lwIP] code cleanup 2014-06-24 15:14:39 +08:00
Bernard Xiong bf733ae2aa [LwIP] Fix the MEMP_NUM_TCP_SEG issue. 2014-06-24 14:49:33 +08:00
Grissiom aca8f8eb2d shell: print the ref count in `list_device` 2014-06-18 11:18:43 +08:00
aozima 7a0e9c3fc7 format code Astyle. 2014-06-14 21:55:51 +08:00
aozima 9ab59cf1e0 used parameter: size. 2014-06-14 21:54:59 +08:00
aozima f296c582a5 fixed bug: close socket when ping() exit. 2014-06-14 21:49:46 +08:00
Bernard Xiong cde9139bc5 [Finsh] Fix '0' token issue. 2014-05-05 13:51:26 +08:00
bernard c980bdc9e9 [External] Merge LodePNG and TJPGD into RT-Thread GUI group in building script. 2014-04-25 05:52:15 +08:00
bernard bd2b9c54bd Add LodePNG library. 2014-04-20 10:09:55 +08:00
Grissiom 5ad58a59a4 minilibc: no double braces in if statement 2014-04-12 16:58:17 +08:00
Grissiom a95370aa56 msh: remove usless ptr set
The ptr is set in the following code. So remove the first one.
2014-04-12 16:57:14 +08:00
Grissiom ec4b865579 finsh: add check on converting octal numbers
The digit in octal numbers should with in 0~7. Check on it in
token_proc_number. This issue is found by Clang.
2014-04-12 16:55:00 +08:00
Grissiom 1422569e7c pthreads: remove some useless variables 2014-04-12 16:54:20 +08:00
Grissiom 4b7e9c6447 dfs: assert the path is not null in dfs_filesystem_lookup
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
2014-04-12 16:35:07 +08:00
Grissiom 299cccfb26 logtrace: add log_session_lvl
log_session_lvl is suitable for performance critical places where in
most cases, the log is turned off by level. If the session is const and
the level is greater than session->lvl, the whole function will be
optimized out.
2014-04-10 21:22:39 +08:00
Grissiom 12728bcdff logtrace: add const modifier to the APIs
Compiler may do more optimization when the parameter is const.
2014-04-10 21:22:39 +08:00
Bernard Xiong abcef00c8e Merge pull request #254 from weety/Branch_usb
[USB]fix rt_usbd_set_config() BUG which set the USB device to configurat...
2014-04-10 16:34:32 +08:00
aozima f61773305a MSH: add cmd netstat. 2014-04-09 13:17:21 +08:00
aozima 4fada1a13a MSH: perfect cmd ifconfig. 2014-04-09 13:16:55 +08:00
Grissiom 841898abe2 [shell] define FINSH_PROMPT as finsh_get_prompt when FINSH_USING_MSH enabled
When MSH enabled, the prompt will change at the two shells. So we should
use dynamic prompt when FINSH_USING_MSH defined.
2014-04-08 15:12:44 +08:00
weety d5b0c94552 [USB]fix rt_usbd_set_config() BUG which set the USB device to configuration state before enumerating the device. 2014-04-06 21:02:23 +08:00
Grissiom 28f11fdd7b [vmm] add realview-pb-a8 VMM support 2014-04-03 17:59:14 +08:00
bernard 8bd3e6f6dc [Kernel] Change command line to const parameter and add system() function. 2014-04-02 14:05:15 +08:00
bernard 6469a5a3d1 [DFS] fix compiling warning. 2014-04-02 14:02:36 +08:00
Bernard Xiong a82ad3e380 Merge pull request #250 from grissiom/msh-next
[msh] don't complain on empty command
2014-03-29 14:50:04 +08:00
Grissiom 0979328fb1 [msh] don't complain on empty command
Just branch out and no complain on command length == 0;
2014-03-29 11:33:20 +08:00
bernard 7d2b7199d8 Add PNG_ABORT for libpng; Add format field in tjpgd; 2014-03-29 08:45:26 +08:00
Grissiom c44f32e513 [msh] cd to path when possible
When DFS_USING_WORKDIR is enabled, msh will try to chdir if the command
is not found. For example, if there is folder named "SD", and there is
no `SD` command and `SD.mo` module, typing "SD" in msh will cd to the
folder.

In more detail, the execution order right now is:

1. built-in command
2. module
3. cd to path

If you have a folder named "ps", you have to run `cd ps` to change the
working dir.
2014-03-27 16:41:26 +08:00
Grissiom f9659283c0 [msh] try to complete module path
Msh can execute module directly. So try to auto-complete the path when
user press TAB. There is a chance that the path is a module.
2014-03-27 15:09:53 +08:00
bernard 04b5a46179 [Finsh] fix the shell prompt issue. 2014-03-12 16:25:59 +08:00
bernard 444b928d22 Add more command to msh for module. 2014-03-12 08:47:10 +08:00
bernard 09bb7393b2 [Pthreads] fix compiling warning 2014-03-11 16:05:14 +08:00
bernard 33a5abbbf8 [Finsh] Use msh as prompt when current mode is msh mode. 2014-03-11 15:54:21 +08:00
bernard 6cab3b7dfa [DFS] fix compiling warning in NFS 2014-03-10 11:48:47 +08:00
Bernard Xiong d0d239cd4c [DFS] fix compiling warning for NFS file system 2014-03-10 11:21:50 +08:00
bernard 306e1ac43f [DeviceDrivers] Add watchdog driver frame work 2014-03-04 14:32:56 +08:00
shaolin 020e95d91b Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-03-04 09:14:48 +08:00
shaolin 0fb9c54efd 1.replace API prefix usb* with usbh* in USB host stack to distinct with USB device stack;
2.adjust some viable and micro name
3.some other small fix
2014-03-04 08:59:53 +08:00
Grissiom f615c1e92d Revert "Merge pull request #241 from bright-pan/master"
This reverts commit 5aeedc4f3a, reversing
changes made to 3d80e414ff.

This merge breaks every uart driver in all BSPs. @bright-pan , is there
any way to get this done without breaking existing code?
2014-03-03 12:07:13 +08:00
Bright Pan 9ab853aca3 Fix rt_serial_control() bug for customized command and indent the code 2014-02-28 18:22:50 +08:00
Bright Pan 10c4b6263f Use DeviceDriver ringbuffer.
Add hardware flow support.
Use new struct serial_ringbuffer.
2014-02-26 11:06:14 +08:00
Bernard Xiong 3d80e414ff [JS] fix the include path issue 2014-02-25 13:43:59 +08:00
Bernard Xiong 213f47e380 Update SConscript 2014-02-25 09:29:09 +08:00
geniusgogo 121bb5fcdf add JavaScript Interpreter 2014-02-25 01:47:49 +08:00
bernard 7255137b0a [DFS] Add ramfs initialization in components initialization procedure 2014-02-23 00:10:09 +08:00
Bernard Xiong 0468f0c87e Add INIT_FS_EXPORT for RAM file system 2014-02-20 22:06:59 +08:00
shaolin 8fd0a7f9c6 Update USB Device Stack to support more device controllers;
Pass USB CV test verification;
Code cleanup;
2014-02-16 17:42:35 +08:00
bernard 32a6f5b730 [Finsh] remove the .mo display when command is not found. 2014-02-15 10:28:38 +08:00
prife f015f36d05 dfs: support copy directory 2014-02-09 15:27:52 +08:00
Bernard Xiong be2ff57198 Add directory and SConscript for Espruino. 2014-02-06 15:50:33 +08:00
bernard 8778e39c9f [Finsh] Add ifconfig command implementation. 2014-02-01 21:35:46 +08:00
bernard 201d11bb2f [DFS] Fix file size issue
This issue causes fstat & lseek not correct.
2014-02-01 21:35:23 +08:00
bernard 5a6ec7dcae [DFS] fix the wrong field comparison in FAT mount. 2014-01-26 22:43:12 +08:00
Bernard Xiong ba444f29f6 Merge pull request #235 from aozima/pulls
update CMSIS version to 3.20
2014-01-26 05:52:21 -08:00
bernard e601c2a6ed Add sector size check when mounting a FAT file system. 2014-01-26 20:30:37 +08:00
aozima 9367bba6d1 update CMSIS version to 3.20 2014-01-22 17:26:52 +08:00
bernard ae891e2011 [Finsh] fix strncmp issue in command search 2014-01-16 22:22:23 +08:00
roamboy 1c8693c87e Update msh.c 2014-01-13 15:57:13 +08:00
roamboy 1df4c1b962 Update msh.c 2014-01-13 15:56:20 +08:00
roamboy 849130da2c Update msh.c
fix msh_exec(char* cmd, rt_size_t length) bug
2014-01-13 15:52:23 +08:00
bernard 2188d06003 [DFS] remove a compiling warning 2014-01-11 16:34:15 +08:00
bernard 31446eab4c [Kernel] application module can support arguments 2014-01-11 16:33:31 +08:00
prife c07a78ae00 nfs: fix bug
I have to mention that this bug is introduced by myself, in the last
commit <fd07f30f511335f506ae6557e300093d4dde421e> to dfs_nfs.c
2014-01-11 14:57:02 +08:00
Bernard Xiong abdcd80dcd [Finsh] Add more command in msh 2014-01-05 14:57:58 +08:00
bernard 3142811644 [lwIP] Add more RT-Thread options into lwIP 2014-01-04 07:55:25 +08:00
bernard 7fd45f3d44 [DFS] remove the unnecessary code 2014-01-04 06:05:03 +08:00
bernard 6a624356e4 [Finsh] code cleanup 2014-01-04 06:02:33 +08:00
bernard 1f8a0668d2 [Finsh] Add features to execute module. 2014-01-03 08:01:24 +08:00
bernard 8a56e181bd [Finsh] cleanup the code style 2014-01-03 07:15:25 +08:00
bernard b924104129 Add FINSH_USING_MSH_ONLY option 2014-01-01 23:14:45 +08:00
bernard 9993c9e60c Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-01-01 21:46:14 +08:00
bernard a5ba2a24f7 add file and path name auto completion for module shell 2014-01-01 21:45:09 +08:00
Bernard Xiong ec7fada97e [Drivers] Fix the block start issue in MTD Nand operators 2013-12-30 18:14:09 +08:00
bernard a93251ae2b Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-12-29 22:31:05 +08:00
bernard 42ae1c634d [Drivers] Add more debug utilities in MTD nand 2013-12-29 22:27:33 +08:00
Bernard Xiong 041a7e887b Update posix_types.h 2013-12-23 13:23:49 +08:00
geniusgogo 4c463f27cb Merge branch 'master' into SQLite_on_ARMCC 2013-12-22 21:31:12 +08:00
geniusgogo 8b1b64567a Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-12-22 21:28:30 +08:00
geniusgogo 7442414a74 ARMCC complier is usable. 2013-12-22 21:26:21 +08:00
geniusgogo 26e0137f15 Moved the configuration options to the SRC directory 2013-12-22 21:22:47 +08:00
geniusgogo 30d6196c22 Moved the configuration options to the SRC directory 2013-12-22 21:11:58 +08:00
prife 95006bb503 Merge pull request #215 from prife/master
fix dfs_unmount bug
2013-12-21 04:06:25 -08:00
Grissiom 1289dff203 DFS: let mount fail on device open error 2013-12-21 12:15:31 +08:00
prife 26a31d662d dfs: make elmfatfs check secter size everytime
more infomation:
http://www.rt-thread.org/phpBB3/topic2965.html
2013-12-21 12:04:19 +08:00
prife 4f9dc273ec dfs: fix dfs_unmount bug
fix #211
2013-12-21 11:35:09 +08:00
prife 27112267e9 dfs: rename varialbe name in dfs_filesystem_lookup
empty is confused in dfs_filesystem_lookup.
2013-12-21 10:58:52 +08:00
prife f4e8820bca dfs: refine more code
clean code with pointer rather than index
2013-12-19 13:58:30 +08:00
prife 7fd6d17d5b dfs: refine code
decrease indentation to make cleaner code
fix mkfs bug when there is no mkfs implementation
2013-12-19 00:31:39 +08:00
geniusgogo 9326719a12 move SQLiteLib/SConscript file to SQLite-3.8.1/SConscript 2013-11-30 15:00:24 +08:00
geniusgogo 06d3cf710e rename sqlite directory to SQLite-3.8.1/SQLiteLib 2013-11-30 15:00:23 +08:00
geniusgogo b3e70cbf40 modify the RTT is abbreviated error, change to be rtthread. 2013-11-30 15:00:21 +08:00
geniusgogo 6433eeae66 build env component removal 2013-11-30 15:00:20 +08:00
geniusgogo dd2a4cd49c port rtt config orig env 2013-11-30 15:00:19 +08:00
geniusgogo ab1429b044 orig config result tool 2013-11-30 15:00:18 +08:00
geniusgogo 2948bf55f7 fix the SQLite mutex free-fun cause a memory leak 2013-11-30 15:00:17 +08:00
geniusgogo d246db603c fix sqlite mutex/vfs/ 2013-11-30 15:00:16 +08:00
geniusgogo 10aad53661 fix declarative referential integrity 2013-11-30 15:00:07 +08:00
geniusgogo 7e7f0fb5f5 add test/test10.c 2013-11-30 15:00:06 +08:00
geniusgogo 7d88b753d6 complete SQLite-3.8.1 porting, and auto generate porting code 2013-11-30 14:59:57 +08:00
geniusgogo 2315160531 add vfs/fs porting 2013-11-30 14:59:56 +08:00
geniusgogo d47febdc65 port complete SQLite-3.8.1 to RT-Thread 2013-11-30 14:59:55 +08:00
geniusgogo 993374d860 add rtt memory management support 2013-11-30 14:59:54 +08:00
geniusgogo bb71850863 add rtt mutex support 2013-11-30 14:59:53 +08:00
geniusgogo e0a3ced7ea add rtt complie macro SQLITE_OS_RTT 2013-11-30 14:59:52 +08:00
geniusgogo a186d329a4 add SQLite-3.8.1 authority original source tree 2013-11-30 14:59:51 +08:00
geniusgogo 0347f8ab9c add SQLite 3.8.1 amalgamation source code 2013-11-30 14:59:48 +08:00
aozima e037d2e5f6 fixed _sys_read()/_sys_write() issues. 2013-11-24 23:11:17 +08:00
prife b79b9be19f finsh: fix finsh device setting
1. rt_console_get_device should be call to set shell device only when it is null, or it will make finsh_set_device useless.
2. RT_USING_CONSOLE can be disabled in bsp/rtconfig.h
2013-11-18 21:17:49 +08:00
Grissiom 61ffa2c438 freemodbus: fix eol
On Windows platform, please set `autocrlf = true` and on Linux, please
set `autocrlf = input`.
2013-11-06 21:47:49 +08:00
armink 615579ccf1 add SConscript for freemodbus
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 14:16:24 +08:00
armink b280a940c4 add modbus master to freemodbus
Signed-off-by: armink <armink.ztl@gmail.com>
2013-11-06 09:34:24 +08:00
Grissiom 6bb2c0f2ea Revert "serial: set the errno if and only if in thread context"
This reverts commit 07bd09fc0f.
The validation of the context is done with in `rt_set_errno`. So it's
safe to call it here.
2013-10-25 21:23:15 +08:00
Grissiom 07bd09fc0f serial: set the errno if and only if in thread context
The errno is associated with threads. It will crash the thread if we set
it in interrupt context.
2013-10-25 20:31:02 +08:00
Grissiom 21fb9a0bac serial: do onthing if the size of read/write is zero
Return early if the size is 0 as there is nothing to do.
2013-10-25 20:15:08 +08:00
Grissiom 0feefc03b6 device/pipe: add a control cmd to get the space left in pipe 2013-10-23 01:43:18 +08:00
Bernard Xiong a0ffbc1fb8 Merge pull request #179 from grissiom/finsh-ex
Finsh ex
2013-10-18 17:06:36 -07:00
Grissiom 1e01252824 finsh: refactor the control key handling
We split the history handling form the key handling. So we could handle
the direction key even if the history is disabled. As a "side effect", I
also remove the unnecessary "use_history" bit.
2013-10-18 22:36:51 +08:00
Bernard Xiong 8d5dfec3b7 Merge pull request #162 from joyhope/master
UART DMA tx_complete() with buffer information
2013-10-17 15:40:50 -07:00
prife 3a33906ab1 simulator/jffs2: remove _TIME_T_DEFINED when built by VC++
_TIME_T_DEFINED was pre-defined in order to build jffs2 with VC.
While it may cause many side effects.
2013-10-17 23:47:08 +08:00
Bernard Xiong 4eaadb7a98 Merge pull request #168 from grissiom/dfs-fix
DFS: add dfs_file_flush prototype in dfs_file.h
2013-10-11 07:40:50 -07:00
Grissiom d0251a523a log_trace: fix the memmove use
The first parameter of memmove is the dst, not src. Besides, fix the
wrong move size.
2013-10-11 17:23:30 +08:00
Grissiom 5fdca8371b DFS: add dfs_file_flush prototype in dfs_file.h 2013-10-11 14:55:23 +08:00
Bernard Xiong 69bbd35f38 Merge pull request #167 from grissiom/ymodem
components/utilities: add ymodem
2013-10-09 08:33:02 -07: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
bernard 1ffb99e6f5 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-10-10 00:22:59 +09:00
bernard 6c5e34fa70 fix the line too long issue 2013-10-09 18:06:40 +09:00
prife f71f0595d6 DFS/jffs2: fix bug when umount jffs2
found by haitao5198
clear mount parition device talbe when jffs2 mount falied
2013-09-28 14:57:05 +08:00
prife 12a6366217 DFS/jffs2: fix file mode init bug in jffs2_open/opendir
found by haitao52198
URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
2013-09-28 14:43:00 +08:00
Grissiom df4e8ff060 msh: only export cd/pwd when DFS_USING_WORKDIR is set 2013-09-26 11:50:28 +08:00
Grissiom 05651e7c66 logtrace: only export cmd when finsh is enabled 2013-09-26 11:49:33 +08:00
joyhope 281e55e973 notification function: rt_err_t (*tx_complete)(rt_device_t dev, void
*buffer) with buffer pointer
2013-09-24 20:57:00 +08:00
Grissiom 2a20337707 logtrace: adjust the log values
logtrace only use odd number of log levels. So the use could set some
custom level amount them.
2013-09-23 15:13:45 +08:00