summaryrefslogtreecommitdiff
path: root/components/drivers
AgeCommit message (Collapse)Author
2022-12-11[rtdef] use lower-case to define attributes (#6728)Man, Jianting (Meco)
* [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
2022-12-11[sfud] sync commitMeco Man
https://github.com/armink/SFUD/commit/db9a1746df24142bd762378bc4e0dcf65b668b2d
2022-12-09[rtsmart] fix uart can't input after userapp exited at rv64 platform.guozhanxin
2022-12-07canfd帧结构加入 brs控制位 (#6701)Yohozzy
2022-12-05[fix]修复模拟i2c驱动延时bugjaffer
Signed-off-by: jaffer <[email protected]>
2022-12-03sync branch rt-smart. (#6641)guo
* Synchronize the code of the rt mart branch to the master branch. * TTY device * Add lwP code from rt-smart * Add vnode in DFS, but DFS will be re-write for rt-smart * There are three libcpu for rt-smart: * arm/cortex-a, arm/aarch64 * riscv64 Co-authored-by: Rbb666 <[email protected]> Co-authored-by: zhkag <[email protected]>
2022-11-21[CAN]update struct can_filter_item and rt_can_msg (#6556)wdfk-prog
* 修改ry命令,已便于自定义保存路径 * modified: components/utilities/ymodem/ry_sy.c * 修复从被动错误恢复后发送返回异常 * 修复在自动重传模式下,ACK异常阻塞线程 - 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断 - 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。 * 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数 * formatting格式化代码 * update struct can_filter_item and rt_can_msg 1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index, 以便准确区分.采用宏定义兼容以前变量名. 2. 添加接收标识rxfifo,已指明是哪个RXFIFO. * 更正42M下的波特率 * 修复接收获取索引号错误 * 添加接收标识 * 更新注释 * 取消CANFD限制 * update struct can_filter_item and rt_can_msg
2022-11-21[sensor] improve cmdMeco Man
using floating print format by default
2022-11-19add rt_sensor_float_tMeco Man
2022-11-19[sensor] 传感器数据类型使用float代替rt_uint32_t类型Meco Man
2022-11-14Modified bsp/stm32/libraries/HAL_Drivers/drv_usbd.cmyshow2258
Modified components/drivers/usb/usbdevice/class/cdc_vcom.c 修复cdc在v1v2的serial框架下接收发送错误的问题.stm32下usbd添加更多的ep_id,以支持复合设备.
2022-11-14[sensor] use arg to replace user_dataMeco Man
2022-11-09[sensor] 修改fetch_data方法的参数数据类型为rt_sensor_data_tMeco Man
2022-11-09[sensor]修改传感器设备名称前缀Meco Man
2022-11-09[sensor] use rt_ssize_t as the return value data typeMeco Man
2022-11-08[sensor] 统一数据结构名称和函数命名Meco Man
2022-11-08[sdio] remove mmcsd_delay_msxiao xie
修改SD检测线程函数里面的延时实现,将mmcsd_delay_ms改为rt_thread_mdelay. mmcsd_delay_ms过时且延时计算错误。
2022-11-06[sensors] remvoe useless sensor.hMeco Man
2022-11-02bugfix: remove sdcard block dev may cause a constant loop.xiaoguang_ma
2022-10-15[bsp][c28x] 新增adc驱动 (#6520)YuQi
1. 在c28x文件目录上一层再套一层文件夹ti,目前28379的项目路径为rt-thread\bsp\ti\c28x\tms320f28379d 2. 新增adc驱动与kconfig配置
2022-10-12[DeviceDriver][serialv2] Support configure when serial is open.朱天龙 (Armink)
2022-10-10tshell is the default value of FINSH_THREAD_NAMEa1012112796
2022-10-09bug fixxiaoguang_ma
When detecting all SDIO devices fails, it is also necessary to return information
2022-09-25[TMS320F28379] implement PWM driver (#6457)YuQi
增加c28x芯片的pwm驱动 已经在TMS320F28379中通过测试 pwm设备框架增加如下方法: #define PWM_CMD_SET_DEAD_TIME (RT_DEVICE_CTRL_BASE(PWM) + 8) #define PWM_CMD_SET_PHASE (RT_DEVICE_CTRL_BASE(PWM) + 9) #define PWM_CMD_ENABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 10) #define PWM_CMD_DISABLE_IRQ (RT_DEVICE_CTRL_BASE(PWM) + 11)
2022-09-22[usbhost] List keyboard option. (#6456)Wayne
* [bsp/nuvoton] Support NuMaker-M467HJ BSP and update drivers. * Format files. * [usbhost] List keyboard and update driver. * Enlarge to reasonable thread stack size. * Do indent.. * Keep private. Co-authored-by: Wayne Lin <[email protected]>
2022-09-20[fix] Fix simulator compilation warnings (#6438)Tangyuxin
* [fix] Fix simulator compilation warnings * Update bsp/simulator/rtconfig_project.h Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-09-09[modify]修改components/drivers/spi/sfud/README.md文件lhylhylhy6
2022-09-06[modify]修改waitqueue.c注释中的错误 (#6376)lhylhylhy6
2022-09-01[rt_drv_pwm]完善PWM框架互补输出部分代码 (#6338)liYangYang
* [pwm]Improve the code * 将与bsp无关的代码移植到框架部分 * 添加注释
2022-09-01[spi]fix some bug for rt_spi_sendrecv16 (#6360)liYangYang
修复 rt_spi_sendrecv16 api 对最高有效位(MSB or LSB)的处理不当造成的一些问题。 https://github.com/stm32duino/Arduino_Core_STM32/blob/main/libraries/SPI/src/SPI.cpp#L273
2022-08-17针对 TAMAGAWA 的 Smart-Abs 设备 TS5705N50添加 2.5M 波特率 (#6294)MysticBoy
* 针对 TAMAGAWA 的 Smart-Abs 设备 TS5705N50添加 2.5M 波特率
2022-08-17[nxp][imxrt1170]Fix building problem (#6297)xjy198903
2022-08-16[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORMMeco Man
2022-08-13[DeviceDriver] Fix can infinite loop when can driver send errorgbcwbz
- in _can_int_tx if can driver sendmsg do not return RT_EOK, it will repeat until sendmsg return RT_EOK - if error occur on can bus(wire broken or EMI), all threads that have lower priority will not be executed - we should let application layer to determine if resend is appropriate when send fail, besides in data link layer, can already implemented auto resend in hardware
2022-08-13[DeviceDriver] Add CANFD support and correct typos (#5912)Fan Yang
* Add CANFD support and correct typos - Added CANFD required fields to can.h - Fixed typos in can.h and can.c - Corrected all the projects affected by the typo - Fixed wrong line-ending in some affected can driver files Signed-off-by: Fan YANG <[email protected]> * update Signed-off-by: Fan YANG <[email protected]> Co-authored-by: Meco Man <[email protected]>
2022-08-13[sfud] keep macros in order attach #6255Meco Man
2022-08-13add assert for serial v2tfx2001
2022-08-11[sfud] 同步上游Meco Man
2022-08-11[SFUD]support NM25Q128EVBchinky
2022-08-03[phy] fix the PHY_FULL_DUPLEX conflictsMeco Man
2022-08-03[serial_v2] fixed bug (#6213)HubretXie
* [kernel][timer] fixed bug serial_v2 驱动问题,导致所有写入都使用阻塞方式写入
2022-08-02Fix some compilation warning (#5744)dongly
* Fix some compilation warning * 补充修正一些数据类型的使用错误 Co-authored-by: Meco Man <[email protected]>
2022-07-27使用 AStyle.exe 统一代码格式Aligagago
2022-07-26修复了pwm互补输出的一些bug,并在finsh中添加使用说明 (#6191)liYang~
* Fix the bug of complementary output
2022-07-23[touch] 调整触摸头文件至 rtdevice.h 中 (#6180)Tangyuxin
2022-07-22Solve the problem that LOG_W() may not be recognized when the INPUT CAPTURE ↵Jiang Runnan
module is enabled,which may cause the compilation failure.
2022-07-10chore: fix a typo (#6154)Man, Jianting (Meco)
2022-07-07[compoenets][driver][usb] fix usbhost hid issues. (#6116)Dengguiling
* [compoenets][driver][usb] fix usbhost hid issues. 1.Set idle function should receive an empty package. 2.Fix uinst_t reference error in hid enable function.
2022-07-04[rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数 (#6130)BreederBai
* [rt_drv_pwm]增加API:增加单独设置PWM频率和脉宽的函数
2022-06-22[rtdevices] eliminate recursionMeco Man