mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
arch/xtensa: remove _info from startup of ESP32
Build Documentation / build-html (push) Has been cancelled
Build Documentation / build-html (push) Has been cancelled
During startup we should avoid using _info since the system is not fully initialized. Default to use ets_printf which is safe for this scenario. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
6f9d6f3d94
commit
c47a984b63
@@ -388,8 +388,8 @@ static noreturn_function void __esp32_start(void)
|
||||
|
||||
chip_rev = esp_efuse_hal_chip_revision();
|
||||
|
||||
_info("ESP32 chip revision is v%" PRId32 ".%01ld\n",
|
||||
chip_rev / 100, chip_rev % 100);
|
||||
ets_printf("ESP32 chip revision is v%" PRId32 ".%01ld\n",
|
||||
chip_rev / 100, chip_rev % 100);
|
||||
|
||||
if (chip_rev < 300)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user