summaryrefslogtreecommitdiff
path: root/bsp/hc32
AgeCommit message (Collapse)Author
2026-09-16[HC32][BSP] Delete PM_TICKLESS_TIMER_ENABLE_MASK in pm_config.h, modify ↵Leeto
'NAME_MAX' to 24 #11798
2026-07-22[bsp] Fix HC32 and HT32 variant buildsCYFS
2026-07-22[bsp] Place SConscript outputs under build directoriesCYFS
2026-07-20fix: name anonymous Kconfig choicesCYFS
2026-07-16[bsp][drivers][soft_i2c] unify the software I2C driverCYFS
2026-07-14[HC32] Format files by newer clang-format.Leeto1970
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-06-02Fix BSP dist packagingCYFS
2026-05-08[format][version]: synchronize bsp version configurationCYFS
2026-01-31[components][clock_time] Refactor time subsystem around clock_time (#11111)Bernard Xiong
* [components][clock_time] Refactor time subsystem around clock_time Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals. Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional. Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer. * [components][clock_time] Use BSP-provided clock timer frequency on riscv64 * [risc-v] Use runtime clock timer frequency for tick and delays * [bsp] Add clock timer frequency hooks for riscv64 boards * [bsp] Update Renesas RA driver doc clock_timer link * [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh * [bsp][rk3500] Update rk3500 clock configuration * [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays * [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci * [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings. * [bsp][raspi3] select clock time for systimer * [bsp][hpm5300evk] Trim trailing blank line * [bsp][hpm5301evklite] Trim trailing blank line * [bsp][hpm5e00evk] Trim trailing blank line * [bsp][hpm6200evk] Trim trailing blank line * [bsp][hpm6300evk] Trim trailing blank line * [bsp][hpm6750evk] Trim trailing blank line * [bsp][hpm6750evk2] Trim trailing blank line * [bsp][hpm6750evkmini] Trim trailing blank line * [bsp][hpm6800evk] Trim trailing blank line * [bsp][hpm6e00evk] Trim trailing blank line * [bsp][nxp] switch lpc178x to gcc and remove mcx timer source * [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue. * [docs][clock_time] add clock time documentation * [docs][clock_time] Update clock time subsystem documentation - Update device driver index to use correct page reference - Clarify upper layer responsibilities in architecture overview - Update README to describe POSIX/libc, Soft RTC, and device driver usage - Refine architecture diagram with improved layout and color scheme - Remove obsolete clock_timer.md file * [kernel][utest] Trim trailing space * [clock_time] Fix hrtimer wrap handling * [clock_time] fix the static rt_inline issue * [clock_time] fix the rt_clock_hrtimer_control result issue
2026-01-21[bsp] fix rtconfig.py SyntaxWarningdongly
2025-10-28feat:clang format ignore migrationache
2025-10-23[format][version]: synchronize bsp version configurationkurisaw
2025-08-22[F472] Modify the README.md for system clock frequency.JamieTx
2025-08-22Update bsp drivers for F334.JamieTx
2025-07-18Add ev_hc32f334_lqfp64 board and update package relation. #10522Jamie
2025-07-01bsp: update hc32 and nuvoton .configzhangshuxun
2025-06-25bsp:Separate HC32F4 series library (#10427)沐攸
* bsp:Separate HC32F4 series library
2025-06-17format: update all series of BSP configuration items (#10406)沐攸
2025-05-30version: version release preparationkurisaw
2025-05-16[drivers][serial_v2]允许阻塞接收超过rx缓冲区大小的数据、增 ↵ryancw
加超时时间、flush、获取缓冲区数据长度命令、数据溢出逻辑修复、稳定性细节优化、添加更多serial_v2测试用例 [components][serial_v2] 优化txflush逻辑、对tx的activated做中断保护 [components][at] at_client适配新版serial_v2 [components][at] at_server适配新版serial_v2 [components][serial_v2] 测试用例增加循环调用,format测试用例 [components][serial_v2] poll模式判断逻辑错误 [components][serial_v2] 测试用例去掉一些非必要延时 [components][serial_v2] 测试例程使用menuconfig进行配置,更新readme [components][at_client] at_client_getchar返回值错误、at_client解析线程优先级错误设置 [components][at] 错误码应该返回负值 [components][serial_v2] TCFLSH和FIONREAD完善、control函数增加错误返回值 [components][serial_v2] RT_SERIAL_CTRL_GET_RX_DATA_LEN更改为RT_SERIAL_CTRL_GET_UNREAD_BYTES_COUNT [utest][serial_v2] TC_UART_SEND_TIMES替换为RT_SERIAL_TC_SEND_ITERATIONS [components][serial_v2] FIONREAD参数应该是无符号类型 [utest][serial_v2] 完善测试用例 [components][serial_v2] 避免使用三目运算符 [components][serial_v2] 使用clang-format格式化代码 [components][serial_v2] 添加get超时时间命令 [components][serial_v2] 完善posix接口 [components][serial_v2] 阻塞接口添加阻塞时间为0时的处理逻辑、优化RX阻塞接收逻辑 [components][serial_v2] 设置超时时间命令的参数改为指针形式 [components][serial_v2] nbuf发送添加超时时间为0时的逻辑 [components][serial_v2] 完善添加测试用例 [utest][serial_v2] 修复依赖关系 [components][serial_v2] 非阻塞模式下tx_flush错误修复 [components][serial_v2] activated使用原子API [components][serial_v2] 优化DMA逻辑、没使能DMA时屏蔽DMA逻辑节约资源 [components][serial_v2] 提供写满时丢弃新数据和覆盖旧数据策略,写满丢弃策略效率更高 [components][serial_v2] 部分平台适配写满时两种策略功能 [components][serial_v2] DMA模式暂不支持丢弃新数据策略 [utest][serial_v2] 优化测试代码 [components][serial_v2] DMA模式下使用乒乓缓冲、DMA模式支持丢弃新数据策略 [utest][serial_v2] 适配DMA乒乓缓冲 [bsp][serial_v2] 部分bsp适配DMA下乒乓缓冲 [components][serial_v2] 使用spinlock替换中断,对部分结构体变量使用原子操作 [utest][serial_v2] 更新测试用例 [components][at] 适配new serialv2不再判断RTT版本号 [components][at] 删除多余的中文注释 [utest][serial_v2] 添加交叉echo示例,qemu环境下专用 [bsp][qemu] 适配串口v2并开启fifo [components][at] 修复合并导致的错误 [bsp][n32] 适配serial_v2,没有经过测试 [components][serial_v2] 格式化代码 [utest][serial_v2] 删除无意义的打印
2025-04-29[hc32] Add the ev_hc32f4a8_lqfp176 board and modify some bsp drivers. (#10233)Jamie
* [hc32] Add the ev_hc32f4a8_lqfp176 board and modify some bsp drivers.
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-01-21Add pm driver for F472 and add lVD unlock in board_initJamie
2025-01-19[BSP] add some bsp drivers for F448, F472 and add bsp test codesJamie
2024-12-21[bsp/hc32]hc32f460 doesn't support CAN-FD, hc32_ll_can.h has no some ↵Lin-Chengqiu
definations.
2024-12-21[hc32]hc32f460 has only one CAN, and it is defined as CM_CAN in hc32f460.hLin-Chengqiu
2024-12-04[bsp][hc32][spi]update rt_hw_spi_device_attachyangpeng
2024-11-24[fal] using rt-thread raw API instead of std APIMeco Man
2024-11-09[bsp/hc32] fix uart dma if gcc optimization level is not noneliuchao
2024-10-28[bsp][hc32] 修复SPI驱动的片选脚获取方式Kai
2024-09-13[drivers] Specifies the name of the drivers driver fileCXSforHPU
https://github.com/RT-Thread/rt-thread/pull/9420
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
2024-06-28[BSP][HC32]add lckfb-hc32f4a0-lqfp100 (#9119)yuanzihao
* -以ev_hc32f4a0_lqfp176为模板进行修改 * -修改对应引脚 * -更新readme * -update readme * -添加 lckfb-hc32f4a0-lqfp100
2024-06-20bsp中option env语句替换为新语句,并同步更新了source "$xxx"语句latercomer
2024-06-10[BSP] HC32F460 在 SConscript 补充几个源文件 (#9042)sp-cai
[BSP] HC32F460 工程中增加几个源文件
2024-05-16[HC32] Fixed a bug about erase flash.JamieTx
2024-05-08[BSP][HC32F460]清理已不再使用的文件sp-cai
PWM 配置文件 pwm_tmra_config.h 已合并到 pwm_tmr_config.h 了。
2024-04-29[i2c] adjust the timing for I2C initializationLZerro
2024-04-29[HC32] support HC32F472 & remove residual fileschengy2
2024-03-24[bsp][drv_gpio] fix the error code return when pin number is illegalMeco Man
2024-03-23[pin] pin_read/write rt_uint8_t to rt_ssize_tkk
2024-03-21[bsp] update projectsMeco Man
2024-03-07[BSP][HC32] drv_usart.c fix macro switch errorsp-cai
2024-02-22[bsp][hc32] support hc32f448skllii
2024-01-16[bsp][hc32]更正pin和usart初始化顺序(bug fix)yangpengya
#8480 #8458
2024-01-09[hc32] Add some bsp drivers. (#8480)Jamie
2024-01-02[bsp][hc32]更正pin和usart初始化顺序yangpeng
2023-11-14[bsp][hc32]优化can驱动和pwm驱动 (#8217)梁生
**为什么提交这份PR (why to submit this PR)** 1. hc32驱动函数和rtt函数声明之间的参数类型不一致,在mdk编译时产生警告。 2. hc32的can设备,在注册时就把can中断使能了。导致can设备在打开前,就会产生中断。 3. hc32的pwm驱动,不支持PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令,导致rt_pwm_set_pulse()函数返回失败。 **你的解决方案是什么 (what is your solution)** 1. 修改hc32驱动函数参数类型和声明一致。 2. 注册can设备时主动禁止can中断,因为打开设备时会主动打开中断。 3. 修改pwm驱动,增加PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令支持。
2023-10-08[project] update mdk/iar project and config.guozhanxin