Commit Graph

2429 Commits

Author SHA1 Message Date
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
Grissiom 3bab79a7dd update CRLF 2013-01-09 00:06:34 +08:00
Grissiom 01d3d80944 update .gitattributes 2013-01-08 23:57:29 +08:00
Ming, Bai 1ea6fd2a94 Update CRLF 2013-01-08 23:10:25 +08:00
Ming, Bai 86623c945f Update CRLF 2013-01-08 23:09:34 +08:00
Ming, Bai 85d0f41067 Continue updating CRLF 2013-01-08 22:52:41 +08:00
Ming, Bai ef3211589e Update .gitattributes 2013-01-08 22:47:48 +08:00
Ming, Bai b4de7cce57 Re-normalizing the repo 2013-01-08 22:40:58 +08:00
Ming, Bai f3192c2293 gitattributes correction 2013-01-08 22:39:26 +08:00