Commit Graph

701 Commits

Author SHA1 Message Date
zyh b18534e1af [components][USB][Device][Core]fix the device_qualifier error respond on fullspeed 2018-12-27 16:48:29 +08:00
misonyo 3b4bb18c06 [components/drivers/hwtimer]修复定时器向下计数模式时时间获取错误bug 2018-12-25 09:59:16 +08:00
Bernard Xiong 12b8a0cc38
Merge pull request #2020 from enkiller/dev
[components][drivers][wlan] 更正表意错误的返回值类型
2018-12-18 14:16:05 +08:00
HubretXie 716823bfec
减少sfud对任务栈的占用
用全局空间换栈空间,当多个任务需要使用sfud时,可以节省内存
例如多个任务需要使用文件系统,任务栈可以减少
2018-12-17 18:09:02 +08:00
Bernard Xiong f12d5bfba0
Merge pull request #2065 from qgyhd1234/hwtimer
完善 hwtimer 测试例程,修改 readme 显示错误
2018-12-14 11:05:58 +08:00
Bernard Xiong 1f37de29c4 Fix the value width issue under 32/64 bit arch. 2018-12-13 14:54:26 +08:00
zylx 6ea32ee488 [components][drivers] delete redundant judgment 2018-12-13 10:00:03 +08:00
zylx f497b17111 [components][drivers]fix hardware timer 2018-12-12 17:20:55 +08:00
Bernard Xiong 9677fe6f2c
Merge pull request #2045 from ErnestChen1/master
[add] DMA choice of serial
2018-12-10 09:29:42 +08:00
KE1VG8CBMISQ6ED\Administrator 895fb5c1a9 Update adc.c
check fun is NULL, error
2018-12-08 22:56:34 +08:00
chenchaoqun@rt-thread.com 5098c934d3 [add] DMA choice of serial 2018-12-08 11:37:13 +08:00
Bernard Xiong 538923d34e
Merge pull request #2038 from enkiller/181206
[components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题
2018-12-06 11:33:45 +08:00
tangyuxin 353792b626 [components][drivers][wlan] 更正表意错误的返回值类型 2018-12-06 10:47:00 +08:00
tangyuxin 5f0bf58069 [components][drivers][spi]] 修复开启 mtd nor 后编译错误的问题 2018-12-06 09:50:17 +08:00
HubretXie cd0521d7d2
Update spi_flash_sfud.c 2018-12-05 19:59:06 +08:00
Bernard Xiong bcd591c5f5
Merge pull request #2018 from dogandog/master
Update serial.h
2018-11-30 12:48:04 +08:00
Owen a3e4d57a54
Update serial.h
correct definition of struct serial_configure
2018-11-30 11:07:56 +08:00
geniusgogo d168f2ac74 fixed pm tick adjust 2018-11-29 23:40:04 +08:00
MurphyZhao 7556ab89da [components/drivers/audio] [修复] audio 中枚举类型不匹配的问题
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-28 18:56:40 +08:00
MurphyZhao 3cf808921d [components/drivers/audio] [修复] 编译警告
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-11-28 18:56:39 +08:00
Bernard Xiong a87914b535
Merge pull request #2006 from armink/fix_sfud
Update sfud
2018-11-26 18:20:20 +08:00
armink 7a6034fdf7 [DeviceDriver] Add RT_USING_QSPI macro. 2018-11-26 13:34:33 +08:00
armink c19848d63e [DeviceDriver] Update SFUD readme.md . 2018-11-24 22:10:59 +08:00
aozima 669eb13ed9 [DeviceDriver] update RT_USING_DEVICE_OPS.
1. fixed audio_pipe.c compile error.
2. update pwm driver: support RT_USING_DEVICE_OPS.
2018-11-24 17:29:50 +08:00
armink 31fc754805 [DeviceDriver] Fix a build error for SFUD. 2018-11-24 16:42:43 +08:00
armink 3a3da42738 [DeviceDriver] Add QSPI device driver support for SFUD. 2018-11-24 15:11:24 +08:00
armink 3b20db1903 [DeviceDriver] Update SFUD (Serial Flash Universal Driver) library to latest version. 2018-11-24 15:08:47 +08:00
armink 15b2feb60d [DeviceDriver] Update QSPI driver framework. 2018-11-24 15:02:53 +08:00
Bernard Xiong 2ca5995160
Merge pull request #1987 from enkiller/dev
[components][drivers][wlan] Modify wlan device registration interface
2018-11-23 17:27:07 +08:00
Bernard Xiong 70bfe427e6
Merge pull request #2001 from armink/fix_rbb
[DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_…
2018-11-23 17:17:46 +08:00
Bernard Xiong 8cc81af1f6
Merge pull request #1998 from SummerGGift/Remove_code
[components][driver]: Remove the extra spi reinitialization code
2018-11-22 20:26:07 +08:00
armink 74232f2de4 [DeviceDriver][rbb] Add some comments and rt_rbb_blk_size/rt_rbb_blk_buf API.
Signed-off-by: armink <armink.ztl@gmail.com>
2018-11-22 18:08:12 +08:00
SummerGift e9c0964061 [components][driver]: optimized code 2018-11-22 16:33:32 +08:00
SummerGift fac430805f [components][driver]: change to new spi API 2018-11-22 16:26:29 +08:00
SummerGift 92fac771b1 [components][driver]: Store SPI configuration information to msd device 2018-11-22 14:52:02 +08:00
SummerGift 025951939a [components][driver]: spi sd card, remove the extra reinitialization code 2018-11-22 13:57:28 +08:00
zylx 257ce972d0 [DeviceDrivers][spi]:add qspi support 2018-11-22 13:54:37 +08:00
tangyuxin 3df952d34c [components][drivers][wlan] Modify wlan device registration interface 2018-11-20 11:15:34 +08:00
chenchaoqun@rt-thread.com 049944529f [add] adc framework 2018-11-20 10:08:31 +08:00
Bernard Xiong 45960a8d14
Merge pull request #1977 from SummerGGift/sfud
[component][sfud]: fix bug when probe device more than once
2018-11-14 19:23:41 +08:00
chenyong 739e8a8438 [drivers] Modify RTC_SYNC_USING_NTP depends on PKG_NETUTILS_NTP
Signed-off-by: chenyong <1521761801@qq.com>
2018-11-14 18:26:53 +08:00
SummerGift dc704b1828 [component][sfud]: fix bug when probe device more than once 2018-11-14 17:58:57 +08:00
flyingcys 39c0ba3df2 fix wlan_dev bug 2018-11-03 16:24:30 +08:00
armink 83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
armink 5a70247898 [components][DeviceDriver] Update log tag from [SDIO] to SDIO. 2018-11-02 10:15:29 +08:00
Bernard Xiong 7fd434e2f7
Merge pull request #1935 from armink/add_pm
[DeviceDriver][pm] Update pm driver.
2018-10-29 19:44:20 +08:00
armink f05baecc5a [DeviceDriver][pm] Update pm driver. 2018-10-29 19:02:31 +08:00
Bernard Xiong 98fc1cb4cf
Merge pull request #1933 from armink/add_pm
[DeviceDriver] Add power management device driver.
2018-10-29 10:27:38 +08:00
armink 2d59fe0310 [DeviceDriver] Add power management device driver. 2018-10-29 09:54:52 +08:00
Peter Zhang 4f14dc9186 [components][drivers][usb_common]: Fix typo for 'ifndf' in usb_common.h 2018-10-26 14:33:21 +08:00
Peter Zhang 328a697c1d [components][drivers][usb][usb_device][cdc_vcom]: Add 'RT_VCOM_TX_TIMEOUT' to configure TX_TIMEOUT whick may block vcom tx thread for a long time. Add 'RT_VCOM_TASK_STK_SIZE', 'RT_VCOM_TX_USE_DMA', 'RT_VCOM_SERNO', 'RT_VCOM_SER_LEN', 'RT_VCOM_TX_TIMEOUT' to Kconfig 2018-10-26 14:29:22 +08:00
zyh d950ffc485 [Components][USB]修复拼写错误 2018-10-26 11:41:54 +08:00
Bernard Xiong 95fde46d18
Merge pull request #1923 from uestczyh222/usb
[Components][drivers][usb]修复非对齐访问异常
2018-10-26 07:08:24 +08:00
liruncong d3764db892 解决以下问题:
1) usb驱动中时间未与RT_TICK_PER_SECOND关联问题,RT_TICK_PER_SECOND变化时,这些时间将发生变化
解决: 增加USB_TIMEOUT_BASIC/USB_TIMEOUT_LONG/USB_DEBOUNCE_TIME
2) 修正rt_usbh_detach_instance函数使用device->cfg_desc前未判断是否有效. 可导致abort
3) rt_usbh_hub_port_change增加device->port初始化,否则struct uhcd_ops相关函数无法直接得到端口号
2018-10-23 20:04:51 +08:00
zyh c2539db38e [Components][drivers][usb]修复非对齐访问异常 2018-10-22 12:08:43 +08:00
Bernard Xiong 1699a12b15
Merge pull request #1908 from enkiller/wlan-lwip
[components][wlan] 兼容lwip1.4
2018-10-18 21:35:06 +08:00
tangyuxin a7956e5ec9 [components][wlan] 兼容lwip1.4 2018-10-18 14:24:15 +08:00
tangyuxin 1e0e221dd7 [components][wlan] 修复某些情况下模式初始化两遍的bug 2018-10-18 14:19:32 +08:00
Bernard Xiong 070248bb04
Update spi_flash_w25qxx.c 2018-10-15 09:23:58 +08:00
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
ZYH e00364c5e4 [Components][SDIO]修复脏值调用 2018-10-12 11:22:05 +08: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
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
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
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
heyuanjie87 b620c10014 更改许可 2018-09-20 09:41:05 +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
ZYH 9a666099aa [Components][Drivers][hwtimer]fix 'index' declared without an initial value 2018-09-18 15:30:52 +08:00
ZYH cc8ab15472 [Components][Drivers][SPI]fix "Value stored to 'result' is never read" 2018-09-17 10:06:54 +08:00
tangyuxin 324bfc5897 [DeviceDriver][wlan] add new wlan framework 2018-09-15 10:16:04 +08:00
armink dff8a2c513 [DeviceDriver] Add rbb (ring block buffer) data structure. 2018-09-12 08:59:58 +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 7b788014f7 修正drivers下,armclang编译时的警告或错误 注:vcom_tx_thread_entry下, if(!res & CDC_TX_HAS_DATE)应为bug. 2018-09-10 19:40:08 +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
EvalZero 2c01189114 [DeviceDriver][SDIO] Update sdio debug log. 2018-09-05 14:50:43 +08:00
liruncong d3c08afd75 1. 保留目前未用到的rt_usbd_ep_unassign函数,暂时移除static属性,消除警告.
2. 修改一处存在多余括号问题. armclang有警告发出.
2018-09-02 22:39:51 +08:00
liruncong 923d6fe33d 消除usb结构体gcc编译时的相关警告 2018-08-28 03:18:39 +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
MurphyZhao 651149fcbb [components/drivers/spi] 增加 sfud flash 设备查找接口
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2018-08-16 14:48:46 +08:00
neverxie 3a83e5524f [components][pipe] Fix 'pipe' command close bug when open failed. 2018-08-11 18:45:18 +08:00
Bernard Xiong e6fedb6e9b [DeviceDrivers] Remove warning in Kconfig 2018-07-28 20:22:47 +08:00
Bernard Xiong cd5ccea44c
Merge pull request #1652 from enkiller/dev
[components][drivers][sdio]修复没有注册SDIO中断导致断言的问题
2018-07-22 11:19:32 +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
liang yongxiang bd044f674d [components] format Kconfig 2018-07-18 11:59:50 +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 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