Commit Graph

980 Commits

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