1 /*
2  * SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #pragma once
8 
9 /**
10  * @brief Initialize console output (UART or USB)
11  */
12 void bootloader_console_init(void);
13 
14 /**
15  * @brief Flush and otherwise de-initialize console output.
16  */
17 void bootloader_console_deinit(void);
18 
19 /**
20  * @brief "Write character to USB" function for ets_install_putc1.
21  * Only defined if USB CDC is used for console output.
22  */
23 void bootloader_console_write_char_usb(char c);
24