Hi,
My app does most of its job in the wake stub, called when waking up from deep sleep (the reason is to be as reactive as possible, and to save as much energy as possible).
As the board it not fully initialized yet at that time, limited functionality is available from the wake stub, but ets_printf can be used.
The thing is, right after wakeup, the MacOS USB port used to power and communicate with the board has been disconnected on deep-sleep entry, and is not re-connected yet, so idf.py monitor
is not able to output what is printed from the wake stub.
I guess I should use another UART, and plug a separate UART/USB device. However:
- which other ESP32 UART should I use, and which TX pin?
- how can I configure the system so that ets_printf uses that UART instead of the default one (#0 I believe?)?
- do you have any other (simpler) approach to recommend?
Many thanks!