summaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)Author
35 hours[bsp][esp32] adapt C3/C6 to ESP-IDF v6.1 and bump RISC-V toolchain to gcc ↵Chen Moushun
15.2 (#11870) * [bsp][esp32] adapt C3/C6 to ESP-IDF v6.1 and bump RISC-V toolchain to gcc 15.2 - Adapt ESP32-C3/C6 BSP to ESP-IDF v6.1; bump RISC-V toolchain to gcc 15.2 - C6: re-enable SPI with board-local drv_spi.c; add devices.spi to CI attachconfig; drop shared drv_spi.c spi_command_t hack - C6: fix ADC oneshot multi-channel unit handle and mutex - C3: fix portTRY_ENTER_CRITICAL_SAFE expansion in portmacro.h - Compat with RT-Thread-packages/esp-idf rtt-dev used by CI: map SYSTIMER_* to SYSTIMER_LL_* (C3 and C6 board.c), accept uart_periph.h from hal/ or soc/ - Fix clang-format and cppcheck issues in the compat code Signed-off-by: seteiro <[email protected]> Co-Authored-By: Grok <[email protected]> * ci: retrigger after esp-idf#18 merged * bsp: ESP: fix C6 ADC for IDF 6.1 (adc_ll bus clock) Replace removed PERIPH_SARADC_MODULE with adc_ll_enable_bus_clock / adc_ll_reset_register when ESP_IDF_VERSION >= 6.0.0. --------- Signed-off-by: seteiro <[email protected]> Co-authored-by: Grok <[email protected]>
4 days[bsp][spacemit/k1] first version #11132GUI
6 days[bsp][hpmicro] upgrade hpm_sdk to v1.13.0 and add hpm5100evk supportFan YANG
Sync the HPMicro BSPs with hpm_sdk v1.13.0 and add the HPM5100EVK (HPM5151) board. - add the hpm5100evk BSP (board/startup/applications/Kconfig/docs) and register it in .github/ALL_BSP_COMPILE.json, bsp/README.md and the HPMicro READMEs - re-sync the 11 existing boards (board/startup/debug scripts/linker scripts/applications) with hpm_sdk v1.13.0, keeping the RT-Thread specific parts: clock_time based drv_timer, CXX wired into the scons environment, SConscript outputs under build/, named Kconfig choices, rt_hw_us_delay in board_delay_*, board local codec files - sync the shared driver layer with hpm_sdk v1.13.0 (GPTMRv2/PTMR, PUART, soft I2C/SPI and the remaining peripheral driver updates) - select the hpm_sdk v1.13.0 online package (PKG_USING_HPM_SDK_V113) - use -Og instead of -O0 for the debug builds and print floats with the RT-Thread klibc implementation instead of newlib nano - initialize the RT-Thread heap before the SDK console init: the SDK console_init() calls setvbuf(), which allocates through the C library malloc() and tripped RT_ASSERT() in rt_smem_alloc() on the boards built with RT_USING_DEBUG - keep only ram_rtt.ld/flash_rtt.ld per board, align the DLM origin to 4KB on hpm5300evk/hpm5301evklite (the unaligned origin made the linker emit a file backed PT_LOAD for the RAM area, which broke "program rtthread.elf"), and anchor the generated .bin at the flash base address 0x80000000 - sync the hpm6750evk openocd debug scripts with the new style used by the other boards (hpm_common.cfg/hpm_reset.cfg with arp_halt) - keep the upstream synced board/startup/libraries trees of bsp/hpmicro out of the changed-file cppcheck run (same policy as bsp/hpmicro/.clang-format-ignore): the check runs without the hpm_sdk include paths, so it reports ATTR_PLACE_AT and the linker script symbol arithmetic in c_startup() as errors - give the hpmicro boards in the changed-file scons trigger list the RV32 toolchain they need (RISC-V-GCC-RV32) and add the matching installation step to that workflow: the entries used sourcery-arm, which only provides the ARM toolchain, so those legs could not find riscv32-unknown-elf-gcc - keep hpm5100evk's ram_rtt.ld identical to the hpm_sdk v1.13.0 reference: the .fast_ram sections belong in DLM there (the DLM has enough headroom), and that also makes its RAM and flash layouts agree - skip the dependency pre-check when cleaning (scons -c): it runs from DoBuilding() unconditionally, so a clean request with packages/ not fetched yet was aborted with exit code 1 instead of cleaning - make the manual scons trigger workflow runnable: it aborted while still downloading actions because actions/upload-artifact@v3 is deprecated, and scons was not on PATH because ~/.env/env.sh was never sourced. Install tools/requirements.txt and source the Env PATH script in the build step, and use @main action versions, as bsp_buildings.yml does - start the LED demo thread only when rt_thread_create() succeeded Tested: - 12 boards x {ram_debug, ram_release, flash_debug, flash_release}: 48/48 clean builds - flash boot + msh on hpm5100evk, hpm5300evk, hpm5e00evk, hpm6200evk, hpm6300evk, hpm6750evk, hpm6750evk2, hpm6750evkmini, hpm6800evk, hpm6e00evk, hpm6p00evk (list device/timer, ps, free, reset, rt_kprintf float formatting) - re-ran .github/workflows/manual_trigger_scons_except_STM32_all.yml with the matrix reduced to the three hpmicro rows: all three legs build and scons --dist succeeds with no local workarounds
7 days[ARCH/RISC-V] Next RISC-V (#10320)GUI
* [libcpu][risc-v] Refactor the RISC-V architecture port Introduce an opt-in unified RISC-V common layer for RV32 and RV64 while keeping existing BSPs on the legacy implementation during migration. - use ARCH_RISCV and ARCH_CPU_64BIT for architecture and XLEN selection - unify context, trap, MMU, cache, timer, SBI, SMP and ISA handling - add PLIC, CLIC, ACLINT, APLIC and IMSIC support - map physical hart IDs to contiguous logical CPU IDs - add T-Head vendor overrides while preserving legacy ports - migrate qemu-virt64-riscv with RV32 and RV64 support - update clock_time, MM, LWP, OFW, PCI and Rust integration Existing BSPs continue using legacy_common or common64 unless they select RT_USING_RISCV_NEW_COMMON. Signed-off-by: GuEe-GUI <[email protected]> * [libcpu][risc-v] skip disabled CPU nodes in early FDT walk Rbb666 noted that rt_hw_fdt_install_early() walked every /cpus child without checking status, so disabled cores still joined hart registration and MMU capability probing. Skip nodes that are not okay/ok via rt_fdt_device_is_available() before reading reg or mmu-type. Signed-off-by: seteiro <[email protected]> * [libcpu][risc-v] Fix per-CPU page table mapping - reuse existing non-leaf page table entries when mapping per-CPU areas - reject leaf entry conflicts instead of overwriting mappings Signed-off-by: GuEe-GUI <[email protected]> --------- Signed-off-by: GuEe-GUI <[email protected]> Signed-off-by: seteiro <[email protected]> Co-authored-by: seteiro <[email protected]>
12 days[components][libc] run .init_array constructors in cplusplus_system_initseteiro
Newer GCC emits C++ global constructors into .init_array, which many linker scripts keep outside [__ctors_start__, __ctors_end__), so they never ran. Walk __init_array_start/__init_array_end (weak) as well, skipping entries already covered by the ctors range. Add RT_USING_CPP_CRT_INIT for ports whose startup runtime already runs .init_array, default on for the simulator. With it set, only the .init_array walk is skipped; the ctors range is still walked. Renesas RA/RA_WIRELESS/RZ families select it when C++ is enabled: FSP SystemInit() already walks .init_array, so boards whose linker script only provides __init_array_* would run constructors twice. Boards that fold .init_array into the ctors range (ra6m3-hmi-board, ra8d1, rz) still run them once via RT-Thread. Also source env.sh and restore RTT_EXEC_PATH in ToolsCI project generate and dist steps so scons is on PATH (exit 127) and the ARM toolchain path is not overwritten by env.sh. Fixes #11778
2026-09-28[bsp][esp32-c6] add ESP32-C6-DevKitC-1 support (#11836)seteiro
* [bsp][esp32-c6] add ESP32-C6-DevKitC-1 support Add bsp/ESP/ESP32_C6. Default image is GPIO, UART0 and ADC. The C6 IDF sources are not in RT-Thread-packages/esp-idf yet. * [bsp][esp32-c6] fix CI format, C6 package and CH32V203 D6 build clang-format the files the format check rejected. Fetch the C6 scons branch when the downloaded ESP-IDF package has no C6 target. Patch the CH32V20x SDK under libraries so a D6 build no longer calls Exit(). * [bsp][esp32-c6] fetch mbedtls and stop pkgs from pulling the C6 branch * [bsp][esp32-c6] rebuild CI against the package branch tip * [bsp][esp32-c6] rebuild CI against the strict-mode package tip * [bsp][esp32-c6] fix the reviewed ADC, math and package pin bugs Keep the IDF tree on the reviewed commit, and stop the ADC and critical-section paths from reporting success when they did not. * [bsp][esp32-c6] reserve stuck interrupt lines and lock ADC CPU lines 3 and 4 never latch an enable, so copying the handler left the non-IRAM mask on the old line. Reserve those lines and let the allocator write the mask and the route together. The C6 oneshot registers are shared, so one mutex covers enable and convert. * [bsp][esp32-c6] list the peripherals this board actually runs GPIO, UART0 and ADC1 have been read on the DevKitC-1. Radios and the untested buses stay marked unsupported. * [bsp][esp32-c6] keep SPI unsupported after the loopback mismatch GPIO7 shorted to GPIO2 returned 0xA5000000 for a sent 0xA5, so the table does not mark SPI supported. --------- Co-authored-by: seteiro <[email protected]>
2026-09-24[bsp][ch32v203] add CH32V203C8T6-EVT-R0 support #11827seteiro
2026-09-23[ci][format] Stop skipping CI for clang-format commitsCYFS
2026-09-17[ci] fix missing libtinfo5 dependency for LLVM ARM workflowluchenxu
2026-09-16[bsp][n32] n32hxxx: extend H47x_48x/H49x/H7xx driver supportOnlyoutzZ
- libraries/N32_Drivers: add ADC/DAC/I2C/SPI config headers for the h47x_48x, h49x and h7xx series, and extend the shared drivers (adc, dac, eth, gpio, hard_i2c, nand, qspi, sdram, spi, usart, wdt). - n32h487zgl7-evb / n32h497zgl7-evb: add board ports (femc_timing, phy_reset, usb_config) and update Kconfig, SConscript, rtconfig and the IAR/Keil project files. - n32h760zil7-stb: update Kconfig and rtconfig. - CI: register the three n32hxxx boards.
2026-09-16[bsp][stm32] Add stm32n657-st-nucleo BSP (#11799)yans6666
* [bsp][stm32] Add stm32n657-st-nucleo BSP * style: format STM32 HAL drivers and STM32N657 BSP with clang-format
2026-09-15[bsp][xuantie]Feat: Add xiaohui C908 supports rt-smart and mmu.guanxi.cgh
2026-09-08[bsp][nxp] Add FRDM-MCXC162 BSP supportyandld
2026-08-28feat[bsp][xuantie]: c908 support rt-smart #11719BadmintonMaster
2026-08-21[fix][libc] fix timegm month overflow calculationHui Su
The original overflow logic used __spm[tm_mon] as the current month's length when normalizing tm_mday. This produced incorrect dates after crossing month boundaries and left zero or negative days unnormalized. Use the difference between adjacent cumulative day offsets with leap-year handling. Normalize overflow in tm_sec, tm_min, tm_hour, tm_mday, and tm_mon to keep the affected broken-down fields normalized. Add regression tests for month boundaries, leap years, large offsets, zero and negative days, negative time fields, combined overflow, and boundary carry cases. Close #11686 Signed-off-by: Hui Su <[email protected]>
2026-08-12ci: improve PR format workflowCYFS
2026-08-05RA6W1基础BSP内容rcitach
2026-07-28[ci][issue] Add issue automation workflows#11661CYFS
2026-07-27[ci] Remove obsolete post CI status workflowRbb666
2026-07-27[ci] Restrict MemBrowse workflows to the main repositoryCYFS
2026-07-27bsp: rename Libraries directories to lowercaseCYFS3
2026-07-27[ci]add titan dual-core projectsCYFS
2026-07-22[bsp/n32]n32h760zil7-stb bsp修复完善,添加 ↵Onlyou_tzZ
n32h497zgl7-evb和n32h487zgl7-evb bsp (#11627) 1、修改n32\n32gxx_lxx\n32g4frml-stb中的GCC启动文件bl entry 2、修复完善n32h760zil7-stb bsp,支持GCC环境、支持更多外设 3、添加n32h487zgl7-evb初版BSP 4、添加n32h497zgl7-evb初版BSP 5、删除n32g452xx这个bsp --------- Co-authored-by: OnlyoutzZ <OnlyoutzZ+github[bot]@noreply.github.com>
2026-07-22[ci] Fix ESP32-C3 MemBrowse dependency setupCYFS
2026-07-14[HC32] Add HC32F4A2/HC32F467 BSP supportLeeto1970
- Add chip macro for driver - Modify 'IDLE_THREAD_STACK_SIZE' to 512 - Modify 'HWTIMER' to 'CLOCK_TIMER' - Use 'clang-format' format driver and BSP code - Fix SPI clock division configuration
2026-07-10[ci][format] Use clang-format for format check#11582CYFS
2026-07-09ci: report skipped membrowse targets as identicalMichael Rogov Papernov
2026-07-07[ci]:add armclang BSP build coverage (#11577)CYFS
* ci: add armclang BSP build coverage * components/libc: avoid armclang errno include recursion
2026-07-03ci: add n32g452xx mini system BSP build mappingOld-Ding
2026-06-26ci: optimize membrowse target filteringCYFS
2026-06-26ci: detect qemu utest assertionsCYFS
2026-06-22[feat][ci]: trigger BSP build on matrix updatesCYFS
2026-06-22[feat][ci]: reduce duplicate HC32 attachconfig buildsCYFS
2026-06-22[stm32][bsp] Add initial BSP for stm32h723-DM-MC02moment-NEW
Add initial BSP support for the DM-MC02 board based on STM32H723VGT6. Supported peripherals (Stage 1): - GPIO (RT_USING_PIN) - UART1 as FinSH console Note: Onboard WS2812 LED and other peripherals are planned for Stage 2. Also update bsp/README.md BSP support summary table.
2026-06-21[bsp/rockchip]Add CI compilation checks for RK3500 BSP.Rbb666
2026-06-17CI: MemBrowse integrationMichael Rogov Papernov
2026-06-15[bsp][qemu-virt64-aarch64] add DM config and docsGuEe-GUI
Signed-off-by: GuEe-GUI <[email protected]>
2026-06-12utest: move ci configs to github directoryCYFS
Signed-off-by: CYFS <[email protected]>
2026-06-08[bsp][zynqmp-a53-dfzu2eg] enable full dmGuEe-GUI
This is a builtin fdt example BSP Signed-off-by: GuEe-GUI <[email protected]>
2026-06-05[action]补充BSP的LabelerRbb666
2026-06-02[feat][ci]: verify bsp dist buildCYFS
2026-05-28[bsp][mm32]:feat reorganize BSPs and driversCYFS
2026-05-26[bsp][esp32]: reorganize ESP32C3 BSP layoutCYFS
2026-05-25[bsp][nxp] support imxrt1180-evk board#11393nxp-ran
2026-05-25Add picolib support to bsp/x86, default to newlibatxhua
- add i686-atxhua-picolib-elf-gcc toolchain - add picolib option to bsp/x86 - add necessary picolib require library
2026-05-20[bsp][rdk s100] Add the RDC S100 BSP (#11406)rcitach
* 添加 rdk_s100 bsp * 添加 CI 看护
2026-05-12Add X86 i686 gcc 15.2.0 (#11388)atxhua
* add i686 x86 newlib toolchain * add missing x86 gcc option to manual_dist.yml * fix typo
2026-05-11[BSP] ADD ns800 BSPrcitach
2026-05-06[ci]: restrict utest workflow triggersCYFS
2026-04-19[action][utest]:Expand kernel auto-run matrix and sync test configsCYFS