summaryrefslogtreecommitdiff
path: root/components/drivers/include
AgeCommit message (Collapse)Author
2023-09-25feat: support sdl2 (#8048)zbtrs
2023-09-13[修改]:alarm 将年月日也传给驱动层,避免跨天 alarm 失效TangZhenye
2023-08-01[sdio]开启emmc内部cache加快传输 (#7896)heyuanjie87
2023-07-28[drivers/ipc] fix the recursive including if legacy enabledMeco Man
2023-07-28[drivers/core] revise the macros of header filesMeco Man
the macros is too common to use so that to avoid conflicts
2023-07-27【dd2.0】move the core header files to include/drivers/coreerikchan
2023-07-17[time]时钟框架重构 (#7794)xqyjlj
2023-07-13[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)sp-cai
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13【dd2.0】Support the Core API for dd2.0 (#7791)ErikChanHub
2023-07-05Drivers: Support Open Firmware API and model of PICwusongjie
We support OFW API to replace fdt old API, and add IRQ, IO, Platform-Bus, CPUs ... OFW node contorl. To support work with Device Tree or ACPI in drivers that use IRQ, we make a programmable interrupt controller driver's model. Signed-off-by: GuEe-GUI <[email protected]>
2023-07-04Components/drivers: support DM device id managementwusongjie
We add the device name and id set api in DM, now driver could set name like sprintf without know how many devices it is. The misc.h and byteorder.h add some macros to developers that they always use in drivers. Signed-off-by: GuEe-GUI <[email protected]>
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