Skip to contentSkip to conversation

package/esp-hosted: drop BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32 choice

PATCH Applied Giulio Benetti 2 participants 2 messages Oct 3, 2025 – Jan 1

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/esp-hosted: drop BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32 choice

As pointed in this PR[0] ESP_SLAVE and CONFIG_TARGET_* became useless after commit [1] so let's drop the SoC Target choice. The SoC ID is automatically retrieved via SDIO commands, so no need to specify it.

[0]: https://github.com/espressif/esp-hosted/pull/668
[1]: https://github.com/espressif/esp-hosted/commit/b544b01e201bdef20c680a6902c1495e46dde1ff

---
 package/esp-hosted/Config.in     | 14 --------------
 package/esp-hosted/esp-hosted.mk |  6 ------
 2 files changed, 20 deletions(-)
package/esp-hosted/Config.in +0 -14
index 5abab73b57..42e1afa8c5 100644
@@ -28,18 +28,4 @@ config BR2_PACKAGE_ESP_HOSTED_SPI
 
 endchoice
 
-choice
-	prompt "Target"
-	default BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32
-	help
-	  Select which SoC Target driver is used for
-
-config BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32
-	bool "ESP32"
-
-config BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32C6
-	bool "ESP32C6"
-
-endchoice
-
 endif
package/esp-hosted/esp-hosted.mk +0 -6
index 965d3a5cc6..74fab6602b 100644
@@ -29,11 +29,5 @@ else
 ESP_HOSTED_MODULE_MAKE_OPTS = target=sdio
 endif
 
-ifeq ($(BR2_PACKAGE_ESP_HOSTED_TARGET_ESP32),y)
-ESP_HOSTED_MODULE_MAKE_OPTS += ESP_SLAVE=CONFIG_TARGET_ESP32=y
-else
-ESP_HOSTED_MODULE_MAKE_OPTS += ESP_SLAVE=CONFIG_TARGET_ESP32C6=y
-endif
-
 $(eval $(kernel-module))
 $(eval $(generic-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · On Fri, 3 Oct 2025 17:01:22 +0200 Giulio Benetti…

As pointed in this PR[0] ESP_SLAVE and CONFIG_TARGET_* became useless after commit [1] so let's drop the SoC Target choice. The SoC ID is automatically retrieved via SDIO commands, so no need to specify it.

Quoted 8 lines

[0]: https://github.com/espressif/esp-hosted/pull/668
[1]: https://github.com/espressif/esp-hosted/commit/b544b01e201bdef20c680a6902c1495e46dde1ff

---
 package/esp-hosted/Config.in     | 14 --------------
 package/esp-hosted/esp-hosted.mk |  6 ------
 2 files changed, 20 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot