-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Bluetooth: Controller: Add support for nRF54L15DK debug pins #96243
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: main
Are you sure you want to change the base?
Bluetooth: Controller: Add support for nRF54L15DK debug pins #96243
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 PR adds support for GPIO debug pins for the nRF54L15DK development kit, enabling Bluetooth controller debugging functionality on this new board. This extends the existing debug pin infrastructure to support a new Nordic hardware platform.
- Adds debug pin configuration for nRF54L15DK board in the debug header file
- Updates Kconfig to enable debug pins option for the new board
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
File | Description |
---|---|
subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/debug.h | Adds nRF54L15DK debug pin definitions and reorganizes board conditionals |
subsys/bluetooth/controller/Kconfig.ll_sw_split | Adds nRF54L15DK to the list of supported boards for debug pins feature |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@diggit FYI. An old commit I had lying around, not adding DT support, but extension similar to earlier hard coded way of using GPIO debug pins. Contributions to convert to use of DT is welcome from the community. |
951e841
to
17e3214
Compare
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
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
#if defined(CONFIG_BT_CTLR_DEBUG_PINS) || \ | ||
defined(CONFIG_BT_CTLR_DEBUG_PINS_CPUAPP) | ||
#if defined(CONFIG_BOARD_NRF5340DK) | ||
#if defined(CONFIG_BOARD_NRF54L15DK_NRF54L15_CPUAPP) |
Copilot
AI
Oct 13, 2025
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.
The original condition CONFIG_BOARD_NRF5340DK
has been replaced, but the updated condition should maintain backward compatibility. Consider using #elif
instead of replacing the original condition to ensure existing NRF5340DK configurations continue to work.
Copilot uses AI. Check for mistakes.
#define DEBUG_PIN7 BIT(11) | ||
#define DEBUG_PIN8 BIT(12) | ||
#define DEBUG_PIN9 BIT(13) | ||
#elif defined(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP) || \ |
Copilot
AI
Oct 13, 2025
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.
The original CONFIG_BOARD_NRF5340DK
condition has been expanded to three specific variants, but this may break compatibility if the original generic condition was used elsewhere. Verify that all NRF5340DK board configurations are properly covered by these three specific variants.
#elif defined(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP) || \ | |
#elif defined(CONFIG_BOARD_NRF5340DK) || \ | |
defined(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP) || \ |
Copilot uses AI. Check for mistakes.
Add support for GPIO debug pins for nRF54L15DK. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
pin toggles are not working... dismissing this review,
17e3214
to
9c9087c
Compare
Add support for GPIO debug pins for nRF54L15DK. Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
9c9087c
to
33bd0ef
Compare
|
Add support for GPIO debug pins for nRF54L15DK.
Relates to #93199.