I'm struggling to find a solution about totally suppress log output. Here the steps I've done for now:
- Bootloader config (from menuconfig): No output
- Log output (from menuconfig): No output
But I'm using ESP32-S2 and it doesn't seem to work.
Looking at the Technical Reference I discovered that I can disable the ROM Code Printing to UART by changing the eFuse bits.
In particular I see the point (by using the idf.py show_efuse_table):
Code: Select all
UART_PRINT_CONTROL, EFUSE_BLK0, 134, 2, b00:force print. b01:control by GPIO46 - low level print. b10:control by GPIO46 - high level print. b11:force disable print.
Code: Select all
Used bits in efuse table:
EFUSE_BLK0
[0 13] [15 16] [18 18] [20 30] [32 47] [49 51] [56 57] [59 60] [68 70] [80 111] [116 117] [124 130] [132 154]
The question is: am I looking at the right direction? Is there another way to disable the output log of the first stage bootloader?
Thanks in advance,
Filippo