summaryrefslogtreecommitdiff
path: root/bsp
AgeCommit message (Collapse)Author
2025-02-24fix - 1 优化中断中打印日志问题;2 ↵JOONH0o
优化SPI写外部FLASH慢的问题 (#10009) * 1. 优化中断中打印日志问题;2 优化SPI写外部FLASH慢的问题 * 2. 在spi驱动中有在中断中打印调试信息的问题,增加ISR log判断进行 * 3. spi+DMA 写外部flash,由于spi速度很快,不进行delay就可以;同时,仿照Linux的驱动框架进行优化,数据小不使用DMA
2025-02-24模板工程从mcxa153更新成mcxa156,且默认调试器改为cmsisdap, ↵oxlm
因为板载调试器为cmsisdap
2025-02-23[bsp][nxp]:fix frdm-mcxa156 scons --dist err (#10024)CYFS
fix:frdm-mcxa156 scons --dist err
2025-02-21bsp: nxp/mcx/mcxa/frdm-mcxa156: Enable SPI driver support.Yilin Sun
This patch: * Enables SPI support * Adds RW001 driver example * Increases heap size to 32kB. Signed-off-by: Yilin Sun <[email protected]>
2025-02-21[bsp][hpmicro] fix 'scons -dist' issue in the hpmicro bsps. (#10013)Fan Yang
- added tools and dist_handle function Signed-off-by: Fan YANG <[email protected]>
2025-02-20bsp: nxp/mcx/mcxa/frdm-mcxa153: Kconfig: Remove ARCH_ARM_CORTEX_SECUREYilin Sun
MCXA153 does not support CMSE (Secure Extension). Remove it from Kconfig. Minor: Fixed a typo in Kconfig which makes Kconfig fail on case-sensitive operating system. Minor: Fixed a Kconfig defined incorrect SOC name (SOC_MCXN947 -> SOC_MCXA156) Signed-off-by: Yilin Sun <[email protected]>
2025-02-20bsp: nxp/mcx/mcxa/frdm-mcxa156: Kconfig: Remove ARCH_ARM_CORTEX_SECUREYilin Sun
MCXA156 does not support CMSE (Secure Extension). Remove it from Kconfig. Minor: Fixed a typo in Kconfig which makes Kconfig fail on case-sensitive operating system. Signed-off-by: Yilin Sun <[email protected]>
2025-02-20bsp: nxp/mcx/mcxa/frdm-mcxa156: Added FPU support.Yilin Sun
MCXA156 series supports FPU and DSP, adding corresponding compiler flags. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19bsp: nxp/mcx/mcxa/frdm-mcxa156: Add LED blinking demo.Yilin Sun
Add LED blinking demo to align with other BSPs. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19bsp: nxp/mcx/mcxa/frdm-mcxa156: Enable PORT and GPIO clocks.Yilin Sun
Enable PORT and GPIO peripheral clocks and release resets for all ports. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19ports: nxp/mcx/mcxa/frdm-mcxa156: Fix GNU toolchain builds.Yilin Sun
This patch modifies the original linker script provided by NXP by adding RT-Thread related constant tables to flash. Signed-off-by: Yilin Sun <[email protected]>
2025-02-19[drivers][bsp][reness] Add Etherkit bsp and RZ series driver compatibility ↵kurisaw
adaptation
2025-02-19[bsp][wch] move ch32v307 sdk to package (#9983)Kai
* [bsp][wch] move ch32v307 sdk to package * [bsp][wch] move ch32v307 sdk to package * [bsp][wch] use a fixed version * [bsp][wch]fix: ch32v307v-r1 build * [bsp][wch] add yd board to ci * [bsp][wch] revert toolchain path
2025-02-16[src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST … (#9993)Supper Thomas
* [src/ktime] fix the bug when use keil AC6 and open RT_USING_HOOKLIST and RT_USING_KTIME
2025-02-12[bsp][mm32f526x] 1.fix adc device; (#9978)Chasel
2025-02-11[bsp][stm32f103c8t6 bule pill] fix the problem that is The linked list ↵cxs
obtained by calling rt_object_get_information is empty, so the system cannot get up.
2025-02-11ci: add qemua9 yml file (#9986)Li-Dongze
2025-02-09[drivers/spi]统一软件SPI配置Rbb666
2025-02-07[bsp][nxp]support FRDM-MCXA156 (#9971)Rbb666
support FRDM-MCXA156 Co-authored-by: shannon <[email protected]>
2025-02-05[action]add online packages checking in rt-spark. (#9969)Rbb666
2025-02-03bsp: cvitek: fix build error for aarch64Chen Wang
This patch fixed the error "bash: mksdimg.sh: No such file or directory" when building cv18xx_aarch64. The issue is introduced by commit "bsp: cvitek: removed useless files after using rttpkgtool". In addition, in order to unify the logic with riscv as much as possible, the name of the "milkv-duo256m" directory under cv18xx_aarch64 is uniformly changed to "duo256m". This patch also improve the README, adding instructions to install xz-utils. Signed-off-by: Chen Wang <[email protected]>
2025-02-03[bsp][mm32f526x] 1.add mm32f526x bsp; (#9940)Chasel
[bsp][mm32f526x] 1.add a bsp for mm32f526x;
2025-02-03[bsp][stm32]Add an STM32H730 Board (#9962)Kai
* Add an STM32H730 bsp
2025-01-30Update README.md (#9959)qilian
Fixed the issue where the absence of the u-boot-tools package caused rttpkgtools to fail to compile normally.
2025-01-29bsp: cvitek: c906_littel: fixed build warnings for board.cChen Wang
When building bsp/cvitek/c906_little, compiler warns: ``` board/board.c: In function 'rt_hw_board_init': board/board.c:26:5: warning: implicit declaration of function 'rt_hw_tick_init'; did you mean 'rt_hw_stack_init'? [-Wimplicit-function-declaration] 26 | rt_hw_tick_init(); | ^~~~~~~~~~~~~~~ | rt_hw_stack_init board/board.c:29:5: warning: implicit declaration of function 'rt_hw_uart_init'; did you mean 'rt_hw_board_init'? [-Wimplicit-function-declaration] 29 | rt_hw_uart_init(); | ^~~~~~~~~~~~~~~ | rt_hw_board_init ``` To remove these build warnings, include header files which declare these functions. Plus, remove the decalartion of `tick_isr()`, this function does not exist. Signed-off-by: Chen Wang <[email protected]>
2025-01-29[bsp][doc]use the default mpu conf of cubemxkaidegit
2025-01-29[bsp][doc] add PeriphCommonClock_Config and MPU_Configyekai
2025-01-26bsp: cvitek: removed useless files after using rttpkgtoolChen Wang
Based on the patch "bsp: cvitek: use rttpkgtool to replace cvitek_bootloader", continue cleanup useless files. Signed-off-by: Chen Wang <[email protected]>
2025-01-26bsp: cvitek: use rttpkgtool to replace cvitek_bootloaderChen Wang
Originally, for riscv big and little cores under bsp/cvitek, after generating rtthread.bin, the cvitek_bootloader tool would be used to package it and generate fip.bin and boot.sd files that can be burned into sdcard. However, the cvitek_bootloader tool repository is relatively large, and it compiles and generates firmware such as fsbl, opensbi and uboot from the source code level. And when using it, it needs to be downloaded to the bsp/cvitek directory, which will introduce pollution to source files in the RTT repository under the original working path. The new solution uses rttpkgtool, which is similar to cvitek_bootloader, but it uses prebuilt firmware, so it is very small and does not introduce pollution to the source file. Signed-off-by: Chen Wang <[email protected]>
2025-01-24[bsp][nrf5x]added the cherryusb adapter for nrf52840 (#9939)hydevcode
2025-01-23Revert "[action] add cvitek/c906_little ci" (#9945)Chen Wang
Revert "[action] add cvitek/c906_little ci (#9901)" This reverts commit 969e0e01ef603d3929a186e8bd03f3657ec8227c.
2025-01-23[action] add cvitek/c906_little ci (#9901)Supper Thomas
* [action] add cvitek/c906_little ci * Update bsp_buildings.yml * Update rtconfig.py
2025-01-23[bsp/stm32f407-rt-spark/stm32l496zg-st-nucleo] add cherryusb support (#9929)Supper Thomas
[bsp/stm32f407-rt-spark/l496zg] add cherryusb support
2025-01-21Add pm driver for F472 and add lVD unlock in board_initJamie
2025-01-20[bsp][cvitek] fix c906_little build warning in cache.cimcu
build warning: passing argument 1 of 'inv_icache_range' makes integer from pointer without a cast [-Wint-conversion] Analyze: The passed parameter type is void*, which is a pointer type, but the required type is uintptr_t, which is an integer type. Therefore, there will be a 'makes integer from pointer without a cast' warning. Solution: casting the void* pointer to uintptr_t, ensure that the function receives the correct type. Signed-off-by: zdtyuiop4444 <[email protected]>
2025-01-19[BSP] add some bsp drivers for F448, F472 and add bsp test codesJamie
2025-01-18bsp: cvitek: optimze build operations for aarch64Chen Wang
For bsp/cvitek, duo256m, the operation process is slightly different when building images for riscv and arm64. To improve the user experience, unify the building process and steps of the two as follows: - Enter c906_little and execute `scons` - Enter cv18xx_riscv/cv18xx_aarch64 and execute `scons` That's all. Finally, we can get `fip.bin` and `boot.sd` under `bsp/cvitek/output/milkv-duo256m`. Update the README.md accordingly. Signed-off-by: Chen Wang <[email protected]>
2025-01-17[bsp/stm32] change the attach file of stm32f407-rt-spark to yml (#9926)hydevcode
2025-01-16bsp/cvitek: print arch info. during boot-up (#9919)Chen Wang
Duo's CPU combination is more complicated: | BSP | B/L core| ISA | UART | | ------------- | ------- |---------------- |-------| | cv18xx_risc-v | Big | RISC-V C906 | UART0 | | c906-little | Littel | RISC-V C906 | UART1 | | cv18xx_aarch64| Big | ARM Cortex A53 | UART0 | Printing ISA and big and small core information during the boot process helps developers/testers determine the CPU and serial port corresponding to the current console. In addition, the RTT logo printing has already distinguished whether it is smart, so the bsp printing no longer distinguishes. Updated README to sync with this change. Signed-off-by: Chen Wang <[email protected]>
2025-01-16[bsp][cvitek] add cache opration functions for cache coherenceimcu
By default, the small core enables D-Cache without ensuring cache coherence. Therefore, when using shared memory, inconsistencies can occur in the data read by the small core and the big core. Solution: Migrate cache-related functions from the official duo-buildroot-sdk library to implement cache-related operations in rthw.h. This allows you to either disable D-Cache or call the flush_dcache_range function before reading and after writing for synchronization. It is recommended to use the flush_dcache_range function, as disabling D-Cache can have a significant performance impact. Signed-off-by: zdtyuiop4444 <[email protected]>
2025-01-16bsp: cvitek: fix bug in setting PLIC_PRIORITY[n]kenneth.liu
description: In the bsp/cvitek/c906_little/board/interrupt.c, There is an issue with setting the PLIC_PRIORITY[n]. analysis: PLIC_PRIORITY[n] each register corresponds to the priority of a hardware interrupt number. Solution: Each register is 4 bytes. Multiply the total number of IRQs by 4 instead of dividing by 4. Signed-off-by: Liu Gui <[email protected]>
2025-01-15fix GPIO and SCI drivers for RZ series (#9908)DingDing
fix gpio and sci drivers for RZ series
2025-01-12[ht32][drv]新增了CAN、USB和SDIO的驱动文件QTbin
2025-01-10bsp: qemu-virt64-riscv: remove config RISCV_S_MODEChen Wang
RISCV_S_MODE configuration only affects the code in libcpu/risc-v/virt64, and the only bsp using this libcpu is qemu-virt64-riscv. Considering s-mode is the default mode RT-Thread running on virt64 machine, it seems unnecessary to make RISCV_S_MODE a Kconfig option. Solution: Remove RISCV_S_MODE from Kconfig and define it as a macro in the code in libcpu/risc-v/virt64. Plus, due to this macro is only related to virt64, rename RISCV_S_MODE to RISCV_VIRT64_S_MODE. Update the .config/rtconfig.h in this patch. Signed-off-by: Chen Wang <[email protected]>
2025-01-08[drivers] merge the software i2c driverkurisaw
2025-01-08[bsp][qemu-virt64-riscv]修正内存大小超限制的问题heyuanjie87
2025-01-08bsp: cvitek: remove support for spinor/spinandChen Wang
Confirmed with milkv, only the sd card version is sold by default for duo in the market. The spi pins are provided through stamp holes, so that users can solder the corresponding components on their baseboard during secondary development. In order to simplify maintenance work, the mainline will only support the sd-card version and no longer support spinor/spinand. Updated config files the same in this patch. Signed-off-by: Chen Wang <[email protected]>
2025-01-08[bsp][hpmicro] fix the alignement check logic and the cache-maintenance logicFan YANG
- corrected the alignement check logic - optimized the cache maintenance logic Signed-off-by: Fan YANG <[email protected]>
2025-01-04Fix: [CAN][STM32] GCC compile errorsGibby
error: a label can only be part of a statement and a declaration is not a statement 459 | rt_uint32_t errtype;
2025-01-01[bsp][stm32l496zg] add onchip configSupper Thomas