Skip to content

Commit 3339ff2

Browse files
committed
esp_cpu: rename Kconfig entry accordingly
Use ESP32_BT_CTLR_PINNED_TO_CORE as reference for the interrupt descriptor table. Signed-off-by: Sylvio Alves <[email protected]>
1 parent b6ed953 commit 3339ff2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/esp_hw_support/port/esp32/esp_cpu_intr.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ typedef struct {
4949

5050
/**
5151
* @brief Reserve the interrupts on the core where Bluetooth will run.
52-
* The macro CONFIG_BTDM_CTRL_PINNED_TO_CORE is only defined if Bluetooth controller is enabled.
52+
* The macro CONFIG_ESP32_BT_CTLR_PINNED_TO_CORE is only defined if Bluetooth controller is enabled.
5353
* It is set to the core where it will run.
5454
*/
55-
#ifdef CONFIG_BTDM_CTRL_PINNED_TO_CORE
56-
#if CONFIG_BTDM_CTRL_PINNED_TO_CORE == 0
55+
#ifdef CONFIG_ESP32_BT_CTLR_PINNED_TO_CORE
56+
#if CONFIG_ESP32_BT_CTLR_PINNED_TO_CORE == 0
5757
/* Interrupt 1 is used by Bluetooth UART HCI, check code above */
5858
#define CORE_0_INTERRUPT_1 STATE_INTERRUPT_1
5959
#define CORE_1_INTERRUPT_1 0
@@ -69,7 +69,7 @@ typedef struct {
6969
/* Interrupt 25 may be used by Bluetooth BR/EDR and BLE controller */
7070
#define CORE_0_INTERRUPT_25 STATE_INTERRUPT_25
7171
#define CORE_1_INTERRUPT_25 0
72-
#elif CONFIG_BTDM_CTRL_PINNED_TO_CORE == 1
72+
#elif CONFIG_ESP32_BT_CTLR_PINNED_TO_CORE == 1
7373
/* Interrupt 1 is used by Bluetooth UART HCI, check code above */
7474
#define CORE_0_INTERRUPT_1 0
7575
#define CORE_1_INTERRUPT_1 STATE_INTERRUPT_1

0 commit comments

Comments
 (0)