feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print

This commit is contained in:
Konstantin Kondrashov
2024-05-22 17:42:03 +03:00
parent 60532e7a80
commit a3be04a087
36 changed files with 516 additions and 289 deletions

View File

@@ -90,3 +90,11 @@ config ESP_ROM_USB_SERIAL_DEVICE_NUM
config ESP_ROM_HAS_VERSION
bool
default y
config ESP_ROM_HAS_VPRINTF_FUNC
bool
default y
config ESP_ROM_HAS_OUTPUT_PUTC_FUNC
bool
default y

View File

@@ -28,3 +28,5 @@
#define ESP_ROM_USB_OTG_NUM (-1) // No USB_OTG CDC in the ROM, set -1 for Kconfig usage.
#define ESP_ROM_USB_SERIAL_DEVICE_NUM (-1) // No USB_SERIAL_JTAG in the ROM, set -1 for Kconfig usage.
#define ESP_ROM_HAS_VERSION (1) // ROM has version/eco information
#define ESP_ROM_HAS_VPRINTF_FUNC (1) // ROM has ets_vprintf
#define ESP_ROM_HAS_OUTPUT_PUTC_FUNC (1) // ROM has esp_rom_output_putc (or ets_write_char_uart)