Commit Graph

2587 Commits

Author SHA1 Message Date
prife fbbc4c8d18 merge bsp/simlinux into bsp/simulator 2013-01-22 16:57:47 +08:00
prife 29d63fe2bc Merge branch 'master' into simposix 2013-01-22 16:23:33 +08:00
prife 3f3b6b7deb enable RTGUI in simlinux 2013-01-22 15:51:15 +08:00
prife 7c3f2fd6c7 fix sdl_fb.c to support gcc under linux 2013-01-22 15:49:49 +08:00
Bernard Xiong 8bbd54ddf6 Merge pull request #18 from prife/finsh-64gcc
fix bug in finsh when built with 64bit-gcc
2013-01-21 23:15:52 -08:00
prife 5d68ef8ec1 fix bug in finsh when built with 64bit-gcc 2013-01-22 12:44:47 +08:00
prife 236099e3ec enable FAT and uffs in simlinux/rtconfig.h 2013-01-22 12:11:35 +08:00
prife e3cc345ecf clean code in sd_sim.c to make sure it can be built with gcc in linux 2013-01-22 12:09:43 +08:00
prife 4f45c460d8 use sd as '/' mount ponit 2013-01-22 12:08:19 +08:00
Rogerz Zhang 8dcb8a6af6 Use customized command string in scons 2013-01-19 21:55:08 +08:00
qiuyiuestc b91271d490 Merge pull request #14 from heyuanjie87/ForPullRequest
fixed the string descriptor send to host more than actual
2013-01-17 04:25:23 -08:00
Bernard Xiong 14dbee0082 Merge pull request #16 from grissiom/fix-timer
more deterministic on timer
2013-01-17 00:28:24 -08:00
Grissiom 0001344105 more deterministic on timer
If two timer will timeout at the same tick, the one started later will
be called later. I've tested the patch on simulator and it _seems_ OK.

Reported-by: xdzy on the forum and delin17 <delin17@qq.com>
2013-01-17 16:13:01 +08:00
heyuanjie87 7ce0547575 fixed the string descriptor send to host more than actual 2013-01-17 14:03:45 +08:00
qiuyiuestc 250fd1082b Merge pull request #13 from heyuanjie87/ForPullRequest
handle standard request to interface that defined in class
2013-01-16 20:57:37 -08:00
heyuanjie87 a3bde3c4a3 handle standard request to interface that defined in class 2013-01-17 12:23:06 +08:00
prife 8999948650 recover the terminal's behaviour when runing exit in finsh 2013-01-17 12:06:23 +08:00
Bernard Xiong 9721603b72 Add RT_MTD_ESRC definitions.
Add RT_MTD_ESRC definitions. If the source page has issue when copying a page, the low level can return this error code.
2013-01-17 10:06:01 +08:00
prife b8aaa6e730 clean code in cpu_port.c, add some comments 2013-01-16 18:49:07 +08:00
prife b8bd5c8309 fix bug in cpu_port.c(can work very well) 2013-01-15 23:59:14 +08:00
prife 395178ebfa rewrite cpu_port.c (but still has bug) 2013-01-15 21:38:54 +08:00
prife f0d6e0e173 add gcc.ld 2013-01-14 22:41:36 +08:00
prife 07da6caafd surport finsh 2013-01-14 22:38:54 +08:00
prife 8f70786c30 add finsh, but still cannot work, only can be built with gcc 2013-01-14 16:50:40 +08:00
Bernard Xiong 7a8dfb6dd5 Merge pull request #11 from grissiom/remove-newlib-math
remove math code for newlib
2013-01-13 22:53:52 -08:00
prife 7b42f926a0 re-write the rt_hw_interrupt_enable/disable 2013-01-14 14:14:40 +08:00
prife 5685a395be add some comments and clean code in cpu_port.c 2013-01-14 01:23:08 +08:00
prife 212b71205b add bsp: simluator for linux 2013-01-13 23:10:49 +08:00
prife 7b58dd92fa add libcpu/sim/posix/cpu_port.c 2013-01-13 22:58:45 +08:00
Grissiom 9168e18e5c newlib: use the LIBS argument in DefineGroup instead of modifying the Env 2013-01-13 09:48:37 +08:00
Grissiom 8ad12057c4 Newlib: link with libm in default.
libm is a frequently used lib. Newlib is compiled with
-ffunction-sections in recent GCC tool chains. The linker would just
link in the functions that have been referenced. So setting this won't
result in bigger text size.
2013-01-11 15:13:11 +08:00
qiuyiuestc 64bf67ccfd Merge pull request #12 from heyuanjie87/usb-device
Usb device:correct the macro
2013-01-10 08:23:38 -08:00
heyuanjie87 1cb356c9df Correct macro definition 2013-01-11 00:03:46 +08:00
heyuanjie87 7b2929303e revert some define to usb_common.h 2013-01-11 00:02:40 +08:00
qiuyiuestc da1414ff27 Merge pull request #9 from heyuanjie87/usb-device
Usb-device
2013-01-10 05:50:11 -08:00
Grissiom 3ef523714f remove math code for newlib
Newlib already have optimized and full featured math implementation. To
use it, one should add:

    env['LIBS'] = ['m']

or equivalent to the SConstruct.
2013-01-10 14:58:07 +08:00
Bernard Xiong c81fa554d9 Merge pull request #10 from grissiom/fix-math
fix math.h
2013-01-09 17:15:20 -08:00
Grissiom 1bb22a0a0b fix math.h
Declare sin/cos and M_PI in math.h.
2013-01-09 21:37:41 +08:00
heyuanjie87 d84fde4e54 revert the define 2013-01-09 18:56:31 +08:00
heyuanjie87 928cabff50 allows the user custom PID and VID 2013-01-09 18:07:59 +08:00
heyuanjie87 58317f5bd2 use new interface to send status in control transfer 2013-01-09 17:55:46 +08:00
Bernard Xiong 1eb6e23c43 add lwip 1.4.1 source code 2013-01-09 00:13:42 -08:00
heyuanjie87 96f5a6dcec move the define related to Mass to here;
remove product ID
2013-01-09 12:20:15 +08:00
heyuanjie87 d20974b9d2 allows the user custom PID and VID 2013-01-09 12:18:13 +08:00
heyuanjie87 6119136596 remove product ID 2013-01-09 12:15:09 +08:00
heyuanjie87 6b0b2d51e3 move the define related to Mass to mstorage.h 2013-01-09 12:12:25 +08:00
heyuanjie87 22786f8817 allows the user to custom PID and VID;
add a dcd operation to send status in control transfer
2013-01-09 12:04:01 +08:00
Bernard Xiong 47d8dc67c0 change version number 2013-01-09 11:00:32 +08:00
Bernard Xiong accace98e0 Merge pull request #8 from mbbill/correct_crlf
Correct crlf
2013-01-08 18:13:32 -08:00
Ming, Bai 02b8e9366f Merge pull request #1 from grissiom/update-more-crlf
LGTM, thanks!
2013-01-08 08:25:19 -08:00