summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-24[BSP][N32G45XVL]适配串口v2驱动 (#10222)koudai
2025-04-24add k230 ci checkYuqiang Wang
2025-04-24修改ifx_pin_irq_enable函数Passionate0424
2025-04-24bsp: k230: fix some cpp_check warningsChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: canmv: update READMEChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: use configuration instead of immediate valueChen Wang
The original code used immediate values directly when it came to memory layout, which was not a good programming habit. Now we use macros and try to be compatible with SDK configuration values in the SDK compilation environment. The main changes are to clean up board.h, and extract some memory layout constants to define a new header file mem_layout.h. Also update KERNEL_VADDR_START to the default value for Smart, so we can use it as base to calculate other mapping address. Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: use rtconfig.h for linkscriptChen Wang
For linker script, use constant macro defined from rtconfig.h, not immediate value. Also cleanup the link_statksize.lds, it is also not needed when using new mechanism. Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: updated configChen Wang
KERNEL_VADDR_START changed to 0xffffffc000020000. __STACKSIZE__ changed to 65536. Signed-off-by: Chen Wang <[email protected]>
2025-04-24bsp: k230: update uart driverWang Chen
Signed-off-by: Wang Chen <[email protected]>
2025-04-24bsp: k230: support canmv boardWang Chen
Some changes to support canmv board, such as: - Address constant, some may need be set as configuration later. - link script - build script Signed-off-by: Wang Chen <[email protected]>
2025-04-24bsp/stm32: Separate STM32WB HAL drivers (#10223)沐攸
2025-04-23[bsp][Infineon] add a new bsp for XMC7100D-F144K4160AAhydevcode
2025-04-23bsp/stm32:Separate STM32L5 HAL drivers (#10216)沐攸
2025-04-23bsp/stm32:Separate STM32H7RS HAL drivers (#10217)沐攸
2025-04-23bsp/stm32:Separate STM32WL HAL drivers (#10218)沐攸
2025-04-22bsp/stm32:Separate STM32L0 HAL drivers (#10215)沐攸
2025-04-22bsp:Separate STM32G4 HAL drivers (#10214)沐攸
2025-04-22bsp/stm32: Separate STM32G0 HAL drivers (#10213)沐攸
2025-04-22bsp: Separate STM32F3 HAL drivers (#10211)沐攸
2025-04-22bsp/stm32:Separate STM32F2 HAL drivers (#10210)沐攸
2025-04-22bsp/stm32:Separate STM32F7 HAL drivers (#10208)沐攸
2025-04-22bsp/stm32:Separate STM32F1 HAL drivers (#10209)沐攸
2025-04-22[bsp/at32] fixed 'scons --dist' error (#10212)sheltonyu
2025-04-22[bsp][qemu-vexpress-a9] Adapter driver for serial port v2 ↵hydevcode
([#10176](https://github.com/hydevcode/rt-thread/issues/10176))
2025-04-22bsp: cvitek: riscv: use marco for linker scriptChen Wang
Regarding link script, some memory offsets and sizes are different between the standard version and the smart version (such as "__STACKSIZE__", kernel start address, kernel memory size, etc.). Original solution is replacing link scripts and use INCLUDE, which is relatively complicated. This improvement uses macros to replace constants in the link script. The preprocessing mechanism provided by gcc is used to dynamically replace constant values during the build process. In addition, the kernel load address (the corresponding KERNEL_VADDR_START for smart) was originally configured as 0xFFFFFFC000200000, which is default value of riscv with kernelmap enabled (0xffffffc000000000) plus offset to skip over bootloader (0x200000). This caused a trouble: due to default bsp configuration is for smart, if we switched to the standard version and build, and then switched back to the smart version, the value of KERNEL_VADDR_START will be default back to 0xffffffc000000000, which is different from the original configuration value, resulting in the need to manually reconfigure it, which is easy to forget and cause problems. The current solution is to use the default value 0xffffffc000000000 in the configuration. Add offset to the code and link script when using it. This patch update the default .config and rtconfig.h for cv18xx_riscv. Signed-off-by: Chen Wang <[email protected]>
2025-04-21bsp:Separate STM32H5 HAL drivers (#10206)沐攸
2025-04-21bsp/stm32:Separate STM32H7 HAL drivers (#10204)沐攸
2025-04-18include:rtdef.h: comment Refine the annotation of RT_ALIGN and RT_ALIGN_DOWN ↵ricky
(#10201) include :rtdef.h : [ Refine the annotation of RT_ALIGN and RT_ALIGN_DOWN ] This macro is vulnerable to non-2-byte alignments, but I assume that the macro definition was designed with an explicit use case of 2-byte alignments in mind. Therefore, I only modify the comment to remind the user. Solution: RT_ALIGN(size, align) ((size) + (align) - 1) / (align) * (align) RT_ALIGN_DOWN(size, align) (size) / (align) * (align) Here's what deepseek recommends more. Signed-off-by: Yucai Liu <[email protected]>
2025-04-18doxygen: fix one typo issue (#10200)Chen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-04-18doxygen: re-org module groups (#10197)Chen Wang
Match the organization of modules (groups) with that of user guide. Preliminary arrangement. This patch is just a framework arrangement. Details need to be continued. P.S., in this patch, adding numerical prefixes to the files in documentation/0.doxygen is to meet the need of displaying sorting in HTML pages. Signed-off-by: Chen Wang <[email protected]>
2025-04-17[bsp] 修复 #10182 GD32生成Cmake工程错误的问题 (#10191)ThinkCode
修复 #10182 GD32生成Cmake工程错误的问题
2025-04-17[action/ci] add qemu-virt64-riscv (#10192)Supper Thomas
2025-04-16[action/ci] add qemu-virt64-riscv (#10192)Supper Thomas
* Update ALL_BSP_COMPILE.json * Update ALL_BSP_COMPILE.json
2025-04-15[bsp/gd32/arm/drv_adc] incompatible function pointer types initializing. ↵Lin-Chengqiu
(#10190)
2025-04-14[bsp/phytium]适配rtthread5.2版本 (#10178)zhangyan
* rtthread 5.2适配
2025-04-14[DM/FDT] Fix garble when booting1078249029
Fix garble caused by empty implementation of earlycon series function in driver.If driver doesn't offer earlycon_id or rt_f dt_earlycon_id.setup function but open option, the checking of best_earlycon_id will failed. Signed-off-by: 1078249029 <[email protected]>
2025-04-14Fixed an error by running scons --tartget=cmake under LINUX, #10113 (#10164)keeping passionate!
Fixed an error by running scons --tartget=cmake under LINUX, and associated issue #10113
2025-04-13libcpu: aarch64: Fix NORMAL_NOCACHE_MEM attr (#10180)mouch6131
Signed-off-by: Cliff Chen <[email protected]> Signed-off-by: mouch6131 <[email protected]> Co-authored-by: Cliff Chen <[email protected]>
2025-04-13[bsp/hpm5300evk]: 修复readme中的描述问题 (#10187)Supper Thomas
1.bsp中描述路径boards不存在,只有board,并且路径中会包含openocd,把openocd路径去掉 2. 运行openocd发现cmsis-dap.cfg异常,使用ft2232.cfg可以正常烧入,修改readme 3. 添加download.bat脚本,方便下载
2025-04-13doxygen: cleanup and re-org filesChen Wang
This patch contains two small changes, mainly to prepare for the next step of organizing the modules framework. The first change: move the files related to doxygen examples to `documentation/0.doxygen/example/` The second change: delete `documentation/0.doxygen/mainpage.h`, which is the mainpage of the old page. Now the new mainpage is `documentation/INDEX.md`, so the duplicate can be deleted. Signed-off-by: Chen Wang <[email protected]>
2025-04-13add RT_THREAD_CTRL_SET_PRIORITYwycwyhwyq
2025-04-13add RT_THREAD_CTRL_SET_PRIORITYwycwyhwyq
2025-04-13[src] fix mutex bugwycwyhwyq
2025-04-12[bsp/gd32/libraries] Repair naming (#10185)CXSforHPU
[bsp/gd32/arm/libraries] Repair naming
2025-04-11[bsp/gd32/arm/libraries] Repair naming (#10184)CXSforHPU
2025-04-11[fal/sample] readme 添加 (#10175)ricky
* 更改FLASH_PAGE_SIZE拼写错误
2025-04-11libcpu: riscv: declare external symbols insideChen Wang
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 <[email protected]>
2025-04-11libcpu: cleanup undefined rt_hw_mmu_kernel_map_init (#10177)Chen Wang
* 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 <[email protected]> * 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 <[email protected]> --------- Signed-off-by: Chen Wang <[email protected]>
2025-04-10[bsp][qemu-vexpress-a9] Adapter driver for serial port v2 (#10176)hydevcode
2025-04-08【修改】timer parameter注释 (#10172)Yang Xijing