Commit Graph

748 Commits

Author SHA1 Message Date
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 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
Bluebear233 985db0e3bf
[KCONFIG]添加pipe缓冲区大小配置 2018-06-30 10:36:31 +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 f0f883668c
Merge pull request #1579 from RT-Thread/fix_waitqueue
Fix waitqueue issue
2018-06-29 13:19:16 +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 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
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
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 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 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 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
tangyuxin 85b14687f4 [components][drivers]Kconfig 添加Audio选项 2018-05-29 10:10:42 +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
zyh 178fce54bd [Components][USB]fix device ep write 1bytes on hs 2018-05-28 11:04:49 +08:00
armink a6b6b05d7d [drivers/rtc] Update NTP update time API. 2018-05-10 18:29:56 +08:00
armink 5501ec36cb [components/libc] Move time() and clock() function to libc time.c. 2018-05-07 18:19:15 +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
ZHANG Jinglong f1e2dd487e fix an i2c debug print bug 2018-05-03 23:44:56 +08:00
zyh c053119fac [Components][HOST]fix sem name 2018-04-27 15:27:26 +08:00
zyh 4f40bc80ec [Components][USB device] kconfig allow none class 2018-04-24 15:00:33 +08:00
zyh 1ed770039c [Coponents][USB device]add class register interface 2018-04-24 12:48:05 +08:00
zyh 4c0be8c776 [Components][USB]Add stack size config 2018-04-23 20:09:01 +08:00
armink 7c97e16ecf [DeviceDriver] Fix RT_DEBUG_SFUD in Kconfig. 2018-04-19 19:40:47 +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
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
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 c74bc870e8 [DeviceDriver][RTC] Fix rtc Kconfig and missing return. 2018-03-21 09:15:21 +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
ZYH 0ab93e70f0 [Components][USB Device]增加协议栈对HS设备的支持
- 增加winusb对HS的支持。其余class还在完善中
2018-03-16 16:02:57 +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
tangyuxin a745d5ee03 [drivers][pin]增加两种IO中断模式 2018-03-15 11:12:22 +08:00
charlown 4f1f0ad918 fix cdc_vcom.c notify receive data. 2018-03-15 10:07:23 +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
tangyuxin 2bbb27c29c [drivers]修复定时器驱动框架单次长时间定时不准确的问题 2018-03-06 10:40:02 +08:00
Bernard Xiong 3aa582bc17 [BSP] Add Kconfig for lpc408x/stm32f10x/stm32f20x/stm32f40x etc 2018-03-04 22:35:07 +08:00
Bernard Xiong ba2b1f0e56 [DeviceDrivers][MMC] rename fls to __rt_fls 2018-03-04 17:25:59 +08:00
tangyuxin 6ceb4554fc [Drivers]修复不打开dfs时,wlan驱动编译出错的问题 2018-03-01 09:15:32 +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
ZYH 6b18ef3b6a
Merge pull request #1209 from ChunfengMu/fix_bugs
cdc_vcom dma 发送流程修改
2018-02-09 12:40:59 +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
ChunfengMu a499c18072 [Components][Drivers][USB]vcom dma_tx模式下根据bulk in提交能力限制tx_ringbuffer的填充长度,避免对下次bulk in传输造成影响. 2018-02-06 01:49:59 +08:00
ChunfengMu 9798917638 1:解决主机端未打开串口时,设备端应用程序dma模式下操作vcom发送数据时,dataqueue条目泄漏的问题。 2018-01-31 02:37:34 +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
ChunfengMu 0b0cbaf9aa [Components][Drivers][USB]fix compiling errors 2018-01-24 00:27:11 +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 4ca2337176 [Components][Drivers][USB Device]fix ep assign bug 2018-01-22 12:58:59 +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
Bernard Xiong 00c6e81ecc [DeviceDrivers] fix type unknown issue in pipe 2017-12-31 23:52:27 +08:00
BernardXiong 8246da645d [DeviceDrivers] fix the compiling warning. 2017-12-31 14:45:43 +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
flyingcys a84ea6f06f update Kconfig 2017-12-30 17:31:22 +08:00
bernard 09f2d42e5a [DeviceDrivers] Add device API in pipe device. 2017-12-29 22:33:39 +08:00
Bernard Xiong f746c6e556 [DeviceDrivers] fix compiling warning 2017-12-24 00:06:29 +08:00
Bernard Xiong 7c4417855e [DeviceDrivers] Add CPU time 2017-12-24 00:06:29 +08:00
ZYH 92f5b437f7 [USB Device]fix an error on msc 2017-12-21 21:26:40 +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
uestczyh222 18d42fe077 [Components][USBHOST]Core OK 2017-12-14 03:14:44 +08:00
uestczyh222 b42fc96408 [host first] 2017-12-13 15:58: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
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
uestczyh222 f3a96e2073 [Components][Deivers][USB][HID]fix bug and add send callback 2017-12-04 01:58:59 +08:00
MiraculousConch 1462ba178d [Components][Drivers][USB Device][WinUSB]update winusb class 2017-12-03 01:32:07 +08:00
Bernard Xiong 7bc87e4ae8 [Kconfig] Rename all of KConfig files to 'Kconfig' 2017-11-30 20:12:53 +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
MiraculousConch a8fc894c19 [Components][Drivers][USB]fix OS proerty desc bug 2017-11-28 16:13:16 +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
JasonJiaJie b085bba04c [Posix]termios parameter issue. 2017-11-15 13:17:42 +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
tangyuxin 6127313514 [audio]update audio/audio_pipe.h 2017-11-13 17:11:54 +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
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
weety e4dd86a1b7 [DRIVER][SDIO] Add components initializer. 2017-11-05 21:41:43 +08:00
bernard 75b46cf22b [DeviceDrivers] Add RT_USING_POSIX condition for pipe. 2017-11-03 21:09:04 +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
MurphyZhao 74759197b0 fix rt_kprintf %s no value problem 2017-11-01 19:47:37 +08:00
Bernard Xiong 8b2919aff1 [DeviceDrivers] change the type of cmd to 'int' 2017-11-01 13:39:36 +08:00
bernard 4b2a3d02f3 [DeviceDrivers] Add wifi device/cmd. 2017-10-25 07:37:26 +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
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 a8a7d60877 [DeviceDrivers] Remove compiling warning in workqueue. 2017-10-18 09:29:30 +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 19aa36e830 [DeviceDrivers] Add sync mode in work queue. 2017-10-17 17:53:01 +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
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 9122edd57c [Kconfig] Add more descrip for Kconfig 2017-10-09 15:12:42 +08:00
SummerGift 17d64d0bff [修改]:修改rtt中的kconfig。 2017-10-09 14:22:08 +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
armink 93db99678b [DeviceDriver] Update SFUD to latest version. 2017-08-30 21:28:59 +08:00
Aubr.Cool 44bac92a93 [Components]drivers can change txcompletion to sem 2017-08-30 08:00:36 +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
SummerGift cfc3b76438 delete a useless %s. 2017-08-19 10:04:04 +08:00
yygg_you 94746d8e5f audio驱动使用系统内的dataqueue,修复一些缩进,乱码 2017-08-16 01:17:06 +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
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 ef88241d8e Fix compiling warning for Win32. 2017-06-06 23:34:33 +08:00
bernard 128b265848 [DeviceDrivers] codec cleanup. 2017-06-06 18:20:41 +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
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
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
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
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
urey@ez-iot.com 564e7aefce 添加 w25 mtd设备驱动 2017-02-13 19:37:53 +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 d692001fd5 [tools] Add KConfig files. 2017-01-31 11:54:12 +08:00
Aubr.Cool 6fa8bfd92a prevent change serial rx bufsz when serial is opened 2017-01-19 14:27:05 +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 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 07c0e13060 Merge pull request #632 from armink/master
Improve serial DMA rx mode. #628
2016-05-20 14:26:23 +08:00
Bernard Xiong c5949c2736 [DeviceDrivers] Update SPI flash drivers. 2016-05-20 14:07:32 +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 a3daa62151 [DeviceDrivers] Add RT_MTD_EECC_CORRECT code in MTD nand. 2016-04-18 13:56:38 +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
Bluebear233 2b1983992f Update serial.c
fix reset serial receive interrupt flag when close serial
2016-04-09 20:58:10 +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 24d089d80a [DeviceDrivers] Remove the tail space 2016-03-01 10:57:25 +08:00
Bernard Xiong eefd87284c [DeviceDrivers] fix the compiling warning in MMC/SD 2016-03-01 10:55:16 +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
Bernard Xiong 44ad3d1cb9 [DeviceDrivers] Remove open_flag assertion. 2015-09-24 20:46:59 +08:00
Bernard Xiong 342e8d688d Merge pull request #546 from heyuanjie87/ForPullRequest
[DeviceDrivers] Add hardware timer framework
2015-09-09 22:30:45 +08:00
heyuanjie87 984a7ba051 修改说明文档 2015-09-09 10:26:42 +08:00
weety f327e7c98f Delete unused file. 2015-09-07 15:03:44 +08:00
heyuanjie87 efc1b058ac 添加说明文档 2015-09-07 13:27:05 +08:00
heyuanjie87 d19f424909 简化操作接口 2015-09-06 15:05:47 +08:00
weety ebea51e8a8 Add more spi mode. 2015-09-04 22:47:48 +08:00
weety b71cb4c09d Add dm365 porting. 2015-09-04 12:30:20 +08:00
heyuanjie87 c84887d021 加入定时器设备 2015-09-02 22:00:24 +08:00
quintin 23b5fe5239 fix DMA tx mod tx_dma->activated flag init bug. 2015-08-31 14:57:01 +08:00
Bernard Xiong 0690980fb6 Merge pull request #539 from SchumyHao/master
add w25q80 support to spi flash
2015-08-24 10:51:03 +08:00
Bernard Xiong e029f14b46 [DeviceDrivers] fix sd->drv issue in sdio 2015-08-09 11:23:16 +08:00
aozima 3ad3066c4b fixed rt_can_close issues. 2015-07-21 17:04:22 +08:00
aozima defa6f37ff [DeviceDriver] update CAN baudrate enum. 2015-07-08 11:26:20 +08:00
Aubr.Cool 7051f01f48 [DeviceDriver]can add bus_hook 2015-07-07 12:06:24 +08:00
Aubr.Cool 5f860e8f94 [DeviceDriver]add missing hdr define 2015-07-07 12:01:56 +08:00
Aubr.Cool 0f20bf12fd [DeviceDriver]correct can critical problems 2015-07-07 11:50:39 +08:00
BernardXiong 2ca3ceab70 [DeviceDrivers] code cleanup for CAN 2015-07-06 18:24:56 +08:00
BernardXiong 91d866d81a [DeviceDrivers] Use mutex to lock can_open/close 2015-07-06 18:11:46 +08:00
BernardXiong 1488568801 [DeviceDrivers] code cleanup for CAN driver and fix some critical issue 2015-07-06 10:38:07 +08:00
Aubr.Cool 9cbf30a767 correct can hdr defines 2015-07-04 00:25:05 +08:00
Aubr.Cool 67b6b30e88 add rtthread.h include for can.h 2015-06-30 14:48:07 +08:00
Aubr.Cool b3f0737a99 correct can compiler error and warnings 2015-06-30 14:12:30 +08:00
weety 28f2fbd4cc 1.Fixed sdmmc cmd retries issue; 2015-06-22 21:28:42 +08:00
weety 41597e8793 Add mmc and emmc drivers. 2015-06-20 23:23:32 +08:00
Aubr.Cool c3e4fd079c correct can hdr read error 2015-06-16 08:49:25 +08:00
Aubr.Cool 9ea3219ab7 Add can driver doc 2015-05-15 11:34:43 +08:00
Aubr.Cool c7d703158a Add SConscript for can 2015-05-15 08:00:14 +08:00
Aubr.Cool 8e29e3d98b add author information 2015-05-15 07:58:21 +08:00
Aubr.Cool eb56b832ef Add Can Drv 2015-05-14 16:52:48 +08:00
BernardXiong 2f5c5b676d [DeviceDrivers] Add GD25Q flash id in w25qxx.c 2015-05-13 21:28:02 +08:00
Bernard Xiong 77b5098ae2 [DeviceDriver] Add more exported symbols for completion. 2015-05-11 12:33:15 +08:00
Bernard Xiong 452432a15b [Sensor] Fix the call back issue in sensor. 2015-05-04 20:44:47 +08:00
Bernard Xiong 6459839f28 Add extern declaration for C++. 2015-04-24 11:48:25 +08:00
SchumyHao 88936f0836 format 2015-04-16 21:08:07 +08:00
SchumyHao 7d341d4e6e add w25q80 support to spi flash 2015-04-16 21:06:54 +08:00
ItsEddy 16bf2e7255 [DeviceDriver] Fix inverted logic on SConscript
Remove dataqueue/pipe if not enable RT_USING_HEAP, supply the missing `not`.
2015-04-04 02:17:26 +08:00
Bernard Xiong 40db28cfec [DeviceDriver] Remove dataqueue/pipe if not enable RT_USING_HEAP 2015-03-31 06:17:49 +00:00
Aubr.Cool 5d6ac1ed37 correct rx_fifo init size error 2015-03-26 13:26:13 +08:00
Aubr.Cool 7caabd2b7a mv device ctl cmd macros from serial.h to rtdef.h 2015-03-26 08:40:36 +08:00
KodakWang 29fd52dfb8 Update completion.c
fix: completion wait after, maybe can't clean the flag.
2015-03-24 15:54:08 +08:00
Bernard Xiong 827ff71933 Merge pull request #435 from AubrCool/fix-pinregisternameproblems
[BSP] Correct pin register name problems
2015-03-23 20:55:34 +08:00
Aubr.Cool 6dc5851c55 Correct pin register name problems 2015-03-23 09:38:09 +08:00
Bernard Xiong 767c16d596 [USBH] fix the spelling wrong 2015-03-19 08:52:28 +00:00
Bernard Xiong 3462537bdd [DeviceDrivers] Update SConcript file for sensor code 2015-02-01 08:50:54 +00:00
bernard 94e5d1e5e6 [DeviceDrivers] Add MPU6050 and BMI055 sensor. 2015-02-01 16:17:06 +08:00
Bernard Xiong 19ee2c7e09 Merge pull request #416 from bright-pan/master
[Driver/ringbuffer]: Fix put_force bug
2015-01-26 11:14:03 +08:00
Bright Pan 2d67fe6565 [Driver/ringbuffer]: Fix put_force bug
OXape reports: http://www.rt-thread.org/phpBB3/topic3939.html
          driver/ringbuffer: when data length is bigger than space length
          for rb, the read_index in rb is not update.
    When length > space, update the read_index, the bug can be fix, and
          works fine.
