hichard
ec3b4349d3
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into renhaibo-branch
2019-11-16 11:20:13 +08:00
hichard
aafed7b434
1.修复sd卡热插拔内存泄露的bug
...
2.dfs增加函数,配合实现sd卡热插拔自动挂载卸载文件系统
2019-11-16 11:16:48 +08:00
Bernard Xiong
97b7661f6e
Merge pull request #3202 from armink/fix_rtc
...
[components] remove libc dependency in ulog and RTC driver.
2019-11-16 10:30:23 +08:00
ZYH
d3ee03f9c6
[RNDIS]fix speed on HS
2019-11-15 15:05:21 +08:00
armink
e59339e4b8
[components] remove libc dependency in ulog and RTC driver.
2019-11-14 18:09:55 +08:00
Steven Liu
12eacb8df6
components: drivers: misc: pwm: Missing "pwm1" here.
2019-11-11 17:10:25 +08:00
wangk-ge
649f75f861
修改内存泄漏问题
2019-11-11 16:46:43 +08:00
Ernest
f82d4f1f6f
[DeviceDrivers] add warning about overflow by serial receiver
2019-11-01 10:38:07 +08:00
MurphyZhao
260a61d36a
[components/drivers][pm] fix data type problem
...
Signed-off-by: MurphyZhao <d2014zjt@163.com>
2019-09-23 18:02:46 +08:00
Bernard Xiong
32baa8e998
Merge pull request #3041 from FlyLu/master
...
fix i2c flags bug
2019-09-21 10:08:21 +08:00
guozhanxin
711ce4a0ea
[usbd] Fixed Windows first recording failure.|修复windows下第一次录音失败的问题。
...
windows下第一次录放音失败的原因是:第一录放音时 windows 会先连续发送开始、结束检测设备,然后才正式开始。线程来不及处理两次开始事件不会累积,最后导致直接结束,
2019-09-19 23:12:24 +08:00
guozhanxin
98b1956937
[usbd] Add usb audio class.
2019-09-19 21:01:25 +08:00
guozhanxin
cde81a296d
[usbd] Fixed an error where change the interface did not call handler.|修正了改变接口不调用回调的问题
2019-09-19 20:58:58 +08:00
guozhanxin
59dfbb1266
[usb device] Fix the problem of multiple altsetting of interface failing to properly enumerate.
...
修复多备用设备的接口不能正常枚举的问题。
2019-09-12 18:04:44 +08:00
Bernard Xiong
7464427894
[SFUD] Fix the compiling warning for SFUD_FLASH_DEVICE_TABLE definition
2019-09-11 10:24:50 +08:00
tangyuxin
8a3e66bc27
[components][drivers][wlan] 修复WLAN事件附加数据为空的问题
2019-09-06 15:28:46 +08:00
linch
55b69111dc
fix i2c flags bug
2019-09-06 14:44:50 +08:00
tangyuxin
2f2933245e
[components][drivers][sdio]修复 SDIO product 为空的问题
2019-09-03 16:55:10 +08:00
tangweikang
0f74ee7e20
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into drv_encoder
...
# Conflicts:
# components/drivers/misc/encoder.c
2019-08-30 16:11:46 +08:00
tangweikang
b76d3dac8a
[components][drivers] change name: encoder -> pulse_encoder
2019-08-30 15:58:52 +08:00
Bernard Xiong
4652480b64
Merge pull request #2993 from balanceTWK/encoder_perfect
...
[components][drivers][encoder] update
2019-08-26 13:45:27 +08:00
tyustli
363c9b1460
[bsp] [stm32] fix drv_can.c and can.c bug
2019-08-23 20:40:09 +08:00
tangweikang
086d26e0b4
[components][drivers][encoder] update
2019-08-23 14:43:44 +08:00
Bernard Xiong
d682c35441
Merge pull request #2948 from balanceTWK/master_capture
...
[components][drivers] add input capture driven framework
2019-08-21 13:48:12 +08:00
tangweikang
f9bad31d57
[components][drivers] change name: capture -> inputcapture
2019-08-21 10:51:02 +08:00
Bernard Xiong
0425f913ef
Merge pull request #2949 from enkiller/wlan
...
[components][drivers][wlan] 1.修复异步调用 dhcp 无法停止的bug 2.支持解挂载 lwip 协议
2019-08-20 08:44:29 +08:00
tangyuxin
d6fb6fec47
[components][drivers][wlan] 1.修复异步调用 dhcp 无法停止的bug 2.支持解挂载 lwip 协议
2019-08-18 20:16:21 +08:00
tyustli
c81eebcd5d
[bsp] [stm32] fix drv_can.c
2019-08-16 12:14:30 +08:00
tangweikang
e1587de6f7
[components][drivers] update capture driven framework
2019-08-15 16:44:05 +08:00
tangweikang
473505053f
[components][drivers] add capture driven framework
2019-08-13 20:33:23 +08:00
Bernard Xiong
ed1db32196
Merge pull request #2937 from balanceTWK/master_encoder
...
[components][drivers] add encoder driven framework
2019-08-13 11:39:37 +08:00
tangweikang
2b9a9e0163
[components][drivers] update : Move clear_count() function from ops->control() to ops->clear_count()
2019-08-12 13:47:03 +08:00
tangweikang
e5dc60e3cf
[components][drivers] update encoder driven framework
2019-08-11 16:15:43 +08:00
tangyuxin
70dd41d24b
[components][drivers][wlan] WLAN 支持被动扫描
2019-08-11 15:17:04 +08:00
tangweikang
cc565da5a1
[components][drivers] add encoder driven framework
2019-08-09 18:42:14 +08:00
Bernard Xiong
ab37857609
Merge pull request #2922 from enkiller/workqueu
...
[components][drivers][ipc] 完善工作队列,增强稳定性
2019-08-07 13:30:24 +08:00
EvalZero
e855fb8536
[components][audio]improve device ops interface and data flows.
2019-08-06 11:36:50 +08:00
tangyuxin
badd211457
[components][drivers][ipc] 完善工作队列,增强稳定性
...
1. 可直接提交延时任务, 无需额外调用延时初始化
2. 修复延时任务 PENDING 时,取消任务会递归调用的问题
2019-08-05 14:18:15 +08:00
tangyuxin
7d801615b2
[components][drivers][wlan] 修复密码临界值判断错误
2019-07-31 11:57:37 +08:00
tangyuxin
77ce9148d7
[components][drivers][wlan] 修复自动连接 32 密码长度失败的问题,增强代码稳定性
2019-07-26 20:27:42 +08:00
Bernard Xiong
20130d19b5
Merge pull request #2894 from enkiller/wlan
...
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 18:52:16 +08:00
tangyuxin
6fbc7494b8
[components][drivers][wlan] 自动连接周期可配置,可指定扫描通道
2019-07-25 10:30:54 +08:00
SummerGift
0cfcb906d5
【完善】去除串口 dma 中无法触发的代码判断
2019-07-23 16:16:12 +08:00
Bernard Xiong
423544d1c3
Merge pull request #2873 from Ingenic-community/master
...
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
2019-07-21 12:10:12 +08:00
Zhou Yanjie
de69a9b500
sdio: mmc.c: 修复缩进/Fix indentation.
...
修复版权信息中的缩进格式。
Fix indentation in copyright information.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie
976ea24112
sdio: mmc.c: 防止容量计算过程溢出/Prevent capacity calculation overflow.
...
修改“mmc_parse_ext_csd”函数,防止容量计算过程溢出。
Modify the "mmc_parse_ext_csd" function to prevent the capacity
calculation process from overflowing.
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 21:18:56 +08:00
Zhou Yanjie
3c9375181d
usb: hid.c: 修复编译过程中的错误/Fix compile-time error.
...
在第375行中,“uint8_t *data,”应改为“rt_uint8_t *data,”。
In line 375, "uint8_t *data," should be changed to "rt_uint8_t *data,".
Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
2019-07-19 16:03:57 +08:00
Bernard Xiong
9a1be9e73d
Merge pull request #2860 from willianchanlovegithub/sensor
...
[component][drivers][sensors]Increase the output of sensor information
2019-07-17 10:43:35 +08:00
Willian Chan
06b4a0611d
[component][drivers][sensors]Fix compilation warnings
...
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-17 09:27:30 +08:00
Willian Chan
7db27345c2
[component][drivers][sensors]Increase the output of sensor information
...
Signed-off-by: Willian Chan <chentingwei@rt-thread.com>
2019-07-16 18:30:15 +08:00
tangyuxin
46498d5d1e
[components][drivers][wlan] 功能可裁剪
...
- WLAN 连接信息保存功能可裁剪
- WIFI MSH 命令功能可裁剪
- WLAN 管理功能可裁剪
- WLAN 自动连接功能可裁剪
- WLAN 自动连接时使用最新热点信息
- WLAN 用户事件回调由独立线程调用
- WLAN 独立线程可裁剪
- WLAN 协议管理功能可裁剪
- LWIP 协议层可裁剪
- SCAN 结果支持过滤
- WIFI 阻塞式连接支持多次扫描
- WLAN 新增网卡对象指针
- WLAN 获取信息时更新信号强度
- 其他优化性质改动
2019-07-16 18:26:31 +08:00
tangyuxin
1f2e8e1f3f
[components][drivers][hwcrypto] 更正一处命名错误
2019-07-15 13:48:14 +08:00
BernardXiong
c92ec76df8
[Device Drivers] Remove backup mtd code
2019-06-27 07:43:53 +00:00
BernardXiong
0c07c2005d
[DeviceDrivers] Remove backup mtd code
2019-06-27 07:36:25 +00:00
guozhanxin
608ead86f4
[driver][nand] Fix hardfault errors.|修复 hardfault 错误。
2019-06-19 17:57:47 +08:00
guozhanxin
b2dedae40d
[driver][mtd_nand] Add debug command to MSH.|向 MSH 添加调试命令。
2019-06-19 17:21:43 +08:00
guozhanxin
c421757cc4
[driver][mtd_nand] Formatting code.|格式化代码。
2019-06-19 17:21:42 +08:00
Bernard Xiong
d8702aa568
Merge pull request #2793 from tyustli/cpp11_error
...
fix kernel and framework no cast type error
2019-06-19 15:33:27 +08:00
tyustli
d8eb0cfc1e
fix kernel and framework no cast type error
2019-06-18 20:09:19 +08:00
Bernard Xiong
b01eb52c25
Merge pull request #2789 from tyustli/touch
...
add touch index in Kconfig file
2019-06-18 18:11:42 +08:00
tyustli
e8e2e0af3c
add touch index in Kconfig file
2019-06-18 11:12:16 +08:00
Bernard Xiong
93de68129e
Merge pull request #2780 from zhangjun1996/master
...
修复由于stm32系列的can驱动编译错误
2019-06-17 20:05:27 +08:00
Bernard Xiong
2acfc7009c
Merge pull request #2775 from Guozhanxin/sensor_fix
...
修复 sensor 设备关闭后分配的内存不释放的问题
2019-06-17 13:25:37 +08:00
zhangjun1996
537c2376f9
1,修复由于stm32系列的hal库升级导致stm32f1和stm32f4平台的can驱动编译错误
...
2,关闭components/drivers/Kconfig中默认打开的can硬件滤波器选项
3,为了让can波特率设置匹配stm32f429的时钟,给stm32f429增加波特率表
4,以上修复在stm32f103-fire-arbitrary,stm32f407-atk-explorer,stm32f429-atk-apollo三个bsp中测试通过
2019-06-15 11:52:11 +08:00
tyustli
06051905f0
修改函数出错时返回值为负值
2019-06-14 09:03:07 +08:00
guozhanxin
7d6fa2388d
[sensor] To streamline the code.| 精简代码,去除冗余的代码。
2019-06-13 17:52:52 +08:00
tyustli
116b7880c3
add enable/disable interrupt command
2019-06-13 16:48:40 +08:00
guozhanxin
2600f82e39
[sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误.
2019-06-13 16:01:23 +08:00
guozhanxin
44abc90990
[sensor] Add static keywords for internal functions.| 为内部函数添加 static 关键词。
2019-06-13 15:39:11 +08:00
guozhanxin
1ec6f5b101
[sensor] Fix the problem that memory is not free after the sensor is closed. | 修复sensor设备关闭后内存不释放的问题。
2019-06-13 15:39:11 +08:00
tyustli
10ac5f7a34
modify return value and delete device name calloc
2019-06-13 11:16:44 +08:00
tyustli
89b90592ee
add touch framework
2019-06-12 09:38:32 +08:00
Bernard Xiong
97ea1a3b6e
Merge pull request #2768 from lymzzyh/rndis
...
[Components][USB][RNDIS/ECM] 修复热插拔鲁棒性和delay linkup 使用硬件定时器时报错的问题
2019-06-11 17:29:51 +08:00
Bernard Xiong
71b0c1cb73
Merge pull request #2767 from Zero-Free/master
...
[components][pm]add pm ops support
2019-06-11 16:03:01 +08:00
ZYH
e1517a0981
[Components][USB][RNDIS] fix delay linkup using soft timer
2019-06-11 15:32:37 +08:00
ZYH
2a738e1ee2
[Components][USB][ECM] fix hotplug
2019-06-11 15:27:11 +08:00
ZYH
c12d59dc02
[Components][USB][RNDIS] fix hotplug
2019-06-11 15:24:21 +08:00
EvalZero
0008256663
[components][pm]add pm ops support
2019-06-11 11:33:21 +08:00
ZYH
7a75e449b6
[Components][USB][ECM] fix hotplug
2019-06-10 14:10:59 +08:00
ZYH
cc9ce52bae
[Components][USB][RNDIS] fix hotplug and "delay linkup"
2019-06-10 14:10:08 +08:00
Bernard Xiong
c8f0ae3f11
Merge pull request #2755 from Guozhanxin/sensor_fix
...
[sensor] Fixed error with mutex_lock take and release not matching.
2019-06-06 21:30:45 +08:00
guozhanxin
8ade4fff2e
[sensor] Fixed error with mutex_lock take and release not matching.| 修复锁的获取和释放不对应的错误.
2019-06-06 16:14:51 +08:00
tangyuxin
ab7c1530ea
[components][drivers] 硬件大数适应性调整
2019-06-05 16:57:09 +08:00
guozhanxin
34e5383f9a
[sensor] fixed step name display abnormal.
2019-05-30 00:06:44 +08:00
armink
ab700d54aa
[DeviceDriver][SPI] Cleanup the at45db/gd25q/w25q/sst25v SPI flash driver. Please using SFUD instead of them.
2019-05-29 14:05:39 +08:00
armink
f9a7b47955
[DeviceDrivers][i2c] Remove the fm24clxx driver in i2c.
2019-05-29 11:17:46 +08:00
tangyuxin
1cb3c89bce
[components][drivers] add hardware crypto device
2019-05-25 10:59:12 +08:00
Bernard Xiong
6b1f8d9155
remove gnu99 code
2019-05-16 10:22:57 +08:00
misonyo
f58e947da6
[components/drivers/serial]add low level DMA TX config support.
2019-05-13 15:57:04 +08:00
Bernard Xiong
ec6cb9f260
[BSP][qemu-vexpress-a9] code cleaup for compiling warning.
2019-05-12 15:07:26 +08:00
EvalZero
42a32fd473
[components][pm]add check for pm initialize.
2019-05-09 20:53:34 +08:00
Bernard Xiong
d0b686ed3c
Merge pull request #2653 from Zero-Free/pm_dev
...
改进低功耗组件
2019-05-09 09:42:19 +08:00
guozhanxin
8f2f232887
[sensor] 完善sensor框架
...
* 修复开启 RTC 编译报错的问题。
* 在显示 sensor 数据时添加单位。
2019-05-08 11:47:07 +08:00
EvalZero
d51e0783ba
[components][pm]fix some issues with low power components
2019-05-07 21:03:48 +08:00
EvalZero
c57f2370ad
[components][pm]improve low power management components
2019-05-06 18:17:55 +08:00
tangyuxin
91345d62af
[components][drivers][ipc] 初始化工作对象所有成员
2019-04-28 14:31:57 +08:00
yaomo718
b67a8152a5
[components][drivers][can] can.c bug修复:
...
在RT_CAN_USING_HDR宏关闭的时候,接收数据大小的计算应该是:已使用链表数*sizeof(struct rt_can_msg)。
2019-04-25 11:18:28 +08:00
EvalZero
83b6260b3f
[components][workqueue]improve delayed work for reinit.
2019-04-22 11:43:45 +08:00
Zhou DingHua
fdc9683150
Add new sensor type and vendor type.
...
sensor type: force sensor
vendor type: MiraMEMS
2019-04-17 16:32:32 +08:00
armink
fa4d4ab7cf
Update all of debug log definition to DBG_TAG and DBG_LVL.
2019-04-12 10:18:57 +08:00