https://embetronicx.com/tutorials/rtos/nuttx/esp32-led-blinky-example-using-nuttx-rtosown-app-and-driver/
ESP32 LED Blinky Example using NuttX RTOS(own app and driver)