Commit Graph

3317 Commits

Author SHA1 Message Date
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
heyuanjie87 8a44c7dbfb [Serial] BUG Fix: data be send twice in mode that other than polling 2014-09-01 23:43:50 +08:00
Bernard Xiong 7bd85ac547 Merge pull request #332 from grissiom/fix-minilibc
minilibc: define SIZE_MAX in stdint.h
2014-09-01 17:07:42 +08:00
Bernard Xiong 80699a4b70 Merge pull request #331 from grissiom/fix-building
tools/building: remove the use of startupinfo
2014-09-01 17:07:37 +08:00
Grissiom ab729429b3 minilibc: define SIZE_MAX in stdint.h 2014-09-01 10:41:37 +08:00
Grissiom 51c4a3aeae tools/building: remove the use of startupinfo
The startupinfo does not have any visible effects on the building
process and some old Python version does not have it at all. So remove
it for the seek of simple.

Tested `scons -j4` in a dual core virtual machine.
2014-09-01 10:11:10 +08:00
Bernard Xiong fe4f74a6b1 Merge pull request #330 from hduffddybz/ipv6
Add conditional compilation about IPv6 sources and headers, change code style
2014-08-30 21:29:51 +08:00
hduffddybz 5694c77bcf add judge of RT_USING_LWIP_HEAD 2014-08-30 11:10:50 +08:00
hduffddybz 838cdbe660 change code style 2014-08-30 11:04:13 +08:00
hduffddybz 5a7d40f80e add conditional compilation of ipv6 source file 2014-08-30 11:02:14 +08:00
hduffddybz c9aba13f40 update lwip git head 2014-08-30 10:59:33 +08:00
aozima 69d089cac0 Update SConscript: add spi to include path. 2014-08-29 21:53:28 +08:00
Bernard Xiong 46d01d3406 Merge pull request #315 from hduffddybz/fix
correct netconn API usage
2014-08-28 09:40:02 +08:00
Bernard Xiong a072c60cc9 Merge pull request #320 from tcz717/master
fix:comment spelling mistake
2014-08-28 09:39:37 +08:00
Bernard Xiong f6aec44ee1 Merge pull request #327 from hduffddybz/ipv6
[net] Add lwIP head porting to fetch lwIP new feature, for example IPv4/v6 dual stack.
2014-08-27 21:03:39 +08:00
hduffddybz 53ff02b563 add ipv6 support 2014-08-26 22:32:40 -08:00
Bernard Xiong e9a55a4595 Merge pull request #326 from grissiom/fix-mdk4
tools/keil: preserve the order of CPPPATH
2014-08-27 12:59:43 +08:00
Grissiom 83f8b52064 tools/keil: preserve the order of CPPPATH
The order of CPPPATH is important: some project would use the order of
CPPPATH to override the default configuration headers. This commit also
refine the this piece of code in a more Pythonic way.
2014-08-27 11:39:34 +08:00
Bernard Xiong a5119d696c [BSP] Add RT_DEVICE_CTRL_BLK_GETGEOME command handling in device control of LPC176x bsp 2014-08-27 09:23:32 +08:00
Bernard Xiong 7f45ac18bc Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2014-08-27 09:10:43 +08:00
Bernard Xiong 2f44048e08 [DeviceDrivers] fix workqueue end of line issue 2014-08-27 09:10:20 +08:00
Bernard Xiong 3fa6d290af Merge pull request #323 from weety/finsh_shell
[finsh] fixed finsh issue.
2014-08-27 06:22:58 +08:00
weety 12136cfeb1 [finsh] fixed finsh issue. 2014-08-26 23:36:16 +08:00
hduffddybz 7aff40f3f9 fix 2014-08-24 21:23:52 -08:00
hduffddybz 6ccfe9f374 fix 2014-08-24 21:16:02 -08:00
hduffddybz c1d0db700c add version checking 2014-08-24 21:12:47 -08:00
tcz717 c0629b342e fix:comment spelling mistake
relation=>relocation
2014-08-24 23:46:31 +08:00
Bernard Xiong d0a7861534 Update string.h 2014-08-22 09:02:35 +08:00
Bernard Xiong 50dbce3c1a Update string.c 2014-08-22 09:01:33 +08:00
Bernard Xiong e5c8e160d4 Merge pull request #316 from grissiom/fix-mempool
kernel: mempool: fix race condition in rt_mp_alloc
2014-08-20 10:34:34 +08:00
Grissiom be0c0481e9 workqueue: fix the windows eol 2014-08-20 10:24:41 +08:00
Grissiom b8bf6bef76 kernel: mempool: fix race condition in rt_mp_alloc
When thread wake up from waiting for memory, there is a chance that
there is no memory available in high pressure. So use a loop to check
again. Otherwise, there will be a NULL reference.
2014-08-20 10:16:04 +08:00
Bernard Xiong a55fd4b9c1 Merge pull request #314 from grissiom/ls1b
Ls1b
2014-08-19 10:48:49 +08:00
Bernard Xiong ee824bddfd Merge pull request #313 from Mike-Mao/newpoll
[BSP]BM9BF618S:fix timer initialization issue.
2014-08-19 10:48:43 +08:00
hduffddybz a8804d3503 correct netconn API usage 2014-08-18 00:41:03 -08:00
Grissiom 11fb9060e0 mips/loongson_1b: format code 2014-08-18 15:24:21 +08:00
Grissiom 0ee101ccb0 mips/loongson_1b: install NULL handler is OK 2014-08-18 15:22:16 +08:00
Grissiom 1d928f7daf mips/loongson_1b: fix rt_interrupt_dispatch 2014-08-18 15:21:09 +08:00
Grissiom 39ac8baeac ls1bdev: format code in startup.c 2014-08-18 15:19:06 +08:00
Grissiom bfc140826a ls1bdev: init application after other things initialized 2014-08-18 15:17:36 +08:00
Grissiom 259cfdc79f ls1bdev: don't hardcode the uart base address in rt_hw_console_output 2014-08-18 15:14:22 +08:00
Grissiom f1bc40d697 ls1bdev: add uart3 support 2014-08-18 15:13:49 +08:00
MikeMao 45f0e289c6 [BSP]BM9BF618S:fix timer initialization issue. 2014-08-18 11:18:56 +08:00
MikeMao 45b2f2f07b [BSP]BM9BF618S:Fix timer initialization issue。 2014-08-18 10:52:17 +08:00
MikeMao b98c70fc3c test 2014-08-18 10:48:11 +08:00
MikeMao 915f1adc93 [BSP]BM9BF618S:fix timer initialization issue. 2014-08-18 10:11:32 +08:00