All posts by
Programming with VS Code
ESP-IDF Build, Flash and Monitor To exit from IDF monitor use “Ctrl+]”
Default IDLE# tasks watchdog timer
First read the Tasks basic on this page, to understand the basic tasks based approach of the ESP-IDF / FreeRTOS. IDLE Watchdog The ESP-IDF created task for each CPU core (called “IDLE0”, and “IDLE 1” if there is a second core) are idle tasks that reset watchdog timeout whenever that respective core is idling. This […]
CMakeLists.txt
ESP-IDF uses the CMake build automation tool and if you created your project from one of the sample projects you will have the necessary “CMakeLists.txt” files. These contain the instructions describing the project sources files and targets. Which CMakeLists.txt file is used for what ? The CMake project hierarchy in ESP IDF is a bit […]
Help and resources
ESP resources Espressif Build System documentation
Project (& ESP32) settings
Rename (or move) project Close the project then rename its folder. Delete the \build\ directory so you delete the compiler cache etc. Open CMakeLists.txt in your project root and update: project(MyProjectName) Configure project SDK Configuration editor Menu > View > Command Palette > Type: “ESP-IDF: SDK Configuration editor” (or use CTRL+E then G)Wait for it […]
Connecting to blockchains
Web3 and blockchain is an emerging set of technologies that provide all sorts of capabilities. Blockchains are public and that means they are accessible to your embedded devices that are internet-connected. If you’re new to this topic, there’s a great guide on blockchains over at Simple Cardano, plus useful links for developers here.
Sleep wake-up pins
You can use an external interrupt to wake up the ESP32 from deep sleep. There are two types of external wake-ups in the ESP32. Only Real-time clock or RTC input-output pins can be used as a wake up source and you need to make sure that during deep sleep the RTC peripherals are powered ON. […]
Espressif Datasheets
Espressif main documentation page Espressif Documentation Page ESP32 S2 ESP32 S2 Series Datasheet ESP32 S2 Technical Reference Manual ESP32 S3 ESP32 S3 Series Datasheet ESP32 S3 Technical Reference Manual ESP32-S3 Series SoC Errata ESP32 C2 (ESP8684) The ESP8684 is essentially the ESP32-C2 chip + flash embedded together in a single QFN package. Therefore the documentation […]
Peripheral pins assignments
See the S# series datasheet for the ESP device you are using > Peripheral Pin Configurations This will confirm exactly which pins can be used ESP S2 Series Datasheet ESP S3 Series Datasheet Technical Reference Manual ESP S2 Technical Reference Manual ESP S3 Technical Reference Manual