* [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
ES-PDS-ES32VF2264 开发板 BSP 说明
标签: EastSoft、国产MCU、RISCV、ES32VF2264
1. 简介
本文档为上海东软载波微电子开发团队为 ES-PDS-ES32VF2264 开发板提供的 BSP (板级支持包) 说明。 通过阅读本文档,开发者可以快速地上手该 BSP,将 RT-Thread 运行在开发板上。
1.1 开发板介绍
主要内容如下: ES-PDS-ES32VF2264 是东软载波微电子官方推出的一款基于 RISCV E902 内核的开发板,最高主频为 72MHz,可满足基础功能测试及高端功能扩展等开发需求。
该开发板常用 板载资源 如下:
- MCU:ES32VF2264LT,主频 72MHz,32KB SRAM,256KB FLASH,51 GPIOs
- 外部模块:SPI FLASH (MX25L64,8MB)、I2C EEPROM (M24C04,512B)
- 常用外设
- 可调电阻:1个(PC02)
- LED:4个,(PC12/PC13/PC14/PA15)
- 按键:6个,PD02、PB06、PB07、PB08、PB09、RESET(MRST)
- 常用接口:GPIO、UART、SPI、I2C、USB
- 调试接口,ESLinkⅡOB(EastSoft 官方推出的开发工具,自带 CDC 串口功能) SWD 下载
外设支持:
本 BSP 目前对外设的支持情况如下:
| 板载外设 | 支持情况 | 备注 |
|---|---|---|
| SPI FLASH | 支持 | SPI0 |
| 片上外设 | 支持情况 | 备注 |
| GPIO | 支持 | 51 GPIOs |
| UART | 支持 | EUART0/1,CUART0/1/2 |
| SPI | 支持 | SPI0/1 |
| I2C | 支持 | I2C0/1 |
| PWM | 支持 | PWM0/1/2/3 |
| TIMER | 支持 | TIMER0/1/2/3/4 |
| ADC | 支持 | ADC0 |
1.2 注意事项
更多详细信息请咨询上海东软载波微电子技术支持
2. 快速上手
本 BSP 为开发者提供 CDK 工程。下面以 CDK 开发环境为例,介绍如何将系统运行起来。
硬件连接
使用 ESLinkⅡOB (自带 CDC 串口)或 CKlink 等调试工具连接开发板到 PC,拨动开关选择使用调试工具供电或使用外部电源供电。若使用 Jlink 等调试工具,还需要将 CUART1_TX(PA02)、CUART1_RX(PA03)、GND 接到串口工具上。
编译下载
双击 project.uvprojx 文件,打开 CDK 工程,工程默认配置使用ESLinkⅡOB,连接正常后即可编译并下载程序到开发板。
运行结果
下载程序成功之后,系统会自动运行,观察串口输出的信息,同时开发板LED闪烁。
\ | /
- RT - Thread Operating System
/ | \ 5.0.1 build May 8 2023 19:32:03
2006 - 2022 Copyright by RT-Thread team
msh >
3. 进阶使用
此 BSP 默认只开启了 GPIO 和 cuart1 的功能,如果需使用更多高级功能,可以使用ES-CodeMaker进行更多的芯片配置。然后利用 ENV 工具对 BSP 进行配置,步骤如下:
-
在 bsp 下打开 env 工具。
-
输入
menuconfig命令配置工程,配置好之后保存退出。a)如果需要使用内核用例,先配置rt-thread内核,然后配置内核用例。
b)如果需要使用驱动用例:先使能驱动,然后配置驱动用例。
-
输入
pkgs --update命令更新软件包。 -
输入`scons --target=cdk。
更多 Env 工具的详细介绍请参考 RT-Thread 文档中心