Bernard Xiong
0c8335d5ab
Merge pull request #284 from grissiom/ls1b
...
Ls1b
2014-05-29 14:03:37 +08:00
Grissiom
2c5cfe4bcf
ls1b: cleanup code
2014-05-29 12:35:17 +08:00
Grissiom
6f53402e03
ls1b: add nostartfiles to LFLAGS
...
We don't need the crt0 from the toolchain.
2014-05-29 12:32:46 +08:00
Grissiom
a87ae1abee
ls1b: add rt_init section
2014-05-29 12:30:39 +08:00
Bernard Xiong
69621ff5cc
Merge pull request #283 from grissiom/win32spawn
...
Scons: fix the Win32Spawn
2014-05-25 08:19:20 +08:00
Grissiom
66ac9821de
Scons: fix the Win32Spawn
...
Windows(tm) CreateProcess does not use the env passed to it to find the
executables. So we have to modify our own PATH to make Popen work. Also,
detect the cmd build-in commands and execute it directly.
Tested on MDK toolchain on RB4088 and the MSVS toolchain on simulator
BSP.
2014-05-24 13:04:49 +08:00
Bernard Xiong
adbe1ea390
Merge pull request #282 from ralfak/patch-4
...
Update SConscript
2014-05-22 22:31:24 +08:00
Bernard Xiong
8c3f9b950e
Merge pull request #281 from ralfak/patch-3
...
Update stm32_rom.ld
2014-05-22 22:30:53 +08:00
Bernard Xiong
8465e4023d
Merge pull request #280 from ralfak/patch-2
...
Update rtconfig.py
2014-05-22 22:30:02 +08:00
ralfak
4febbb20eb
Update SConscript
2014-05-22 21:02:13 +08:00
ralfak
aed251280a
Update stm32_rom.ld
2014-05-22 20:56:40 +08:00
ralfak
1f5e80a51a
Update rtconfig.py
...
add keil fpu support and gcc fpu support in scons building
2014-05-22 20:52:48 +08:00
Bernard Xiong
64516d6dc4
Merge pull request #275 from aozima/pulls
...
Pulls
2014-05-18 09:58:38 +08:00
aozima
e963de9aa1
update stm32f107 ethernet driver: add more debug cmd.
2014-05-16 18:37:13 +08:00
aozima
e32c1afa3a
update stm32f107 ethernet driver: optimize eth_rx, use memcpy.
2014-05-15 21:46:26 +08:00
aozima
072fd38a43
update stm32f107 ethernet driver: update dump function.
2014-05-15 21:36:40 +08:00
aozima
f0e5ee2d32
update stm32f107 ethernet driver: update ETH GPIO setting.
2014-05-15 21:30:25 +08:00
aozima
f28aa5e748
update stm32f107 ethernet driver: update hardware checksum setting.
2014-05-15 20:45:55 +08:00
aozima
a5b99acedf
update stm32f107 ethernet driver: update MII/RMII setting.
2014-05-15 20:39:43 +08:00
aozima
d01e0e9817
format code by Astyle.
2014-05-15 20:32:16 +08:00
Bernard Xiong
cde9139bc5
[Finsh] Fix '0' token issue.
2014-05-05 13:51:26 +08:00
Bernard Xiong
075f79708a
[bsp/stm32f40x] code cleanup.
2014-04-27 10:02:52 +08:00
Bernard Xiong
ce01270632
Merge pull request #272 from wzyy2/master
...
[bsp/stm32f40x] code style change
2014-04-25 21:23:05 +08:00
Bernard Xiong
431aa6a955
Merge pull request #273 from yuht/patch-2
...
[bsp/lpc176x] Update emac.c
2014-04-25 20:15:03 +08:00
yuht
764c271c2c
Update emac.c
...
Fix PHY chip(dp83848c) init failed without Active Network.
2014-04-25 19:08:29 +08:00
wzyy2
9d07b6708f
[bsp/stm32f40x] code style change
...
TAB to 4 space
2014-04-25 18:37:06 +08:00
Bernard Xiong
1fdcede3bf
Merge pull request #269 from wzyy2/master
...
[bsp/stm32f40x] fix the uart3
2014-04-25 16:40:20 +08:00
陈豪
5a7e80bd6b
[bsp/stm32f40x] fix the uart3
2014-04-25 16:10:41 +08:00
bernard
c980bdc9e9
[External] Merge LodePNG and TJPGD into RT-Thread GUI group in building script.
2014-04-25 05:52:15 +08:00
bernard
e07f4033ba
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2014-04-20 10:10:37 +08:00
bernard
bd2b9c54bd
Add LodePNG library.
2014-04-20 10:09:55 +08:00
Bernard Xiong
30d477a9f8
Merge pull request #266 from grissiom/fix-mempool
...
[mempool] reset the thread->error before suspending thread
2014-04-16 11:53:40 +08:00
Grissiom
a78e42a7c8
[mempool] reset the thread->error before suspending thread
...
Time out result and other errors is recorded in thread->error. Dirty
error will screw up the error handling code after the thread has been
wake up.
2014-04-16 10:59:33 +08:00
Bernard Xiong
3b6198275b
Merge pull request #263 from grissiom/fix-taihu
...
[bsp/taihu] fix the link error
2014-04-15 07:10:26 +08:00
Grissiom
ab4d18a137
[bsp/taihu] fix the link error
...
The taihu.lds hardcoded the path of start_gcc.o. Change it as the layout
of build/ has change by commit a03816ef9a
.
2014-04-14 18:01:50 +08:00
Bernard Xiong
3022725f53
Merge pull request #262 from grissiom/misc-fix
...
Misc fix
2014-04-13 08:35:09 +08:00
Grissiom
5ad58a59a4
minilibc: no double braces in if statement
2014-04-12 16:58:17 +08:00
Grissiom
a95370aa56
msh: remove usless ptr set
...
The ptr is set in the following code. So remove the first one.
2014-04-12 16:57:14 +08:00
Grissiom
ec4b865579
finsh: add check on converting octal numbers
...
The digit in octal numbers should with in 0~7. Check on it in
token_proc_number. This issue is found by Clang.
2014-04-12 16:55:00 +08:00
Grissiom
1422569e7c
pthreads: remove some useless variables
2014-04-12 16:54:20 +08:00
Grissiom
4b7e9c6447
dfs: assert the path is not null in dfs_filesystem_lookup
...
Clang complains about "Null pointer argument in call to string
comparison function". So assert on it.
2014-04-12 16:35:07 +08:00
Grissiom
1b878f256f
examples/kernel: fix warnings issued by Clang
...
Fix some "unused variable" and "used before set" warnings.
2014-04-12 16:33:35 +08:00
Bernard Xiong
0c4ac4bd1a
Merge pull request #259 from grissiom/fix-scons
...
Fix scons
2014-04-11 17:04:06 +08:00
Bernard Xiong
279f2cb948
Merge pull request #260 from grissiom/logtrace-next
...
Logtrace next
2014-04-10 21:58:06 +08:00
Grissiom
299cccfb26
logtrace: add log_session_lvl
...
log_session_lvl is suitable for performance critical places where in
most cases, the log is turned off by level. If the session is const and
the level is greater than session->lvl, the whole function will be
optimized out.
2014-04-10 21:22:39 +08:00
Grissiom
12728bcdff
logtrace: add const modifier to the APIs
...
Compiler may do more optimization when the parameter is const.
2014-04-10 21:22:39 +08:00
Bernard Xiong
abcef00c8e
Merge pull request #254 from weety/Branch_usb
...
[USB]fix rt_usbd_set_config() BUG which set the USB device to configurat...
2014-04-10 16:34:32 +08:00
Grissiom
81b284b316
scons: no need to set RTT_ROOT as Repository
...
In SCons manual:
=================
In order to inform the C compiler about the repositories, SCons will
add appropriate -I flags to the compilation commands for each directory
in the $CPPPATH list. So if we add the current directory to the
construction environment $CPPPATH like so:
env = Environment(CPPPATH = ['.'])
env.Program('hello.c')
Repository('/usr/repository1')
Then re-executing SCons yields:
% scons -Q
cc -o hello.o -c -I. -I/usr/repository1 hello.c
cc -o hello hello.o
=================
The additional include directory is definitely not what we want. Just
remove the additional Repository line.
2014-04-10 15:09:20 +08:00
Grissiom
a03816ef9a
scons: seperate the BSP build with the kernel build
...
BSPs could have their own components/ etc. If they point to the same
folder, SCons would find the wrong source code to compile.
2014-04-10 15:03:11 +08:00
Bernard Xiong
f91f22b31f
Merge pull request #258 from aozima/pulls
...
update MSH ifconfig and add MSH netstat.
2014-04-09 16:08:25 +08:00