summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2021-04-17[stm32 pandora] implement drv_key and modify drv_sdcardMeco Man
2021-04-13Update mmc.cJianjia Ma
2021-04-13Add more trys when switching data widthJianjia Ma
Try a few times before switching to other data widths. The original strategy (simply wait for 20ms ) failed on STM32H743 with an MTFC4GACAJCN-4M (4GB EMMC) when switching data width. (unless the debugging info is enabled, which add more delays) With this EMMC, the fixed delay was set to 50ms for it to be able to work. Instead of a fixed delay, I think we better change to trying a few more times with smaller delays.
2021-04-07[fix] fix measurement unit of "percentage" to "permillage" for accuracy.StackRyan
2021-04-02[add] add spo2 sensor support in drivers/include/drivers/sensor.h and ↵StackRyan
drivers/sensors/sensor.c Signed-off-by: yuanjie <[email protected]>
2021-04-02Merge pull request #4547 from rtthread-bot/rtt_botBernard Xiong
[update] RT-Thread Robot automatic submission
2021-04-01NULL -> RT_NULLMeco Man
2021-03-31Merge pull request #4480 from iysheng/serialBernard Xiong
[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close seria…
2021-03-31Merge pull request #4439 from OpenNuvoton/sfud_dualio_issueBernard Xiong
[sfud] Correct dual_io dummy cycle setting to 4.
2021-03-29Merge remote-tracking branch 'rtt_gitee/gitee_master'rtthread-bot
2021-03-27pipe name depend on RT_NAME_MAXwanghaijing
2021-03-23Merge pull request #4476 from xfwangqiang/sensor_prBernard Xiong
[components][sensor]Optimize the Sensor Module
2021-03-22Fixed formatting issueswangqiang
2021-03-21[stm32][pin] 删除无用注释Meco Man
2021-03-19[kernel][devices] add security devicesMeco Man
2021-03-18[components][serial] fix do RT_DEVICE_CTRL_CLOSE cmd when close serial ↵iysheng
device regardless of DMA config
2021-03-171. 优化pin.h, sensor.h, rtdevice.h,避免反向包含wangqiang
2. 优化rt_sensor_close函数,polling模式下不需要操作和rt_pin_irq_enable函数 3. 优化rt_device_register和sensor_polling的LOG信息 4. 修复sensor_polling函数打开设备时的标志错误的问题
2021-03-17将sensor.h的头文件放置了一份在driver/include下面,rtdevice.h� ↵wangqiang
�头文件也包含了sensor.h,简化应用层调用sensor模块
2021-03-17优化ops的检测代码wangqiang
2021-03-17检测rt_sensor_device下的ops和ops中的函数指针,防止因未定义 ↵xfwangqiang
ops中的函数而造成的问题
2021-03-16Merge branch 'master' into compdillon-min
2021-03-16Merge pull request #4427 from mysterywolf/componentsBernard Xiong
[components] auto & manual formatted
2021-03-12component: driver: usb: enlarge uconfig_descriptor's data array spaceDillon Min
if you add more compositive usb device(more than 4), the data[256] can't hold all the devices's config information, array out of bounds. Fixes: 60c27fc4b ("add USB composite and mass storage class features in USB device stack") Signed-off-by: Dillon Min <[email protected]>
2021-03-11component: driver: usb: Add usb interface string(iInterface) settingDillon Min
To make compositive usb device string more reansonable, not all devices just show same "RTT Composite Device" on windows device manager. add a interface rt_usbd_device_set_interface_string to set respective interface string. Signed-off-by: Dillon Min <[email protected]> v1 -> v2: remove all tabs to space, to match rt-thread coding style
2021-03-10[sfud] Correct dual_io dummy cycle setting to 4.Wayne Lin
2021-03-10[ioctl] 增加TIOCGWINSZ功能Meco Man
2021-03-09Merge pull request #4366 from whj4674672/wqueueBernard Xiong
[fix] wait queue flag 赋的值使用宏
2021-03-08revertMeco Man
2021-03-08[compoenets] auto & manual formattedMeco Man
2021-03-03Merge pull request #4376 from LeeChunHei/hid_fixBernard Xiong
修復usb host hid和umouse驅動
2021-03-03Merge pull request #4290 from enkiller/0201-1456Bernard Xiong
优化工作队列体积,临界区保护更加完善
2021-02-28Return when i2c transfer 0 messagesHoward Su
msg->flags is accessed without proper intialized msg variable.
2021-02-23provide possibility for multi usb hostLeeChunHei
2021-02-23update to new usb api in hid and mouse source fileLeeChunHei
2021-02-23Revert "添加imxrt的pulse encoder和usb host驅動"Bernard Xiong
2021-02-23Merge pull request #4295 from LeeChunHei/test_branchBernard Xiong
添加imxrt的pulse encoder和usb host驅動
2021-02-22[workqueue] 修复临界条件线程意外挂起问题tangyuxin
线程判断任务链表为空时,开中断挂起线程,在挂起线程的过程中,提交的任务不会被执行。 将线程的挂起与恢复放在中断保护内,确保挂起挂起恢复是一个完整的过程
2021-02-22[workqueue] 系统默认工作队列初始化阶段提前tangyuxin
2021-02-22[fix] flag 的赋值使用宏的方式wanghaijing
2021-02-15Merge pull request #4314 from mysterywolf/mktime1Bernard Xiong
[bug][localtime]解决底层驱动格林威治时间与当地时间混乱使用的问题
2021-02-13finish testingLeeChunHei
2021-02-13modifly to use multi usb(not tested)LeeChunHei
2021-02-13Add pulse encoder and usb host to imxrt (not tested)LeeChunHei
2021-02-08Merge pull request #4310 from mysterywolf/pinBernard Xiong
[bug][pin] 修复错误码没有为负的错误
2021-02-07解决底层驱动格林威治时间与当地时间胡乱使用的问题 ↵Meco Man
mktime函数改为timegm函数
2021-02-07【workqueue】添加函数声明tangyuxin
rt_err_t rt_workqueue_cancel_all_work(struct rt_workqueue *queue);
2021-02-07[workqueue] 提交正在执行的工作,返回 BUSYtangyuxin
2021-02-06[workqueue] ↵tangyuxin
修复提交工作后立即取消,获取无效工作任务的问题 当高优先级任务提交工作后,立即取消。此时队列被唤醒,下面紧接着获取链表中第一个任务。但此时已经是空链表了。 每次线程被唤醒。检查当前任务链表是否未空
2021-02-06[workqueue] 取消正在执行的工作返回BUSYtangyuxin
2021-02-06[workqueue] 队列销毁时取消所有工作并释放内核对象tangyuxin