Grissiom
27ee5b627b
finsh: add CCS support
2013-05-29 23:37:43 +08:00
qiuyiuestc
e822f87b1a
Merge pull request #90 from heyuanjie87/ForPullRequest
...
For pull request
2013-05-17 06:39:05 -07:00
Bernard Xiong
2ef9d91913
Merge pull request #89 from grissiom/dfs-misc-fix
...
add missing dfs_mkfs prototype in dfs_fs.h
2013-05-17 06:15:15 -07:00
aozima
c77c69c46e
fix spelling error.
2013-05-17 20:59:38 +08:00
aozima
9a671a5002
move initial alarm event & mutex in system init.
2013-05-17 20:58:40 +08:00
aozima
36fc5520cb
format code by Astyle.
2013-05-17 20:57:05 +08:00
heyuanjie87
8b4aadb4db
add usb state
2013-05-17 20:53:05 +08:00
Grissiom
3b91e8143b
add missing dfs_mkfs prototype in dfs_fs.h
2013-05-17 20:07:55 +08:00
Grissiom
b3e38f53b4
usbdevice/core: use static message queue
...
Although currently the only message send to the queue is struct
udev_msg, in order to keep backward compacity and for extention in the
future, we set the size of message to 32.
2013-05-12 15:43:30 +08:00
Grissiom
f0d50a7b36
usbdevice/core: use static thread instead of dynamic thread
...
It also add two configurations for the USB device even loop thread:
RT_USBD_THREAD_STACK_SZ to set the stack size, default to 2048
RT_USBD_THREAD_PRIO to set the priority, default to 8
You can overwrite the default values in rtconfig.h
2013-05-12 15:43:29 +08:00
Bernard Xiong
f1e34eef11
Merge pull request #86 from grissiom/serial-rb-size
...
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
2013-05-11 23:18:18 -07:00
Bernard Xiong
8e9e7f3e7c
serial: use RT_SERIAL_RB_BUFSZ to define the size of ring buffer.
2013-05-12 14:03:11 +08:00
Grissiom
aa179e4438
cdc_vcom: not to start sending data when the data is already sending
...
We start the sending transaction in SOF handler. But if the data is
already sending, start an other transaction will cause data lose.
Implement a state machine is cdc_vcom and avoid that.
2013-05-12 13:27:13 +08:00
Grissiom
157af94af9
usbdevice/core: small optimization on the event loop
...
Sort the switch cases by the frequency of the events.
2013-05-12 13:07:03 +08:00
Grissiom
d23ee75d2e
cdc_vcom: send data as many as possible
...
The data filled into dcd_ep_write does not to be limited by
MaxPacketSize.
2013-05-10 17:50:07 +08:00
Grissiom
5de59429fe
usbdevice/core: misc cleanup
2013-05-10 17:35:33 +08:00
Grissiom
ffb1e62020
cdc_vcom: send a zero-length-packet at the end is transaction
2013-05-10 15:17:59 +08:00
Grissiom
778c4239b1
cdc_vcom: fix the bug that use ringbuffer pool as usb packet buffer
...
This commit set the buffer for packet to CDC_MaxPacketSize which is a
reasonable value for it. However, maybe we should make
CDC_{RX,TX}_BUFSIZE configurable as well.
2013-05-09 23:18:58 +08:00
Grissiom
952bc0d4ef
ringbuffer: format the code to a more symmetric structure
2013-05-08 15:54:30 +08:00
Grissiom
639bd30321
reimplement ringbuffer
...
The new implementation use the mirroring method to distinguish full
buffer and the empty buffer. It also support buffers of arbitrary size.
2013-05-08 15:45:31 +08:00
Bernard Xiong
1161e7b3f8
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
2013-05-05 07:17:16 +08:00
Bernard Xiong
0e16b6dc97
add RAMFS implementation
2013-05-05 07:16:49 +08:00
Grissiom
d196a75a41
usbdevice/core/core.c: fix garbage value bug
...
This could crash the program with -O1 and -O2 in MDK.
2013-05-04 18:34:13 +08:00
shaolin
83751c63e3
add error handler in dlopen.c
2013-04-10 21:40:08 +08:00
user
06c6630bbf
fix compiling warning in finsh shell
2013-04-04 14:12:35 -04:00
Bernard Xiong
009eccf640
fix the wrong strcpy issue in list() function
2013-04-04 15:32:10 +08:00
prife
e952d55d6d
Merge pull request #70 from geniusgogo/dfs-fixbug
...
Dfs clean and optimized code
2013-04-03 09:10:49 -07:00
Bernard Xiong
b68e34c931
strip more characters in finsh token
2013-04-03 05:31:29 -04:00
geniusgogo
f95cd9a354
dfs_fs.c: optimized redundant loop.
2013-04-01 02:53:59 +08:00
geniusgogo
8d6264af58
dfs.c: delete the redunant space in the line end.
2013-04-01 02:37:13 +08:00
geniusgogo
ec6f9e3b5a
dfs.c: fix null pointer bug.
2013-04-01 02:31:24 +08:00
Bernard Xiong
97eadb7d8e
implement a shell for module
2013-03-30 16:14:38 +08:00
Rogerz Zhang
e9cf10daed
add comments to help understanding pthread
2013-03-28 23:26:46 +08:00
Bernard Xiong
86fc696957
add the first porting for lwip 1.4.1
2013-03-25 04:40:09 -04:00
Bernard Xiong
7890ee5d45
add libc in link when enable RT_USING_NEWLIB
2013-03-23 07:51:29 +08:00
prife
157e326487
dfs_elm.c: fix the head file conflicts caused by time.h
2013-03-02 18:56:07 +08:00
aozima
9bb005312f
fixed uninitialized variable.
2013-03-01 12:34:01 +08:00
aozima
f71555ec55
fixed dfs(elmfat) bug: fixed the stat(st_mtime) issue.
2013-03-01 12:23:28 +08:00
aozima
43228aeb9c
fixed list_tcps bug: ipaddr_ntoa isn't reentrant.
2013-02-28 18:22:52 +08:00
Bernard Xiong
385f682d7b
remove RT-Thread GUI from RT-Thread temporary
2013-02-21 13:11:10 +08:00
Grissiom
f06c70feed
sync with rtgui-0.6
2013-02-01 10:27:10 +08:00
prife
2a3f223b4e
Merge branch 'master' of github.com:RT-Thread/rt-thread
2013-01-25 12:21:59 +08:00
prife
4be62911f9
show volume size in KBytes in df
2013-01-25 12:17:47 +08:00
qiuyiuestc
58a5550414
Merge pull request #21 from heyuanjie87/ForPullRequest
...
class driver can custom string description
2013-01-24 05:08:09 -08:00
heyuanjie87
34d531578e
class driver can custom string description
2013-01-24 20:59:43 +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
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
heyuanjie87
7ce0547575
fixed the string descriptor send to host more than actual
2013-01-17 14:03:45 +08:00
heyuanjie87
a3bde3c4a3
handle standard request to interface that defined in class
2013-01-17 12:23:06 +08:00