Commit Graph

16506 Commits

Author SHA1 Message Date
hydevcode 827609be94 [bsp][essemi][rsoc] Fix compilation issues with bsp of essemi series 2024-09-29 20:49:57 -04:00
milo bad2745dd3 fix rtc alarm thread parameters issue 2024-09-29 20:49:35 -04:00
hydevcode 66d54ea8c0
[bsp][nxp][rsoc] Fix compilation issues with bsp of nxp/lxp series 2024-09-29 20:47:39 -04:00
hydevcode e7e44ec7e8 [bsp][nuvoton][rsoc] Fix compilation issues with bsp of nuvoton series 2024-09-29 20:44:38 -04:00
milo e6a3b30993
[dev] make RTC alarm internal thread's attributes configurable 2024-09-29 13:16:18 -04:00
sheltonyu b4b010f4a3 [bsp/at32] update pwm driver 2024-09-29 12:36:19 -04:00
hydevcode 4203bfeb1d
[bsp][mm32l07x][rsoc] Fix compilation issues with bsp of mm32l07x 2024-09-29 12:33:10 -04:00
CYFS d0cf64631a
[bsp][stm32][dosc][rsoc]更新STM32 BSP 制作教程 (#9484)
* [bsp][stm32][dosc]update bsp make

* [bsp][stm32]注明文档中使用的cubemx版本
2024-09-29 08:59:28 +08:00
CYFS 6fb31d486d
[doxygen][rsoc]add dac driver example for doxygen (#9483) 2024-09-29 08:59:17 +08:00
hydevcode 5562779056 [BSP][LVGL]An adaptation that creates a buffer in high or low versions
[bsp][stm32]lvgl creates adaptations of buffers in high or low versions

[BSP][LVGL]An adaptation that creates a buffer in high or low versions,code format modifications

[BSP][LVGL]An adaptation that creates a buffer in high or low versions,code format modifications

[bsp][stm32]lvgl creates adaptations of buffers in high or low versions,code format modifications

[bsp][stm32]lvgl creates adaptations of buffers in high or low versions
2024-09-27 09:58:19 +08:00
hydevcode a98c872934
[bsp][rsoc] remove infinite while loop counting 2024-09-26 18:08:41 -04:00
CYFS 684bcc8d16 [doxygen]add rtc devices example for doxygen 2024-09-26 18:07:40 -04:00
heyuanjie87 caac564854
[bsp] add k230 2024-09-25 22:34:04 -04:00
imcu 633d203fa6 bsp:cvitek:add all function type of pinmux 2024-09-25 21:04:40 -04:00
CYFS d55931493a [doxygen]add dac driver example for doxygen 2024-09-25 21:04:19 -04:00
Shell 588611d314 feat: includes: included kerrno.h in rtdef.h
Those definitions are presented in rtdef.h until PR #9461 moved them to
kerrno.h, which introduced unknown definition error for project building

Changes:

- Added includes of kerrno.h

Signed-off-by: Shell <smokewood@qq.com>
2024-09-25 21:03:48 -04:00
CYFS f4a92e5e86
[doxygen][rsoc] add adc driver example for doxygen (#9465)
* [doxygen] add adc driver example for doxygen

* add data structures
2024-09-25 22:19:53 +08:00
CYFS b4d30064cc
[components] change variable name
为什么提交这份PR (why to submit this PR)
#9397

你的解决方案是什么 (what is your solution)
将 line 758的dir改为link_dir
2024-09-24 20:04:57 -04:00
zhujiale 58055e7584 smp_ipi 2024-09-24 09:56:30 +08:00
zhujiale d037952988 smp 2024-09-24 09:56:30 +08:00
zhujiale d8956e415e smp 2024-09-24 09:56:30 +08:00
zhujiale aafc0ae0f8 smp 2024-09-24 09:56:30 +08:00
zhujiale b206d440c7 smp 2024-09-24 09:56:30 +08:00
zhujiale 6783d8fdec smp 2024-09-24 09:56:30 +08:00
zhujiale 4953a92528 smp 2024-09-24 09:56:30 +08:00
zhujiale 8ce405f739 smp 2024-09-24 09:56:30 +08:00
zhujiale d468b93657 smp 2024-09-24 09:56:30 +08:00
zhujiale 244cf61af6 SMP 2024-09-24 09:56:30 +08:00
zhujiale 5f83c51347 SMP 2024-09-24 09:56:30 +08:00
zhujiale 45bc5a721f smp_call 2024-09-24 09:56:30 +08:00
zhujiale d1865d0d93 smp_call 2024-09-24 09:56:30 +08:00
zhujiale 79445b6773 smp_ipi 2024-09-24 09:56:30 +08:00
zhujiale 512dae84be smp_ipi 2024-09-24 09:56:30 +08:00
Meco Man ee5014d32f [klibc] add kerrno.h 2024-09-23 21:30:37 +08:00
heyuanjie87 8a53e6d639 删除多余空格 2024-09-23 12:57:53 +08:00
heyuanjie87 af5ca55736 [libcpu]rv添加c908 cpu 2024-09-23 12:57:53 +08:00
Meco Man cee64a41a4 [klibc] format comments after #9459 2024-09-22 18:25:47 -04:00
wdfk-prog 5ec20c4289
fix:[kstdio]Disable "-Wimplicit-fallthrough" below GNUC V7 (#9459)
fix:Disable "-Wimplicit-fallthrough" below GNUC V7
2024-09-22 09:49:59 +08:00
Shell 9a27de92ae feat: smart: user space context optimization
This patch optimizes the user-space context handling in the ARM64
architecture, specifically improving how the context is saved and
restored during system calls and interrupts. The changes make the
code more efficient and easier to maintain, while ensuring proper
preservation of user context during system transitions.

Changes:
- Introduced a parameter for context saving to improve flexibility.
- Replaced hardcoded stack pointer operations with frame-relative
  references for better readability and code reuse.
- Simplified context restoration, removing redundant operations like
  loading/storing floating-point registers.

Signed-off-by: Shell <smokewood@qq.com>
2024-09-19 23:02:39 -04:00
Shell 210cd71128 fixup: pty: possible memory leaking on close()
The ref_count of the vnode is NOT bound to the resource reference counts
of the ptm device created by opening `dev/ptmx`, so the conditional
release of resource may end up by memory leaking if the multiple user
have open the `dev/ptmx`.

Changes:

- Removed conditional branch on recycling resource

Signed-off-by: Shell <smokewood@qq.com>
2024-09-19 23:02:25 -04:00
GuEe-GUI 87906499a3 [DM/FDT] Fixup memory address reserved and translate in early
1.Fixup `fdt_reserved_memory_reg` loop time.
2.Fixup `rt_fdt_translate_address` cells value reader.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-09-19 21:16:56 +08:00
zhao maosheng 992e79a0f8 optimize sal_bind 2024-09-19 21:15:52 +08:00
GuEe-GUI 3d503e931b [DRIVER/PIC] Add ARM GICv2/v3 V2M, ITS support.
Fix some code style and init for V2M, ITS.

V2M is the PCI MSI/MSI-X for GICv2.
ITS is the PCI MSI/MSI-X for GICv3/v4.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-09-19 21:14:42 +08:00
GuEe-GUI 94e49755af [FEATURE/PIC] support PIC cancel (only in debug)
PIC may free because some wrongs in debug.
We should remove in PIC list or there are
some undefined behavior will happen.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-09-19 21:14:42 +08:00
GuEe-GUI 04cdbc647c [FIXUP/PIC] pirq's child handler should lock less
When call the child handler, the PIC ops needn't
lock again.
Critical zone protection by PIC implementers.

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-09-19 21:14:42 +08:00
GuEe-GUI 55b40b5164 [FIXUP/PIC] set interrupt status when do traps
Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-09-19 21:14:42 +08:00
GuEe-GUI 584f4b869d [PIC/FIXUP] pirq reinit fail
don't reinit pirq's list if cascade

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2024-09-19 21:14:42 +08:00
milo 2a8aba4c8b
[fix]:fix log format and reopen with a different oflag issue (#9452)
fix log format and reopen with a different oflag issue
2024-09-19 18:15:55 +08:00
heyuanjie87 29c0357ff8 [libcpu]优化rv构建脚本中选择vendor目录的判断条件 2024-09-18 22:00:35 -04:00
Supper Thomas c9d18c444a
[action/ci] Add toolchain stup script (#9453)
* [action] add toolchain install script
2024-09-16 11:13:30 +08:00