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
Grissiom
81b284b316
scons: no need to set RTT_ROOT as Repository
...
In SCons manual:
=================
In order to inform the C compiler about the repositories, SCons will
add appropriate -I flags to the compilation commands for each directory
in the $CPPPATH list. So if we add the current directory to the
construction environment $CPPPATH like so:
env = Environment(CPPPATH = ['.'])
env.Program('hello.c')
Repository('/usr/repository1')
Then re-executing SCons yields:
% scons -Q
cc -o hello.o -c -I. -I/usr/repository1 hello.c
cc -o hello hello.o
=================
The additional include directory is definitely not what we want. Just
remove the additional Repository line.
2014-04-10 15:09:20 +08:00
Grissiom
a03816ef9a
scons: seperate the BSP build with the kernel build
...
BSPs could have their own components/ etc. If they point to the same
folder, SCons would find the wrong source code to compile.
2014-04-10 15:03:11 +08:00
Bernard Xiong
f91f22b31f
Merge pull request #258 from aozima/pulls
...
update MSH ifconfig and add MSH netstat.
2014-04-09 16:08:25 +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
Bernard Xiong
8de052915f
Merge pull request #257 from grissiom/fix-shell
...
[shell] define FINSH_PROMPT as finsh_get_prompt when FINSH_USING_MSH enabled
2014-04-08 15:42:25 +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
Bernard Xiong
f4c732ae91
Merge pull request #256 from grissiom/qemu-realview-vmm
...
Qemu realview vmm
2014-04-08 12:43:16 +08:00
Grissiom
2b7be29cad
[bsp/rva8] enable group{0,1} interrupt forwarding in gic initialization
...
When RT-Thread is running stand alone, it forgot to enable the
distributor of GIC.
2014-04-08 11:54:03 +08:00
Grissiom
c0f0c2322f
[libcpu/arm] remove useless cpsr updating in rt_hw_context_switch_to
...
This piece of code will enable the interrupt early before switching to
the first thread. Although it is harmless, but not prefect.
2014-04-08 11:24:04 +08:00
Bernard Xiong
dfad3466a0
Merge pull request #255 from grissiom/qemu-realview-vmm
...
Qemu realview vmm
2014-04-07 21:02:17 +08:00
Grissiom
7d7390a188
[bsp/rva8] add mission header in rtt_api.h
2014-04-07 11:57:28 +08:00
Grissiom
430f85df7c
[bsp/rva8] make sure $BUILD_ROOT_DIR/output/target/vmm is a folder
2014-04-07 11:35:22 +08:00
Grissiom
023a0423ba
[bsp/rva8] cleanup drivers/SConscript
2014-04-07 11:18:58 +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
Bernard Xiong
16eb9bbed5
Merge pull request #253 from grissiom/qemu-realview-vmm
...
[vmm] add realview-pb-a8 VMM support
2014-04-03 18:07:17 +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
40b7eba446
[Kernel] Change the version number to 2.0.0.
2014-03-29 14:59:02 +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
Bernard Xiong
96d9fd8715
Merge pull request #249 from grissiom/msh-next
...
Msh next
2014-03-27 22:49:43 +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
de16b800a4
[scons] fix the BSP_ROOT issue in ua.py.
2014-03-25 10:04:48 +08:00
bernard
74ee48a3da
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-03-24 14:51:22 +08:00
bernard
6289a1aa25
Add UA building script.
2014-03-24 14:50:47 +08:00
prife
2427f2a87e
Merge pull request #246 from nongxiaoming/master
...
modify the pixel format to RGB565 in sdl_fb.c
2014-03-23 16:32:10 +08:00
nongxiaoming
c20ec19a96
modify the pixel format to RGB565 in sdl_fb.c
2014-03-12 16:36:39 +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
dbcb4a1ccf
[Kernel] declare more APIs in module
2014-03-11 15:44:35 +08:00
bernard
898e0d2f3f
[Kernel] stop thread timer when suspend a thread
2014-03-11 14:19:24 +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
Bernard Xiong
738871fd9e
Merge pull request #243 from grissiom/serial-rollback
...
Revert "Merge pull request #241 from bright-pan/master"
2014-03-03 12:35:01 +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
Bernard Xiong
54b693b3a2
Merge pull request #242 from bright-pan/master
...
Fix rt_serial_control() bug for customized command and indent the code
2014-02-28 18:42:53 +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
Bernard Xiong
5aeedc4f3a
Merge pull request #241 from bright-pan/master
...
Add RTS/CTS option in the serial framework.
2014-02-27 18:19:59 +08:00
Bright Pan
a4cd949519
Fix uart device driver for gpio remap and hardware flow control.
...
Add uart4 and uart5 device driver.
2014-02-26 11:22:08 +08:00