Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation when uart console is disabled (GIT8266O-648) #1070

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion components/bootloader_support/src/bootloader_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,9 @@ void __assert_func(const char *file, int line, const char *func, const char *exp
* XTAL=40MHz, UART baudrate=115200 (default)
*/

#if CONFIG_ESP_CONSOLE_UART_NUM == 0
#ifdef CONFIG_ESP_CONSOLE_UART_NONE
# define ESP8266_MODIFY_UART_BAUDRATE 0
#elif CONFIG_ESP_CONSOLE_UART_NUM == 0
# if CONFIG_ESP8266_XTAL_FREQ == 26 && CONFIG_ESP_CONSOLE_UART_BAUDRATE == 74880
# define ESP8266_MODIFY_UART_BAUDRATE 0
# elif CONFIG_ESP8266_XTAL_FREQ == 40 && CONFIG_ESP_CONSOLE_UART_BAUDRATE == 115200
Expand Down