-
Notifications
You must be signed in to change notification settings - Fork 350
feat:添加bt24s软件包 #1945
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat:添加bt24s软件包 #1945
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This pull request adds a new BT24S Bluetooth module driver package for RT-Thread, enabling UART-based communication with the BT24S module. The implementation has been tested with XiaoHua HC32F406 and supports file transfer communication with Nordic tools or custom Android applications.
Changes:
- Added package configuration file with version management and repository information
- Added Kconfig configuration file with UART settings and GPIO pin configuration options
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| peripherals/bt24s/package.json | Package metadata defining the BT24S driver package with version v1.0.0 and latest branch support |
| peripherals/bt24s/Kconfig | Configuration options for UART device selection, buffer sizing, GPIO pin mapping, and demo enablement |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| menuconfig PKG_USING_BT24S | ||
| bool "bt24s: BT24S Bluetooth Module Support based on UART | ||
| default n | ||
| select PKG_USING_UAT |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo in package name. "PKG_USING_UAT" should be "PKG_USING_UART" to correctly select the UART package dependency.
| select PKG_USING_UAT | |
| select PKG_USING_UART |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
观察了一下 .config文件写的 名字是UAT # CONFIG_PKG_USING_UAT is not set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个没问题,AI误报
|
|
||
| # Kconfig file for package bt24s | ||
| menuconfig PKG_USING_BT24S | ||
| bool "bt24s: BT24S Bluetooth Module Support based on UART |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing closing double quote after "UART". The string should end with a closing quote.
Co-authored-by: Copilot <[email protected]>
测试小华HC32F406通过 可以和Nordic工具或者QT自己写的安卓应用 通信 demon是做文件传输