Commit Graph

16378 Commits

Author SHA1 Message Date
Shell dfd8ccf262 feat: kernel/libcpu: fit into ilp32d 2024-09-01 15:12:34 -04:00
Shell b6f1b16d7a feat: bsp: qemu-riscv64: using klibc API for printf 2024-09-01 15:12:34 -04:00
Shell a5042f5bb5 feat: bsp: qemu-riscv64: updates of building & docs
- using generic command instead of abs path
- update BSP configurations
- update README
2024-09-01 15:12:34 -04:00
Shell 1c5340ce3a feat: bsp: qemu-riscv64: remove useless configs 2024-09-01 15:12:34 -04:00
Evlers 8249e71bcc add readme files 2024-08-29 11:58:52 +08:00
Evlers 8c0f689452 [libcpu][arm][cortex-m4] allows rewrite to interrupt enable/disable api to support independent interrupts management 2024-08-29 11:58:52 +08:00
下里巴人 9e690694c7
[bsp][nxp][mcxa153] add spi1 driver entry 2024-08-28 21:07:05 -04:00
Supper Thomas 8b4fb52905
[script] add install.sh for rt-thread (#9355)
* [script] add install.sh for rt-thread

* [install] add gitee chevk
2024-08-29 07:44:35 +08:00
heyuanjie87 b3fbddda80
[bsp/cvitek]修正sdhci发送命令超时后触发两次信号量的问题
修正命令超时后触发两次信号量的问题

详解:
中断状态寄存器的BIT0仅表示sdhci处理命令完成,完成结果由其它位指示,当出错时
BIT0也会值1产生中断

Signed-off-by: heyuanjie87 <943313837@qq.com>
2024-08-28 18:33:50 -04:00
CYFS 4f10d05a5b
[bsp][ht32] 修复编译问题
修复scons编译问题并添加ci
2024-08-28 18:31:59 -04:00
bernard 53b894c46c [tools] fix the SDK path issue in env script. 2024-08-28 18:31:22 -04:00
zhugengyu b9f4daa97a
[BSP][Phytium] add support for mainbranch cherryusb (xhci host + pusb2 device/host) 2024-08-27 22:06:13 -04:00
Shicheng Chu 66738d71da bsp: cvitek: Add support for duos_sd
Supports both big and little cores of RISC-V C906,
but does not support ARM cores. Currently, only UART
drivers are supported on the peripherals.

Signed-off-by: Shicheng Chu <1468559561@qq.com>
2024-08-27 00:53:15 -04:00
sakumisu 669a6822e7 update(cherryusb): update to v1.4.0 2024-08-27 00:48:40 -04:00
Shell cbf6b641c2 feat: add memset zero for rt_thread_init
`rt_object_allocate()` will clear memory after new rt_thread allocate in
`rt_thread_create()`. However, in `rt_thread_init()` the same behavior
is missing, which corrupt the consistence of the API.

Changes:
- Added `memset()` zero for `rt_thread_init()` in the entry

Signed-off-by: Shell <smokewood@qq.com>
2024-08-27 00:48:06 -04:00
flyingcys 82f30aa54f
rename c906 FPU macro (#9290)
1. 修改 ENABLE_FPU 为 ARCH_RISCV_FPU,与libcpu/common 保持统一
2. 对 bsp/cvitek/cv18xx_risc-v 中增加使能 ARCH_RISCV_FPU 的动作。解决了 issue #9075
2024-08-27 00:46:41 -04:00
Shell fd496e4cc4
feat: arm64: generic implementation of vector irq (#9336)
feat: overall implementation of vector irq

This patch generalize the irq handling on up/mp system by adding the
`rt_hw_irq_exit()` & `rt_hw_vector_irq_sched()` API.

Changes:
- Added `rt_hw_irq_exit()` and `rt_hw_vector_irq_sched()` APIs for unified IRQ management.
- Refactored assembly code for both UP and MP systems to use the new IRQ handling flow.
- Removed redundant code and optimized exception handling paths.

Signed-off-by: Shell <smokewood@qq.com>
2024-08-27 00:45:12 -04:00
yandld 32635bb53a fix formmating issue 2024-08-27 00:44:34 -04:00
yandld 0179d7427a frdm-mcxn236
add uart5
add can support
add wdog support
2024-08-27 00:44:34 -04:00
yandld 6ef77d7d32 add wdog driver and refine default project 2024-08-27 00:44:34 -04:00
Rbb666 dec34f91bf [action]Supplementary part bsp, Component's label. 2024-08-26 13:13:11 +08:00
Fan YANG 0b1ba0f612 [bsp][hpmicro] add missing fence apis
- added missing fence apis

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2024-08-26 10:41:15 +08:00
Fan YANG 6c085218a3 [bsp][hpmicro][hpm6e00evk] add hpm6e00evk support
- added hpm6e00evk support

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2024-08-26 10:41:15 +08:00
Fan YANG e19b63e5fb [bsp][hpmicro] upgrade hpm_sdk to v1.6.0
- upgraded hpm_sdk to v1.6.0

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2024-08-26 10:41:15 +08:00
Supper Thomas a8ff514d09 [readme] add CI icon for build action 2024-08-26 09:19:00 +08:00
Supper Thomas a75ac04440 [action] add action auto labeler to label PR 2024-08-26 09:19:00 +08:00
Z8MAN8 742dae7220 bsp: cvitek: Add timer driver
Signed-off-by: Shicheng Chu <1468559561@qq.com>
2024-08-25 12:11:57 -04:00
Supper Thomas 077e6889e8 [bsp/nxp] Add fixed lds 2024-08-25 22:57:52 +08:00
zhuzhuzhu 1be24fc7da
【修复】修复link系统调用返回值问题 2024-08-25 10:57:38 -04:00
zhuzhuzhu dc232080a0
【修复】修复rmdir系统调用返回值不符合用户预期问题 2024-08-25 10:57:15 -04:00
zhuzhuzhu d9fac09f71
【修复】 修复dup系统调用对用户态的返回值问题 2024-08-25 10:56:47 -04:00
zhuzhuzhu c4c227e367
【修复】修复symlink系统调用返回值不是预期问题 2024-08-25 10:56:03 -04:00
yandld 8ba75bddc3 [bsp][mcxc] initial commit for frdm-mcxc444 2024-08-25 10:55:17 -04:00
Supper Thomas 1449d37cdf [action/ci] add cpu and arch 2024-08-25 10:54:47 -04:00
supperthomas 3a7e6997c2 [action] filter the not arm-none-eabi-gcc bsp 2024-08-25 01:36:50 -04:00
supperthomas fe8a00fafc [action] add toolchain download link 2024-08-25 01:36:50 -04:00
supperthomas 1df5be69e8 [action/ci] Add bsp detail python script 2024-08-25 01:36:50 -04:00
zx568073531 b19672ccc1 修复TLS内存申请没有初始化问题 2024-08-25 01:36:31 -04:00
SeliverWang f7f0afe03e 修复TLS申请内存后没有初始化问题 2024-08-25 01:36:31 -04:00
Shell 564ca848f4 fixup: uninitialized argument vector element
This patch addresses the potential issue of uninitialized elements in
the argument vector returned by `lwp_get_command_line_args()`. The
previous implementation could leave `argv` in an inconsistent state
if certain errors occurred, leading to possible undefined behavior.

Changes:
- Replaced `rt_malloc()` with `rt_calloc()` to ensure `argv` is properly initialized.
- Added a consistent error handling path using `goto error_exit` to handle memory allocation failures and string copy errors.
- Ensured `lwp_free_command_line_args()` is called before returning on error, preventing potential memory leaks.

Signed-off-by: Shell <smokewood@qq.com>
2024-08-24 15:46:35 -04:00
supperthomas d6d6752627 add fixed code 2024-08-24 15:44:23 -04:00
supperthomas 8b6df9a508 change RTTHREAD_GITHUB_TOKEN 2024-08-24 15:44:23 -04:00
supperthomas 372c841912 [action] remove multiprocessing 2024-08-24 15:44:23 -04:00
Supper Thomas cc4965cb4c [action] Add PR for update 2024-08-24 15:44:23 -04:00
Supper Thomas 93314e3392 [action] add multiprocess and add include_paths 2024-08-24 15:44:23 -04:00
Supper Thomas 1726a174de [action] add manual trigger build all bsp (#31) 2024-08-24 15:44:23 -04:00
zhujiale d086039608 fix_return 2024-08-24 14:44:39 +08:00
zhujiale afa17ed343 fix_return_err 2024-08-24 14:44:39 +08:00
CXSforHPU 416ec66380
[device] add dev_ prefix for file names 2024-08-23 18:15:09 -04:00
Koen De Vleeschauwer edfc7d6201 [bsp/at32] static dma_isr() in hard_i2c and spi 2024-08-23 17:45:56 -04:00