Commit Graph

3420 Commits

Author SHA1 Message Date
Grissiom 8615e2c8e5 kernel/timer: change row_lvl to unsigned
Use signed int as array index is unsecure.
2014-10-14 16:00:42 +08:00
Bernard Xiong a4bb77d097 Merge pull request #351 from grissiom/fix-tools-srcremove
tools: fix SrcRemove on empty src
2014-10-08 22:10:13 +08:00
Grissiom d33df46f19 tools: fix SrcRemove on empty src
If the src is empty list, it will crash at:

    IndexError: list index out of range:
      File "/home/xxx/src/SConstruct", line 39:
        objs = PrepareBuilding(env, RTT_ROOT, has_libcpu=True)
      ...
      File "/home/xxx/src/drivers/SConscript", line 12:
        SrcRemove(src, src_need_remove)
      File "/home/rt-thread-stable/tools/building.py", line 496:
        if type(src[0]) == type('str'):
2014-10-08 18:03:12 +08:00
Bernard Xiong 08bcf51bb4 Merge pull request #349 from grissiom/fix-tools
tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
2014-10-08 13:32:08 +08:00
Grissiom 2c5eea4c21 tools: preserve the order of CPPPATH/CPPDEFINES/LIBPATH/LIBS
The order of them are important while the uniqueness has nothing to do
with the compiling.
2014-10-08 12:22:30 +08:00
Bernard Xiong 7a64d1ff1c Update README.md 2014-10-07 18:22:35 +08:00
Bernard Xiong 3bcc65b0c0 Merge pull request #348 from gitter-badger/gitter-badge
Add a Gitter chat badge to README.md
2014-10-07 18:21:56 +08:00
Bernard Xiong 65f8fe853c Update README.md 2014-10-07 18:19:56 +08:00
The Gitter Badger bc688ee0e9 Added Gitter badge 2014-10-07 10:15:11 +00:00
aozima 614e492338 Merge pull request #345 from aozima/pulls
update RW009 wifi driver.
2014-09-25 11:24:07 +08:00
Bernard Xiong 8c2008b050 [BSP] fix compiling error for beaglebone board 2014-09-25 09:42:21 +08:00
aozima 3c99a5bf8d update RW009 wifi driver. 2014-09-24 12:08:01 +08:00
Bernard Xiong ab20554254 [BSP] change UART flag when register device driver. 2014-09-24 11:04:57 +08:00
Bernard Xiong 640db6bdbd [BSP] change UART flag when register device driver. 2014-09-24 11:01:07 +08:00
Bernard Xiong ec64b60c06 Merge pull request #343 from wzyy2/master
[GDB stub]add GDB stub
2014-09-24 10:59:14 +08:00
Bernard Xiong 18fc280abc Merge pull request #344 from aozima/CME_M7
add CME-M7 support.
2014-09-21 22:14:13 +08:00
aozima f40d11e9bc update project. 2014-09-21 21:51:13 +08:00
aozima 4b99afc2b9 update EMAC driver. 2014-09-21 21:50:26 +08:00
aozima 89bcb70e5f add delay for PHY check. 2014-09-21 21:49:43 +08:00
aozima ff4fcd5b56 add EMAC driver. 2014-09-21 21:48:26 +08:00
aozima a8106442e1 update uart driver. 2014-09-21 21:46:50 +08:00
aozima 9da1668cfe import CM3-M7 project. 2014-09-21 21:45:36 +08:00
陈豪 daac5388af [bsp]change BBB uart flag 2014-09-20 20:56:02 +08:00
陈豪 dd7fff2b31 [gdb]Change open flag 2014-09-20 20:53:17 +08:00
陈豪 2a1e7d56fc [bsp]Comment stm32f407 uart6 2014-09-20 01:44:56 +08:00
陈豪 62af08370b Merge pull request #2 from RT-Thread/master
sync
2014-09-20 01:19:42 +08:00
Bernard Xiong bd6b39cace Update device.c 2014-09-19 14:29:03 +08:00
Bernard Xiong e41fe36a08 Merge pull request #341 from armink/master
[YModem] YModem optimization;
[BSP] Add more error handling in STM32F1 bsp.
2014-09-14 19:42:32 +08:00
armink 762f18d743 [Ymodem]Change tabs to space. 2014-09-14 14:52:00 +08:00
armink 987532967f [Ymodem]Change macro definition and code format. 2014-09-14 14:44:48 +08:00
armink 77b214f1bc [BSP]Add serial receive overflow interrupt to stm32f10x ISR. 2014-09-13 11:53:21 +08:00
armink 04c4e5d9a4 [BSP]Fixes two writing mistake for stm32f10x. 2014-09-13 11:50:54 +08:00
armink 7121697a71 [Ymodem]Add device open flag as input parameter to ymodem function. 2014-09-13 11:22:01 +08:00
armink ed57c7c32a [Ymodem]When active end the session, It can config send CAN number. 2014-09-13 11:15:48 +08:00
Bernard Xiong 521f24f109 Merge pull request #339 from tcz717/patch-1
[bsp] Fix the spelling errors.
2014-09-11 12:57:13 +08:00
bernard 3b5c2e2f9f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-09-11 12:55:18 +08:00
bernard 1f3ea02c5a [Kernel] Use stream mode to open console device. 2014-09-11 12:54:05 +08:00
bernard 6045b3a075 [LogTrace] Use OFLAG_RDWR to replace FLAG_RDWR when opening a device. 2014-09-11 12:53:23 +08:00
bernard b23de95ff4 [Kernel] comments clean up. 2014-09-11 12:51:52 +08:00
bernard 267c61ebce [libcpu] Add builtin ffs implementation for Cortex-M4. 2014-09-11 12:51:33 +08:00
bernard ab786679c7 [Kernel] comments clean up. 2014-09-11 12:50:41 +08:00
bernard a8b0fe3f36 [shell] Fix compiling issue when DFS is not enable 2014-09-11 12:47:25 +08:00
tcz717 537beefa70 拼写错误
drvers->drivers
2014-09-08 19:53:55 +08:00
Bernard Xiong 0ad7359b03 Merge pull request #338 from aozima/pulls
update RW009 driver.
2014-09-08 17:47:56 +08:00
aozima 03496f0700 update RW009 driver. 2014-09-08 16:59:52 +08:00
Bernard Xiong 84e4fde774 Merge pull request #337 from xfguo/ignore-pep274
Remove unsupport syntex for python 2.6.
2014-09-08 07:35:21 +08:00
Xiongfei Guo a1beec4ad3 Remove unsupport syntex for python 2.6.
Dict Comprehensions is imported in Python 2.7 & 3.0 which is PEP 274 [1]. Some
OS like CentOS 6 which is use Python 2.6 cannot support this syntex.

[1] http://legacy.python.org/dev/peps/pep-0274/

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>
2014-09-06 14:33:46 +08:00
Bernard Xiong ddd51caf62 Merge pull request #336 from grissiom/fix-idle
kernel/idle: fix rt_thread_idle_excute in high optimization level
2014-09-03 17:17:30 +08:00
Grissiom d4133990b0 kernel/idle: fix rt_thread_idle_excute in high optimization level
The rt_list_isempty has prototype of "int rt_list_isempty(const rt_list_t *l)".
So the compiler has a good reason that the rt_thread_defunct list does
not change within rt_thread_idle_excute thus optimize the "while" loop
into a "if".

So add the volatile qualifier when test against the rt_thread_defunc list.
2014-09-02 17:21:31 +08:00
Bernard Xiong be9aa36abf Merge pull request #335 from heyuanjie87/ForPullRequest
[Serial] BUG Fix: data be send twice in mode that other than polling
2014-09-02 16:55:52 +08:00