Commit Graph

9 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
hustlixiang21 5554bb58b3
[HUST CSE][bsp]fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7185) 2023-04-06 23:42:05 -04:00
sion 7a31ab9115 [bsp]Fix Chinese coding errors in annotations. 2023-04-02 08:02:46 -04:00
Zxy 4ed9bc11f7
[errno code]fix that use RT_ENOSYS without - (#7084)
* [errno code]fix that use RT_ENOSYS without -

* Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c

---------

Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-03-23 01:54:42 -04:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man dfddd79b24 [errno code][-RT_EINVAL] fix that use RT_EINVAL without - 2023-03-16 20:21:43 -04: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
打盹的消防车 ec539bc930
fix:修复i2c异常问题 (#5794)
* fix:修复i2c异常问题

* add:格式化代码格式
2022-04-11 17:34:40 +08:00
打盹的消防车 0e254652aa
add:air105 bsp (#5607)
* add:air105 bsp

* add:去掉注释代码

* add:注释修改

* fix:格式化一遍代码格式

* add:main函数添加闪灯

* add:完善bsp

* add:添加一些信息

* add:使用工作队列喂狗

* add:整理目录

* add:去掉乱码部分

* add:修改readme

* add:更新readme说明

* add:去掉bootloader.bin和soc_download.exe,README.md中添加标注

* fix:去除多余文件

* add:补充license

* add:支持scons --dist

* add:更新soc_download.exe连接地址
2022-03-08 12:04:17 +08:00