- 22 9月, 2013 2 次提交
-
-
由 Grissiom 提交于
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.
-
由 Bernard Xiong 提交于
-
- 21 9月, 2013 1 次提交
-
-
由 bernard 提交于
-
- 20 9月, 2013 1 次提交
-
-
由 bernard 提交于
-
- 17 9月, 2013 2 次提交
-
-
-
由 bernard 提交于
-
- 15 9月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
rt_event_recv: add a check on the option flag
-
- 14 9月, 2013 2 次提交
- 08 9月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
-
- 07 9月, 2013 8 次提交
-
-
由 Grissiom 提交于
-
由 Grissiom 提交于
This gives ways for bsp to set it's own RTT_CC.
-
由 Grissiom 提交于
-
由 Grissiom 提交于
-
由 Grissiom 提交于
Building is only the first step. Correctness is what we need. There are already many GCC builds for other bsp so GCC building for simulator is not important. So I use clang-analyze to check all the source codes in simulator project. Hope it will help us.
-
由 Grissiom 提交于
When CROSS_TOOL or 'RTT_CC' env is setted to 'clang-analyze', it will use Clang to check the codes.
-
由 Grissiom 提交于
Bsps can use the clang analyzer as a tool: env = Environment(toolpath=[os.path.join(RTT_ROOT, 'tools', 'tools')], tools = ['clang-analyze']) When building the project, the static analyzer will be called to check all the C code. The warnings are print to stderr.
-
由 Grissiom 提交于
The `clang -fsyntax-only` will give us additional warning messages in the console.
-
- 06 9月, 2013 2 次提交
- 04 9月, 2013 2 次提交
-
-
由 Bernard Xiong 提交于
sim/posix: move rt_hw_context_switch_interrupt after it's definition
-
由 Grissiom 提交于
This fix a compile error in Clang.
-
- 03 9月, 2013 4 次提交
-
-
由 Bernard Xiong 提交于
stm32f10x: fix the rtgui initialization
-
由 Grissiom 提交于
The rtgui_system_server_init prototype is wrong. And if we use RT_USING_COMPONENTS_INIT, there is no need to call rtgui_system_server_init again.
-
由 Bernard Xiong 提交于
log_trace: cleanup
-
由 Grissiom 提交于
-
- 02 9月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
finsh: use alias in the variable definition
-
- 01 9月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
Simulator linux
-
- 31 8月, 2013 3 次提交
-
-
由 Grissiom 提交于
With this patch, one could define two alias for the same function like: FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, reboot, reboot the cpu); FINSH_FUNCTION_EXPORT_ALIAS(rt_hw_cpu_reset, __cmd_reboot, reboot the cpu); Suitable for being used in MSH/Finsh.
-
由 Grissiom 提交于
SDL may use DFS to open files. It should be run after rt_components_init.
-
由 Grissiom 提交于
rt_hw_sdl_start should wait untill the rtgui_graphic_set_device is called int the sdl_loop. Use pthread_cond_wait to achieve this in Linux.
-
- 27 8月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
Some fix for the portal device
-
- 22 8月, 2013 2 次提交
-
-
由 Grissiom 提交于
When forwarding rx/tx callback from the underlaying device(pipe), the "dev" argument should be the portal. So the portal callback could think itself as called.
-
由 Grissiom 提交于
It does not make sense to open portal without a flag. One should open a portal with RT_DEVICE_OFLAG_RDWR in most cases.
-
- 21 8月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
finsh/cmd: add description for new pipe and portal device
-
- 20 8月, 2013 4 次提交
-
-
由 Grissiom 提交于
-
由 Bernard Xiong 提交于
Portal device
-
由 Grissiom 提交于
Portal is a device that connect devices. Currently, you can only connect pipes in portal. Pipes are unidirectional. But with portal, you can construct a bidirectional device with two pipes.
-
由 Grissiom 提交于
Pipe have many differences with char device. The main difference is altough pipe have both read and write, it is unidirectional in nature.
-
- 19 8月, 2013 1 次提交
-
-
由 Bernard Xiong 提交于
Ringbuffer and Pipe
-