Commit Graph

3010 Commits

Author SHA1 Message Date
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
Bernard Xiong b0c1f8a79b Add device checking when set_device. 2013-07-05 21:02:47 +08:00
Bernard Xiong ca71f33303 Merge pull request #117 from grissiom/fix-sam7x
remove RT_LWIP_TCP_SND_BUF setting
2013-07-04 03:22:23 -07:00
Grissiom b9f9c3b2a4 remove RT_LWIP_TCP_SND_BUF setting
When not configured in rtconfig.h, lwipopt.h will give us a reasonable
value(TCP_MSS * 2).
2013-07-04 18:04:47 +08:00
Bernard Xiong 7c45dc02f7 Merge pull request #115 from grissiom/rm48x50
rm48x50: restore missing include for __TI_COMPILER_VERSION__
2013-07-01 07:23:41 -07:00
Grissiom 9f62f03f11 rm48x50: restore missing include for __TI_COMPILER_VERSION__ 2013-07-01 22:03:58 +08:00
Bernard Xiong 1dd7e05336 fix lwip 1.4.1 compiling error when enable component init 2013-06-30 22:50:33 +08:00
Bernard Xiong 1172b47d1e add sys_now() function porting 2013-06-30 22:37:05 +08:00
Bernard Xiong e156a8d62b Move logtrace to utilites 2013-06-30 21:51:41 +08:00
Bernard Xiong 86c9ea1117 Use lwIP 1.4.1 as the default TCP/IP protocol stack 2013-06-30 21:46:14 +08:00
Bernard Xiong 91ee1e07cf rename group of logtrace 2013-06-30 21:42:34 +08:00
Bernard Xiong e63be67e2d Remove the stdarg.h file include.
Please @Grissiom check why add this header file in rtthread.h.
2013-06-30 20:17:41 +08:00
yiyue.fang 62c5115282 reformat the coding style in rthw.h 2013-06-29 13:33:06 +08:00