* [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
STM32F469-ST-DISCO BSP Introduction
This document records the instruction of the BSP (board support package) that provided by the RT-Thread development team for the STM32F469-ST-DISCO development board.
The document is covered in three parts:
- Resources Introduction
- Quickly Get Started
- Advanced Features
By reading the Quickly Get Started section developers can quickly get their hands on this BSP and run RT-Thread on the board. More advanced features will be introduced in the Advanced Features section to help developers take advantage of RT-Thread to drive more on-board resources.
Resources Introduction
The STM32F469 Discovery kit allows users to easily develop applications with the STM32F469 high-performance MCUs with ARM®Cortex®-M4 core and Chrom-ART Accelerator™. The discovery kit enables a wide range of use cases taking advantage of premium graphics, audio, multi-sensor support, WVGA color display, security, memory extension and connectivity features.
Features:
- MCU: STM32F469NIH6U, 180MHz, 2048KB FLASH, 384KB(Includes 64KB CCM) RAM
- External RAM: 25Q128A, 16MB
- External FLASH: 7LL12D9NOR, 16MB
- Common-used Peripherals:
- LED: 4, LD1(Green, PG6), LD2(Orange, PD4), LD3(Red,PD5), LD4(Blue, PK3)
- Button: 1, USER( has wake-up feature, PA0)
- LCD:4 inches 800x480 pixel TFT
- Audio: SAI Audio DAC
- Common-used interface: Arduino UNO V3 、MicroSD Card、Audio、LCD、I2C, etc.
- Debugging interface, standard ST-LINK/V2-1 SWD
More info about this board, please check ST Official.
Peripherals Condition
Each peripheral supporting condition for this BSP is as follows:
| On-board Peripherals | Support | Remark |
|---|---|---|
| SDRAM | √ | 16MB |
| LCD | √ | MIPI LCD, otm8009a |
| SDCARD | √ | Support hot swapping, plug-in detection interval of 200ms |
| TOUCH | √ | ft6206 |
| On-chip Peripherals | Support | Remark |
| GPIO | √ | |
| USART | v | USART3 |
| SPI | √ | SPI3 |
| QSPI | √ | |
| I2C | √ | I2C |
| FLASH | √ | Fits to FAL |
| SDI | √ | |
| USB Device | √ | |
| Expansion Module | Support | Remark |
| N/A | N/A | N/A |
Quickly Get Started
This BSP provides MDK4, MDK5, and IAR projects for developers and it supports the GCC development environment. Here's an example of the MDK5 development environment, to introduce how to run the system.
Attention please!!!
Before the compilation work, please open ENV and execute the following command (this command is used to pull the necessary HAL library and CMSIS library, otherwise it cannot be compiled):
pkgs --update
Hardware Connection
Use a cable to connect the development board to the PC and turn on the power switch.
Compile and Download
Double-click the project.uvprojx file to open the MDK5 project, compile and download the program to the development board.
The project defaults to use the st-link emulator to download the program, and as we're connecting the development board via st-link, click the Download button can directly download the program to the development board.
Running Results
After the program is successfully downloaded, the system runs automatically. The LED(LD1, Green) will flash.
Connect the corresponding serial port of the development board to the PC, and when the corresponding serial port ( 115200-8-1-N) is opened in the terminal tool, the output information of RT-Thread can be seen when the device is reset:
\ | /
- RT - Thread Operating System
/ | \ 4.0.1 build Apr 9 2019
2006 - 2019 Copyright by rt-thread team
msh >
Advanced Features
This BSP only enables GPIO and UART3 by default. If you need more advanced features such as SD Card, Flash, or you need to configure the BSP with RT-Thread homegrown ENV tool, as follows:
- Open the ENV tool under the specific BSP folder;
- Enter
menuconfigcommand to configure the project, then save and exit; - Enter
pkgs --updatecommand to update the package; - Enter
scons --target=mdk4/mdk5/iarcommand to regenerate the project.
