summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2023-03-24[components/drivers][touch]删除多余的touch.h (#7090)yangjie11
* [components/drivers][touch]删除多余的touch.h * 将touc.h替换为rtdevice.h
2023-03-23[errno code]fix that use RT_ENOMEM without -Zxy
2023-03-22[errno code][-RT_EBUSY] fix that use RT_EBUSY without -Meco Man
2023-03-22[errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without -Meco Man
2023-03-20[device]修改mtd_nor读写函数返回类型为rt_ssize_twdfk-prog
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-16[errno code][-RT_EINVAL] fix that use RT_EINVAL without -Meco Man
2023-03-16[error code][-RT_EIO] fix that use RT_EIO without -Meco Man
2023-03-10[i2c] fix the i2c device return error code (#7035)Man, Jianting (Meco)
* [i2c] fix the i2c device return error code
2023-03-09[device]修改i2c读写函数返回类型为rt_ssize_t (#7029)Zxy
2023-02-26[pin][5.0.0] 修正pin框架数据类型使用不当 (#6934)Zxy
2023-02-26[spi][5.0.0] ↵liYangYang
修正SPI设备框架中,对函数返回值类型使用不恰当的情况 (#6937)
2023-02-25解决关中断时进行了调度操作zhkag
2023-02-25🐞 fix(components/drivers/tty/pty.c): fix ptmx not init (#6970)xqyjlj
* 🐞 fix(components/drivers/tty/tty.c): fix wrong log format * 🐞 fix(components/drivers/tty/pty.c): fix ptmx not init * ✨ feat(components/drivers/tty/pty.c): pts default use ECHO, ONLCR * 🌈 style(components/drivers/tty/tty.c): format
2023-02-23serial_v2 rt_device_write/read return data type as rt_ssize_tjonas
2023-02-22[spi] rt_spi_configure 增加对cs_pin处理liYony
2023-02-21update rtdevice.h add lcdyangfasheng
2023-02-21driver/fdt] add parse reg array, get address and size by index.xieyangrun
2023-02-17[revert] workqueue RT_THREAD_SUSPEND flagguozhanxin
2023-02-16[workqueue] Reduce critical section, improve performanceguozhanxin
2023-02-16[spi]优化挂载函数对cs_pin的处理liYony
2023-02-15Improve timer accuracy and realize (#6926)zhkag
* add cputimer frame * add cputime sleep * ctime use cputime * Processing cputime has no timeout function * Migration cputime Code * formatting file * 整理代码 * add document copyright information * 改 cputime_timer 为 cputimer * 简化 _cputimer_list 初始化 * rt_cputimer_create -> rt_cputimer_init * Remove RT_USING_CPUTIME and code cleanup. * Remove RT_USING_CPUTIME in cputimer.c * Set set_next_timeout as static function. --------- Co-authored-by: Bernard Xiong <[email protected]>
2023-02-13[FDT] Fix POSIX compatibility for string.h (#6923)Bernard Xiong
* [FDT] Fix POSIX compatibility for string.h * [FDT] format libfdt code. * [FDT] format libfdt code.
2023-02-12[devicedrivers] Fix typo in sfud error messagesMoss
2023-02-11[spi]添加rt_spi_bus_attach_device_cspin 函数 (#6916)liYangYang
这个函数实现了原先的挂载功能,并且调用pin框架,初始化cs引脚,是一个功能相对完善的挂载函数。用户也能更简单的使用。 该函数取代rt_spi_bus_attach_device,后续rt_spi_bus_attach_device会被逐渐淘汰掉。新的BSP以及软件包应当使用rt_spi_bus_attach_device_cspin新函数。 STM32L475潘多拉测试通过。
2023-02-09修复编译警告zhkag
2023-02-08[ringbuffer] ringbuffer size boost to 32bit (#6915)螺丝松掉的人
* ringbuffer size boost to 32bit * 添加ringbuffer测试demo related: #682 ---- Co-authored-by: Zxy <[email protected]> Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07add clock_cpu_settimeout functionzhkag
2023-02-02[sensor] 修复命令交互使用日志输出API的问题 (#6895)Zxy
命令交互应使用rt_kprintf,而非LOG_x
2023-01-29fix typo https://github.com/armink/SFUD/pull/79soym
2023-01-23[devicedrivers] fix the partition issue in mmc/sdiobernard
2023-01-18[stm32][softspi]soft spi attach函数问题解决方案 (#6868)liYangYang
* [softspi]soft spi attach函数问题解决方案 * 更改函数名
2023-01-18[stm32][spi] spi attach函数问题解决方案 (#6864)liYangYang
attach #6819
2023-01-13[rt-smart][fix/lwp] don't restore terminal for background lwp (#6847)Shell
* [fix/lwp] don't restore term for background lwp
2023-01-10fix cputime and ctime.xieyangrun
2023-01-08format Kconfig and sconscriptMeco Man
2023-01-08improve sensor framework (#6784)Man, Jianting (Meco)
* [stm32l475-pandora] rename sensor_port.c as drv_sensors.c * [sensor][cmd] add enter critical section protection * [sensor] add sensor reset command
2023-01-08[rt-smart] kernel virtual memory management layer (#6809)Shell
synchronize virtual memory system works. adding kernel virtual memory management layer for page-based MMU enabled architecture porting libcpu MMU codes porting lwp memory related codes
2023-01-07[STM32][SPI]解决挂载函数里面不同bsp对uaer_data的滥用 (#6819)liYangYang
* [spi]attach 片选引脚依赖pin框架 * 修改attach函数
2023-01-05[drivers][serial_v2]修复DMA+TX阻塞模式异常 (#6781)wdfk-prog
* [drivers][serial_v2]修复DMA+TX阻塞模式异常
2023-01-02USB ↵kylongmu
CDC驱动在win11下无法识别,看了微软的描述修改子类后正常 (#6783) 这是微软关于此问题的链接: https://learn.microsoft.com/zh-cn/windows-hardware/drivers/usbcon/usb-driver-installation-based-on-compatible-ids#usbsersys-installation Windows 10 及更高版本 从 Windows 10 开始,Usbser.inf 已添加到 %Systemroot%\INF 目录,该目录加载 Usbser.sys 作为设备堆栈中功能设备对象 (FDO) 。 如果设备属于通信和 CDC 控制设备类, Usbser.sys 加载。 无需编写自己的 INF 来引用驱动程序。 驱动程序是基于与包含在 Windows 中的其他 USB 设备类驱动程序相似的兼容 ID 匹配来加载的。 USB\Class_02 USB\Class_02&SubClass_02 如果要自动 加载Usbser.sys, 在设备描述符中将类代码设置为 02,将子类代码 设置为 02。 有关详细信息,请参阅 USB 通信设备类。 使用此方法时,无需为设备分发 INF 文件,因为系统使用的是 Usbser.inf。 如果设备指定类代码 02,但子类代码值不是 02,则 Usbser.sys不会自动加载 。 即插即用管理器尝试查找驱动程序。 如果找不到合适的驱动程序,则设备可能未加载驱动程序。 在这种情况下,你可能需要加载自己的驱动程序或编写引用另一个内置驱动程序的 INF。
2022-12-26[sensor] add setting power/accuracy/fetch data mode commandsMeco Man
2022-12-26[sensor] 优化control参数检查和sensor list命令Meco Man
2022-12-26use PIN_IRQ_PIN_NONE to replace RT_PIN_NONEMeco Man
2022-12-26[sensor] add sensor list commandMeco Man
2022-12-26[sensor] add LSC chip vendorMeco Man
2022-12-26[sensor] set power and accuracy as the hightest levelMeco Man
2022-12-26[sensor] improve commandsMeco Man
2022-12-26fix compiling warning.bernard