-
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?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
@@ -1,13 +1,27 @@ | ||||||||
/* | ||||||||
* Copyright (c) 2016-2020 Nordic Semiconductor ASA | ||||||||
* Copyright (c) 2016-2025 Nordic Semiconductor ASA | ||||||||
* Copyright (c) 2016 Vinayak Kariappa Chettimada | ||||||||
* | ||||||||
* SPDX-License-Identifier: Apache-2.0 | ||||||||
*/ | ||||||||
|
||||||||
#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) | ||||||||
#define DEBUG_PORT NRF_P1 /* Pin header/connector labeled "PORT P1" or "P1" on DK */ | ||||||||
#define DEBUG_PIN0 BIT(7) /* overlaps CTS1, FIXME */ | ||||||||
#define DEBUG_PIN1 BIT(8) | ||||||||
#define DEBUG_PIN2 BIT(9) | ||||||||
#define DEBUG_PIN3 BIT(10) | ||||||||
#define DEBUG_PIN4 BIT(10) | ||||||||
#define DEBUG_PIN5 BIT(11) | ||||||||
#define DEBUG_PIN6 BIT(11) | ||||||||
#define DEBUG_PIN7 BIT(12) | ||||||||
#define DEBUG_PIN8 BIT(13) | ||||||||
#define DEBUG_PIN9 BIT(14) | ||||||||
#elif defined(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP) || \ | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||||
defined(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP_NS) || \ | ||||||||
defined(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET) | ||||||||
#define DEBUG_PORT NRF_P1 | ||||||||
#define DEBUG_PIN_IDX0 0 | ||||||||
#define DEBUG_PIN_IDX1 1 | ||||||||
|
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.