esp-mdf 禁用logout报错!

suifan
Posts: 23
Joined: Mon Mar 09, 2020 10:59 am

esp-mdf 禁用logout报错!

Postby suifan » Fri Sep 03, 2021 10:39 am

因为esp32的三个串口在项目中都占用了,所以要禁用log输出。
通过下面的配置后,编译报错。
2.jpg
2.jpg (151.95 KiB) Viewed 21094 times
1.jpg
1.jpg (82.82 KiB) Viewed 21094 times
错误信息:
esp-mdf/components/mdebug/mdebug_console.c:82:25: error: 'CONFIG_CONSOLE_UART_BAUDRATE' undeclared (first use in this function)
.baud_rate = CONFIG_CONSOLE_UART_BAUDRATE,

mdf版本:release/v1.0

suifan
Posts: 23
Joined: Mon Mar 09, 2020 10:59 am

Re: esp-mdf 禁用logout报错!

Postby suifan » Sat Sep 11, 2021 2:45 am

怀疑是软件的bug,有没有解决方案呢? :?:

suifan
Posts: 23
Joined: Mon Mar 09, 2020 10:59 am

Re: esp-mdf 禁用logout报错!

Postby suifan » Tue Sep 14, 2021 12:15 pm

:?: :?: :?:

suifan
Posts: 23
Joined: Mon Mar 09, 2020 10:59 am

Re: esp-mdf 禁用logout报错!

Postby suifan » Wed Sep 15, 2021 6:08 am

采用的是esp-mdf/examples/function_demo/mwifi下的router,配置无输出后报错。

ESP_Sunshine
Posts: 20
Joined: Wed May 19, 2021 12:48 pm

Re: esp-mdf 禁用logout报错!

Postby ESP_Sunshine » Fri Mar 18, 2022 8:58 am

您好,

这个出错的是当你关闭 output log输出的时候, 此 CONFIG_CONSOLE_UART_BAUDRATE 没有定义了。你可以直接给他传一个定值就可以了。

Who is online

Users browsing this forum: No registered users and 8 guests