kconfig: serial: esp32: Make driver depend on SOC_ESP32
The ESP32 UART driver can only be used on the ESP32 SoC AFAICT. But it did not have a depend clause so it was polluting the options of other platforms. With this patch the ESP32 driver will no longer be exposed to users of non-ESP32 devices. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
2c60df0786
commit
5eef82db68
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ menuconfig UART_ESP32
|
|||
bool "ESP32 UART driver"
|
||||
default n
|
||||
select SERIAL_HAS_DRIVER
|
||||
depends on SOC_ESP32
|
||||
help
|
||||
Enable the ESP32 UART using ROM routines.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue