MCX A366 SLCD BSP driver support#11608
Conversation
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: bsp_mcxaReviewers: @hywing Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-07-16 15:40 CST)
📝 Review Instructions
|
|
另外可以加个ci看护起来,ci-attach |
|
|
|
lgtm |
|
|
|
lgtm |
Change default setting for onboard SLCD display to 'n'.
Add SLCD peripheral configuration to CI attach config
|



拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
FRDM-MCXA366 板载段码 LCD,MCXA366 片内有 SLCD0 控制器,NXP SDK 也提供了 fsl_slcd,但本 BSP 此前未接入:引脚未配置、SDK 驱动未参与编译、缺少板级段码封装,无法在 RT-Thread 下点亮并显示数字/时间。需要补齐板级 SLCD 驱动,便于后续应用直接使用板载显示。
你的解决方案是什么 (what is your solution)
在 frdm-mcxa366 中分层接入 SLCD:
应用通过 rt_hw_slcd_init() / rt_hw_slcd_display_time() 等接口使用;默认配置文件(如 rtconfig.h)可不强制合入,由使用者在 menuconfig 中打开后生成。
请提供验证的bsp和config (provide the config and bsp)
数字显示
时间显示
小数点显示
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up