Skip to content

Commit

Permalink
Kconfig.console: add ESP_CONSOLE to indicate UART or USB_SERIAL are e…
Browse files Browse the repository at this point in the history
…nabled

Adding ESP_CONSOLE parameter to aggregate ESP_CONSOLE_UART and
ESP_CONSOLE_USB_SERIAL_JTAG

Signed-off-by: Marcio Ribeiro <marcio.ribeiro@espressif.com>
  • Loading branch information
wmrsouza authored and sylvioalves committed Jan 29, 2025
1 parent 5b46b4d commit c0b3802
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zephyr/Kconfig.console
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ config ESP_CONSOLE_UART_BAUDRATE
default $(ESP32_USB_SERIAL_CURR_SPEED) if $(dt_nodelabel_enabled,usb_serial) && $(dt_chosen_reg_addr_hex,$(DT_CHOSEN_Z_CONSOLE)) = $(dt_nodelabel_reg_addr_hex,usb_serial)
default 0

config ESP_CONSOLE
bool
default y if ESP_CONSOLE_UART || ESP_CONSOLE_USB_SERIAL_JTAG

endif # $(dt_chosen_enabled,$(DT_CHOSEN_Z_CONSOLE))

endif # SOC_FAMILY_ESPRESSIF_ESP32

0 comments on commit c0b3802

Please sign in to comment.