Esp32-hal-uart.c:153:9: warning: 'return' with no value

Hi @Doc_Arduino. The "esp32" boards platform developers are tracking this defect here:

If you have a GitHub account, you can subscribe to that issue to get notifications of any new developments related to this subject:

image

Here it is:

https://github.com/arduino/arduino-esp32/blob/arduino_nano_esp32/cores/esp32/esp32-hal-uart.c

The only difference between the releases of the "Arduino ESP32 Boards" platform and the "esp32" boards platform is that support for all boards other than the Nano ESP32 is stripped out.

The reason Arduino maintains a fork of the platform for the Nano ESP32 board is to provide a slightly more polished user experience for those using a Nano ESP32. The "esp32" platform has support for a large number of boards, which is awesome, but also might be overwhelming for a less experienced user. So for someone who only uses the Nano ESP32 board, I would say the "Arduino ESP32 Boards" platform is slightly better. But if you are using multiple different models of ESP32 boards or microcontrollers then the "esp32" platform will be better.

Something to note is that all development is done in the espressif/arduino-esp32 repository. So if you are interested in submitting bug reports or code contributions to the platform, or beta testing the latest development version, you should use that repository.