| Age | Commit message (Collapse) | Author |
|
|
|
|
|
修正SPI设备框架中,对函数返回值类型使用不恰当的情况 (#6937)
|
|
|
|
* 🐞 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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]>
|
|
* [FDT] Fix POSIX compatibility for string.h
* [FDT] format libfdt code.
* [FDT] format libfdt code.
|
|
|
|
这个函数实现了原先的挂载功能,并且调用pin框架,初始化cs引脚,是一个功能相对完善的挂载函数。用户也能更简单的使用。
该函数取代rt_spi_bus_attach_device,后续rt_spi_bus_attach_device会被逐渐淘汰掉。新的BSP以及软件包应当使用rt_spi_bus_attach_device_cspin新函数。
STM32L475潘多拉测试通过。
|
|
|
|
* ringbuffer size boost to 32bit
* 添加ringbuffer测试demo
related: #682
----
Co-authored-by: Zxy <[email protected]>
Co-authored-by: Man, Jianting (Meco) <[email protected]>
|
|
rt_ssize_t can give negative error code, which follows the unix style correctly
|
|
|
|
命令交互应使用rt_kprintf,而非LOG_x
|
|
|
|
|
|
* [softspi]soft spi attach函数问题解决方案
* 更改函数名
|
|
attach #6819
|
|
* [fix/lwp] don't restore term for background lwp
|
|
|
|
|
|
* [stm32l475-pandora] rename sensor_port.c as drv_sensors.c
* [sensor][cmd] add enter critical section protection
* [sensor] add sensor reset command
|
|
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
|
|
* [spi]attach 片选引脚依赖pin框架
* 修改attach函数
|
|
* [drivers][serial_v2]修复DMA+TX阻塞模式异常
|
|
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。
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* [sensor] new sensor framework
针对老版本sensor框架的诸多不合理设计进行重构
之前的PR中已经重构了浮点数相关的问题
本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除
* [sensor] 增加can modbus总线类型
* [stm32l745] 完善sensor对接
* [sensor] fix the onchip ID print
|
|
* [smart/aarch64] sync aarch64
|
|
* [dfs] sync cromfs
* [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration
* [format] fix some format issue.
|
|
加上0x10
|
|
|
|
|
|
* [sensor][cmd] add sensor_get_type/vender/unit_name functions
* rename sensor folder
|
|
* [rtdef] rename RT_WEAK attribute as rt_weak
* [rtdef] rename RT_USED attribute as rt_used
* [rtdef] rename RT_SECTION attribute as rt_section
* [rtdef] rename ALIGN attribute as rt_align
* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
|
|
https://github.com/armink/SFUD/commit/db9a1746df24142bd762378bc4e0dcf65b668b2d
|