Skip to content

Commit d3eefe0

Browse files
committed
feat(wifi_remote): Make C6 slave default for P4 targets
1 parent 73be986 commit d3eefe0

File tree

10 files changed

+21
-1
lines changed

10 files changed

+21
-1
lines changed

components/esp_wifi_remote/idf_tag_v5.3.1/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_tag_v5.3.2/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_tag_v5.3.3/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_tag_v5.4.1/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_tag_v5.4/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_v5.3/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_v5.4/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_v5.5/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/idf_v6.0/Kconfig.slave_select.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is auto-generated
22
choice SLAVE_IDF_TARGET
33
prompt "choose slave target"
4+
default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases
45
default SLAVE_IDF_TARGET_ESP32
6+
57
config SLAVE_IDF_TARGET_ESP32
68
bool "esp32"
79
config SLAVE_IDF_TARGET_ESP32S2

components/esp_wifi_remote/scripts/generate_and_check.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,9 @@ def generate_kconfig_wifi_caps(idf_path, idf_ver_dir, component_path):
185185
slave.write(f'# {AUTO_GENERATED}\n')
186186
slave.write(' choice SLAVE_IDF_TARGET\n')
187187
slave.write(' prompt "choose slave target"\n')
188-
slave.write(' default SLAVE_IDF_TARGET_ESP32\n')
188+
slave.write(' default SLAVE_IDF_TARGET_ESP32C6 if IDF_TARGET_ESP32P4 # To support common use-cases\n')
189+
slave.write(' default SLAVE_IDF_TARGET_ESP32\n\n')
190+
189191
for slave_target in SUPPORTED_TARGETS + PREVIEW_TARGETS:
190192
add_slave = False
191193
kconfig_content = []

0 commit comments

Comments
 (0)