Skip to content

[bsp][stm32] Add LXB407ZGT6-P1 board support - #11747

Closed
Zepp-Hanzj wants to merge 1 commit into
RT-Thread:masterfrom
Zepp-Hanzj:bsp/stm32f407-lxb
Closed

[bsp][stm32] Add LXB407ZGT6-P1 board support#11747
Zepp-Hanzj wants to merge 1 commit into
RT-Thread:masterfrom
Zepp-Hanzj:bsp/stm32f407-lxb

Conversation

@Zepp-Hanzj

Copy link
Copy Markdown
Contributor

Description / 描述

新增鹿小班(LXB)LXB407ZGT6-P1 开发板的 BSP 支持。

Add BSP support for the LXB407ZGT6-P1 development board from Lu Xiao Ban (LXB).

Board / 板子信息

  • MCU: STM32F407ZGT6 (Cortex-M4, 168MHz, 1MB FLASH, 192KB RAM)
  • HSE 8MHz / LSE 32.768kHz
  • LED: PC13 (active low)
  • Console: USART1 (PA9/PA10), 115200-8-1-N
  • 调试接口: SWD + 串口

Verification / 验证

  • 编译通过(GCC, arm-none-eabi-gcc)

Build passed with arm-none-eabi-gcc.

@github-actions

Copy link
Copy Markdown

👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread!

为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。
To ensure your code complies with RT-Thread's coding style, please run the code formatting workflow by following the steps below (If the formatting of CI fails to run).


🛠 操作步骤 | Steps

  1. 前往 Actions 页面 | Go to the Actions page
    点击进入工作流 → | Click to open workflow →

  2. 点击 Run workflow | Click Run workflow

  • Use workflow from 保持默认分支(通常为 master
    Keep the default branch (usually master) in Use workflow from
  • branch 输入框填写 PR 分支 bsp/stm32f407-lxb
    Enter PR branch bsp/stm32f407-lxb in the branch field
  • 设置需排除的文件/目录(目录请以"/"结尾)
    Set files/directories to exclude (directories should end with "/")
  1. 等待工作流完成 | Wait for the workflow to complete
    格式化后的代码将作为独立提交推送至你的分支。
    The formatting changes will be pushed to your branch as a separate commit.

完成后,提交将自动更新至 bsp/stm32f407-lxb 分支,关联的 Pull Request 也会同步更新。
Once completed, commits will be pushed to the bsp/stm32f407-lxb branch automatically, and the related Pull Request will be updated.

如有问题欢迎联系我们,再次感谢您的贡献!💐
If you have any questions, feel free to reach out. Thanks again for your contribution!

@github-actions github-actions Bot added BSP: STM32 BSP related with ST/STM32 BSP labels Aug 25, 2026
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

📌 Code Review Assignment

🏷️ Tag: bsp_stm32

Reviewers: @Liang1795 @hamburger-os @wdfk-prog

Changed Files (Click to expand)
  • bsp/stm32/stm32f407-lxb/.ci/attachconfig/ci.attachconfig.yml
  • bsp/stm32/stm32f407-lxb/.config
  • bsp/stm32/stm32f407-lxb/.cproject
  • bsp/stm32/stm32f407-lxb/.gitignore
  • bsp/stm32/stm32f407-lxb/.project
  • bsp/stm32/stm32f407-lxb/Kconfig
  • bsp/stm32/stm32f407-lxb/README.md
  • bsp/stm32/stm32f407-lxb/SConscript
  • bsp/stm32/stm32f407-lxb/SConstruct
  • bsp/stm32/stm32f407-lxb/applications/SConscript
  • bsp/stm32/stm32f407-lxb/applications/main.c
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/.mxproject
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/CubeMX_Config.ioc
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/Inc/main.h
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/Inc/stm32f4xx_hal_conf.h
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/Inc/stm32f4xx_it.h
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/Src/stm32f4xx_hal_msp.c
  • bsp/stm32/stm32f407-lxb/board/CubeMX_Config/Src/stm32f4xx_it.c
  • bsp/stm32/stm32f407-lxb/board/Kconfig
  • bsp/stm32/stm32f407-lxb/board/SConscript
  • bsp/stm32/stm32f407-lxb/board/board.c
  • bsp/stm32/stm32f407-lxb/board/board.h
  • bsp/stm32/stm32f407-lxb/board/linker_scripts/link.icf
  • bsp/stm32/stm32f407-lxb/board/linker_scripts/link.lds
  • bsp/stm32/stm32f407-lxb/board/linker_scripts/link.sct
  • bsp/stm32/stm32f407-lxb/figures/board.png
  • bsp/stm32/stm32f407-lxb/makefile.targets
  • bsp/stm32/stm32f407-lxb/project.ewd
  • bsp/stm32/stm32f407-lxb/project.ewp
  • bsp/stm32/stm32f407-lxb/project.eww

📊 Current Review Status (Last Updated: 2026-08-25 10:19 CST)


📝 Review Instructions

  1. 维护者可以通过单击此处来刷新审查状态: 🔄 刷新状态
    Maintainers can refresh the review status by clicking here: 🔄 Refresh Status

  2. 确认审核通过后评论 LGTM/lgtm
    Comment LGTM/lgtm after confirming approval

  3. PR合并前需至少一位维护者确认
    PR must be confirmed by at least one maintainer before merging

ℹ️ 刷新CI状态操作需要具备仓库写入权限。
ℹ️ Refresh CI status operation requires repository Write permission.

Add BSP support for the LXB407ZGT6-P1 development board from
Lu Xiao Ban (LXB), based on the STM32F407ZGT6 (Cortex-M4, 168MHz).

- MCU: STM32F407ZGT6, 1MB FLASH, 192KB RAM
- HSE 8MHz / LSE 32.768kHz, SYSCLK 168MHz
- LED: PC13 (active low)
- Console: USART1 (PA9/PA10), 115200-8-1-N
@CYFS3

CYFS3 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

谢谢pr,但是目前f4的板子应该会重点维护星火一号,理论上也只要改改串口就可以使用了。
#11587

@Zepp-Hanzj

Copy link
Copy Markdown
Contributor Author

理解,谢谢反馈。LXB407ZGT6-P1 与星火一号同为 STM32F407ZGT6,确实可以通过复用星火一号 BSP(改 LED 引脚为 PC13)来使用,无需单独 BSP。已关闭此 PR。

Understood, thanks for the feedback. LXB407ZGT6-P1 shares the same STM32F407ZGT6 as 星火一号, so it can use the rt-spark BSP by just changing the LED pin to PC13. Closing this PR.

@Zepp-Hanzj Zepp-Hanzj closed this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BSP: STM32 BSP related with ST/STM32 BSP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants