ESP32 Examples

LOLIN32 Schematic
ESP32-WROOM-32 Datasheet

Arduino, ESP32 and 3 hardware serial ports
ESP32-Using-Hardware-Serial-Ports/ESP32_Using_Serial2.ino

exploreembedded.com

Hello World with ESP32 Explained
Binary Semaphore 01: Priority Inversion
Mutex Semaphore 02: Recursive Locks

techtutorialsx.com

ESP32: FreeRTOS counting semaphores
ESP32 Arduino: Creating a FreeRTOS task
ESP32 Arduino: FreeRTOS Queues

esp32developer.com

Programming in C/C++ / Console / printf

ESP32 Forum

Programming in C++
defaukt pins for uart1/2

ESP-IDF Debug

github.com/VirgiliaBeatrice/esp32-devenv-vscode/blob/master/tutorial.md, Setting Development Environment for ESP32 (Windows)
VSCode ESP32 debugging
VS Code ESP32 Debug (Preview)
VSCode JTAG Debugging of ESP32 – Part 1 (WSL!)

Arduino Debug

Add ESP32 to the Board Manager #621
Use Visual Studio Code for Arduino
Debugging ESP32 – JTAG Debugging ESP32 (with CLion)
ESP32 – Cheap Solution for in Circruit Debug (no PlatformIO)

CLion Debug

github.com/daniel-sullivan/clion-embedded-esp32, ESP32 MCU development plugin for JetBrains CLion
Some resources for using CLion to build ESP32 applications
clion project #2
ESP32, ESP-IDF, CMake & CLion
CMake with CLion – working!

ESP32
Arduino
Arduino Support

CLion + PlatformIO

CLion
A first program with ESP8266/ESP-01, CLion and PlatformIO
How to configure CLion Project #132
CLion and Arduino via Platform.IO
CLion + Arduino

PlatformIO Debug

ESP-MIKROCONTROLLER MIT VISUAL STUDIO CODE PROGRAMMIEREN
ESP32 BLE mit VS Code und PlatformIO
PIO Unified Debugger
TIAO USB Multi-Protocol Adapter (TUMPA)
Get started with Arduino and ESP32-DevKitC: debugging and unit testing
Debugging options
Debugging ESP32 – how?
ESP32dev – PIO Unified Debugger – setup problem

Crash / Stack Trace

Arduino Only!

me-no-dev/EspExceptionDecoder, Exception Stack Trace Decoder for ESP8266 and ESP32
krzychb/EspSaveCrash, Save exception details and stack trace anytime and anywhere the ESP8266 crashes

Capture stack trace and reset after startup? #1152
Understanding/Debugging Stack Smashing
Backtrace decoder for ESP32 #105
ESP8266 / ESP32: Place ISR in IRAM #38

Docs

Docs » API Reference » System API » Logging library
Docs » Get Started » IDF Monitor
Docs » Get Started » Establish Serial Connection with ESP32
Docs » API Reference » Peripherals API » UART
Docs » API Reference » System API » Inter-Processor Call
Docs » API Guides » JTAG Debugging

github

esp-idf/examples/peripherals/uart/uart_echo/main/uart_echo_example_main.c
esp-idf/examples/get-started/blink/main/blink.c
esp-idf/examples/peripherals/spi_slave/sender/main/app_main.c
esp-idf/examples/protocols/mdns/main/mdns_example_main.c

Leave a Reply

Your email address will not be published. Required fields are marked *