2015-01-23 13:27:52 +08:00
Bernard Xiong 73d5acecba [DeviceDrivers] Add pin.h in the rtdevice.h 2015-01-20 07:24:49 +00:00
Bernard Xiong 1bb425e839 [DeviceDrivers] code cleanup for hardware pin 2015-01-19 08:56:43 +00:00
Bernard Xiong d01b2ca84b [DeviceDrivers] Add pin io driver framework 2015-01-19 06:18:16 +00:00
bernard f6ed27b863 [DeviceDrivers] Fix sensor_poll issue. 2015-01-04 20:01:52 +08:00
bernard 06454fd484 [DeviceDrivers] change tab to space in sensor. 2015-01-04 13:14:53 +08:00
bernard a6251a439e Use open_flag for serial device. 2015-01-04 12:25:20 +08:00
bernard 46bca6f84a Add C programming language APIs. 2015-01-04 12:24:46 +08:00
bernard 58163f49e0 [DeviceDriver] change the name style of method of C++ code; Add raw mode for sensor. 2014-12-31 22:33:54 +08:00
bernard c26b999360 Fix the sensor list issue. 2014-12-01 12:22:17 +08:00
aozima 92fac29f70 update RW009 driver: add softAP support. 2014-11-15 16:11:24 +08:00
bernard 6281ab2bbe [DeviceDriver] Remove i2c_core_lock. 2014-11-01 16:38:53 +08:00
Bernard Xiong 0fa10629f7 [Sensor] code cleanup 2014-11-01 15:52:25 +08:00
Bernard Xiong 18cd95688d [Drivers] Add sensor framework 2014-11-01 09:09:52 +08:00
aozima 3c99a5bf8d update RW009 wifi driver. 2014-09-24 12:08:01 +08:00
aozima 03496f0700 update RW009 driver. 2014-09-08 16:59:52 +08:00
heyuanjie87 8a44c7dbfb [Serial] BUG Fix: data be send twice in mode that other than polling 2014-09-01 23:43:50 +08:00
aozima 69d089cac0 Update SConscript: add spi to include path. 2014-08-29 21:53:28 +08:00
Bernard Xiong 0ad17f462d [DeviceDrivers] Add modification under Linux 2014-08-04 16:40:40 +08:00
bernard 5397e18c56 [DeviceDrivers] Fix compiling warning. 2014-08-03 14:29:46 +08:00
aozima 0fc1ac6189 add more SPI device driver. 2014-07-31 16:58:43 +08:00
bernard c45f5a2490 [Drivers] re-write serial framework. 2014-07-18 06:45:54 +08:00
shaolin 64a2902fa9 1. Fix some spell error;
2. Fix data transfer size calculate error issue;
2014-07-13 17:19:34 +08:00