@@ -16,6 +16,11 @@ menu "ESP Thread Border Router Example"
1616 help
1717 Integrated border router dev kit
1818
19+ config ESP_BR_BOARD_P4
20+ bool "ESP32-P4-Function-EV-Board"
21+ help
22+ P4 main processor (Ethernet) + C6 Thread radio co-processor
23+
1924 config ESP_BR_BOARD_M5STACK_CORES3
2025 bool "Border router M5Stack CoreS3"
2126 help
@@ -26,45 +31,53 @@ menu "ESP Thread Border Router Example"
2631 config PIN_TO_RCP_RESET
2732 int "Pin to RCP reset"
2833 default 7 if ESP_BR_BOARD_DEV_KIT
34+ default 7 if ESP_BR_BOARD_P4
2935 default 7 if ESP_BR_BOARD_M5STACK_CORES3
3036
3137 config PIN_TO_RCP_BOOT
3238 int "Pin to RCP boot"
3339 default 8 if ESP_BR_BOARD_DEV_KIT
40+ default 8 if ESP_BR_BOARD_P4
3441 default 18 if ESP_BR_BOARD_M5STACK_CORES3
3542
3643 config PIN_TO_RCP_TX
3744 int "Pin to RCP TX"
3845 default 17 if ESP_BR_BOARD_DEV_KIT
46+ default 4 if ESP_BR_BOARD_P4
3947 default 10 if ESP_BR_BOARD_M5STACK_CORES3
4048
4149 config PIN_TO_RCP_RX
4250 int "Pin to RCP RX"
4351 default 18 if ESP_BR_BOARD_DEV_KIT
52+ default 5 if ESP_BR_BOARD_P4
4453 default 17 if ESP_BR_BOARD_M5STACK_CORES3
4554
4655 config PIN_TO_RCP_CS
4756 depends on OPENTHREAD_RADIO_SPINEL_SPI
4857 int "Pin to RCP SPI CS"
4958 default 10 if ESP_BR_BOARD_DEV_KIT
59+ default 20 if ESP_BR_BOARD_P4
5060 default 13 if ESP_BR_BOARD_M5STACK_CORES3
5161
5262 config PIN_TO_RCP_SCLK
5363 depends on OPENTHREAD_RADIO_SPINEL_SPI
5464 int "Pin to RCP SPI SCLK"
5565 default 12 if ESP_BR_BOARD_DEV_KIT
66+ default 22 if ESP_BR_BOARD_P4
5667 default 36 if ESP_BR_BOARD_M5STACK_CORES3
5768
5869 config PIN_TO_RCP_MISO
5970 depends on OPENTHREAD_RADIO_SPINEL_SPI
6071 int "Pin to RCP SPI MISO"
6172 default 13 if ESP_BR_BOARD_DEV_KIT
73+ default 23 if ESP_BR_BOARD_P4
6274 default 35 if ESP_BR_BOARD_M5STACK_CORES3
6375
6476 config PIN_TO_RCP_MOSI
6577 depends on OPENTHREAD_RADIO_SPINEL_SPI
6678 int "Pin to RCP SPI MOSI"
6779 default 11 if ESP_BR_BOARD_DEV_KIT
80+ default 21 if ESP_BR_BOARD_P4
6881 default 37 if ESP_BR_BOARD_M5STACK_CORES3
6982 endmenu
7083
@@ -114,24 +127,28 @@ menu "ESP Thread Border Router Example"
114127 int "The number of external coexist request pin"
115128 depends on ESP_COEX_EXTERNAL_COEXIST_ENABLE && (EXTERNAL_COEX_WIRE_TYPE >= 0)
116129 default 12 if ESP_BR_BOARD_DEV_KIT
130+ default 22 if ESP_BR_BOARD_P4
117131 default 36 if ESP_BR_BOARD_M5STACK_CORES3
118132
119133 config EXTERNAL_COEX_GRANT_PIN
120134 int "The number of external coexist grant pin"
121135 depends on ESP_COEX_EXTERNAL_COEXIST_ENABLE && (EXTERNAL_COEX_WIRE_TYPE >= 1)
122136 default 13 if ESP_BR_BOARD_DEV_KIT
137+ default 23 if ESP_BR_BOARD_P4
123138 default 35 if ESP_BR_BOARD_M5STACK_CORES3
124139
125140 config EXTERNAL_COEX_PRIORITY_PIN
126141 int "The number of external coexist priority pin"
127142 depends on ESP_COEX_EXTERNAL_COEXIST_ENABLE && (EXTERNAL_COEX_WIRE_TYPE >= 2)
128143 default 10 if ESP_BR_BOARD_DEV_KIT
144+ default 20 if ESP_BR_BOARD_P4
129145 default 13 if ESP_BR_BOARD_M5STACK_CORES3
130146
131147 config EXTERNAL_COEX_TX_LINE_PIN
132148 int "The number of external coexist tx_line pin"
133149 depends on ESP_COEX_EXTERNAL_COEXIST_ENABLE && (EXTERNAL_COEX_WIRE_TYPE = 3)
134150 default 11 if ESP_BR_BOARD_DEV_KIT
151+ default 21 if ESP_BR_BOARD_P4
135152 default 37 if ESP_BR_BOARD_M5STACK_CORES3
136153 endmenu # External coexist wire type and pin config
137154
0 commit comments