summaryrefslogtreecommitdiff
path: root/components/drivers/include
AgeCommit message (Collapse)Author
2023-06-21[drivers]修复can驱动编译错误 (#7708)xiao xie
2023-06-18[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 (#7698)Man, Jianting (Meco)
2023-05-22[device][spi] 修复 rt_spi_sendrecv8/16 收发不同时的问题Meco Man
rt_spi_send_then_recv是先发再等待一个独立的消息接收 rt_spi_transfer是收发同时进行 rt_spi_sendrecv8/16应使用rt_spi_transfer而不是rt_spi_send_then_recv
2023-04-19[serial-v2]fix the data type errorMeco Man
2023-04-17[HUST CSE] Fix many abnormal symbols in annotations and format code7YZ7
2023-04-13🐞 fix(components/drivers): fix cpu timer in multithreading (#7222)xqyjlj
* 🐞 fix(components/drivers): fix cpu timer in multithreading * 🎈 perf(components): change double to uint64_t * 🎈 perf(components): add UL suffix
2023-04-08[adc] modify adc channel data type from rt_uint32_t to rt_int8_tMeco Man
2023-04-08[adc] 增加ADC内置通道通用通道号标识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-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-21update rtdevice.h add lcdyangfasheng
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-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-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-07[STM32][SPI]解决挂载函数里面不同bsp对uaer_data的滥用 (#6819)liYangYang
* [spi]attach 片选引脚依赖pin框架 * 修改attach函数
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 LSC chip vendorMeco Man
2022-12-21[sensor] draft new sensor-hal framework (#6746)Man, Jianting (Meco)
* [sensor] new sensor framework 针对老版本sensor框架的诸多不合理设计进行重构 之前的PR中已经重构了浮点数相关的问题 本次PR主要围绕sensor的整体架构予以重构,对过于理想化的参数和模式予以删除 * [sensor] 增加can modbus总线类型 * [stm32l745] 完善sensor对接 * [sensor] fix the onchip ID print
2022-12-12[sensor] 增加新传感器类型和单位Meco Man
2022-12-11[sensor][cmd] add sensor_get_type/vender/unit_name functions (#6727)Man, Jianting (Meco)
* [sensor][cmd] add sensor_get_type/vender/unit_name functions * rename sensor folder
2022-12-07canfd帧结构加入 brs控制位 (#6701)Yohozzy
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-19add rt_sensor_float_tMeco Man
2022-11-19[sensor] 传感器数据类型使用float代替rt_uint32_t类型Meco Man
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] 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-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-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-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-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-03[phy] fix the PHY_FULL_DUPLEX conflictsMeco Man