-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
esp32c3.rom.ld - no ets_write_char_uart() (IDFGH-5529) #7257
Comments
|
You didn't understand the report. There is no linker symbol 'ets_write_char_uart' in esp32c3.rom.ld. |
Hi @teuthid, even though ESP32-C3 ROM contains If you need to output characters to the console in an ESP-IDF application, you can use the UART driver. |
Hi @igrr, thanks for the detailed explanation. Unfortunately, I can't really use the UART component due to higher resource consumption. So I will probably need to use ets_printf() for ESP32-C3 (ugly hack). |
@teuthid would |
@atanisoft Yes, it works. Also on ESP32 and ESP32-S2. Thank you very much! Hopefully this function will not be removed in the next versions of ESP-IDF ;) |
Using uart_tx_one_char() instead of ets_write_char_uart(). |
Environment
Problem Description
There is no symbol ets_write_char_uart in esp32c3.rom.ld
Expected Behavior
Actual Behavior
Steps to reproduce
While linking:
undefined reference to `ets_write_char_uart'
Code to reproduce this issue
#include "esp_log.h"
void app_main()
{
ets_write_char_uart(any_character);
}
The text was updated successfully, but these errors were encountered: