Commit Graph

2446 Commits

Author SHA1 Message Date
prife 821d0ac252 fix memory leak in sd_erase in bsp/simulator 2013-01-22 23:57:10 +08:00
prife d7f8f375df just mask signal in sdl_fb.c 2013-01-22 23:51:13 +08:00
prife f5fea40c5e add sd_erase in sd_sim.c, just erase MBR in SDCARD 2013-01-22 23:48:52 +08:00
prife a4d661dcf1 fix memory leak in dfs_elm.c and umount fatfs when mount fatfs fails (this bug leads to mkfs failure in linux) 2013-01-22 23:47:32 +08:00
Bernard Xiong ead6922231 Merge pull request #19 from prife/simmerge
merge simulator for linux to master branch
2013-01-22 04:10:04 -08:00
prife 05544d12c9 add .gdbinit to bsp/simulator 2013-01-22 17:45:06 +08:00
prife 80e2dd0d3d add gcc.ld to bsp/simulator 2013-01-22 17:40:03 +08:00
prife 832bbb9fe2 remove bsp/simlinux 2013-01-22 17:08:54 +08:00
prife f2636ea813 clean code in bsp/simulator/application/application.c 2013-01-22 17:07:12 +08:00
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