Mingjie Shen
177f3d4056
[adc] remove dead code
...
The variable result_str is never used after this assignment.
2023-06-13 17:47:54 -04:00
Meco Man
8d6e536e88
[spi] optimize the spi transfer speed.
...
If the configurations are the same, we don't need to set again.
2023-06-10 18:59:23 -04:00
Bernard Xiong
99e80f8d33
[dfs] Add DFS v2.0 ( #7606 )
2023-06-10 21:35:25 +08:00
goldengrandpa
1d239db59e
[tty]修复多次scanf之后,导致丢数据的问题 ( #7640 )
2023-06-09 09:09:50 +08:00
Mengxi-Xu
d2308d41d7
[components] [fdt] add parameter check
2023-06-04 13:50:04 -04:00
Meco Man
93968942c2
[device][spi] 修复 rt_spi_sendrecv8/16 收发不同时的问题
...
rt_spi_send_then_recv是先发再等待一个独立的消息接收
rt_spi_transfer是收发同时进行
rt_spi_sendrecv8/16应使用rt_spi_transfer而不是rt_spi_send_then_recv
2023-05-22 02:55:46 -04:00
guozhanxin
82ccbc40db
support llvm-arm 16.0
2023-05-17 12:09:10 -04:00
7YZ7
a5211c70b6
[components][drivers][HUST CSE]修复serial_v2.c中可能产生的死循环 ( #7394 )
2023-05-15 14:42:11 +08:00
kunpHust
7a2bccd1c2
[HUST CSE][components][udisk.c] add two checkout procedures after malloc to make sure allocating successfully ( #7475 )
2023-05-15 14:35:38 +08:00
miaoxingr
f36a1bb514
[components/drivers] add checking code after allocating memory
2023-05-12 01:39:51 -04:00
hust202013232
9dd0d41251
[components][rndis.c] add safety checking after allocating memory
2023-05-12 01:37:42 -04:00
a1012112796
5e4a95f54d
[components/drivers] add result check for configure in `rt_spi_configure` ( #7474 )
...
Signed-off-by: a1012112796 <1012112796@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-05-12 00:11:28 -04:00
Wayne
3291882b38
[i2c] fix the return value of rt_i2c_master_send/recv
...
fix the related PR: #7029
2023-05-09 01:13:02 -04:00
kkangdom
3cf07f1a62
[components][rndis.c] add a checkout procedure after malloc to make sure allocating successfully ( #7460 )
2023-05-09 10:02:11 +08:00
xqyjlj
353aa57a54
[component][drivers][cputime]Fix timer dev ( #7442 )
2023-05-07 23:14:39 +08:00
Bernard Xiong
8ad70ca231
[tty] change driver of tty to device and code cleanup. ( #7444 )
2023-05-05 08:19:09 +08:00
zouziyu2002
ce4674defa
[HUST CSE] add forced type conversion when using 'realloc','malloc','calloc' for better readability
2023-04-28 15:55:28 +01:00
ourea1429
085ded8eef
[winusb.c] add checking after allocating memory for variable winusb_device to make sure allocae is successful
2023-04-28 14:59:42 +01:00
OnlyShirley
8dfcf07c24
[HUST CSE]Assign Null to fdt after free to avoid dangling pointer ( #7389 )
2023-04-27 07:13:11 +08:00
Sseven731
17ed572644
[HUST CSE] [readme] fix invalid URL
2023-04-24 00:47:02 -04:00
Shell
470454d201
[components/mm] support for scalable memory management ( #7277 )
...
* [mm/page] multi-list page manager
[mm/page] page debugger
[libcpu/aarch64] hugepage support
* [quality] remove void-arith
* [format] remove kasan codes
2023-04-22 23:59:11 +08:00
Meco Man
4a7ef40dc7
[serial-v2]fix the data type error
2023-04-19 07:49:46 -04:00
7YZ7
501b22aabe
[HUST CSE] Fix many abnormal symbols in annotations and format code
2023-04-17 22:26:23 -04:00
Hy
7c629d974d
[HUST CSE]NULL POINTER ( #7220 )
...
* avoids the risk of a null pointer
* 将||改成&&来判断断言
There is a possibility of a null pointer
* there is a possibility of a null pointer
* Update components/drivers/fdt/src/dtb_get.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
* 已根据代码规范进行修改,谢谢提醒
---------
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-04-17 08:12:27 +08:00
lessone1
2638a2a90c
[components] Wrong order of judgment
2023-04-14 22:51:06 -04:00
xqyjlj
8748886987
🐞 fix(components/drivers/cputime/cputimer.c): fix cputimer with signal ( #7247 )
2023-04-14 17:02:42 +08:00
xqyjlj
970c7c6f7a
🐞 fix(components/drivers): fix cpu timer in multithreading ( #7222 )
...
* 🐞 fix(components/drivers): fix cpu timer in multithreading
* 🎈 perf(components): change double to uint64_t
* 🎈 perf(components): add UL suffix
2023-04-13 16:00:19 +08:00
True-False-debug
dc24388833
Update sd.c
2023-04-11 23:01:03 -04:00
Meco Man
e9bbc2e349
[adc] modify adc channel data type from rt_uint32_t to rt_int8_t
2023-04-08 22:40:37 -04:00
Meco Man
505023b656
[adc] 增加ADC内置通道通用通道号标识
2023-04-08 22:40:37 -04:00
Bernard Xiong
9600b75b55
[DFS] prepare for dfs_v2.0 ( #7200 )
...
* [DFS] prepare for dfs_v2. dfs_fd -> dfs_file; dfs_fnode -> dfs_vnode.
* [BSP] fix code analysis warning
* [smart] fix the pointer overflow.
* code format
* [smart] fix the lwp->lwp_obj checking.
2023-04-08 22:25:51 +08:00
Sparks-Pion
accab17fa5
[HUST CSE IoTS&P Lab] [fix] check rt_mutex_create return value ( #7169 )
2023-04-04 00:33:10 -04:00
bernard
9ffb66878b
[components] fix dtb compiling warning.
2023-04-01 12:10:23 -04:00
yangjie11
b0c247fb59
[components/drivers][touch]删除多余的touch.h ( #7090 )
...
* [components/drivers][touch]删除多余的touch.h
* 将touc.h替换为rtdevice.h
2023-03-24 11:47:28 -04:00
Zxy
156fda61cf
[errno code]fix that use RT_ENOMEM without -
2023-03-23 01:55:21 -04:00
Meco Man
deb40e8c0c
[errno code][-RT_EBUSY] fix that use RT_EBUSY without -
2023-03-22 01:55:18 -04:00
Meco Man
eb3cb250be
[errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without -
2023-03-22 01:54:52 -04:00
wdfk-prog
87c57f86f7
[device]修改mtd_nor读写函数返回类型为rt_ssize_t
2023-03-20 18:58:10 -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
2cc9bd876e
[error code][-RT_EIO] fix that use RT_EIO without -
2023-03-16 20:20:37 -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
Zxy
f5798d9917
[pin][5.0.0] 修正pin框架数据类型使用不当 ( #6934 )
2023-02-26 21:17:51 -05:00
liYangYang
93d572dee6
[spi][5.0.0] 修正SPI设备框架中,对函数返回值类型使用不恰当的情况 ( #6937 )
2023-02-26 21:09:07 -05:00
zhkag
4c1c6ef4e4
解决关中断时进行了调度操作
2023-02-25 02:46:01 -05:00
xqyjlj
e50a7e3f85
🐞 fix(components/drivers/tty/pty.c): fix ptmx not init ( #6970 )
...
* 🐞 fix(components/drivers/tty/tty.c): fix wrong log format
* 🐞 fix(components/drivers/tty/pty.c): fix ptmx not init
* ✨ feat(components/drivers/tty/pty.c): pts default use ECHO, ONLCR
* 🌈 style(components/drivers/tty/tty.c): format
2023-02-25 15:33:28 +08:00
jonas
6d4764ad69
serial_v2 rt_device_write/read return data type as rt_ssize_t
2023-02-23 09:50:39 -05:00
liYony
b3b8c2362d
[spi] rt_spi_configure 增加对cs_pin处理
2023-02-22 21:18:05 -05:00
yangfasheng
ff5894922a
update rtdevice.h add lcd
2023-02-21 13:12:54 -05:00