Commit Graph

17273 Commits

Author SHA1 Message Date
Chen Wang 312f9dbc08 libcpu: riscv: declare external symbols inside
libcpu/risc-v/common64/mmu.c uses the external
symbol "__bss_end" (this symbol generally is
defined in the link script file) and depends
on the extern declaration of this symbol in
the bsp's "board.h". This is not a problem in
implementation, but it is not a good habit.

If this extern symbol is used locally, just
declare it locally should be better.

In this way, there will be no dependency of
the kernel core on the bsp header file. And
there will be no special requirements for the
bsp board code, such as the need to make
extern declarations for these "__bss_end"
symbols in "board.h".

This patch currently only explicitly externly
declares "__bss_end" inside libcpu itself.
The code of "#include <board.h>" is kept, because
the modification involved is too large, it is
necessary to clean up the bsp involved before
cleaning this include code line uniformly.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-04-11 14:15:12 +08:00
Chen Wang 5c9f61879c
libcpu: cleanup undefined rt_hw_mmu_kernel_map_init (#10177)
* libcpu: cleanup undefined rt_hw_mmu_kernel_map_init

rt_hw_mmu_kernel_map_init() is declared in header files but
no definition found, cleanup the code.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>

* bsp: allwinner: d1: remove calling of rt_hw_mmu_kernel_map_init

rt_hw_mmu_kernel_map_init is an undefined function, calling it
is meaningless.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>

---------

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-04-11 07:54:21 +08:00
hydevcode 0c4a2048f9
[bsp][qemu-vexpress-a9] Adapter driver for serial port v2 (#10176) 2025-04-10 09:24:12 +08:00
Yang Xijing 6639dbe252
【修改】timer parameter注释 (#10172) 2025-04-08 12:11:19 +08:00
Wang Qiang 5c660c0f99 修复了GD32目录下BSP使用dist后生成的工程无法使用menuconfig的问题 2025-04-04 18:40:27 -04:00
hydevcode f422b6a991
[bsp/stm32] 修复linux下编译的可执行文件无法启动问题 (#10169) 2025-04-03 17:40:14 +08:00
沐攸 e131a0011e
bsp/stm32:Separate STM32U5 HAL drivers (#10167) 2025-04-03 16:17:21 +08:00
沐攸 45eea78e09
bsp: Separate STM32F0 HAL drivers (#10160)
* bsp: Separate STM32F0 HAL drivers

* fix stm32f0_sdk and update readme.md
2025-04-01 11:16:32 +08:00
qilian 98589e6229
[BSP][raspberry-pi/raspi2]Add cpuport.h (#10158)
Create cpuport.h

Add support for spinlock
2025-04-01 07:37:09 +08:00
hydevcode 4d826cad13
[action/ci] 将需要编译的bsp分离,同时根据修改的文件编译对应的bsp (#10159) 2025-03-31 21:07:53 +08:00
Supper Thomas c97c9c6c57 [bsp/stm32l496zg] 添加uart2 , 添加btstack yml文件 2025-03-29 19:55:59 -04:00
kk 4acef9b1cd
Update include/rtdef.h version to 5.2.1 2025-03-28 23:12:14 -04:00
jojoandgyc 15ef367477 bsp: cvitek: use rttpkgtool for aarch64
Fixed  #9968

1.Using scripts in rttpkgtool to make firmware.
2.Deleted duplicate prebuild files.
3.Modify README.md

Signed-off-by: YunZhan Huang <1583267844@qq.com>
2025-03-29 08:55:40 +08:00
Supper Thomas 1bb18f6e9e [bsp/stm32h750-art-pi] 添加btstack 2025-03-28 18:58:38 -04:00
zms123456 883bdfa9ef
[libcpu][aarch64]fix gicv3 mpidr table (#9284)
* fix gicv3 mpidr error

* phytium should support rt_cpu_mpidr_table by using common_setup
2025-03-28 11:08:28 +08:00
ricky 7475f5549d
fal: add new example for norflash 2025-03-27 20:08:16 -04:00
Dmitriy 59a690addc
GD32: add CAN driver for GD32F4xx (#10152)
* GD32: add CAN driver for GD32F4xx

* Removed extra spaces

* Add attachconfig.yml, edit CAN0 GPIO

* Changed attachconfig.yml

* Fixed config defines names
2025-03-27 23:17:45 +08:00
yiyi 97850b57e1
[bsp][stm32][stm32h743-atk-apollo] Remove redundant I2C2 bus configur… (#10148)
[bsp][stm32][stm32h743-atk-apollo] Remove redundant I2C2 bus configuration options from Kconfig
2025-03-26 15:30:17 +08:00
Supper Thomas 628592e3ce [bsp/stm32-h750-art-pi] 添加zephyr_polling Kconfig 2025-03-25 18:02:02 -04:00
沐攸 0500df525f
bsp:stm32f4系列 update README.md (#10144)
bsp:stm32f4系列 update README
2025-03-25 14:28:48 +08:00
沐攸 88a44749df
bsp: Separate STM32F4 HAL drivers -2 (#10141)
* bsp: Separate STM32F4 HAL drivers

* f4_sdk

---------

Co-authored-by: Supper Thomas <78900636@qq.com>
2025-03-24 21:00:05 +08:00
Chen Wang 5b88c8c207 bsp: cvitek: fix build warnings for spi
See https://github.com/RT-Thread/rt-thread/issues/10138.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-03-24 20:38:08 +08:00
Chen Wang b583240690
bsp: cvitek: add howto configure pinmux in README (#10142)
Add description on how to configure pinmux in menuconfig for
cvitek products.

Add myself to maintainer list in README.md.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-03-24 15:47:57 +08:00
Supper Thomas 3c54b1262f
[action/cd] 整合所有output到一个包中 (#10136)
* [action/cd] 整合所有output到一个包中
2025-03-24 10:55:51 +08:00
imcu 6073200d2e [bsp][cvitek] fix spi driver build error
Build error: 'struct _device_spi' has no member named 'base_addr'

Analyze: the name should be dws.regs

Solution: change base_addr to dws.regs

Signed-off-by: zdtyuiop4444 <ign7798540@gmail.com>
2025-03-24 09:24:11 +08:00
下里巴人 f02d3ccb42
[bsp][stm32][stm32h723-st-nucleo] fix bug#9995 : startup file names change to H723 (#10137)
[bsp][stm32][stm32h723-st-nucleo] fix bug #https://github.com/RT-Thread/rt-thread/issues/9995 : startup file names change to H723
2025-03-23 18:46:10 +08:00
Supper Thomas 151c7a6112
[action/ci] 把每次编译结果上传到github (#10135)
* [action/ci] 把每次编译结果上传到github

* [fix]

* add output

* fix

* fixthe attach_file_name

* fix

* fix name

* [action] 更新一下toolchain的版本号

* [bsp/stm32] hex 生成

* Update type.h
2025-03-23 12:38:27 +08:00
Yang Xijing cdb5ce8d04 解决 list_mutex 互斥量没有线程持有时打印错误 2025-03-21 20:52:18 -04:00
Dozingfiretruck 713be7f3c8
[bsp][at32]Update AT32 sdk_dist.py (#10130)
Update AT32 sdk_dist.py

fix scons --dist
2025-03-20 14:59:45 +08:00
下里巴人 b019e092e7
[bsp][stm32] add a new bsp for stm32g030-tiny-board (#10125) 2025-03-20 09:30:34 +08:00
GUI fc86cb9427 [DM/Platform] Fixup the node will probe more than once
If a node request a new node or it's parent node. the  request's node will probe a double time.
So we check the device object of node in ofw probe entry and ofw probe child exit.
2025-03-19 09:46:48 +08:00
CYFS b0e7cba9fd
[bsp][stm32][artpi]:fix artpi nano (#10122) 2025-03-18 22:55:13 +08:00
CYFS bf60f31526
[bsp][stm32][nano]:fix nano console (#10121) 2025-03-18 22:29:05 +08:00
Rbb666 cb098c4eea [fix]Fix cm33 compilation problem when block is turned on 2025-03-17 19:13:34 +08:00
ligr 9da813b151 [libcpu][risc-v]add code for handling exception scenarios in _unmap_area. 2025-03-17 17:40:55 +08:00
ligr b04aacbd94 [libcpu][risc-v]remove unused parameter 'size' for func _unmap_area.
Signed-off-by: ligr <liguorui1213@163.com>
2025-03-17 17:40:55 +08:00
Supper Thomas 4f4544a440 [bsp/readme]Update README.md 2025-03-17 16:48:24 +08:00
latercomer 4c061ceffe rttypes.h中增加了对ARCH_CPU_64BIT宏的判断
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
latercomer 40360efe1d 解决rt_interrupt_from_thread和rt_interrupt_to_thread指针赋值错误
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
latercomer b8e9f7e0f5 修复rt_hw_context_switch_to和rt_hw_context_switch的形参
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
latercomer e91131bc0d 解决__RT_KERNEL_SOURCE__宏没有定义
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
latercomer 130b5ba653 解决rt_hw_context_switch_interrupt形参定义不一致
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
latercomer 9e13f67018 删除libcpu/sim/simulator中msvc编译器多余代码,为后续支持mingw64做准备
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
latercomer 76c2f2d77f 解决bps/simulator无法在vs2019环境下编译
Signed-off-by: latercomer <latercomer@qq.com>
2025-03-17 16:45:59 +08:00
Supper Thomas b0b40ed45c
[github/action] 添加scons显示编译时间的命令 (#10114)
* [github/action] 添加scons显示编译时间的命令

* [bsp/pico] 删除ci 耗时的config,在F412中已验证

* [bsp/f412] 这个编译需要3分钟,不合理,先从ci中删除
2025-03-17 15:46:46 +08:00
kurisaw 5551fdb0a3 log: Release Log of rtthread v5.2.0 2025-03-17 15:41:08 +08:00
CYFS a88c5d0cd5 [bsp][stm32][artpi]:add artpi eth ci 2025-03-17 12:42:17 +08:00
CYFS 7ec1d82656 [bsp][stm32][artpi]:fix artpi eth 2025-03-17 12:42:17 +08:00
GUI ccd79785ec [DM/DMA] DMA src and dst is wrong.
The first arg is src, then dst.
2025-03-17 11:57:17 +08:00
LaterComer d5bc868d80
rttypes.h中rt_intptr_t和rt_uintptr_t定义反了 (#10115) 2025-03-16 23:31:41 +08:00