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 […]

Read More

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. […]

Read More

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 […]

Read More

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

Read More

launch.json

Visual Studio Code uses .vscode/launch.json to configure debug Specifications in: Visual Studio Code Debugging. Default launch.json contents

Read More

Compiler

Config UI Command Pallet (CTRL + SHIFT + P) > Edit Configurations UI This will give you a UI view, instead of editing the c_cpp_properties.json file directly Compiler config files .vscode/c_cpp_properties.json https://code.visualstudio.com/docs/cpp/c-cpp-properties-schema-reference Include Paths .vscode/c_cpp_properties.json > “includePath” /** on the end of a path makes it recursive, meaning that all sub directories will also be […]

Read More