Commit Graph

1802 Commits

Author SHA1 Message Date
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