- 12 10月, 2013 1 次提交
-
-
由 Grissiom 提交于
Skip list is a "random" data structure that in high possibilities it would get O(log(N)) time complexity in inserting while the old list get O(N). Forthermore, when set RT_TIMER_SKIP_LIST_LEVEL to 1, it will just the same as the old double linked list, both in time and space complexity. Benchmarks shows that when RT_TIMER_SKIP_LIST_LEVEL is 3, the average time of random insertion of new timer is about 2 times faster than the old timer when there are 100 timers and 3 times faster when there are 200 timers. However, it restores the deprecated funcion rt_system_timer_init. BSPs must invoke it upon system startup.
-
- 01 10月, 2013 2 次提交
-
-
由 Bernard Xiong 提交于
scons script: support to generate vs2012 project xml
-
由 prife 提交于
rename template.vcproj to template_vs2005.vcproj add template_vs2012.vcxproj NOTE: the vs2012.py is ugly, just can work.
-
- 28 9月, 2013 3 次提交
-
-
由 Bernard Xiong 提交于
DFS/jffs2: fix file mode init bug in jffs2_open/opendir
-
由 prife 提交于
found by haitao5198 clear mount parition device talbe when jffs2 mount falied
-
由 prife 提交于
found by haitao52198 URL:http://www.rt-thread.org/phpBB3/viewtopic.php?f=3&t=3112&p=17153#p17153
-
- 26 9月, 2013 3 次提交
-
-
由 Bernard Xiong 提交于
Compiling fix
-
由 Grissiom 提交于
-
由 Grissiom 提交于
-
- 23 9月, 2013 7 次提交
-
-
由 Bernard Xiong 提交于
logtrace: cleanup code and fix compiling warnings
-
由 Grissiom 提交于
logtrace only use odd number of log levels. So the use could set some custom level amount them.
-
由 Grissiom 提交于
-
由 Grissiom 提交于
-
由 Bernard Xiong 提交于
kservice: export vsnprintf as rt_vsnprintf
-
由 Grissiom 提交于
vsnprintf is a common string function that could be used in many places. Using both vsnprintf in libc and vsnprintf in the RTT could make a bigger image. Moreover, if newlib is not enabled when compiling with GCC, referencing vsnprintf will lead to link error: .../arm-none-eabi/lib/armv7-ar/thumb/softfp/libc.a(lib_a-sbrkr.o): In function `_sbrk_r': sbrkr.c:(.text._sbrk_r+0xc): undefined reference to `_sbrk' collect2: error: ld returned 1 exit status Using rt_vsnprintf could avoid such problem.
-
由 Bernard Xiong 提交于
finsh: unregister rx_indicate when closing the device
-
- 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 2 次提交
-
-
由 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.
-