Commit Graph

1888 Commits

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