Commit Graph

2875 Commits

Author SHA1 Message Date
Bernard Xiong e158d48de0 [license] Fix the bad license replace. 2018-10-15 00:50:04 +08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
Bernard Xiong 9064b28c2a [license] Change license to Apache. 2018-10-14 19:28:18 +08:00
Bernard Xiong cc883ad29a
Merge pull request #1891 from qgyhd1234/dfs
[dfs] fix ioctl getflag/setflag issue.
2018-10-14 10:21:54 +08:00
Bernard Xiong aa4d0903c5
Merge pull request #1884 from linuxhan/master
sal框架,使用at设备,UDP通讯数据无法获得
2018-10-13 13:42:47 +08:00
zylx 8431c05635 [dfs] fix ioctl getflag/setflag issue. 2018-10-13 10:23:47 +08:00
armink 4e578b0042 [component][at] Change the license to Apache-2.0. 2018-10-12 16:02:20 +08:00
armink 405fce917a [component][at] Move at log from at.h to at_log.h . 2018-10-12 15:54:09 +08:00
armink e9ffd2b2ef [component][at] Move at module version number definition to Kconfig file. 2018-10-12 15:48:40 +08:00
ZYH e00364c5e4 [Components][SDIO]修复脏值调用 2018-10-12 11:22:05 +08:00
linuxhan b6968d2999
Update at_socket.c 2018-10-11 22:41:13 +08:00
linuxhan 13a8afa2d4 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-10-11 22:34:40 +08:00
linuxhan f93fb14a12 修复SAL框架下AT设备UDP通讯无法接收到数据问题 2018-10-11 22:31:30 +08:00
chenyong d154c3e936 [net][sal] Add WIZnet chips TCP/IP address family support
Signed-off-by: chenyong <1521761801@qq.com>
2018-10-11 13:47:13 +08:00
SASANO Takayoshi 777554bb86 Fixed undefined reference to 'dlmodule_relocate'
This is caused by #ifdef __x86__
For x86(32bit) gcc, pre-defined macro is __i386__ not __x86__.
2018-10-10 15:38:24 +09:00
Bernard Xiong 65fc7421e0
Merge pull request #1871 from uestczyh222/master
[Components][USB]增加健壮性
2018-10-09 19:54:10 +08:00
Bernard Xiong 05101c4bba
Merge pull request #1789 from liruncong/dev-usb
修正drivers下一处bug,并修正armclang编译时该目录下的错误或警告
2018-10-09 13:49:52 +08:00
ZYH 2b7488ca85 [Components][USB]更新license 2018-10-09 11:43:35 +08:00
ZYH f73e4c3fc4 [Compoments][USB]增加对class的非法注册的判断 2018-10-09 11:41:38 +08:00
ZYH 294223c80b [Components][USB]修复当未开启复合设备时HID编译失败 2018-10-09 11:32:41 +08:00
hichard 3b957d7516 修复IAR的dlib时间映射,支持64bit的时间。 2018-10-08 22:13:38 +08:00
xuzhuoyi 472ca31d50 [libc] Remove redefinition in minilibc/errno.h 2018-10-06 15:44:10 +08:00
Bernard Xiong 0cd2c10627
Merge pull request #1833 from uestczyh222/sdio
Fix some bugs for sdio
2018-09-30 12:01:06 +08:00
ZYH 2e74539130 [Components][SDIO]fix 'rocr' declared without an initial value 2018-09-30 11:01:06 +08:00
Bernard Xiong fcb62b80da [libc] Add _EXFUN judgement 2018-09-30 09:41:43 +08:00
weety 84ffe47bb5 Fixed Kconfig spelling mistake. 2018-09-29 22:54:28 +08:00
guozhanxin 12b7634c62 [components][drivers][pwm] Add rt_pwm_disable function and API Interface 2018-09-26 17:29:39 +08:00
Bernard Xiong 32939be90c [libc] Fix the fputc issue when enable microlib. 2018-09-25 11:04:02 +08:00
Bernard Xiong b49859582a [libc] Fix the fputc issue when use microlib. 2018-09-23 14:43:21 +08:00
Bernard Xiong b98a0ba804 [Kernel] Add ARMCC 6.x support. 2018-09-23 12:08:44 +08:00
ZYH 780f538525 [Components][SDIO][MMC] fix null point check 2018-09-22 15:02:48 +08:00
ZYH 3d69c44ab8 [Components][SDIO]fix Null point access 2018-09-22 14:56:55 +08:00
ZYH f6be7abb2d [Components][SDIO]block 'err' declared without an initial value 2018-09-22 14:53:08 +08:00
ZYH f260f7effd [Components][SDIO]fix Assigned value is garbage or undefined 2018-09-22 14:49:47 +08:00
Bernard Xiong b5202d17fb
Merge branch 'master' into dev 2018-09-21 17:09:46 +08:00
Bernard Xiong a13565ce26
Merge pull request #1825 from heyuanjie87/mtd-kenghuo-cla
添加新的mtd接口
2018-09-20 18:16:21 +08:00
guozhanxin 42d181307e [components][dfs][ramfs] add RT_Object_Class_MemHeap flag for ramfs->memheap 2018-09-20 12:03:29 +08:00
heyuanjie87 b620c10014 更改许可 2018-09-20 09:41:05 +08:00
luofanlu d65424a51b
Update at_client.c
correct a spelling mistake
2018-09-19 22:53:22 +08:00
tangyuxin f7423741f2 [DeviceDriver][wlan] 已知问题修复
1.Kconfig添加DEBUG选项
2.函数入参检查
3.修复拼写错误及逻辑错误
4.低功耗可以设定等级
5.移除残留中文注释
2018-09-19 15:06:24 +08:00
heyuanjie87 3e71dc88f3 更改许可信息 2018-09-19 10:09:38 +08:00
heyuanjie87 bc5a5f89e9 添加新的mtd接口 2018-09-18 18:41:33 +08:00
Bernard Xiong ef4f904096
Merge pull request #1824 from yangfasheng/master
update armlibc/stdio.c
2018-09-18 18:38:57 +08:00
yangfasheng f31b11de78 update armlibc/stdio.c
Signed-off-by: yangfasheng <yangfasheng@rt-thread.com>
2018-09-18 17:53:28 +08:00
ZYH 9a666099aa [Components][Drivers][hwtimer]fix 'index' declared without an initial value 2018-09-18 15:30:52 +08:00
chenyong e2706c14b1 [net][at] Fix AT Socket select send data issue. 2018-09-17 18:07:26 +08:00
ZYH cc8ab15472 [Components][Drivers][SPI]fix "Value stored to 'result' is never read" 2018-09-17 10:06:54 +08:00
Bernard Xiong 277e0bc177
Merge pull request #1814 from parai/master
bring up dlmoudle on x86
2018-09-15 15:53:31 +08:00
parai.wang 133a42fbb7 bring up dlmoudle on x86 2018-09-15 13:32:42 +08:00
tangyuxin 324bfc5897 [DeviceDriver][wlan] add new wlan framework 2018-09-15 10:16:04 +08:00
Bluebear233 ad1d6600b8
Update libc.c
修复没有使用RT_USING_CONSOLE时,libc.c编译报错
2018-09-15 00:32:36 +08:00
chenyong 3302ef9d65 [net][at] Add at_client_recv function receive data timeout 2018-09-14 19:31:43 +08:00
chenyong 8f95b78da2 [net][at] fix at select receive event change issue. 2018-09-14 19:25:45 +08:00
Bernard Xiong 6e3e9cc076
Merge pull request #1796 from armink/rbb
[DeviceDriver] Add rbb (ring block buffer) data structure.
2018-09-12 21:32:25 +08:00
Bernard Xiong e59aa648b3
Merge pull request #1798 from HubertXie/master
Update sal_socket.c
2018-09-12 15:37:59 +08:00
HubretXie e14330daf9
Update sal_socket.c 2018-09-12 10:26:46 +08:00
HubretXie 8edb978c9a
Update at_client.c
修复LOG_X修改引起的编译错误
2018-09-12 10:22:31 +08:00
HubretXie e045c656f0
Update at_socket.c
修复LOG_X修改引起的编译错误
2018-09-12 10:22:00 +08:00
armink dff8a2c513 [DeviceDriver] Add rbb (ring block buffer) data structure. 2018-09-12 08:59:58 +08:00
liruncong ba20a00e19 _sys_command_string返回值错误,no support时cmd为随机数据,可能导致c库初始化时在此函数返回处死循环或跑飞. 2018-09-11 23:36:01 +08:00
HubretXie 8a9646b613
Update sal_socket.c
修复关闭socket时的Bug
2018-09-11 22:26:17 +08:00
Bernard Xiong b1bbf434a6
Merge pull request #1795 from liruncong/armlibc
armlibc下malloc/realloc/calloc函数声明同一更正
2018-09-11 20:52:08 +08:00
liruncong f61c2fb882 armlibc下malloc/realloc/calloc声明同一更正 2018-09-11 19:46:08 +08:00
Bernard Xiong 7d3f38e4f6
Merge pull request #1790 from liruncong/dev-dfs
dfs_uffs_getdents函数声明问题修正
2018-09-11 19:08:47 +08:00
Bernard Xiong 651d895391
Merge pull request #1788 from liruncong/dev
修正打开"Support C++ features"后gcc编译失败问题
2018-09-11 19:03:41 +08:00
Bernard Xiong 8c2448a4d4
Merge pull request #1774 from EvalZero/sdio_dev
[DeviceDriver][SDIO] Update sdio debug log.
2018-09-11 19:03:10 +08:00
liruncong b8b711d0a7 修正参数类型不匹配问题. uint32_t为unsigned int, 而rt_uint32_t为unsigned long
注: armclang编译器报错
2018-09-10 19:51:15 +08:00
liruncong 7b788014f7 修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug. 2018-09-10 19:40:08 +08:00
liruncong 4496437a91 8. _init/_fini加入RT_WEAK,与库中定义重复,以便通过通过travis ci的gcc自定编译. 2018-09-10 19:20:38 +08:00
weety 799c5e4ea2 [sdio] Fixed merge error. 2018-09-09 22:07:06 +08:00
weety e19cfd4571 [sdio] Fixed issue for requset size calculation. 2018-09-09 21:20:08 +08:00
weety 02a2b78943 [sdio] Fixed error for dma size calculation. 2018-09-09 14:05:45 +08:00
weety 618e185cd3 [sdio] Limit the data size per request based on the sdio controller driver configuration parameters. 2018-09-08 23:21:13 +08:00
Bernard Xiong 6fcc5c5504
Merge pull request #1777 from zhaojuntao/ymodem-0906
[components][ymodem] 修复 ymodem 不支持 secureCRT 下 1024字节传输的问题
2018-09-07 06:41:24 +08:00
MurphyZhao dcbbb05f50 [components][ymodem] 修复 ymodem 不支持 secureCRT 下 1024字节传输的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-09-06 11:02:49 +08:00
Bernard Xiong c125c711a3
Merge pull request #1773 from weety/pyconfig
Pyconfig
2018-09-05 21:26:30 +08:00
weety ae6f47e274 Solve the problem of RT_USING_DFS cyclic dependency. 2018-09-05 20:52:16 +08:00
shauew eda579a156
修改源文件中的断言指令
避免编译报错!
2018-09-05 17:19:59 +08:00
EvalZero 2c01189114 [DeviceDriver][SDIO] Update sdio debug log. 2018-09-05 14:50:43 +08:00
Bernard Xiong 6abe7e4ebd
Merge pull request #1771 from Lawlieta/chenyong
[net][sal] Fix close/shutdown memory leak issue.
2018-09-05 11:18:51 +08:00
weety d344ff5a9e Merge branch 'pyconfig' of https://github.com/weety/rt-thread into pyconfig 2018-09-05 09:40:12 +08:00
weety 5e7c56add2 Fix dependency loop issue. 2018-09-05 09:35:34 +08:00
chenyong 1571ef5acf [net][sal] Fix close/shutdown memory leak issue. 2018-09-04 11:02:48 +08:00
Bernard Xiong 10de75faf2
Merge pull request #1744 from liruncong/master
消除usb结构体gcc编译时的相关警告
2018-09-03 14:00:45 +08:00
liruncong d3c08afd75 1. 保留目前未用到的rt_usbd_ep_unassign函数,暂时移除static属性,消除警告.
2. 修改一处存在多余括号问题. armclang有警告发出.
2018-09-02 22:39:51 +08:00
Bernard Xiong 3632693141
Merge pull request #1759 from Lawlieta/chenyong
[net][sal] Fix accept create new socket failed issue.
2018-09-02 12:47:05 +08:00
chenyong 39f3f93ec1 [net][sal] Fix accept create new socket failed issue. 2018-09-01 19:42:33 +08:00
Bernard Xiong 11479e53bd [lwIP] Fix the wait queue initialization issue. 2018-09-01 13:32:03 +08:00
Bernard Xiong ab1a220eae [components] Remove lwP from v3.1.0 2018-09-01 12:03:32 +08:00
Bernard Xiong ba5c1bea44 [dlmodule] Add cache ops in dlmodule. 2018-09-01 11:00:42 +08:00
Bernard Xiong d203e3820b
Merge pull request #1753 from Lawlieta/chenyong
[net][at] Modify 'AT+CLOSE' processing method
2018-08-31 18:41:55 +08:00
Bernard Xiong 07ec7e686d
Merge pull request #1754 from liangyongxiang/rt-used
add RT_USED to component init and finsh shell
2018-08-31 18:41:44 +08:00
Bernard Xiong d74d5801c8
Merge pull request #1751 from RT-Thread/feature_libdl
[Kernel] move module to libc/libdl.
2018-08-31 18:41:16 +08:00
chenyong 02c1f0c621 [net][at] Add AT Client Error LOG for multiple clients 2018-08-31 17:24:26 +08:00
Bernard Xiong 75c8515f1a [dlmodule] Add priority and stack size option for dlmodule. 2018-08-31 15:02:48 +08:00
liang yongxiang 7c0c1c1b4a [finsh] add RT_USED to macro FINSH_FUNCTION_EXPORT_CMD and FINSH_VAR_EXPORT 2018-08-31 15:02:01 +08:00
chenyong 33a5cf15ee [net][at] Modify AT socket object release judgment 2018-08-31 14:45:40 +08:00
chenyong a3ea0565cf Merge remote-tracking branch 'remotes/rtt/master' into chenyong 2018-08-31 14:09:08 +08:00
chenyong a8c9b2fee3 [net][at] Modify 'AT+CLOSE' processing method 2018-08-31 14:08:04 +08:00
Bernard Xiong efe4523132 [Kernel] move module tolibc/libdl. 2018-08-30 20:27:45 +08:00
Bernard Xiong f7d19319ab
Merge pull request #1749 from chenyong111/chenyong
Add AT multiple client support
2018-08-30 12:59:42 +08:00
shauew 4fb344e759
Update portserial_m.c
sorry, miss out other two parts.
2018-08-30 09:10:52 +08:00
chenyong 87c35d4e2f [net][at] Add AT Socket select SAL 2018-08-29 20:40:07 +08:00
chenyong cf96dfcbdb Merge branch 'master' into chenyong 2018-08-29 19:41:29 +08:00
shauew eea0b9ebf2
Update portserial_m.c
add macro to aviod compile error with:
rt_pin_mode(MODBUS_MASTER_RT_CONTROL_PIN_INDEX, PIN_MODE_OUTPUT);
2018-08-29 18:31:32 +08:00
Bernard Xiong 7bba75753c
Merge pull request #1742 from jesven/master
Move configs of VBUS to Kconfig, delete related head files in the bsp…
2018-08-28 17:21:57 +08:00
chenyong ed7f0cad8b [net][at] Add AT multiple client support 2018-08-28 11:59:30 +08:00
liruncong 923d6fe33d 消除usb结构体gcc编译时的相关警告 2018-08-28 03:18:39 +08:00
chenyong 6d702e579f [net][sal] Remove DFS dependencies in the SAL 2018-08-27 19:50:37 +08:00
chenyong 2d894b4102 [net][at] Modify AT Socket object callback name 2018-08-27 19:44:04 +08:00
shaojinchun 03cd2c005d Add the definition of RT_VBUS_USING_FLOW_CONTROL to vbus_api.h 2018-08-27 18:33:03 +08:00
shaojinchun 84e8c65683 RT_VMM_RB_BLK_NR now is calculated from _RT_VBUS_RING_SZ 2018-08-27 18:15:38 +08:00
shaojinchun 000887795f Move configs of VBUS to Kconfig, delete related head files in the bsp directory 2018-08-27 15:37:08 +08:00
chenyong fc73538153 [net][sal/at] Add components C++ support 2018-08-27 09:56:41 +08:00
chenyong 192b177518 [at][sal] Add query and unregistered protocol family functions 2018-08-25 16:01:31 +08:00
chenyong 0d737de882 [net][at] Modify AT Socket log information, fix at_freeaddrinfo() implement 2018-08-24 20:32:14 +08:00
MurphyZhao 3b161b58f2 [component][ymodem] Fix compilation warning in MDK
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-23 17:23:03 +08:00
armink 9ef9e4b0f8 [DeviceDriver][SFUD] Update sfud to v1.0.6 latest version. 2018-08-22 16:48:17 +08:00
armink bc7a43bdaf [DeviceDriver][SFUD] Replace the vsnprintf to rt_vsnprintf. 2018-08-22 16:41:56 +08:00
chenyong 366fea22dc [net][at] Delete AT Client port function 2018-08-21 14:12:28 +08:00
chenyong c2e6f20caf [net][at] Modify the AT client initialization process, delete AT socket automatic initialization. 2018-08-21 12:05:09 +08:00
chenyong 622fa0e7ce [net][at] Fix receive error data when AT CLI exits. 2018-08-21 09:35:21 +08:00
MurphyZhao 651149fcbb [components/drivers/spi] 增加 sfud flash 设备查找接口
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-16 14:48:46 +08:00
heyuanjie87 18510fa80f
Update select.c 2018-08-14 09:33:22 +08:00
heyuanjie87 c90b449dac
Update select.c 2018-08-13 22:42:09 +08:00
heyuanjie87 d948dba42a
update select.c 2018-08-12 20:41:56 +08:00
heyuanjie fd209cb880 [lwp]添加select系统调用 2018-08-12 20:26:16 +08:00
neverxie 3a83e5524f [components][pipe] Fix 'pipe' command close bug when open failed. 2018-08-11 18:45:18 +08:00
zylx f3bce48502 [net][at] add at_client_wait_connect 2018-08-08 18:18:03 +08:00
chenyong 05c3af1ee1 [net][sal] Add shutdown type options. 2018-08-06 15:06:29 +08:00
guochuangjian 3de51fe256 fix usRcvBufferPos == MB_SER_PDU_SIZE_MAX bug 2018-08-05 15:08:50 +08:00
zylx f166ac946b [net][at] fix server repeated enter issue 2018-08-04 18:47:01 +08:00
zylx e5d9bb9013 [net][at] fix repeated enter issue 2018-08-04 17:44:12 +08:00
朱天龙 (Armink) 5902e9a64d
Merge pull request #1693 from chenyong111/master
[net][at] Add AT serial device receive data length judgment.
2018-08-03 20:01:43 +08:00
chenyong 2e8d994485 [net][at] Modify the AT commands response ERROR judgment method. 2018-08-03 19:10:35 +08:00
chenyong f5d9276434 [net][at] Add AT serial device receive data length judgment. 2018-08-03 16:11:31 +08:00
Bernard Xiong f68bb0ec90 [pthreads] Fix the object check issue. 2018-08-03 14:28:45 +08:00
chenyong c2add5cb4e [net][at] Add AT Socket select LIBC configure. 2018-08-02 17:55:01 +08:00
chenyong a8d27156a3 [net][sal] Modify SAL configure judgment. 2018-08-02 17:53:02 +08:00
朱天龙 (Armink) ba1aedd1a5
Merge pull request #1687 from chenyong111/master
[net][sal] add socket set multicast group support.
2018-08-02 17:46:38 +08:00
chenyong dabf8efce4 [net][sal] add socket set multicast group support and format code. 2018-08-02 16:57:23 +08:00
heyuanjie 43f718961e 添加网络syscall 2018-08-01 17:03:06 +08:00
heyuanjie 9cf65d0b28 添加网络系统调用 2018-08-01 15:44:33 +08:00
Bernard Xiong 90cef4fbac
Merge pull request #1673 from yangfasheng/master
update dfs.c of File System
2018-08-01 11:44:53 +08:00
guochuangjian 650f06aa19 fix usRcvBufferPos == MB_SER_PDU_SIZE_MAX assert 2018-08-01 00:40:58 +08:00
hichard_ren@yeah.net bbb879717c add config main thread priority 2018-07-31 17:05:01 +08:00
heyuanjie c79fbd373f [lwp]给thread添加lwp成员 2018-07-30 11:12:12 +08:00
yangfasheng e13f1d9e7f update dfs.c of File System 2018-07-29 12:07:36 +08:00
Bernard Xiong e6fedb6e9b [DeviceDrivers] Remove warning in Kconfig 2018-07-28 20:22:47 +08:00
Bernard Xiong e71763b068 [DFS] Add RT_USING_DFS_MNTTABLE option in Kconfig 2018-07-28 20:22:14 +08:00
Bernard Xiong 8baf3d98e1 [DFS] fix the mkfs issue for multi-mounted fatfs 2018-07-28 16:34:51 +08:00
Bernard Xiong 46acbb8dc5
Merge pull request #1669 from armink/at
[net][at] Using DMA mode first when device is supported.
2018-07-28 08:03:22 +08:00
armink ccfde36b4d [net][at] Using DMA mode first when device is supported. 2018-07-27 19:32:37 +08:00
Bernard Xiong b9255c20d2 [finsh] Remove chdir feature in msh 2018-07-26 17:09:39 +08:00
chenyong 8b887e76e9 [net][at] Add AT commands component 2018-07-25 17:35:20 +08:00
Bernard Xiong 8fe4602632 [DFS] Enable long filename for ELM FatFS in default 2018-07-25 00:50:23 +08:00
tangyuxin 06d2f9591c [lwip]修复开启SNMP选项编译会失败的问题 2018-07-24 16:17:10 +08:00
tangyuxin efcc08f3af [lwip]Add Statistics Option 2018-07-24 09:44:18 +08:00
Bernard Xiong 69ec7c3aff
Merge pull request #1641 from liangyongxiang/lwip-debug
[lwIP] add all lwIP Debugging Options
2018-07-23 18:50:16 +08:00
Bernard Xiong cd5ccea44c
Merge pull request #1652 from enkiller/dev
[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题
2018-07-22 11:19:32 +08:00
Bernard Xiong f57c46a6b7
Merge pull request #1650 from liangyongxiang/serial-poll-rx
[device][serial] call rx_indicate function only if the rx_length is n…
2018-07-22 10:16:46 +08:00
tangyuxin 78189dfb6b [components][drivers][sdio]修复没有注册SDIO中断导致断言的问题 2018-07-21 16:29:17 +08:00
liang yongxiang 2f402db661 [device][serial] call rx_indicate function only if the rx_length is not equal 0 2018-07-21 12:34:27 +08:00
tangyuxin cea61291e4 [components][dfs]修复list_fd打印乱码的问题 2018-07-20 15:30:24 +08:00
梁永祥 f489bfe522
Merge branch 'master' into lwip-debug 2018-07-19 21:06:57 +08:00
朱天龙 (Armink) 69c95944eb
Merge pull request #1643 from chenyong111/sal
Add SAL (socket abstraction layer) framework
2018-07-19 08:25:56 +08:00
liang yongxiang 9868dffc2f [lwIP] add all lwIP Debugging Options 2018-07-18 14:57:00 +08:00
chenyong 8cda48a132 [net][sal] Add SAL (socket abstraction layer) framework 2018-07-18 13:34:13 +08:00
liang yongxiang bd044f674d [components] format Kconfig 2018-07-18 11:59:50 +08:00
Bernard Xiong 41c27cce5e
Merge pull request #1639 from liangyongxiang/console-device
[libc] dependence update:
2018-07-17 21:17:21 +08:00
Bernard Xiong f51a864b08
Merge pull request #1638 from armink/fix_com_init
[components][finsh] Fix shell re-initialization check code to support…
2018-07-17 21:14:29 +08:00
liang yongxiang a27144eb4e [libc] dependence update: rt_device_write()/rt_console_get_device() need RT_USING_CONSOLE and RT_USING_DEVICE 2018-07-17 16:58:17 +08:00
armink 4c92650fde [components][finsh] Fix shell re-initialization check code to supported C89. 2018-07-17 12:52:02 +08:00
liang yongxiang b822ac8ff6 [libc] fix compilation error when RT_USING_HEAP is disable 2018-07-17 11:24:47 +08:00
aozima 6deeb61efb
Merge pull request #1622 from armink/fix_com_init
[components] Update dfs and lwIP 2.0.2 re-initialization process.
2018-07-16 20:48:24 +08:00
Bluebear233 dc0aa39b42
[DeviceDriver][serial] 修复get_index越界问题 2018-07-16 09:47:36 +08:00
armink e1c612bf0a [DeviceDriver][sfud] Fix block erase 0 byte issue when start address is equal end address. 2018-07-14 21:01:38 +08:00
armink 6139e6a3cc [dfs] Update error log for dfs. 2018-07-14 11:06:59 +08:00
armink c698c2c8e7 [dfs] Update DFS_FD_MAX default size to 16. 2018-07-14 10:03:59 +08:00
Bernard Xiong 1758f5773e
Merge pull request #1617 from armink/fix_rtdbg
Fix rtdbg
2018-07-14 06:46:50 +08:00
armink c779104ef7 [dfs] Fix dfs_file_ioctl return check on fcntl. 2018-07-13 11:14:36 +08:00
armink 730981ec42 [components] Update dfs and lwIP 2.0.2 re-initialization process. 2018-07-13 09:59:03 +08:00
Bernard Xiong 60435316ac [components] remove external folder 2018-07-12 14:15:20 +08:00
Bernard Xiong 5c420c0c6e Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-07-12 14:09:39 +08:00
armink 6cd8658dad [rtdbg] Change all DBG_SECTION_NAME to new format. 2018-07-11 10:23:19 +08:00
zyh b3eaf17e19 [Components][pipe]暴露 rt_pipe_delete 接口 2018-07-10 14:54:39 +08:00
zyh 151330b721 [Components][USB][Device]Support customer HID class|支持自定义HID设备 2018-07-04 14:13:09 +08:00
Bernard Xiong 39998e4d89
Merge pull request #1602 from aozima/re_initial_dev
add re-initial check.
2018-07-04 07:15:45 +08:00
Bernard Xiong 33fb280140
Merge pull request #1601 from aozima/shell_dev
update shell prompt.
2018-07-04 07:15:03 +08:00
Bernard Xiong eb821ae031
Merge pull request #1598 from heyuanjie87/lwp
[msh]执行小程序
2018-07-02 21:03:58 +08:00
Bernard Xiong f388bb36c4
Merge pull request #1587 from zhaojuntao/Finsh-netstat
[finsh] update netstat
2018-07-02 19:56:52 +08:00
aozima efada8768e [shell] set prompt mode is default enable. 2018-07-02 19:46:37 +08:00
aozima f3fc141f5f [dfs] add re-initial check. 2018-07-02 16:58:49 +08:00
aozima 000fe93b9f [lwip] add re-initial check. 2018-07-02 16:58:47 +08:00
aozima 4f1112f838 [shell] add finsh_set_prompt(). 2018-07-02 16:23:00 +08:00
aozima 85e732ddaf [shell] add finsh_get/set_prompt_mode. 2018-07-02 15:12:17 +08:00
heyuanjie 409e7fca0a [msh]执行小程序 2018-07-02 13:47:47 +08:00
朱天龙 (Armink) 1d588c7475
Merge pull request #1596 from liquanqing/inc_modbus
[Components][modbus]add 485 controller pin to Kconfig | 在Kconfig中添加485控制引脚
2018-07-02 12:27:47 +08:00
aozima e49a29f2dc [shell] add re-initial check. 2018-07-02 09:56:12 +08:00
MurphyZhao 6856a8b5e6 [finsh] update netstat
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-07-02 09:32:52 +08:00
Bluebear233 985db0e3bf
[KCONFIG]添加pipe缓冲区大小配置 2018-06-30 10:36:31 +08:00
Bernard Xiong 5b863eb89b
Merge pull request #1586 from zhaojuntao/wlan-fix-pwd
[drivers/wlan] Fix the problem that the password is empty
2018-06-29 22:19:47 +08:00
heyuanjie 8b8e448944 同步 2018-06-29 16:16:27 +08:00
heyuanjie 7d3af8e9ff 给lwp传递参数 2018-06-29 15:32:53 +08:00
MurphyZhao 6a85a624d7 [drivers/wlan] Fix the problem that the password is empty
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-06-29 14:57:13 +08:00
Bernard Xiong 41f2f1829f [libc] Add more typedef in minilibc. 2018-06-29 13:40:28 +08:00
Bernard Xiong f0f883668c
Merge pull request #1579 from RT-Thread/fix_waitqueue
Fix waitqueue issue
2018-06-29 13:19:16 +08:00
Bluebear233 052e6009d0
Update dfs.c
修复list_fd打印乱码问题
2018-06-29 10:50:16 +08:00
liquanqing ac0abf205d delete extra notes 2018-06-29 01:15:24 +08:00
liquanqing 212aac4715 reduction define 2018-06-27 21:56:55 +08:00
Bernard Xiong 614b2e389c
Merge pull request #1576 from TanekLiang/dfs
[dfs] add mutex depend to dfs
2018-06-27 13:31:22 +08:00
liang yongxiang ee2767e4a0 [dfs] add mutex depend to dfs 2018-06-27 10:12:59 +08:00
luo jiao ef8398c2bb [components][drivers][pin module]:typo fix for pin_detach_irq 2018-06-26 22:18:58 +08:00
Bernard Xiong 355e9f29fb
Merge pull request #1573 from enkiller/dev
[components][dfs] list_fd 打印信息更加友好
2018-06-26 15:20:27 +08:00
tangyuxin 839254d976 [components][dfs] list_fd 打印信息更加友好 2018-06-26 14:01:27 +08:00
Bernard Xiong 464e1615b9
Merge pull request #1572 from enkiller/mmc
[components][drivers]sdio 给局部指针变量赋初值,修复潜在问题
2018-06-26 12:10:05 +08:00
Bernard Xiong 0cac9afc4b [Kernel] clean code for indentation. 2018-06-26 12:02:03 +08:00
Bernard Xiong ef132f3c94 [Kernel] clean code for indentation. 2018-06-26 11:57:20 +08:00
Bernard Xiong a1a56ce1d1 [Kernel] Add flag in wait queue and fix wakeup issue. 2018-06-26 11:19:38 +08:00
tangyuxin f850a2dd33 [components][drivers]sdio 给局部指针变量赋初值,修复潜在问题 2018-06-26 11:09:13 +08:00
tangyuxin 050600f4a8 [components][drivers]enc28j60 1.默认关闭log打印 2.优化一个未使用的变量 2018-06-26 11:00:52 +08:00
liquanqing 125235c61c add freemodbus slave contorl pin config in Kconfig 2018-06-25 14:15:32 +08:00
liquanqing d188fa496c solve the dependency on the stm32 header file for freemodbus 2018-06-25 13:25:54 +08:00
Bernard Xiong fb36988e86
Merge pull request #1562 from TanekLiang/mmcsd_fix_warning
[DeviceDrivers] remove unused-assign code
2018-06-23 19:44:36 +08:00
aozima 7da376280a
Merge pull request #1556 from enkiller/dev
[components][drivers]wlan打印ap信息更加友好
2018-06-23 19:20:59 +08:00
tangyuxin 7f4b8d2102 [components][drivers]wlan 1.修改wifi速率单位为bps 2.打印ap信息更加友好 2018-06-23 14:52:08 +08:00
liang yongxiang fef854a431 [DeviceDrivers] remove unused-assign code 2018-06-23 12:09:24 +08:00
tangyuxin 43531cc276 [components][drivers]Kconfig添加SDIO相关配置 2018-06-23 11:24:31 +08:00
Bernard Xiong ff9162a994
Merge pull request #1537 from Bluebear233/patch-1
Update serial.c
2018-06-21 08:59:13 +08:00
aozima 330e68e5f4 [DHCPD] add new version DHCPD use lwip raw api. 2018-06-20 10:11:53 +08:00
aozima 5fde2f0f08 [DHCPD] fixed compile error. 2018-06-20 10:11:53 +08:00
MurphyZhao f31235c824 [components/dfs] Fix inconsistent structure of lwip_sock structure, adaptation lwip202 version
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-06-15 15:34:14 +08:00
Bluebear233 284744b7b2
Update serial.c
rx_fifo->is_full已经满时继续更新rx_fifo->get_index
2018-06-13 21:45:03 +08:00
armink 570ae751be [components][drivers] Add irq lock to rt_wqueue_wait. 2018-06-12 17:10:20 +08:00
Bernard Xiong bce30adddb
Merge pull request #1526 from armink/fix_dfs_fatfs
[components][dfs][fatfs] Add return 0 to get_fattime when RT_USING_LI…
2018-06-11 21:52:24 +08:00
armink 0406175003 [components][dfs][fatfs] Add return 0 to get_fattime when RT_USING_LIBC not enable. 2018-06-11 19:57:57 +08:00
heyuanjie a6e7b334e9 添加系统调用 2018-06-11 17:06:33 +08:00
heyuanjie e1be777adc 解除警告 2018-06-11 14:28:13 +08:00
heyuanjie 28b8e43181 去除lwp msh命令 2018-06-11 14:26:14 +08:00
Bernard Xiong b110d77d8f
Merge pull request #1521 from RT-Thread/feature_v310
Feature v310
2018-06-11 11:13:59 +08:00
Bernard Xiong 43e3eed3b9
Merge pull request #1517 from armink/fix_sfud
[components][sfud] Fix RT_DEBUG_SFUD macro to bool type.
2018-06-11 10:40:11 +08:00
armink 3b98684664 [components][sfud] Fix RT_DEBUG_SFUD macro to bool type. 2018-06-10 18:27:52 +08:00
Bernard Xiong 564df04da1 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-06-10 18:01:15 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
Bernard Xiong bca65f30a9 [lwP] Add light weight process component. 2018-06-10 17:57:34 +08:00
Bernard Xiong 682da9b249 [Kernel] Remove object container in module feature. 2018-06-10 17:56:02 +08:00
Bernard Xiong e1a57f053a
Merge pull request #1513 from armink/fix_sfud
[components][sfud] Update log info.
2018-06-10 15:55:13 +08:00
armink 24f633e025 [components][sfud] Update log info. 2018-06-10 11:08:01 +08:00
aozima 5569d17b95 [DeviceDrivers] rename _pwm.c to rt_drv_pwm.c 2018-06-08 16:07:12 +08:00
aozima 0e5b4a0ff2 [DeviceDrivers] export pwm_enable/set to shell. 2018-06-08 16:04:29 +08:00
aozima cdfef48395 [DeviceDrivers] add pwm driver framework. 2018-06-07 21:23:22 +08:00
tangyuxin 6bb00aa88b [components][finsh]msh最大参数个数可配置 2018-06-07 11:55:54 +08:00
tangyuxin c67595c242 [components][drivers]Kconfig wifi默认打开sta模式 2018-06-06 11:07:50 +08:00
tangyuxin 2f35ed0ec7 [components][drivers]Kconfig更新 2018-06-06 11:03:09 +08:00
tangyuxin 6f12736c86 [components][drivers]wlan驱动框架更新 2018-06-05 16:52:56 +08:00
guozhanxin e2c89ec0f5 [components][cputime]to be able trace before use DWT.|使用 DWT 之前必须先使能跟踪系统. 2018-06-04 14:54:07 +08:00
armink 0e3b1506d4 [components][lwIP] Change the lwIP default selected version to 2.0.2. 2018-05-31 16:58:15 +08:00
Bernard Xiong 661338d279
Merge pull request #1473 from Bluebear233/patch-1
[DFS] Update net_sockets.c
2018-05-31 13:33:42 +08:00
tangyuxin 85b14687f4 [components][drivers]Kconfig 添加Audio选项 2018-05-29 10:10:42 +08:00
Bernard Xiong eaef195911
Merge pull request #1476 from zhaojuntao/rm-wlancmd-default-config
[components/drivers/wlan] remove duplicate configuration
2018-05-29 08:33:38 +08:00
MurphyZhao af54e33d6f [components/drivers/wlan] remove duplicate configuration in wlan_cmd.c, this configuration is included in the dhcp_server.c
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-05-28 17:59:07 +08:00
MurphyZhao c0587d0407 [components/net] add dns server ip address config, may custom in menuconfig
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-05-28 17:37:30 +08:00
zyh 178fce54bd [Components][USB]fix device ep write 1bytes on hs 2018-05-28 11:04:49 +08:00
Bernard Xiong e9b6f122f9
Merge pull request #1472 from armink/fix_dfs_net
[fs][net] Add lwIP version check on setsockopt().
2018-05-28 08:47:24 +08:00
Bluebear233 ec81f44ff9
Update net_sockets.c
修复创建socket失败仍然返回有效的fd
2018-05-27 21:37:08 +08:00
armink 488a0fd360 [fs][net] Add lwIP version check on setsockopt(). 2018-05-27 21:36:00 +08:00
armink 431739dc4b [lwIP] Fix lwip 1.4.1 assert when using DFS_NET. 2018-05-27 21:12:16 +08:00
aozima 7d1324ee68 [lwip] add list_udps() for lwip-1.4.1. 2018-05-25 23:54:16 +08:00
aozima e190b166e2 [lwip] fixed compile error. 2018-05-25 22:30:15 +08:00
aozima e5f6996507 [lwip] update netstat: add list_udps. 2018-05-25 22:30:14 +08:00
aozima 6daf88d7a4 [lwip] add list_udps. 2018-05-25 22:30:14 +08:00
aozima 18941a1e69 [lwip] update list_if: add BROADCAST. 2018-05-25 22:30:13 +08:00
aozima 0819abda7a [lwip] update Kconfig: add erx/etx thread config. 2018-05-25 22:30:13 +08:00
Bernard Xiong d4af0828ea
Merge pull request #1432 from ArdaFu/master
[BSP] TM4C129X: Modify rtconfig.py to support compile from IAR-SCONS
2018-05-16 10:27:23 +08:00
Bernard Xiong 6ac213d622 Add GCC version detection.
Add cconfig.h file for different version of GCC, which is automatically
detected and generated by scons script.
2018-05-14 21:37:11 +08:00
ArdaFu 48a59d1b44 [Componment] libc: Modify skip timespec define condication. Change IAR version from 8.11.2 to 8.10.1 2018-05-14 00:12:29 +08:00
armink a6b6b05d7d [drivers/rtc] Update NTP update time API. 2018-05-10 18:29:56 +08:00
Bernard Xiong c136242986
Merge pull request #1420 from armink/fix_libc
[libc/armlibc] Remove time() on stubs.c.
2018-05-10 16:08:39 +08:00
armink 586685875b [libc/armlibc] Remove time() on stubs.c. 2018-05-10 11:30:36 +08:00
Bernard Xiong 236fd82e5d
Merge pull request #1418 from aozima/DHCPD
update DHCPD
2018-05-09 22:19:38 +08:00
aozima efadb37f4c [DHCPD] fixed compile error if use legacy LWIP. 2018-05-09 21:26:43 +08:00
aozima 47a0e46478 [DHCPD] update DHCPD_SERVER_IP config. 2018-05-09 21:15:14 +08:00
aozima 6a36d0c575 [DHCPD] format code by Astyle. 2018-05-09 17:55:41 +08:00
aozima 3970fa573d [DHCPD] add DHCPD_USING_ROUTER to Kconfig. 2018-05-09 17:55:16 +08:00
armink 8804c32801 [components/libc] Fix compile error. 2018-05-07 18:33:22 +08:00
armink 5501ec36cb [components/libc] Move time() and clock() function to libc time.c. 2018-05-07 18:19:15 +08:00
armink 201d2830e6 [components/libc] Remove #if defined(RT_USING_RTC) on time.c. 2018-05-07 18:05:10 +08:00
aozima 088990f7d3 update enc28j60 driver: ensure enable PHY link changed interrupt. 2018-05-05 13:26:18 +08:00
aozima 3ec384d809 update enc28j60 driver: format code by Astyle. 2018-05-05 13:17:48 +08:00
Bernard Xiong feb275db42
Merge pull request #1397 from armink/fix_newlib
[Components/libc] Add gettimeofday to newlib libc.
2018-05-04 16:45:24 +08:00
armink f09e39ebd3 [Components/libc] Fix compile error. 2018-05-04 09:06:57 +08:00
ZHANG Jinglong f1e2dd487e fix an i2c debug print bug 2018-05-03 23:44:56 +08:00
armink 2d9798ac3d [Components/libc] Fix time.c code style in armlibc and dlib. 2018-05-03 15:45:36 +08:00
armink 5dd0539293 [Components/libc] Add gettimeofday to newlib libc. 2018-05-03 15:43:14 +08:00
Bernard Xiong a901693fb5
Merge pull request #1394 from armink/fix_dlib
[Components/dlib] Add dirent.h to dlib libc.
2018-05-02 20:47:05 +08:00
armink 3a0a3f7c69 [Components/dlib] Add dirent.h to dlib libc. 2018-05-02 15:18:55 +08:00
zyh 6c00531044 Merge remote-tracking branch 'upstream/master' 2018-04-27 16:55:11 +08:00
zyh f68c80126e [Components][DFS]fix if disk free more than 4GB 2018-04-27 15:33:22 +08:00
zyh c053119fac [Components][HOST]fix sem name 2018-04-27 15:27:26 +08:00
Bernard Xiong cdd12b7930 [libc] Add dl features in KConfig. 2018-04-25 23:26:20 +08:00
ZYH 79372cc0c0
Merge pull request #1383 from uestczyh222/master
[Components][USB device] kconfig allow none class
2018-04-24 15:03:44 +08:00
zyh 4f40bc80ec [Components][USB device] kconfig allow none class 2018-04-24 15:00:33 +08:00
ZYH 2bd7a0e864
Merge pull request #1382 from uestczyh222/master
[Coponents][USB device]add class register interface
2018-04-24 14:34:40 +08:00
zyh 1ed770039c [Coponents][USB device]add class register interface 2018-04-24 12:48:05 +08:00
Bernard Xiong 0ee4c74ab8
Merge pull request #1378 from armink/fix_finsh
Finsh thread using heap when RT_USING_HEAP is defined
2018-04-24 10:23:11 +08:00
zyh 4c0be8c776 [Components][USB]Add stack size config 2018-04-23 20:09:01 +08:00
armink 72ec60aaa3 [components][finsh] Finsh thread using heap when RT_USING_HEAP is defined. 2018-04-23 13:28:44 +08:00
armink 7c97e16ecf [DeviceDriver] Fix RT_DEBUG_SFUD in Kconfig. 2018-04-19 19:40:47 +08:00
Bernard Xiong 74d045093b [tools] Fix the sys.path issue in IARVersion. 2018-04-15 14:39:35 +08:00
Bernard Xiong 0e1ab3d54a
Merge pull request #1349 from TanekLiang/rtc-warning
fixed warning when only enable finsh shel…
2018-04-09 13:53:38 +08:00
liang yongxiang cc81b47be2 [components] fixed signed/unsigned mismatch warning 2018-04-09 12:05:51 +08:00
liang yongxiang 2f5a9c37fa [DeviceDriver][RTC] fixed warning when only enable finsh shell: function "date" was declared but never referenced 2018-04-09 12:00:43 +08:00
liang yongxiang 570627b72f [Libc][dlib] Auto remove macro _DLIB_THREAD_SUPPORT when IAR version higher than 8.20.1 2018-04-07 00:47:30 +08:00
armink 80c2015c3a [DeviceDriver] Remove rt_memory api using on SFUD. 2018-04-01 23:03:43 +08:00
Bernard Xiong c6a5a2a386
Merge pull request #1314 from enkiller/dev
[drivers]Fix put_force bug
2018-03-28 00:53:08 +08:00
heyuanjie87 fa09a700c1
Update audio.c 2018-03-27 13:59:22 +08:00
tangyuxin 5b31545970 [drivers]Fix put_force bug 2018-03-25 07:54:31 +08:00
moebius.ever 22bcdd4bdb [finsh] change comment "Disable the command echo mode or not in default" to "Disable the echo mode in default" 2018-03-23 17:20:17 +08:00
moebius.ever bb93c74810 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-03-23 17:15:35 +08:00
ZYH 93060f2478 Merge remote-tracking branch 'upstream/master' 2018-03-23 14:52:07 +08:00
ZYH 0fcf08ae88 [Components][USB]fix a compile error 2018-03-23 14:52:00 +08:00
armink b27b1d8032 [Libc][armlibc] Add STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO to armlibc/sys/unistd.h. 2018-03-22 12:09:39 +08:00
moebius.ever feeff73168 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-03-21 15:37:23 +08:00
armink c74bc870e8 [DeviceDriver][RTC] Fix rtc Kconfig and missing return. 2018-03-21 09:15:21 +08:00
armink 991baa7a04 [Libc][dlib] Add STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO to dlib sys/unistd.h . 2018-03-20 17:50:12 +08:00
armink fed25c720e [Libc][dlib] Add fcntl.h and sys/stat.h to dlib. 2018-03-20 17:48:35 +08:00
ArdaFu 56c2ebbcc8 [components][mini-libc] Add missing C99 definition of int/uint_least/fast8/16/32/64_t. 2018-03-19 11:54:13 +08:00
zyh 38169bb51a [Components][Dfs][Fat]fix mkfs bug 2018-03-18 17:22:22 +08:00
ZYH 7262ab7364 [Components][USB Device]增加复合设备对HS的支持 2018-03-16 18:40:07 +08:00
ZYH 5035662cd9 [Components][USB Device]各个class对HS进行了适配
部分class还不支持HS,RNDIS存在暂时无法解决的已知bug
2018-03-16 18:36:14 +08:00
moebius.ever 61946325ee [finsh] add FINSH_ECHO_DISABLE_DEFAULT and remove FINSH_ECHO_MODE_DEFAULT, to control the finsh default echo mode 2018-03-16 16:26:22 +08:00
ZYH 0ab93e70f0 [Components][USB Device]增加协议栈对HS设备的支持
- 增加winusb对HS的支持。其余class还在完善中
2018-03-16 16:02:57 +08:00
moebius.ever c1505a3d60 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-03-16 14:30:23 +08:00
ZYH 9ad0cb214d
Merge pull request #1280 from charlown/master
fix cdc_vcom.c notify receive data.
2018-03-15 21:43:17 +08:00
moebius.ever 48ecbd3999 [finsh] add FINSH_ECHO_MODE_DEFAULT, to config the default echo mode of finsh 2018-03-15 12:13:40 +08:00
moebius.ever 3e7501113f Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2018-03-15 11:58:56 +08:00
tangyuxin a745d5ee03 [drivers][pin]增加两种IO中断模式 2018-03-15 11:12:22 +08:00
moebius.ever 336c946b84 [finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not and fix the bsp compile error 2018-03-15 10:50:00 +08:00
moebius.ever 5444c90ecf [finsh] add FINSH_ENABLE_ECHO macro to config the finsh needs echo or not 2018-03-15 10:12:17 +08:00
charlown 4f1f0ad918 fix cdc_vcom.c notify receive data. 2018-03-15 10:07:23 +08:00
armink 76474b3e9d [Components][Finsh] Fix list object name align issue. 2018-03-13 13:27:37 +08:00
aozima 0e4de6f8f4 [DeviceDrivers][SPI][spi_msd.c] fixed CSD Version 2.0 sector count calc. 2018-03-09 21:38:18 +08:00
aozima f582bb5ba4 [DeviceDrivers][SPI] format spi_msd.c 2018-03-09 21:38:09 +08:00
uestczyh222 6bfb966d7d [Components][WINUSB]Fix USB_VENDOR_ID and USB_PRODUCT_ID Macro 2018-03-09 15:28:57 +08:00
uestczyh222 55a1c11abc [Components][WINUSB]Add Guid config to Kconfig Add VID PID config 2018-03-09 15:21:33 +08:00
Bernard Xiong eb78535604 [DFS] Add protection for pt->triggered 2018-03-09 08:35:12 +08:00
Bernard Xiong fe66f24c69 [DFS] Add lastdata for poll of netsocket 2018-03-09 08:34:43 +08:00
tangyuxin 2bbb27c29c [drivers]修复定时器驱动框架单次长时间定时不准确的问题 2018-03-06 10:40:02 +08:00
Bernard Xiong 8f2588d609
Merge pull request #1258 from RT-Thread/feature_kconfig
[BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc
2018-03-05 22:16:27 +08:00
Bernard Xiong f83eb41ef7 [libc] fix the compiling warning 2018-03-05 21:17:03 +08:00
Bernard Xiong 3aa582bc17 [BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc 2018-03-04 22:35:07 +08:00
Bernard Xiong 8203b6004b [Libc] add HAVE_SYS_SIGNALS config 2018-03-04 17:27:11 +08:00
Bernard Xiong ba2b1f0e56 [DeviceDrivers][MMC] rename fls to __rt_fls 2018-03-04 17:25:59 +08:00
Bernard Xiong 7f1db36f39 [finsh] fix the compiling warning for [-Wmisleading-indentation] 2018-03-04 12:16:52 +08:00
Bernard Xiong 8b36b57a11 [UIEngine] move UI engine as a package 2018-03-03 16:34:01 +08:00
Bernard Xiong f9a7ba050a [finsh] convert tab to space and split export API to finsh_api.h 2018-03-01 21:01:20 +08:00
BernardXiong 38b9ed3118 [Kernel] add sigwait implementation 2018-03-01 13:36:22 +08:00
tangyuxin 6ceb4554fc [Drivers]修复不打开dfs时,wlan驱动编译出错的问题 2018-03-01 09:15:32 +08:00
tangyuxin 4c2398fe64 [components] Kconfig add option:set main thread stack size 2018-02-24 17:07:48 +08:00
Bernard Xiong ef0d5ed3cd
Merge pull request #1229 from armink/remove_netutils
[NetUtils] Remove netutils Kconfig and folder
2018-02-24 15:26:09 +08:00
armink 56930cd100 [NetUtils] Remove netutils Kconfig and folder. The latest netutils is on packages:netutils. 2018-02-24 13:02:40 +08:00
armink 013e5bd411 [Components][Finsh] Add shell getchar received error process. 2018-02-23 15:24:27 +08:00
Bernard Xiong 40b580b223
Merge pull request #1224 from armink/fix_minilibc_time
Fix minilibc time
2018-02-16 22:53:02 +08:00
armink 9c620cb2f1 [Libc][Minilibc] Add some function declaration to time.h . 2018-02-16 20:48:37 +08:00
armink 0c4922becb [Libc][Minilibc] Add type 'clock_t' to minilibc. 2018-02-16 20:40:20 +08:00
armink ae867e1b65 [DeviceDriver][RTC] Add readme doc. 2018-02-16 13:16:53 +08:00
armink cd23728070 [DeviceDriver][RTC] Add soft RTC and NTP auto sync time config to Kconfig. 2018-02-16 13:14:48 +08:00
armink 59be76af25 [DeviceDriver][RTC] Add 'date' command for set and get date time. 2018-02-16 13:03:56 +08:00
armink 47f389732d [DeviceDriver] Add clock() to rtc.c . 2018-02-16 13:01:03 +08:00
armink ce6b0a6efb [DeviceDriver] Add NTP auto sync time for RTC device. 2018-02-16 12:58:48 +08:00
armink c4f4710b43 [DeviceDriver][RTC] Add software simulation RTC device. 2018-02-16 12:46:29 +08:00
BernardXiong 43cc01742f [libc] cleanup code. 2018-02-11 13:58:20 +08:00
BernardXiong 3f931c0df4 [C++] Fix the compiling warning issue 2018-02-11 13:58:03 +08:00
BernardXiong 780c09e3e4 [libc] Fix the O_CREAT issue.
libc_stdio_set_console/newlib uses fopen to open console device, which
has O_CREAT flag and cause fault.
2018-02-11 13:57:51 +08:00
ZYH 6b18ef3b6a
Merge pull request #1209 from ChunfengMu/fix_bugs
cdc_vcom dma 发送流程修改
2018-02-09 12:40:59 +08:00
Bernard Xiong 84a44e58dd [pthread] Fix pthread_detach issue for a none-joinable thread 2018-02-07 19:55:35 +08:00
Bernard Xiong 4e41b0573b [libc] fix the fcntl issue in newlib 2018-02-07 19:55:35 +08:00
aozima cd74a4be47 [drivers] move tf/sd card driver to spi/spi/spi_msd.c, and update Kconfig script. 2018-02-07 10:28:30 +08:00
aozima 19433e0cf5 update SConscript: support scons 3. 2018-02-06 20:07:28 +08:00
ChunfengMu a499c18072 [Components][Drivers][USB]vcom dma_tx模式下根据bulk in提交能力限制tx_ringbuffer的填充长度,避免对下次bulk in传输造成影响. 2018-02-06 01:49:59 +08:00
ZYH c9fe93dce2
Merge pull request #1199 from ChunfengMu/fix_bugs
1:解决主机端未打开串口时,设备端应用程序dma模式下操作vcom发送数据时,dataqueue条目泄漏的问题。
2018-01-31 18:58:21 +08:00
ChunfengMu 9798917638 1:解决主机端未打开串口时,设备端应用程序dma模式下操作vcom发送数据时,dataqueue条目泄漏的问题。 2018-01-31 02:37:34 +08:00
armink 4793dc0d06 [Net][NetUtils] Fix networking utils Kconfig and SConscript. 2018-01-30 16:52:30 +08:00
ChunfengMu 263e9faae4
Update cdc_vcom.c 2018-01-30 10:19:40 +08:00
ChunfengMu 2ea318cc03 1:解决未使用串口设备时,bulkout端点接收数据触发断言的问题。 2018-01-30 01:24:00 +08:00
armink 7b8f8d9615 [DeviceDriver][SFUD] Fix flash device lock not detach when an error occurred. #1167 2018-01-28 18:29:33 +08:00
armink c63d9a8864 [DeviceDriver][SFUD] Update SFUD to latest version. 2018-01-28 18:14:45 +08:00
liu2guang e63de3f66b [elm] Fixed elm device unmount error when mounting multiple elm devices. 2018-01-24 15:13:42 +08:00
ChunfengMu 0b0cbaf9aa [Components][Drivers][USB]fix compiling errors 2018-01-24 00:27:11 +08:00
Bernard Xiong 17afd47844
Merge pull request #1186 from flyingcys/kconfig
update lwip Kconfig
2018-01-23 17:22:42 +08:00
flyingcys 00d687bb2c update lwip Kconfig 2018-01-23 17:12:53 +08:00
Bernard Xiong 828804e26d
Merge pull request #1184 from uestczyh222/master
[Components][Drivers][USB Device]fix ep assign bug
2018-01-22 15:43:10 +08:00
Aubr.Cool 537943ed6f [Components] driver usb vcom fix error for console (#1160)
* [Components] driver usb vcom fix error for console
2018-01-22 13:18:27 +08:00
uestczyh222 8b1eedf73e Merge remote-tracking branch 'upstream/master' 2018-01-22 13:13:23 +08:00
uestczyh222 bcfade9a86 Merge branch 'master' of https://github.com/uestczyh222/rt-thread 2018-01-22 13:12:46 +08:00
uestczyh222 4ca2337176 [Components][Drivers][USB Device]fix ep assign bug 2018-01-22 12:58:59 +08:00
ZYH 765df5b479
Merge pull request #1180 from ChunfengMu/fix_bugs
修复cdc_vcom命令处理错误
2018-01-22 09:01:15 +08:00
yangfasheng ceefcb9732 gui 引擎优化; 2018-01-19 10:20:02 +08:00
ChunfengMu 31dcce45c8 1:修复cdc_vcom命令处理错误,SetLineCoding命令用于设置一些vcom参数,在此处判定vcom连接状态不合适,因通过SetControlLineState命令wValue字段最低位进行判断。 2018-01-19 01:24:33 +08:00
ZYH a9f182140c [Components][Drivers][USB]fix memory leak
修复一个 bug 该bug曾导致在设备不断电但主机重新枚举设备的情况下会导致内存泄漏并无法接收数据
2018-01-17 21:12:21 +08:00
MurphyZhao 938fa1170d [dfs] add IN6_IS_ADDR_MULTICAST support
in components/dfs/filesystems/net/netinet/in.h, add IN6_IS_ADDR_MULTICAST support
2018-01-17 15:50:34 +08:00
Bernard Xiong 3ceadbe7ee
Merge pull request #1169 from zhaojuntao/gettimeofday
[libc] Add gettimeofday support to dlib
2018-01-17 15:26:28 +08:00
liu2guang a672a9e52a [Finsh] 修复menuconfig中finsh历史命令无法关闭错误, 并将finsh未导出配置导出menuconfig. 2018-01-16 21:45:20 +08:00
MurphyZhao 97f0f26535 [components/libc/compilers/dlib]
Add dlib/time.c to support gettimeofday API
2018-01-16 17:12:30 +08:00
Bernard Xiong e14d030de9
Merge pull request #1166 from sundm75/sundm75
龙芯1C使用的libc初始化添加了dev的定义条件
2018-01-14 14:56:02 +08:00
sundm75 9dfe8e25c2 龙芯1C使用的libc初始化添加了dev的定义条件 2018-01-14 09:22:02 +08:00
ZYH 5a29c1627c [Components][DFS][RAMFS]Fix bug
fix a bug cannot open file
2018-01-13 11:35:45 +08:00
Bernard Xiong 12e0b7037e
Merge pull request #1163 from armink/fix_finsh_name
[Finsh] Add finsh thread name macro.
2018-01-12 20:54:17 +08:00
armink cfd82c260d [Finsh] Add finsh thread name macro. 2018-01-12 17:22:14 +08:00
armink 392a33d6c5 [libc] Add libc_stdio_get_console . 2018-01-12 16:55:47 +08:00
MurphyZhao c258ca794d Fix-IAR-Version-Problem
[dlib/sys/time.h] Fix iar version problem
[bsp/stm32f429-apollo/applications/SConscript] Remove CPPDEFINES
2018-01-10 10:55:59 +08:00
BernardXiong d8ec36a964 [libc] Remove wrong include file in clock_time.c 2018-01-02 15:35:13 +08:00
Bernard Xiong 7678659b2f
Merge pull request #1155 from yangfasheng/master
gui 引擎优化提交
2018-01-02 13:52:55 +08:00
yangfasheng c4e8c922d3 gui 引擎已知问题优化修复; 2018-01-02 11:50:17 +08:00
yangfasheng 2c145743cb gui 引擎 font_freetype.c 代码功能优化; 2018-01-02 11:49:59 +08:00
Bernard Xiong 00c6e81ecc [DeviceDrivers] fix type unknown issue in pipe 2017-12-31 23:52:27 +08:00
BernardXiong d3da3bd9b2 [libc] move clock_time to time. 2017-12-31 16:43:08 +08:00
BernardXiong 1383a97737 [libc] Add the first version for AIO. 2017-12-31 14:49:18 +08:00
BernardXiong 4bc082e7cb [libc] move `struct sigevent` to libc_signal.h file. 2017-12-31 14:48:54 +08:00
BernardXiong 5a95d35626 [DFS] Add fcntl API (same with ioctl in RT-Thread). 2017-12-31 14:46:24 +08:00
BernardXiong 8246da645d [DeviceDrivers] fix the compiling warning. 2017-12-31 14:45:43 +08:00
BernardXiong d219f5bfa9 [lwIP] code cleanup for Kconfig.
1. code cleanup for Kconfig.
2. fix the compiling warning for BYTE_ORDER.
2017-12-31 14:44:58 +08:00
BernardXiong 341f78fed7 [DeviceDrivers] Add more API.
1. Use float type for clock_cpu_getres() return value;
2. Add clock_cpu_microsecond/millisecond APIs.
2017-12-31 14:44:04 +08:00
bernard 872975b0ab [DFS] add df cmd in msh and provide better display.
re-write for #1138
2017-12-31 10:46:24 +08:00
flyingcys a84ea6f06f update Kconfig 2017-12-30 17:31:22 +08:00
bernard 8e4307382f [DFS] update JFFS2 with RT-Thread 3.0.x. 2017-12-30 14:45:34 +08:00
bernard b07bd6c515 [Utilities] Add more options for logtrace. 2017-12-29 22:52:38 +08:00
bernard 09f2d42e5a [DeviceDrivers] Add device API in pipe device. 2017-12-29 22:33:39 +08:00
bernard 6fe16bba3b [lwIP] Remove the unnecessary log in SConscript. 2017-12-29 22:32:23 +08:00
parai eade1bbd0f
[dfs] fix the issue of stat "/.." of lwext4 2017-12-28 13:36:33 +08:00
aozima b0081d356f [LWIP] update dhcpd: add [mac-ip] table support. 2017-12-27 20:34:31 +08:00
aozima 1215737ec9 [LWIP] update dhcpd: set ip when dhcpd start. 2017-12-27 20:09:28 +08:00
Bernard Xiong 2289f6ac1c
Merge pull request #1131 from SummerGGift/fix_bug_in_nfs_ipv6
[nfs] : fix bug in nfs when enable ipv6
2017-12-25 19:35:39 +08:00
Bernard Xiong e1da54e513 [pthreads] Add CLOCK_CPUTIME_ID/CLOCK_MONOTONIC clock_id 2017-12-24 00:06:29 +08:00
Bernard Xiong f746c6e556 [DeviceDrivers] fix compiling warning 2017-12-24 00:06:29 +08:00
Bernard Xiong f7a8d6eb16 [GUI Engine] fix compiling warning 2017-12-24 00:06:29 +08:00
Bernard Xiong 9b8a8d6e5f [libc] Remove Kconfig warning 2017-12-24 00:06:29 +08:00
Bernard Xiong 7c4417855e [DeviceDrivers] Add CPU time 2017-12-24 00:06:29 +08:00
SummerGift 3b548038e1 [nfs] : optimize code format 2017-12-23 17:01:01 +08:00
SummerGift e8ec10d5e7 [nfs] : upgrade from gethostbyname to getaddrinfo 2017-12-23 16:55:54 +08:00
SummerGift 98d8145661 [nfs] : fix bug in nfs when enable ipv6 2017-12-23 11:58:23 +08:00
luo jiao 3d65afc7d5 add some parameter check and function defintion etc. 2017-12-22 13:24:02 +08:00
ZYH fe27b9751c Merge remote-tracking branch 'upstream/master' 2017-12-21 21:26:54 +08:00
ZYH 92f5b437f7 [USB Device]fix an error on msc 2017-12-21 21:26:40 +08:00
Bernard Xiong 9d7ffb1dc5 [Kconfig] Add Kconfig for CMSIS 2017-12-21 16:40:04 +08:00
aozima d483f25f43 [LWIP] add IPV6 mld_mac_filter() for multicast filter. 2017-12-19 20:08:07 +08:00
aozima 95b0da14cb [LWIP] enable IGMP protocol default. 2017-12-19 19:27:25 +08:00
SummerGift 2d0f18f41f [nfs]: optimize Kconfig file for nfs 2017-12-18 15:48:19 +08:00
SummerGift 3cefa437dd [nfs]: optimize Kconfig file for nfs 2017-12-18 15:44:31 +08:00
SummerGift d051c6dec0 [nfs]:Format Optimize 2017-12-15 17:31:12 +08:00
SummerGift 4d0e205406 [nfs]:Format Optimize 2017-12-15 17:31:11 +08:00
SummerGift 4779429ab0 [dfs]:fix bug in nfs caused by struct dfs_fd 2017-12-15 17:31:11 +08:00
Bernard Xiong ac7aa78a33
Merge pull request #1108 from uestczyh222/master
[Components][Drivers][USB HOST]Fix core stack and msc driver
2017-12-15 07:37:16 +08:00
uestczyh222 9b44af941f [Components][Drivers][USB HOST]Fix core stack and msc driver
可以挂U盘了 欢迎测试鲁棒性已打通F4全系列HOST驱动(OTGFS)
2017-12-14 22:45:12 +08:00
aozima 37e5985540 [LWIP] delete errno.h, use RT-Thread implement. 2017-12-14 21:39:32 +08:00
aozima bc2de526db [LWIP] update SConscript: add /src/include/posix to include path when RT_USING_DFS_NET not enable. 2017-12-14 21:38:00 +08:00
aozima 108a1434cd [LWIP] fixed select issues: pollset need clean. 2017-12-14 17:04:56 +08:00
aozima a2d1f21b43 [LWIP] fixed closesocket issues: socket has been closed, delete it from file system fd. 2017-12-14 16:52:46 +08:00
Bernard Xiong b95be05c05 [GUI Engine] fix TRANSPARENT issue 2017-12-14 13:10:38 +08:00
bernard 7f36786788 [GUI Engine] Fix the TRANSPARENT definition issue. 2017-12-14 09:58:59 +08:00
uestczyh222 18d42fe077 [Components][USBHOST]Core OK 2017-12-14 03:14:44 +08:00
bernard 3d28f8f512 [UIEngine] Fix compiling warning when build under Win32. 2017-12-13 20:38:09 +08:00
uestczyh222 b42fc96408 [host first] 2017-12-13 15:58:11 +08:00
tangyuxin 21d3f1861a [gui]Kconfig增加选项,支持UTF8编码的中文字体 2017-12-13 14:47:56 +08:00
Bernard Xiong 6962bd1f1e
Merge pull request #1101 from BernardXiong/master
[Kernel] Use rt_object_get_information to get object chain
2017-12-13 14:14:40 +08:00
yangfasheng 2d98c0e7be gui 引擎代码更新; 2017-12-12 19:46:38 +08:00
yangfasheng 44e17aa277 gui 组件脚本文件修改提交; 2017-12-12 19:43:37 +08:00
Bernard Xiong a3d96ed555 Use rt_object_get_information to get object chain 2017-12-12 07:38:02 +08:00
Bernard Xiong 2f409c85f1 [Kernel] Use rt_object_get_information to get object chain 2017-12-12 07:36:37 +08:00
Bernard Xiong 5ec1046ca9 [DFS] fix the free issue in fd_is_open 2017-12-11 19:22:47 +08:00
Bernard Xiong 7515fb9d83 [lwIP] merge net/Kconfig 2017-12-11 19:16:23 +08:00
Bernard Xiong b6fef984a6 [lwIP] update Kconfig for DHCP/PPP 2017-12-11 19:14:52 +08:00
Bernard Xiong 2e0c91a950
Merge pull request #1094 from SummerGGift/add_connnnn
[lwip]:add MEMP_NUM_NETCONN option for lwip
2017-12-11 17:51:24 +08:00
SummerGift 7fc26a8486 add MEMP_NUM_NETCONN option for lwip 1.4.1 2017-12-11 15:52:11 +08:00
armink 8768f31fc1 [DeviceDrivers][SFUD] Add LOCAL_CCFLAGS to SFUD SConscript. 2017-12-10 16:53:03 +08:00
armink 2d9a592c2a [DeviceDrivers]Improve SFUD driver's compatibility. 2017-12-10 16:16:25 +08:00
SummerGift 2de2d6e433 [lwip]:add MEMP_NUM_NETCONN option for lwip 2017-12-09 16:04:38 +08:00
tangyuxin 04c019986f [gui]默认支持png格式图片 2017-12-08 19:12:31 +08:00
Bernard Xiong aa65c75d8f
Merge pull request #1082 from enkiller/add_gui_demo
[gui]修正不能正确获取图片数据长度的问题
2017-12-07 18:35:53 +08:00
Bernard Xiong d3ddf3b0a7
Merge pull request #1079 from TanekLiang/mmc_sd
[DeviceDrivers] Fix missing mailbox send after SDCard hot plug finished
2017-12-07 18:32:34 +08:00
JasonJiaJie 3454484346 [Termios]Fix compile error for gcc and iar.
Fix compile error for gcc and iar.Add termios.h to newlib and dlib
2017-12-07 18:32:06 +08:00
JasonJiaJie de0a201e44 [Termios]1. Add termios test. 2.Add termios.h
1. Add termios test. 2.Add termios.h
2017-12-07 18:32:06 +08:00
tangyuxin 5b4215d1d7 [gui]修正不能正确获取图片数据长度的问题 2017-12-07 17:16:01 +08:00
tanek liang d8bc33d70b [DeviceDrivers] Fix missing mailbox after SDCard hot plug 2017-12-07 14:44:16 +08:00
uestczyh222 049ed5047f [Components][USB][DFS][usb minimize stack size dfs fix build error
without finsh]
2017-12-07 07:24:37 +08:00
tangyuxin 45a5745acb [gui]remove gui_demo.h 2017-12-06 21:02:45 +08:00
tangyuxin 056ed06310 [gui]add example 2017-12-06 20:34:52 +08:00
Bernard Xiong 9508b0e650 fix the fs type search issue in mkfs. 2017-12-05 20:16:34 +08:00
uestczyh222 c1f9ebbde3 Merge remote-tracking branch 'upstream/master' 2017-12-04 01:59:18 +08:00
uestczyh222 f3a96e2073 [Components][Deivers][USB][HID]fix bug and add send callback 2017-12-04 01:58:59 +08:00
Bernard Xiong 2ec2203803
Merge pull request #1071 from uestczyh222/master
[Components][Drivers][USB Device][WinUSB]update winusb class
2017-12-03 13:23:42 +08:00
MiraculousConch 1462ba178d [Components][Drivers][USB Device][WinUSB]update winusb class 2017-12-03 01:32:07 +08:00
armink fde3d6bc10 [Kconfig] Add utilities Kconfig. 2017-12-02 23:16:45 +08:00
bernard 2a83353e5f [DFS] fix the filesystem_operation_table issue. 2017-11-30 23:55:22 +08:00
bernard ed033053cf [libc] Add mmap API 2017-11-30 21:18:55 +08:00
Bernard Xiong 7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +08:00
aozima affd67a8d5 [LWIP] update LWIP 2.0.2: support IPV6. 2017-11-29 19:27:23 +08:00
MiraculousConch b5e8fa0872 [Components][Drivers][USB]Add IAD support for MSC class 2017-11-29 18:33:09 +08:00
MiraculousConch e875128115 [Components][Driver][USB][Class]fix msc class 2017-11-29 14:26:15 +08:00
MiraculousConch c64fa9f059 [Components][Drivers][USB][Core]fix io request 2017-11-29 14:25:45 +08:00
Bernard Xiong e34f53c4ca
Merge pull request #1052 from aozima/lwip_dev
[LWIP] make sure lwip initialization order.
2017-11-29 08:58:52 +08:00
Bernard Xiong 4d854ba5a9
Merge pull request #1049 from TanekLiang/romfs_open_fixed
[DFS] fix ROMFS get root directory bug
2017-11-28 23:20:09 +08:00
Bernard Xiong 505329b32b
Merge pull request #1048 from TanekLiang/dfs_kconfig
[dfs] add new option (DFS_FILESYSTEM_TYPES_MAX) for DFS
2017-11-28 23:19:41 +08:00
tanek liang a14a219d68 [dfs] add new option (DFS_FILESYSTEM_TYPES_MAX) for DFS 2017-11-28 21:43:05 +08:00
tanek liang c63ce381fe [dsf] fix romfs build error in IAR (__weak should in start for variable definition) 2017-11-28 21:40:09 +08:00
tanek liang 5ccbaae150 [DFS] fix ROMFS get root directory bug 2017-11-28 21:38:48 +08:00
MiraculousConch a8fc894c19 [Components][Drivers][USB]fix OS proerty desc bug 2017-11-28 16:13:16 +08:00
aozima 4b4a3ab2b7 [LWIP] make sure lwip initialization order. 2017-11-28 16:00:04 +08:00
Bernard Xiong 128c184554
Merge pull request #1040 from armink/fix_serial_reopen
[DeviceDriver][Serial] Fix serial open flag lost when device reopen.
2017-11-28 13:43:57 +08:00
MiraculousConch d40d5355b8 [Components][Drivers][USB]WinUSB And Core update
协议栈增加允许class在windows环境下枚举时向系统注册附加属性。并在winusb class中提供范例(注册GUID信息)
2017-11-28 03:02:48 +08:00
armink 2be6a968d7 [DeviceDriver][Serial] Fix serial open flag lost when device reopen. 2017-11-26 10:19:51 +08:00
uestczyh222 f4fb716167 [Components][USB][Class and
Core]修复了协议栈在ep0请求大于端点描述最大包时无法正确读取的bug
增加了rndis class LWIP on USB
2017-11-25 17:31:48 +08:00
uestczyh222 cfc0304be5 [Compinents][USB]增加USB协议栈对微软OS描述符的支持,修复HID class的IAD接口,增加免驱新class WinUSB 2017-11-23 00:38:56 +08:00
uestczyh222 bd566e6a37 [Components][Drivers][USB] Add CDC-ECM class (LWIP on USB)
Windows下没驱动 linux和mac下免驱
2017-11-21 22:44:13 +08:00
Bernard Xiong af2b9b9965 [DeviceDrivers][USB Stack] code cleanup 2017-11-18 17:13:46 +08:00
bernard 327b8015d2 [KConfig] Add RT_USING_WIFI option. 2017-11-18 09:40:14 +08:00
uestczyh222 e365ff5473 [Components][Drivers][USB][HID]Update to common hid 2017-11-16 19:05:17 +08:00
MiraculousConch a4be1a8176 [Components][Drivers][USB]Add USB HID device config to env 2017-11-15 23:59:31 +08:00
uestczyh222 a3808362ac [Components][Drivers][USB]fix usb device core 2017-11-15 20:54:54 +08:00
JasonJiaJie be3953fd36 [DeviceDriver][serial]Fix compile error when RT_USING_POSIX_TERMIOS is not define.
Fix compile error when RT_USING_POSIX_TERMIOS is not define.
2017-11-15 17:34:43 +08:00
Bernard Xiong 1a3b746105
Merge pull request #997 from JasonJiaJie/master
[DeviceDriver][serial]1.Fix poll rx issue when data is full. 2.Add TCFLSH and FIONREAD support.
2017-11-15 16:10:05 +08:00
JasonJiaJie b085bba04c [Posix]termios parameter issue. 2017-11-15 13:17:42 +08:00
bernard 8013d5f768 [lwIP] add lock for init_done callback. 2017-11-15 11:18:56 +08:00
JasonJiaJie 9f745c6aaf [POSIX]
1.Fix parameter error.
2017-11-15 09:41:06 +08:00
JasonJiaJie b747164942 [DeviceDriver][serial]
1.Fix poll rx issue when data is full.
2.Add TCFLSH and FIONREAD support.
2017-11-15 09:40:18 +08:00
Bernard Xiong 543a83eb01
Update sockets.c 2017-11-13 21:12:48 +08:00
Bernard Xiong dcf175b285
Merge pull request #991 from enkiller/x1000_dev_update
[BSP] Update X1000 bsp.
2017-11-13 21:11:44 +08:00
Bernard Xiong 338835f932
Merge pull request #992 from SummerGGift/1013_patch_2
[lwIP] add lwip_tryget_socket API in lwIP 1.4.1.
2017-11-13 21:09:19 +08:00
SummerGift 7a19d911e9 add lwip_tryget_socket 2017-11-13 19:06:20 +08:00
tangyuxin 6127313514 [audio]update audio/audio_pipe.h 2017-11-13 17:11:54 +08:00
Bernard Xiong d3e72e7498
Merge pull request #981 from enkiller/modify_usb_stack_
[usb]update usb stack
2017-11-13 14:25:51 +08:00
Bernard Xiong f0bc0f8fd4
Merge pull request #986 from SummerGGift/1013_patch_2
[Libc] add components/libc/compilers/armlibc/time.c
2017-11-13 14:20:11 +08:00
DengQilong e79f9e6b02 fix bsp for lpc54608 2017-11-13 14:18:05 +08:00
SummerGift 0363220042 add components/libc/compilers/armlibc/time.c 2017-11-13 09:53:08 +08:00
tangyuxin cc54e0a74e [usb]update usb stack 2017-11-11 10:53:08 +08:00
tangyuxin f7a6078c5c [audio]新版本pipe导致audio编译错误,添加以前的pipe 2017-11-10 19:50:29 +08:00
MurphyZhao e466357c7f [Fix] Fix building error when `PKG_USING_CJSON` is not defined
[Mod] Modify wifi_usage help message
2017-11-09 17:24:26 +08:00
tanek liang 99e5e90c40 [DeviceDrivers] support using RT_USING_MTD_NOR and RT_USING_MTD_NAND at the same time 2017-11-09 16:50:20 +08:00
JasonJiaJie ef219c20c2 [Driver][Pipe]Memory leak issue when close a pipe.
There is a memory leak issue when close a pipe.
2017-11-09 16:49:46 +08:00
MurphyZhao 024e3ea8f6 [Fix] Fix issue caused by global info and local info in wlan/wlan_cmd.c
[Add] Change network_mode value according to the finsh shell command
2017-11-09 13:13:32 +08:00
SummerGift 4dfabdcb0a add components/libc/compilers/armlibc/dirent.h 2017-11-09 13:07:58 +08:00
armink ba2f149a4c [DeviceDriver] Change `pin_irq_enable` to `rt_pin_irq_enable`. 2017-11-08 00:05:46 +08:00
JasonJiaJie 75c6c40a64 [DeviceDriver][serial]Fix data bits error issue when using tcsetattr to set uart parameters.
data bits should get from CSIZE.
2017-11-07 15:35:20 +08:00
Bernard Xiong 6ccebe19d5 [DeviceDrivers] Fix compiling issue in MMC/SD. 2017-11-06 20:11:25 +08:00
Bernard Xiong d6c794ae78
Update KConfig 2017-11-06 20:01:35 +08:00
tangyuxin 68279a2ac2 [gui]移除头文件"image_jpeg.h" 2017-11-06 18:24:42 +08:00
Bernard Xiong 22f9486b44
Merge pull request #960 from enkiller/add_image_h
[gui]包含"image.h"文件,解决未定义"struct rtgui_image_engine"问题
2017-11-06 17:38:35 +08:00
tangyuxin 914a43925b [gui]包含"image.h"文件,解决未定义"struct rtgui_image_engine"问题 2017-11-06 17:29:54 +08:00
Bernard Xiong 364a223f36
Merge pull request #958 from enkiller/modify_gui_libraries_SConscript
[gui]修改SConscript文件,解决找不到"tjpgd.h"的问题
2017-11-06 17:24:18 +08:00
tangyuxin cbca37dd1d [gui]修改SConscript文件,解决找不到"tjpgd.h"的问题 2017-11-06 17:14:42 +08:00
tangyuxin d9032677ac [gui]更改"JPEG"和"PNG"选项为多选一模式 2017-11-06 16:59:48 +08:00
weety e4dd86a1b7 [DRIVER][SDIO] Add components initializer. 2017-11-05 21:41:43 +08:00
Bernard Xiong 9bd094197e [libc] Add HAVE_SYS_SELECT_H/HAVE_SYS_SOCKET_H options. 2017-11-05 14:36:48 +08:00
Bernard Xiong 6be1bd1c89
Merge pull request #951 from enkiller/gui_modify_Kconfig
[gui]Kconfig Add options 'RTGUI_IMAGE_CONTAINER'
2017-11-04 14:49:53 +08:00
Bernard Xiong babc1a1990
Merge pull request #950 from enkiller/gui_modify_SConscript
[gui]修改 SConscript 文件。 RT_USING_RTGUI -> RT_USING_GUIENGINE
2017-11-04 14:49:29 +08:00
tangyuxin 90d0f3592d [gui]Kconfig Add options 'RTGUI_IMAGE_CONTAINER' 2017-11-04 14:46:50 +08:00
tangyuxin a8e3f14653 [gui]修改 SConscript 文件。 RT_USING_RTGUI -> RT_USING_GUIENGINE 2017-11-04 14:42:26 +08:00
tangyuxin 1a2bb037c7 [gui]Update freetype library to version 2.6.2 2017-11-04 14:23:09 +08:00
Bernard Xiong 633507228a
Merge pull request #948 from enkiller/gui_img_hdc_c
[gui]解决不使用fastlz包时,GUI解码fastlz压缩的hdc格式图片,系统会宕机问题
2017-11-04 14:08:54 +08:00
tangyuxin 9a47193bcd [gui]解决不使用fastlz包时,GUI解码fastlz压缩的hdc格式图片,系统会宕机问题 2017-11-04 14:06:41 +08:00
tangyuxin fe6e8c1e71 [GUI]解决找不到image_png.h的问题 2017-11-04 13:29:24 +08:00
bernard 75b46cf22b [DeviceDrivers] Add RT_USING_POSIX condition for pipe. 2017-11-03 21:09:04 +08:00
bernard 28433d9d54 [lwIP] Fix the compiling warning for lwip-1.4.1 2017-11-03 21:08:31 +08:00
bernard bbe6425f94 [KConfig] Update Kconfig
1. Change the type of RT_DEBUG_THREAD to int;
2. Add Kconfig of VBUS.
2017-11-03 21:08:00 +08:00
Bernard Xiong bdfb40e761
Merge pull request #945 from enkiller/modify_lwip_rx_is_null
[lwip]判定eth_rx是否为空,为空不执行。
2017-11-03 12:22:57 +08:00
tangyuxin 28855d4fb5 [lwip]判定eth_rx是否为空,为空不执行。 2017-11-03 11:49:18 +08:00
bernard e453f36841 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-11-03 11:45:19 +08:00
bernard 6d9fcd04d2 [Kernel] Change the order of initialization.
1. Remove INIT_FS_EXPORT and change INIT_DEVICE_EXPORT as the first item
in the initalization thread.
2. Move the eth_system_device_init into INIT_PREV_EXPORT item.
2017-11-03 11:44:37 +08:00
Bernard Xiong 37e34006e2
Merge pull request #939 from zhaojuntao/murphy
[wlan cmd][lwip ip addr] modify
2017-11-02 18:03:32 +08:00
ArdaFu 9ba62ab5e6 [components][net] Fix the bug that missing define RT_LWIP_IPADDR/MASKADDR/GWADDR when disable DHCP. 2017-11-02 15:34:37 +08:00
bernard b2057f506a [External] Remove external from RT-Thread 2017-11-02 13:50:42 +08:00
Bernard Xiong 32c926a097 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-11-01 21:13:23 +08:00
MurphyZhao 74759197b0 fix rt_kprintf %s no value problem 2017-11-01 19:47:37 +08:00
tanek liang be48c3c419 [libc] fix time () not found when no RT_USING_RTC defined 2017-11-01 19:20:01 +08:00
Bernard Xiong 832d8b4e04
Merge pull request #927 from armink/fix_shell
[Finsh] Fix an auto complete history bug.
2017-11-01 13:44:56 +08:00
Bernard Xiong 8b2919aff1 [DeviceDrivers] change the type of cmd to 'int' 2017-11-01 13:39:36 +08:00
Bernard Xiong 85b17e9158 [logtrace] change the type of cmd to 'int' 2017-11-01 13:38:10 +08:00
Bernard Xiong 6cdaa43747 [lwIP] use timeval in libc when minilibc is used 2017-11-01 13:37:40 +08:00
armink 82b7ecda06 [Finsh] Fix an auto complete history bug when current line is contained in last cmd. 2017-11-01 10:25:17 +08:00
Bernard Xiong 42e374e4f4 [lwIP] use libc struct timeval when enable minilibc 2017-11-01 09:14:49 +08:00
bernard b3d872740b [libc] Fix the typedef in minilibc. 2017-10-31 10:24:11 +08:00
bernard 756bfcc5e2 Update Kconfig.
1. Add IPADDR/GWADDR etc;
2. Add Kconfig for libcpu.
2017-10-31 09:54:23 +08:00
bernard bc2abf69e2 [DFS] Fix the ramfs issue. 2017-10-31 09:53:22 +08:00
bernard 7d673f921c [libc] Adjust libc.
1. Move struct stat to libc_stat.h;
2. Defined a new FD_SET macros in libc_fdset.h.
2017-10-31 09:52:49 +08:00
aozima f75c8f6e81 update SConscript: support scons 3. 2017-10-29 14:32:53 +08:00
ArdaFu 384b6c738a [net][lwip] Add missing reference file for LWIP 1.4.1 2017-10-27 09:44:38 +08:00
bernard 1d8636b7f4 [DFS] Code cleanup. 2017-10-25 18:42:06 +08:00
bernard cc9667b7a9 [DFS] Fix the RAMFS compiling issue. 2017-10-25 18:41:53 +08:00
bernard 1f76e1b8ec [lwIP] Use RT_LWIP_IPADDR/GWADDR/MSKADDR
Use RT_LWIP_IPADDR/GWADDR/MSKADDR to replace old options:
RT_LWIP_GWADDR0/1/2/3 etc.
2017-10-25 17:37:59 +08:00
bernard 67fff44fdd [DFS] Fix the UFFS compiling issue. 2017-10-25 16:23:02 +08:00
bernard 5bc690336b [DFS] Fix the romfs compiling issue. 2017-10-25 14:21:49 +08:00
bernard 4b2a3d02f3 [DeviceDrivers] Add wifi device/cmd. 2017-10-25 07:37:26 +08:00
bernard d9592457fb Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-25 07:25:39 +08:00
bernard 0d45288f06 [libc] Add mode_t in rtlibc.h for Keil MDK/IAR. 2017-10-25 07:25:24 +08:00
SummerGift 2e124994c6 update lwipdhcpd scons groupname 2017-10-24 11:58:55 +08:00
armink b4168cc60d [DFS] Fix `fd_new` failed return value. 2017-10-22 22:14:55 +08:00
Bernard Xiong b4831fbde4 [libc] disable minilibc under simulator 2017-10-22 17:07:38 +08:00
MiraculousConch 8c334d9ab8 [DeviceDrivers]添加pin开漏和下拉输入宏
[DeviceDrivers]添加pin开漏和下拉输入宏
2017-10-20 14:36:01 +08:00
MiraculousConch bdc01934d2 Merge remote-tracking branch 'upstream/master' 2017-10-20 14:24:32 +08:00
MiraculousConch c564605c98 [DeviceDrivers]添加pin开漏和下拉输入宏
[DeviceDrivers]添加pin开漏和下拉输入宏
2017-10-20 14:22:10 +08:00
MiraculousConch 000a0388d5 Revert "STM32F10x HAL库的bsp分支"
This reverts commit cfa87cf938.
2017-10-20 14:17:47 +08:00
Bernard Xiong fbe3a4d1db Merge pull request #886 from weety/rtt3_0_dm365
[BSP] use main() in dm365 bsp.
2017-10-20 12:42:58 +08:00
weety 5150e19d4b [bsp][dm365] Support rt_hw_console_output function; Adjust the initialization sequence; Cleanup code.
[drv][mmcsd] Undo Changes.
2017-10-20 11:19:03 +08:00
MiraculousConch cfa87cf938 STM32F10x HAL库的bsp分支
增加了pin设备的模式开漏和下拉
添加的HAL库的bsp分支
2017-10-20 03:28:13 +08:00
weety dd5ac17fc8 [bsp][dm365] Using component initial;
[drv][mmcsd] Add component initial.
2017-10-19 19:14:06 +08:00
Bernard Xiong e448ecc6ad Merge pull request #882 from armink/fix_rtservice
[rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h .
2017-10-19 16:33:07 +08:00
armink d3ac388846 [rtservice] Add `rt_list_len` and `rt_slist_len` to rtservice.h . 2017-10-19 09:28:17 +08:00
armink 137a65a6ce [libc] Remove `RT_USING_POSIX_STDIN` in libc. 2017-10-18 20:20:41 +08:00
bernard a8a7d60877 [DeviceDrivers] Remove compiling warning in workqueue. 2017-10-18 09:29:30 +08:00
bernard b3fff25b05 [NET] Disable DHCPD in default. 2017-10-17 22:45:12 +08:00
bernard d118852314 [finsh] code cleanup and use RT_USING_POSIX to replace RT_USING_POSIX_STDIN. 2017-10-17 22:28:05 +08:00
bernard 9b87270682 [libc] Add intptr_t/uintptr_t in minilibc. 2017-10-17 22:27:26 +08:00
bernard 8a38307e2c [libc] Add RT_USING_POSIX macro.
1. Add macro check in rtdebug.h;
2. Use RT_USING_POSIX for poll/select, stdin etc.
3. Split dfs_posix.h to dfs_posix.h, dfs_poll.h and dfs_select.h;
2017-10-17 22:27:06 +08:00
bernard a437ffbf3e [libc] code cleanup for termios. 2017-10-17 22:24:23 +08:00
bernard 41f3d1f9de Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-17 17:53:07 +08:00
bernard 19aa36e830 [DeviceDrivers] Add sync mode in work queue. 2017-10-17 17:53:01 +08:00
ArdaFu b72bdefa46 [DFS][NFS] Fix compile error. Move nfs_file/nfs_dir data ptr into struct nfs_filesystem. 2017-10-17 13:53:39 +08:00
bernard 53227b6a74 [lib] Fix the compiling warning in libc. 2017-10-17 09:48:35 +08:00
bernard 5d9217ebe1 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-17 09:45:25 +08:00
bernard 3c0fbf0c7e [finsh] Fix the C99 issue. 2017-10-17 09:45:17 +08:00
Bernard Xiong 591339e7a8 [BSP] fix compiling issue 2017-10-16 19:16:10 +08:00
ArdaFu fc7abc6580 [components][drivers] Check macro "RT_USING_DFS" when using DFS relative method/functions. 2017-10-16 15:12:35 +08:00
ArdaFu 8394554fca [components][net] In SConscript file, replace RT_USING_LWIP140 with RT_USING_LWIP141 2017-10-16 15:01:44 +08:00
bernard 5e3b3b19a6 [BSP] change the type of cmd.
1. Change the type of cmd to 'int';
2. Remove RT_LWIP_USING_RT_MEM macro;
2017-10-16 13:23:03 +08:00
bernard 68d01f8261 [VBUS] change cmd type to 'int' 2017-10-15 23:01:03 +08:00
bernard bff7afca12 [cplusplus] Add newline in the end of file. 2017-10-15 23:00:47 +08:00
bernard a8e0711a6b [lwIP] Remove RT_LWIP_USING_RT_MEM
1. Remove RT_LWIP_USING_RT_MEM option;
2. Add waitqueue patch for lwIP 2.0.2;
2017-10-15 23:00:21 +08:00
bernard d7087fdd3b [DeviceDrivers] change cmd type.
1. Change 'rt_uint8_t' type of cmd to 'int';
2. Add waitqueue;
3. Split device ipc header files;
2017-10-15 22:56:46 +08:00
bernard 0f5a68a55e [dfs] add poll/select
1. Add poll/select APIs;
2. Add wait queue implementation;
3. Remove DFS_STATUS_* code and use errno;
4. Add pipe API;
5. Use a standalone fops in DFS;
2017-10-15 22:44:53 +08:00
bernard 5c7b16d00b [libc] Update libc.
1. Add POSIX termios implementation;
2. Add POSIX signals implementation;
3. Add stdio for each libc.
2017-10-15 22:41:59 +08:00
bernard 8bdf993bfc [libc] Build correct SConscript file. 2017-10-13 12:44:54 +08:00
bernard 444915d1ea [finsh] Add RT_USING_POSIX_STDIN options. 2017-10-13 11:50:18 +08:00
armink c123451585 [Finsh] Stop push new history when current cmd is same as last cmd. 2017-10-13 10:21:40 +08:00
bernard db88c0b6a2 [libc] Change libc stubs to compiler folder. 2017-10-10 17:12:03 +08:00
bernard e7f888e24b [lwIP] remove lwip-2.0.0 2017-10-10 16:50:40 +08:00
bernard 95ab8c02aa [finsh] Use standard uint type for data type.
Use uint8_t/uint32_t etc to replace u_char/u_long etc;
Use getchar for shell input.
2017-10-10 14:27:34 +08:00
bernard 3a21108ff1 Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2017-10-10 00:20:52 +08:00
bernard 01108b5252 [GUI] Update GUI engine code and add Kconfig file. 2017-10-10 00:17:58 +08:00
armink 00c154ccdb [lwIP] Fix the lwIP 2.0.2 IAR compile error when the `RT_LWIP_USING_RT_MEM` macro is not defined. 2017-10-09 22:10:51 +08:00
bernard 9122edd57c [Kconfig] Add more descrip for Kconfig 2017-10-09 15:12:42 +08:00
SummerGift f065e8cbd8 [添加]:配置宏RT_DFS_ELM_WORD_ACCESS。 2017-10-09 14:22:09 +08:00
SummerGift 17d64d0bff [修改]:修改rtt中的kconfig。 2017-10-09 14:22:08 +08:00
SummerGift 757613866e [修改]:漏掉了endif导致endmenu失效。 2017-10-09 14:22:07 +08:00
Bernard Xiong 49aa0c468a Update KConfig 2017-10-06 11:01:04 +08:00
Bernard Xiong 8d169a8b19 Merge pull request #862 from armink/fix_kconfig
Fix kconfig
2017-10-06 10:59:53 +08:00
yygg_you d428166f08 修复 mkfs失败的错误 2017-10-06 09:01:56 +08:00
armink 9d54556619 [KConfig] Change the RT_DFS_ELM_USE_LFN cfg to choice. 2017-10-05 16:20:21 +08:00
armink fdd0ffb182 [KConfig] Add RT_USING_NETUTILS configuration for network. 2017-10-05 15:24:45 +08:00
armink 053d18e704 [KConfig] Add RT_LWIP_RAW and RT_LWIP_USING_RT_MEM configuration for LWIP. 2017-10-05 15:07:17 +08:00
armink 9ff340f416 [KConfig] Add long file name configuration for FATFS. 2017-10-05 14:52:16 +08:00
armink 25c859912a [DeviceDriver] Update SFUD to latest version. 2017-09-29 17:00:19 +08:00
armink f7a85a9f99 [KConfig] Add SFUD KConfig. 2017-09-29 16:57:17 +08:00
xieyangrun 6b06cb83e3 rename WEAK to RT_WEAK 2017-09-18 11:32:13 +08:00
tanek liang 97c8b00206 [LWIP] enable auto init in lwip-2.0.2 2017-09-06 10:06:15 +08:00
Bernard Xiong d32e78a4cd Merge pull request #836 from armink/update_sfud
[DeviceDriver] Update SFUD to latest version V1.0.1.
2017-08-30 21:35:06 +08:00
armink 93db99678b [DeviceDriver] Update SFUD to latest version. 2017-08-30 21:28:59 +08:00
armink c36a628ff4 [Finsh] Fix finsh password auth not valid when RT_DEBUG is not definition. 2017-08-30 20:42:36 +08:00
Aubr.Cool 44bac92a93 [Components]drivers can change txcompletion to sem 2017-08-30 08:00:36 +08:00
Bernard Xiong 1f45d8c723 Merge pull request #822 from parai/upstream
x86: bring up share object module on i386 machine
2017-08-21 09:30:17 +08:00
parai 2957cf6f52 x86: bring up share object module on i386 machine
1. upddate kernel module to support i386
2. update libdl to support open *.so by absolute path
3. new test case bsp/x86/src/hello.c to test i386 module feature

Signed-off-by: parai <parai@foxmail.com>
2017-08-20 20:24:07 +08:00
Bernard Xiong 76a79f20d9 Merge pull request #817 from armink/fix_lwip_tftp
[lwIP] Fix LwIP 2.0.2 tftp
2017-08-20 11:32:13 +08:00
Bernard Xiong c0338d566c Merge pull request #816 from SummerGGift/master
[Device Drivers] delete an useless %s.
2017-08-20 11:31:40 +08:00
armink e515408d00 [Libc] Add some errno to `armlibc/sys/errno.h`. 2017-08-20 10:47:53 +08:00
armink 548f0e9e8f [LWIP] Remove `src/netif/slipif.c` on `lwip-2.0.2/SConscript`. 2017-08-20 10:08:26 +08:00
armink db1eb96a49 [Libc] Change tabs to 4 spaces on `armlibc/sys/errno.h'. 2017-08-20 09:52:57 +08:00
armink 22c7660dfb [LWIP] Remove `RT_USING_NETUTILS` in LwIP 2.0.2 SConscript. 2017-08-19 22:46:19 +08:00
armink 83616c9f2b [LWIP] Add tftp max file name len config to LwIP 2.0.2 `lwipopts.h` . 2017-08-19 20:22:08 +08:00
armink 38ca426626 [LWIP] Fix lwip 2.0.2 TFTP server file name trans error. 2017-08-19 20:20:05 +08:00
SummerGift cfc3b76438 delete a useless %s. 2017-08-19 10:04:04 +08:00
armink a97d70066b [LWIP] Add LwIP apps SConscript. 2017-08-18 12:10:28 +08:00
armink 871297747a [LWIP] Move net apps to `LwIP/src/apps`. 2017-08-18 11:53:11 +08:00
armink 5910ae4170 [NET] Add telnet app to netutils. 2017-08-18 11:32:25 +08:00
Bernard Xiong 9388f7882f Merge pull request #808 from armink/fix_lwipopts
[LWIP] Update LwIP 2.0.2 opts header file for rtt.
2017-08-18 07:56:02 +08:00
armink e6f6d9ea81 [LWIP] Update LwIP 2.0.2 opts header file for rtt. 2017-08-18 07:51:22 +08:00
armink 501f9814f1 [LWIP] Add lwip 2.0.2 TFTP server to SConscript. 2017-08-17 15:59:58 +08:00
armink b1362405e2 [LWIP] Add TFTP server to LWIP 2.0.2 . 2017-08-17 15:56:33 +08:00
armink c01352da91 [LWIP] Fix lwip 2.0.2 TFTP server file name trans error. 2017-08-17 13:31:10 +08:00
yygg_you 94746d8e5f audio驱动使用系统内的dataqueue,修复一些缩进,乱码 2017-08-16 01:17:06 +08:00
armink 640fd7d872 [Net] Add `RT_USING_NETUTILS` to LwIP 2.0.2 SConscript. 2017-08-10 16:54:42 +08:00
armink ca6b74200c [Net] Add telnet test app to LwIP 2.0.2 . 2017-08-10 16:54:00 +08:00
armink 1d4db58916 [Net] Add ping test app to LwIP 2.0.2. 2017-08-10 16:41:20 +08:00
armink 0727ea25ae [libc] Change tabs to 4 spaces on dlib 'errno.h'. 2017-08-07 13:25:50 +08:00
armink 5b35327966 [Libc] Add some errno to dlib. 2017-08-07 13:15:46 +08:00
Bernard Xiong 5ea03f5e12 Merge pull request #787 from emlslxl/master
[log trace] add log_file flush function
2017-08-06 12:04:05 +08:00
emlslxl 3007b34ad3 add log_file flush function 2017-08-04 12:46:23 +08:00
armink 0742338fa7 [LWIP] Fix lwip 2.0.2 link status problem when the eth isn't linkup at the first time. 2017-08-01 11:35:42 +08:00
armink 09f9fcaaa6 [DeviceDriver] Fix rw009 WiFi module auto reconnect feature. 2017-07-28 08:20:31 +08:00
Bernard Xiong 5148b9ff27 Merge pull request #766 from AubrCool/fix-stm32f10x.wdt
[BSP] stm32f10x add watchdog driver
2017-07-20 18:01:46 +08:00
Aubr.Cool 2c1ee84347 BSP stm32f10x add watchdog driver 2017-07-20 11:56:21 +08:00
Aubr.Cool 8f4e80669b [Components] driver i2c add fm24clxx drv 2017-07-20 11:55:27 +08:00
Aubr.Cool e4fea38726 [Components] correct msh argc too many error 2017-07-19 15:34:15 +08:00
ruiqian 465fdfc2ff Update sdio.c 2017-07-04 00:50:48 +08:00
ruiqian 0a798b33a5 Update mmcsd_core.c 2017-07-04 00:50:25 +08:00
ruiqian bf48d2b745 Update sdio.h 2017-07-04 00:49:50 +08:00
ruiqian 1590e38f46 Update mmcsd_host.h 2017-07-04 00:49:23 +08:00
ruiqian ae8ca61051 Update mmcsd_card.h 2017-07-04 00:48:53 +08:00
FlyLu fe457da958 [DeviceDrivers]Fix continuous write page bug for spi_flash_at45dbxx driver 2017-06-15 16:05:34 +08:00
bernard b47994cb42 Add more checking for SConscript files of libc. 2017-06-15 14:38:39 +08:00
bernard 6515dc238c [finsh] Add checking the result of chdir. 2017-06-15 14:37:56 +08:00
bernard bc0fbbfe82 [DFS] change the cmd to long data type. 2017-06-15 14:37:18 +08:00
bernard b7cf723162 [DFS] code cleanup 2017-06-15 14:36:59 +08:00
bernard 6e63cbb9be [DFS] "console" device check.
[DFS] To make sure the "console" device exist or not when initialize
console device.
2017-06-15 14:36:40 +08:00
pinhaozhang 1330a70207 modified: components/libc/newlib/libc.c 2017-06-09 12:18:40 +08:00
bernard ef88241d8e Fix compiling warning for Win32. 2017-06-06 23:34:33 +08:00
bernard 0acf441836 Fix compiling warning for Win32. 2017-06-06 23:34:01 +08:00
bernard 380754f4fd [GUI Engine] Add SConscript for libraries. 2017-06-06 18:24:38 +08:00
bernard 128b265848 [DeviceDrivers] codec cleanup. 2017-06-06 18:20:41 +08:00
bernard 3101ba8ac8 [DFS] Add fd checking in dfs_file_close API. 2017-06-06 18:19:32 +08:00
bernard 8ee0bf8908 Add KConfig for C++ feature. 2017-06-06 18:19:06 +08:00
bernard ae6ca7bb02 KConfig cleanup. 2017-06-06 18:18:44 +08:00
bernard c1926d3af7 [DeviceDrivers] Improve compatibility for SDIO CCCR v3.00. 2017-06-06 18:18:03 +08:00
Bernard Xiong 02607c85ac [GUI Engine] change directory for image and font. 2017-06-05 17:36:45 +08:00
Urey 2426efe6b7 delete volatile 2017-05-26 21:05:10 +08:00
Urey 0e82a5b821 fix f_mount when mount more fats 2017-05-26 21:02:59 +08:00
armink 99911a4c6f [DeviceDriver] Make uart rx DMA FIFO to use the FIFO full flag. 2017-05-24 08:59:33 +08:00
armink 14728ff4ae [DeviceDriver] Add full flag to rt_serial_rx_fifo. 2017-05-24 08:51:00 +08:00
weety a818ba0e2d update cplusplus support code. 2017-05-19 21:41:43 +08:00
Bernard Xiong e760d655b1 Merge pull request #735 from JianRuiqian/master
[lwIP] Update ethernetif.c
2017-05-15 23:24:45 +08:00
ruiqian da9688df86 Update dhcp_server.c 2017-05-15 22:27:51 +08:00
ruiqian 8c52d5fdf2 Update ethernetif.c 2017-05-15 13:18:41 +08:00
Bernard Xiong cf6dfec55b Update SConscript 2017-05-12 15:46:25 +08:00
Bernard Xiong 3aa9796496 Merge pull request #732 from yygg/master
[DeviceDrivers] Add audio driver.
2017-05-07 08:17:32 +08:00
ArdaFu 707540a8d3 [libc] Add dummy _gettimeofday function when hardware do not have the RTC. 2017-05-05 17:52:39 +08:00
xools 8be3552036 refine BYTE_ORDER macro 2017-04-22 22:42:36 -07:00
xools 3cad43fc05 add lwip-2.0.2 compile compatibility 2017-04-22 22:39:09 -07:00
ruiqian f136f8895a Update sdio.c 2017-04-19 20:03:11 +08:00
ruiqian 24185f4721 Update sdio.c
Fix a bug in function sdio_unregister_driver
2017-04-19 19:43:40 +08:00
xools 5b50c7e41b fix fattime different from elmfat definition 2017-04-16 16:13:15 -07:00
Bernard Xiong 56fbe947be Merge pull request #717 from armink/modbus_update
[net] Modbus update KConfig.
2017-04-14 13:48:54 +08:00
armink c8ae11c428 [Modbus] Add KConfig for Modbus. 2017-04-14 13:39:28 +08:00
armink be18a1d0e7 [Modbus] Update the code to the latest version. 2017-04-12 19:27:42 +08:00
lizhen9880 d883f7e23b fix the f_bsize and f_blocks issue in function dfs_uffs_statfs 2017-04-12 14:32:12 +08:00
lizhen9880 3e6f64fe7a the file description is modified to local variable in function
static void copydir(const char * src, const char * dst)
2017-04-12 10:53:53 +08:00
Bernard Xiong 5502558df9 [DFS] fix the st_blksize issue in elm fatfs. 2017-04-11 09:33:25 +08:00
Bernard Xiong 0a0f04069a Merge pull request #707 from qiaoqidui/master
[SQLite] fix fdatasync bug
2017-03-29 16:59:40 +08:00
HuangXiHans 9487f68f2b Add lwip-2.0.2 TCP/IP Stack 2017-03-27 11:00:48 +08:00
qiaoqidui fe56fad9e5 fix fdatasync bug 2017-03-25 14:32:37 +08:00
Bernard Xiong 5e98c690a1 Merge pull request #700 from hichard/hichard
[DFS] update elm fatfs to 0.12b version.
2017-03-20 19:19:44 +08:00
Bernard Xiong 54c5b83c14 Merge pull request #704 from AubrCool/fix-pin.driv.add.irq.apis
[DeviceDrivers] pin: add irq APIs.
2017-03-18 11:46:27 +08:00
armink afe3b16106 [DeviceDrivers] Enhanced serial DMA rx driver reliability. 2017-03-17 13:25:19 +08:00
yygg c046b78f07 添加 audio设备驱动 2017-03-14 11:07:20 +08:00
Aubr.Cool aa8e5cc412 [components] drivers pin irq change apis 2017-03-14 10:28:29 +08:00
Aubr.Cool 320b116b5f [Components] Drivers: pin add irq apis 2017-03-10 15:07:28 +08:00
Bernard Xiong c442db81fc [DeviceDrivers] Fix the re-work issue in workqueue. 2017-02-27 00:58:11 +08:00
Bluebear233 1e6137268d Update i2c_core.c
修复I2C读写函数,I2C传输失败时返回成功的问题
2017-02-20 11:32:13 +08:00
unknown 6ee81de429 hichard 2017-02-13 22:33:15 +08:00
urey@ez-iot.com 564e7aefce 添加 w25 mtd设备驱动 2017-02-13 19:37:53 +08:00
bernard eb2c098197 [C++] Add C++ interface for RT-Thread kernel. 2017-01-31 13:19:18 +08:00
bernard 355b926e89 [lwIP] fix lwip 2.0.0 compiling issue. 2017-01-31 13:18:03 +08:00
bernard c53389e46f [finsh] Add lwip 2.0.0 support. 2017-01-31 13:17:34 +08:00
bernard b4757b950f [DeviceDrivers] Add critical_work for wqueue. 2017-01-31 13:17:04 +08:00
bernard 385792bb68 [DeviceDrivers] Add SDIO_CCCR_REV_3_00 definition. 2017-01-31 13:16:34 +08:00
bernard 876a9148e7 [C++] Add WEAK for cplusplus_system_init routine. 2017-01-31 13:16:01 +08:00
bernard 924fc4fa88 [net] Add KConfig for net. 2017-01-31 11:55:49 +08:00
bernard d692001fd5 [tools] Add KConfig files. 2017-01-31 11:54:12 +08:00
bernard cb61d1ffbc [lwIP] update net/SConscript for lwip 2.0.0 2017-01-31 11:22:52 +08:00
bernard 685c189d0b [lwIP] remove lwip-head and add lwip-2.0.0 2017-01-31 11:08:58 +08:00
Aubr.Cool 6fa8bfd92a prevent change serial rx bufsz when serial is opened 2017-01-19 14:27:05 +08:00
armink 72e4efb46e [finsh]Improve the set password. 2016-11-26 16:45:54 +08:00
armink 8ff7529039 [finsh] Add password authentication. Increased input security. 2016-11-26 15:23:12 +08:00
armink e379b4d2a4 [pthreads]Add component init for pthread_system_init. 2016-11-12 21:46:17 +08:00
Bernard Xiong e1ae4706cd Merge branch 'master' of https://github.com/RT-Thread/rt-thread 2016-11-08 09:21:55 +08:00
Bernard Xiong 2d7486fcc0 [pthreads] Fix the sem_trywait issue. 2016-11-08 09:21:32 +08:00
Bernard Xiong 90f1939ead Merge pull request #676 from armink/bug_fix
[DeviceDriver] fix the dataqueue issues.
2016-11-03 21:33:30 +08:00
Bernard Xiong 712c0673fb [pthreads] Fix the phread_mutex_trylock issue for not recursive mutex. 2016-11-03 15:38:51 +08:00
armink aa662dccef [DeviceDrivers]Remove dataqueue waiting_lwm flag 2016-11-02 08:40:30 +08:00
armink c414bdaac8 [DeviceDrivers]Modify the dataqueue comments. 2016-11-02 08:17:24 +08:00
armink 6fe47a9537 [DeviceDrivers]Improve dataqueue resume suspended thread code. Thanks for @grissiom suggestion. 2016-10-31 15:08:55 +08:00
armink 0970cf03a4 [DeviceDrivers]Reset dataqueue waiting_lwm flag when suspended_push_list is empty 2016-10-31 14:47:48 +08:00
armink bda6543305 [DeviceDrivers]Fix dataqueue irq not resume bug. 2016-10-29 14:35:07 +08:00
armink 7860ea4f83 [DeviceDrivers]Fix dataqueue calculate put and get buffer index bug. 2016-10-19 10:54:22 +08:00
armink f2c31eebb5 [DeviceDrivers]Fix dataqueue's bug when push data is timeout the lwm flag isn't reset. 2016-10-19 10:49:42 +08:00
armink 270285217d [DeviceDrivers]Make sure rt_sfud_flash_probe device must be SPI device. 2016-10-14 22:51:18 +08:00
armink a4bc38ad6b [DeviceDrivers]Update SFUD library to lastest version. 2016-10-14 22:48:36 +08:00
armink b2e14f7641 [DeviceDrivers]Modify SFUD's config for suitable more compilers. 2016-10-10 20:26:21 +08:00
armink 32bf9e29b7 [DeviceDrivers]Change SFUD 'sf' command tips. 2016-10-10 20:10:41 +08:00
armink 1d71f58350 [DeviceDrivers]Add SPI flash probe and delete function to SFUD driver. 2016-10-10 10:24:30 +08:00
armink 16dad06fc7 [DeviceDrivers]Add SFUD(Serial Flash Universal Driver) SPI Flash driver for using RTT device. It makes RT-Thread support more type SPI Flash. 2016-10-09 09:06:01 +08:00
Bernard Xiong 6d1787e5dc Merge pull request #668 from yygg/master
Update ethernetif.c
2016-09-23 18:05:42 +08:00
Urey 8979d70a69 Update ethernetif.c
if device->eth_rx is NULL ,rx thread will hard fault...
2016-09-23 17:00:31 +08:00
gbcwbz 5941d73604 Convert tab into spaces 2016-09-07 23:45:39 +08:00
gbcwbz 517e909c3d [finsh]Align title and content in list_* cmd 2016-09-07 23:24:12 +08:00
zhangjun c9591f825c 增加rt_strnlen,lua采用单独的线程 2016-08-12 22:19:52 +08:00
zhangjun 65ac4a0810 增加rt_strnlen,lua采用单独的线程 2016-08-12 22:14:07 +08:00
zhangjun 891050cb3d 在msh和fnish中均可调用lua,可将lua脚本作为参数传入 2016-08-11 18:53:30 +08:00
Roamboy 29411bca71 IAR编译器dlib __close,__lseek hanle传入正确值 2016-08-05 21:10:29 +08:00
Urey 6d14e1390c Update SConscript 2016-07-13 10:49:21 +08:00
Bernard Xiong 108ba3b371 [finsh] change display format for list_thread. 2016-07-13 09:37:51 +08:00
Bernard Xiong 60e36defc4 [libc] Add CodeSourcery G++ lite check. 2016-07-13 09:37:51 +08:00
Bernard Xiong 47f0798079 [C++] Add _init/_fini routines for GCC 2016-06-28 08:24:26 +00:00
Bernard Xiong 99481cd0ac [DeviceDrivers] uart configure issue.
uart configure shall not been performed if uart is not open.
2016-06-13 13:31:13 +08:00
Bernard Xiong 45c7f03035 [finsh] Fix object name issue in list_* cmd. 2016-06-13 13:29:18 +08:00
Bernard Xiong 4d93c31cce Revert "[finsh] Beautify all list object information command."
This reverts commit cd3b0cfff5.
2016-06-13 11:08:23 +08:00
armink cd3b0cfff5 [finsh] Beautify all list object information command. 2016-06-04 11:03:30 +08:00
armink cbbe5a6edd [finsh] Beautify the list_thread command. 2016-06-02 17:06:41 +08:00
armink 1bd8d0f75e [finsh] Beautify the list_thread command. 2016-06-02 14:29:44 +08:00
weety 0af00b9ce5 fixed time unit error in clock_gettime. 2016-06-01 14:07:47 +08:00
weety 11413896d3 Fixed time unit error. 2016-06-01 13:52:05 +08:00
weety 62e770f9de Fixed 64KB stack size limit. 2016-05-31 20:39:33 +08:00
Bernard Xiong c5bf3fa2d1 [lwIP] remove compiling warning. 2016-05-29 11:36:20 +08:00
Bernard Xiong 07c0e13060 Merge pull request #632 from armink/master
Improve serial DMA rx mode. #628
2016-05-20 14:26:23 +08:00
Bernard Xiong 9f08d09ae1 [lwIP] merge TCP_OVERSIZE code. 2016-05-20 14:19:50 +08:00
Bernard Xiong c5949c2736 [DeviceDrivers] Update SPI flash drivers. 2016-05-20 14:07:32 +08:00
Bernard Xiong 050da8a60d [lwIP] Chang the default options in lwIP.
committed by FH.
2016-05-20 12:27:29 +08:00
Bernard Xiong 36edc2c441 [lwIP] Add EAPOL type packet. 2016-05-20 12:23:19 +08:00
Bernard Xiong ac3af54a7e [DeviceDrivers] Use PBUF_POOL in enc28j60 drivers.
patched by FH.
2016-05-20 12:22:55 +08:00
Bernard Xiong f005d963e2 [DeviceDrivers] Add more baud rate in serial. 2016-05-20 12:22:16 +08:00
Bernard Xiong 02a5cebc6d [DeviceDrivers] Add MMC/SD change support.
Add MMC/SD change support, which patched by FH.
2016-05-20 12:20:35 +08:00
armink c3da9dda7b [DeviceDrivers] Add fifo mode to serial DMA rx when serial->config.bufsz != 0. 2016-05-14 11:43:06 +08:00
armink 4c9b77ded6 [DeviceDrivers]Fix dma_transmit callback parameter type error. #628 2016-05-11 13:34:18 +08:00
Bernard Xiong 53c18358b4 [lwIP] remove lwip-1.4.0 2016-05-10 09:48:05 +08:00
Bernard Xiong b46ebbf56d [build] remove hard coded path issue in SConscript 2016-05-10 09:34:05 +08:00
Bernard Xiong 7c38c59f62 [DFS] fix the name mistake in socket function. 2016-05-10 09:32:50 +08:00
Bernard Xiong 64feef0dde [LIBC] mv pthreads/libdl to libc and rename dfs_lwip to dfs_net 2016-05-10 09:22:01 +08:00
Bernard Xiong 3d07de2b71 [Pthreads] Add more API declaration. 2016-05-01 16:05:03 +08:00
Bernard Xiong 06d3599d86 [libc] Add abort routine to replace old API.
abort routine will cause sig_xxx() reference.
2016-05-01 16:04:26 +08:00
Bernard Xiong fd7a65b4be [LIBC] remove minilibc when compiling simulator under Linux 2016-04-24 19:59:48 +08:00
Bernard Xiong a3daa62151 [DeviceDrivers] Add RT_MTD_EECC_CORRECT code in MTD nand. 2016-04-18 13:56:38 +08:00
Bernard Xiong 33cda0866f [libc] Fix the rtconfig issue in armlibc/unistd.h file. 2016-04-18 13:54:07 +08:00
Bernard Xiong 838141e89f [finsh] Add echo command for msh. 2016-04-18 13:53:32 +08:00
gbcwbz 0d63eb5f6d fix hardfault when RT_CAN_USING_BUS_HOOK is enabled in bsp/stm32f10x
function `rt_pin_write` is invoked by  function `can_bus_hook`, and it should to be initialized by gpio.c.
but gpio.c was not added in SConscript
2016-04-14 23:47:32 +08:00
Bernard Xiong 9c293336cb [DFS] Add fcntl.h for armlibc. 2016-04-09 23:11:17 +08:00
Bluebear233 2b1983992f Update serial.c
fix reset serial receive interrupt flag when close serial
2016-04-09 20:58:10 +08:00
Bernard Xiong e68a3a977a [DFS] Remove stat/fstat function under WIN32 simulation. 2016-04-06 01:16:09 +08:00
Bernard Xiong 048ffb481a [DeviceDrivers] Add umount operations in SDCard block device. 2016-04-05 11:11:10 +08:00
Bernard Xiong 8043186020 [DeviceDrivers] Add audio.h header file. 2016-04-05 11:10:08 +08:00
Bernard Xiong ada2c7a3f5 [DeviceDrivers] Add audio header file. 2016-04-05 11:02:04 +08:00
Bernard Xiong 3748008651 [DeviceDrivers] Add card remove operations in MMC/SD. 2016-04-05 11:01:49 +08:00
Bernard Xiong 2a9f80d947 Add some leaked dummy header file for armcc. 2016-04-02 14:15:25 +08:00
Bernard Xiong 640e5c9777 [UI Engine] fix the default font initialization issue. 2016-03-23 23:03:45 +08:00
He Chunhui 7290ff5d76 fix typo 2016-03-16 08:03:33 +00:00
He Chunhui 0fc0ed1bb1 fix copy-paste bug
This bug causes buffer overrun.
2016-03-16 08:00:33 +00:00
He Chunhui 5439580833 fix incompatible unit in LWIP_NAT_TMR_INTERVAL_SEC
LWIP_NAT_TMR_INTERVAL_SEC defined in ipv4_nat.h is in miliseconds,
but ip_nat_check_timeout() thinks it's in seconds.

With this bug, all nat entries will expire immediately when
ip_nat_check_timeout() is called.

Note sys_timeout() is in miliseconds.
2016-03-16 07:43:38 +00:00
aozima 8131ea9c30 fixed Lwip bug: Assert on TCP netconn_write with sndtimeout set
ref: http://savannah.nongnu.org/bugs/?38219
2016-03-02 20:41:14 +08:00
Bernard Xiong 24d089d80a [DeviceDrivers] Remove the tail space 2016-03-01 10:57:25 +08:00
Bernard Xiong f0fc48922b [finsh] use the macro definition instead of the const number in the code 2016-03-01 10:56:46 +08:00
Bernard Xiong eefd87284c [DeviceDrivers] fix the compiling warning in MMC/SD 2016-03-01 10:55:16 +08:00
Bernard Xiong b39654d5a1 Merge pull request #610 from FlyLu/master
[DFS] Fix the ramfs issue.
2016-02-20 19:41:40 +08:00
FlyLu 0b3dd47347 修正ramfs.h中防止重复包含的宏定义名称
修正components.h中使能RT_USING_DFS_RAMFS宏时,加入ramfs.h头文件
2016-02-20 14:53:39 +08:00
Bernard Xiong ca3c56651d [GUI Engine] Add GUI Engine README.md 2016-02-08 10:03:07 +08:00
Bernard Xiong 490196b1b9 [GUI Engine] Add RTGUI as a GUI Engine 2016-02-08 09:59:48 +08:00
Bernard Xiong f677db1ff5 [libc] Add fputc/fgetc implementation for MICROLIB 2016-02-01 12:19:22 +08:00
hezlog a1745986e9 Update finsh_token.c
修正finsh不能正确处理"\""和"\x1A"转义;
2016-01-19 12:16:30 +08:00
Bernard Xiong 455daf8e7a Add ioctl API and fix the read/write conflict issue with newlib's API. 2015-12-22 10:18:36 +08:00
Bernard Xiong d2aee25391 Merge pull request #593 from SchumyHao/master
finsh: change no echo mode. cpp: remove RT_USE_LIBC depends
2015-12-02 23:28:05 +08:00
Bernard Xiong 2c7c049af0 Update and rename README.TXT to README.md 2015-11-24 16:19:25 +08:00
Bernard Xiong 83404b825b [libc] Does export time API if RTC component is not used. 2015-11-22 10:58:19 +08:00
SchumyHao 1eea52307b rm CPP's RT_USE_LIBC depends
Signed-off-by: SchumyHao <bob-hjl@126.com>
2015-11-15 16:36:57 +08:00
SchumyHao f1e92c63f2 finsh: check echo_mode before print '\n' when excute msh command
Signed-off-by: SchumyHao <bob-hjl@126.com>
2015-11-13 00:56:50 +08:00
Bernard Xiong 9d46ae69a7 [DeviceDrivers] fix the poll_rx issue in serial when there is no data. 2015-11-10 10:24:35 +08:00