ESP Logging in Arduino

meakash
Posts: 6
Joined: Sat Dec 17, 2022 6:32 am

ESP Logging in Arduino

Postby meakash » Mon Jun 19, 2023 11:29 am

How does ESP Logging work? Is it non-blocking, if not, is there any non Blocking Logging?

How much ever I read, I get different answers, so please help

lbernstone
Posts: 829
Joined: Mon Jul 22, 2019 3:20 pm

Re: ESP Logging in Arduino

Postby lbernstone » Mon Jun 19, 2023 4:57 pm

ets_printf should be used in critical sections and interrupts.
include code:
https://github.com/espressif/arduino-es ... .c#L29-L56

Who is online

Users browsing this forum: No registered users and 119 guests