| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
add re-initial check.
|
|
|
|
|
|
|
|
|
|
|
|
to control the finsh default echo mode
|
|
|
|
|
|
|
|
|
|
|
|
last cmd.
|
|
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
|
|
|
|
|
|
|
|
Use uint8_t/uint32_t etc to replace u_char/u_long etc;
Use getchar for shell input.
|
|
|
|
|
|
|
|
|
|
Signed-off-by: SchumyHao <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When MSH enabled, the prompt will change at the two shells. So we should
use dynamic prompt when FINSH_USING_MSH defined.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
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.
|
|
Because the device could still remain opened when closed by finsh, the
old rx_indicate is useless for finsh. Some buggy driver will still
generate rx_indicate even after the device has been closed. So FinSh
should unregister the rx_indicate when releasing the old device.
|