Skip to content

Conversation

cvinayak
Copy link
Contributor

@cvinayak cvinayak commented Sep 18, 2025

Add support for GPIO debug pins for nRF54L15DK.

Relates to #93199.

@cvinayak cvinayak requested a review from Copilot September 29, 2025 04:18
Copy link

@Copilot Copilot AI left a 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.

@cvinayak
Copy link
Contributor Author

@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.

@cvinayak cvinayak added this to the v4.3.0 milestone Oct 3, 2025
@cvinayak cvinayak added the Enhancement Changes/Updates/Additions to existing features label Oct 3, 2025
@cvinayak cvinayak requested a review from Thalley October 5, 2025 04:07
@cvinayak cvinayak force-pushed the github_nrf54l15dk_bt_ctlr_debug_pins branch from 951e841 to 17e3214 Compare October 12, 2025 05:47
Thalley
Thalley previously approved these changes Oct 12, 2025
@cvinayak cvinayak requested a review from Copilot October 13, 2025 09:39
Copy link

@Copilot Copilot AI left a 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)
Copy link

Copilot AI Oct 13, 2025

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) || \
Copy link

Copilot AI Oct 13, 2025

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.

Suggested change
#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]>
@cvinayak cvinayak marked this pull request as draft October 14, 2025 13:20
@cvinayak cvinayak removed this from the v4.3.0 milestone Oct 14, 2025
@cvinayak cvinayak dismissed Thalley’s stale review October 14, 2025 13:27

pin toggles are not working... dismissing this review,

@cvinayak cvinayak force-pushed the github_nrf54l15dk_bt_ctlr_debug_pins branch from 17e3214 to 9c9087c Compare October 14, 2025 14:28
Add support for GPIO debug pins for nRF54L15DK.

Signed-off-by: Vinayak Kariappa Chettimada <[email protected]>
@cvinayak cvinayak force-pushed the github_nrf54l15dk_bt_ctlr_debug_pins branch from 9c9087c to 33bd0ef Compare October 16, 2025 08:39
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Bluetooth Controller area: Bluetooth Enhancement Changes/Updates/Additions to existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants