mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-04 13:01:39 +00:00
* [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
LPCXpresso54608
简介
LPCXpresso54608是NXP推出的一款基于LPC54608系列的评估板,板载资源主要如下:
| 硬件 | 描述 |
|---|---|
| 芯片型号 | LPC54608J512 |
| CPU | ARM Cortex M4 |
| 主频 | 180M |
| 片内SRAM | 200K(160KSRAM + 32K I-code/D-code SRAM + 8K USB SRM) |
| 片外SDRAM | 8M |
| 片内FLASH | 512K |
编译说明
LPCXpresso54608板级包支持MDK4﹑MDK5﹑IAR开发环境和GCC编译器,以下是具体版本信息:
| IDE/编译器 | 已测试版本 |
|---|---|
| MDK4 | MDK4.74 |
| MDK5 | MDK524a |
| IAR | IAR 7.60~IAR8.20 |
| GCC | GCC 5.4.1 20160919 (release) |
请注意!!!
在执行编译工作前请先打开ENV执行以下指令(该指令用于拉取必要的库,否则无法通过编译):
pkgs --update
烧写及执行
供电方式:使用 Micro USB 连接电脑和板子上的J8(Debug Link)。
下载程序:开发板自带了板载CMSIS-DAP仿真器,在IDE里选择CMSIS-DAP即可。
串口连接:板载CMSIS-DAP仿真器连接到LPC54608J512的UART0,在PC上打开CMSIS-DAP对应的UART即可。
运行结果
如果编译 & 烧写无误,当复位设备后,会在串口上看到RT-Thread的启动logo信息:
\ | /
- RT - Thread Operating System
/ | \ 3.0.4 build May 22 2018
2006 - 2018 Copyright by rt-thread team
finsh />
驱动支持情况及计划
| 驱动 | 支持情况 | 备注 |
|---|---|---|
| UART | 支持 | 只支持UART0 |
| GPIO | 未支持 | |
| IIC | 支持 | 只支持IIC1 |
| SPI | 未支持 | SPI0~5 |
| ETH | 支持 | |
| LCD | 支持 | 支持FrameBuffer模式LCD显示 |
| TOUCH | 支持 | ft5406触摸芯片 |
| SDRAM | 支持 |
IO在板级支持包中的映射情况
| IO号 | 板级包中的定义 |
|---|---|
| P3_14 | LED1 |
| P3_3 | LED2 |
| P2_2 | LED3 |
| P0_6 | SW2 |
| P0_5 | SW3 |
| P1_1 | SW4 |
联系人信息
维护人:tanek