ErikChanHub
2f5e4ac27e
【dd2.0】Support the Core API for dd2.0 ( #7791 )
2023-07-13 14:49:35 +08:00
sp-cai
75f65b6af6
[components][drivers][serial] serial.c 修复串口有时重复发送 '\r' 的问题 ( #7767 )
2023-07-07 23:52:32 -04:00
erikchan
fa10a99c3c
【ofw】 format encoding of irq.c to utf-8
2023-07-06 11:24:19 +08:00
erikchan
cc8781930c
【libfdt】replace tab with space
2023-07-06 11:02:13 +08:00
wusongjie
8aa4366cb2
Drivers: Support Open Firmware API and model of PIC
...
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 <GuEe-GUI@github.com>
2023-07-05 16:45:16 +08:00
wusongjie
179157f4e1
Components/drivers: support DM device id management
...
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 <GuEe-GUI@github.com>
2023-07-04 13:55:07 +08:00
Shicheng Chu
e2c031643c
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h ( #7750 )
2023-06-29 11:24:25 -04:00
Tennn11
148ae53cf8
[tty] add TCGETA/TCSETAF/TCSETAW/TCSETA commands ( #7739 )
2023-06-29 19:01:16 +08:00
Shell
0b79bea7cd
[components/lwp] clear ref to parent on waitpid() ( #7741 )
...
Signed-off-by: shell <smokewood@qq.com>
2023-06-29 00:00:27 +08:00
Shell
b66514686a
[components/tty] fix bug on foreground app switch ( #7726 )
2023-06-28 09:11:17 +08:00
wangqinglin
cb03b8c834
[component][fdt]添加设备树子节点寻找宏 ( #7377 )
2023-06-27 10:09:51 -04:00
程蒙蒙
c2c83533c9
[sensor]V1返回类型不一致编译错误 ( #7735 )
...
Signed-off-by: 程蒙蒙 <37764731+meng-plus@users.noreply.github.com>
2023-06-27 17:18:07 +08:00
Bernard Xiong
e3f068f058
[DeviceDrivers] prepare for device driver v2.0 ( #7697 )
2023-06-22 14:16:03 +08:00
xiao xie
ba76cb5ef7
[drivers]修复can驱动编译错误 ( #7708 )
2023-06-21 08:52:11 -04:00
zhkag
33f550cb65
[Kernel] message 可以返回消息的实际大小 ( #7709 )
2023-06-21 18:22:42 +08:00
heyuanjie87
a790c809a8
[pty]修正pty引起waitqueue崩溃的问题
2023-06-19 10:56:06 +08:00
Man, Jianting (Meco)
704554f1f9
[sensor-v2]将当前sensor框架revert回v1版本并独立为v2 ( #7698 )
2023-06-18 22:36:53 -04:00
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