Commit Graph

2822 Commits

Author SHA1 Message Date
bernard ba8f125f56 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2013-07-24 09:05:12 +08:00
bernard a124e7bd22 add initialization debug code 2013-07-24 07:33:48 +08:00
Bernard Xiong e28c8963e6 Merge pull request #134 from prife/sim-fix
simulator: update to support simulator for linux
2013-07-22 15:15:25 -07:00
prife 8846ac8c40 simulator: update to support simulator for linux 2013-07-22 23:02:03 +08:00
bernard b96b35613f add mount table 2013-07-22 07:46:10 +08:00
Bernard Xiong adc678dabb Merge pull request #133 from weety/at91sam9260
At91sam9260
2013-07-21 05:35:41 -07:00
weety 37ac4855da Embedded GPLv2 license. 2013-07-21 20:01:24 +08:00
weety 36c4604a36 fix compiling error 2013-07-21 19:39:21 +08:00
weety 42f9840653 commit again 2013-07-21 17:32:55 +08:00
weety 3bdbf640b7 update at91sam9260 project directory structure. 2013-07-21 17:19:30 +08:00
weety 885301bb14 update AT91SAM9260 usart driver, using serial driver component. 2013-07-21 15:01:42 +08:00
Peng Fan 82bc21ff7b Cleanup and add licencse 2013-07-17 18:42:19 +08:00
Peng Fan 73beced22a SEP6200 Support 2013-07-17 13:37:31 +08:00
Bernard Xiong 9980041de6 Merge pull request #131 from grissiom/memheap
memheap: don't alloc/memcpy when there is next node is enough for realloc
2013-07-14 21:01:40 -07:00
Grissiom c3a39444da memheap: dont alloc/memcpy when there is next node is enough for realloc
When realloc a bigger space and the next node is free and big enough, we
should directly relocate the next node instead of doing alloc/memcpy.
The new method not only faster in this cases, it would avoid memory
fragment as well.
2013-07-15 11:47:55 +08:00
Bernard Xiong f0f0e3dd9e move commands out of DFS 2013-07-14 14:36:48 +08:00
Bernard Xiong 5ce81679ed Merge pull request #130 from aozima/pulls
update stm32f10x.
2013-07-12 13:13:47 -07:00
aozima 13c30f9269 update usart driver: use serial driver component. 2013-07-12 23:32:48 +08:00
aozima b12f6bbdee cleanup code. 2013-07-12 23:28:24 +08:00
aozima fc9d7926e2 update project support auto initial. 2013-07-12 23:09:12 +08:00
aozima c44b02f08c support auto initial. 2013-07-12 23:08:46 +08:00
aozima 8890e83aa9 update DM9000 ethernet driver for auto initial. 2013-07-12 22:54:53 +08:00
aozima 020d05ca92 update SD card driver for auto initial. 2013-07-12 22:54:48 +08:00
aozima 5183697fd4 update linker script for components auto initial. 2013-07-12 22:50:50 +08:00
aozima e749fb6e9a cleanup code. 2013-07-12 18:38:30 +08:00
aozima a183f1fbe9 update stm32f10x project. 2013-07-12 18:31:42 +08:00
aozima 8c2a11c234 update stm32f10x project directory structure. 2013-07-12 18:16:43 +08:00
aozima f0d03af696 remove unused file. 2013-07-12 17:51:35 +08:00
Bernard Xiong 9b45002f27 Merge pull request #129 from BernardXiong/master
fix compiling error in Linux.
2013-07-12 00:34:02 -07:00
Bernard Xiong de5d4cbb94 fix compiling error in Linux 2013-07-12 03:32:59 -04:00
Bernard Xiong ba0e1f6f18 Merge pull request #128 from prife/sim-init
simulator: update code for new component initialization support on mingw
2013-07-11 15:55:34 -07:00
Bernard Xiong a5a36d3fbf Merge pull request #127 from aozima/pulls
update linker script and SConstruct.
2013-07-11 15:53:44 -07:00
prife 02e74583c7 simulator: update code for new component initialization support on mingw 2013-07-11 23:31:34 +08:00
aozima 8711a0c986 update SConstruct. 2013-07-11 23:11:16 +08:00
aozima 5779f0abf0 CPPPATH should be string. 2013-07-11 23:10:32 +08:00
aozima cc8301d0f1 update linker script for components auto initial. 2013-07-11 23:07:16 +08:00
Bernard Xiong 51532ae425 Merge pull request #125 from reynoldxu/K60Fxxxx
add K60Fxxxx bsp for TWR-K60F120M board.
2013-07-11 04:10:24 -07:00
reynoldxu 0f6131de40 add K60Fxxxx bsp for TWR-K60F120M board. 2013-07-11 18:15:38 +08:00
Bernard Xiong 2c33678aac fix the memory block splitting issue 2013-07-11 16:20:28 +08:00
Bernard Xiong 493930ea07 Merge pull request #118 from BernardXiong/master
Remove initialization feature for MS VC++ compiler.
2013-07-09 13:56:51 -07:00
Bernard Xiong eed81a6419 Merge pull request #123 from aozima/hardfualt_enhancement
enhancement hard fault exception handler.
2013-07-09 13:56:21 -07:00
Bernard Xiong bac27a11a4 Merge pull request #122 from grissiom/clang-analyzer
building.py: add clang static analyzer support
2013-07-09 13:54:20 -07:00
Bernard Xiong 198a6a162a Merge pull request #121 from grissiom/device-ref-count
device: add ref_count support
2013-07-09 13:53:51 -07:00
aozima ce4f0329db enhancement hard fault exception handler. 2013-07-09 22:02:12 +08:00
Grissiom 34027e65e3 building.py: add clang static analyzer support
It adds the '--clang-analyzer' option that could invoke clang as the
static code checker. It is recommanded to work with 'scan-build' shipped
with Clang. For example, `scan-build scons --clang-analyzer`.
2013-07-09 21:08:36 +08:00
Grissiom 7bcce9e87f device: add ref_count support
This is a simple work around to the current device stack design. A
ref_count could let different modules to open/close the same device
independently without interfere others in some degree.

But there is still some data shared between the modules, like flag,
open_flag and user_data. Moreover, it won't yield an error if A open a
device, and B read from it before open it in B. Maybe alloc a new handle
in rt_device_open will be the ultimate solution. But that is much bigger
change and we may leave it to future development.
2013-07-09 15:44:55 +08:00
Bernard Xiong 4f0cb88739 Merge pull request #120 from prife/dfs-fix
dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org
2013-07-06 06:06:57 -07:00
prife 15b08b483a dfs: fix the variable definition bug in copy, found by ffgamelife from rt-thread.org 2013-07-06 16:41:10 +08:00
Bernard Xiong 8c0d4d2ad8 fix the spelling wrong 2013-07-05 19:36:57 -04:00
Bernard Xiong ca56dce2a3 remove initialization feature for MS VC++ compiler 2013-07-05 19:32:16 -04:00