Commit Graph

21 Commits

Author SHA1 Message Date
sp-cai 0ebec472e1
[components][i2c] 优化 controt 接口格式,增加可用命令 (#7806)
原来 rt_i2c_control 只能执行 RT_I2C_DEV_CTRL_CLK 单一命令,通过此修改可以支持更多可用命令
2023-07-13 21:57:40 -04:00
Placebo27 538158bf20
[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7457) 2023-05-08 23:35:27 -04:00
shandianchengzi dc5123547c [bsp] Fix many abnormal symbols in annotations. 2023-03-31 23:57:17 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Man, Jianting (Meco) 0275b23638
[i2c] fix the i2c device return error code (#7035)
* [i2c] fix the i2c device return error code
2023-03-10 23:44:03 -05:00
Zxy c8b30bf31a
[device]修改i2c读写函数返回类型为rt_ssize_t (#7029) 2023-03-09 23:42:58 -05:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man 592284c66c format link scripts 2023-01-08 22:52:13 -05:00
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
Meco Man 958d940575 [lpcxxx] auto formatted 2021-03-17 02:26:35 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
liweihao df97214957 增加音频设备驱动 2019-11-20 22:38:57 +08:00
liweihao a24b896443 修改读写逻辑,解决i2c驱动无法读取的问题 2019-11-11 22:46:28 +08:00
liweihao 3138f2d8d7 The subaddresssize should be 0 2019-10-19 14:45:55 +08:00
流光 fc0d4e72a4 [bsp][lpc54114] 修复drv_gpio.c drv_romfs.c驱动未被默认编译的问题. 2018-12-11 15:04:49 +08:00
流光 b76dd4a9d5 [bsp][lpc54114] 移除PCT2075温度传感器驱动, 考虑在package中实现. 2018-12-10 10:45:31 +08:00
流光 0ac963ac3a [bsp][lpc54114-lite] 移除c99语法特性, 并移除错误Kconfig脚本. 2018-12-06 10:01:45 +08:00
流光 b1a645a982 [bsp][lpc54114-lite] 修改重复的Kconfig条目。 2018-12-06 10:00:22 +08:00
流光 c6bfe11afa [更新] 添加i2c spi romfs spiflash sdcard pct2075驱动. 2018-12-05 19:04:47 +08:00
yangjie 8e0d25f08e [bsp]add bsp lpc54114-lite 2018-12-05 11:44:53 +08:00