This repository contains multiple sample projects for ESP32 boards using the Zephyr RTOS. Each project demonstrates different features such as WiFi, Bluetooth, sensors, and secure boot with MCUboot.
mcuboot/
- Secure bootloader configuration and sourcessensor/
- Sensor demo applicationsmp/
- Simple Management Protocol (SMP) demo (Bluetooth, WiFi, sensor)wifi/
- WiFi demo application
Each project contains its own source code, configuration files, and build directories.
- ESP32 development board (e.g., ESP32 DevKitC, ESP32 Wrover)
- Zephyr SDK and toolchain installed
- CMake, west, and Python 3
-
Clone the repository:
git clone https://github.com/SudeKun/ESP32-Zephyr-Projects.git cd ESP32-Zephyr-Projects
-
Initialize Zephyr (if not done):
west init -l . west update
-
Build a sample project (e.g., wifi):
cd wifi west build -b esp32_devkitc_wrover
-
Flash to your board:
west flash
- mcuboot: Secure bootloader for ESP32
- sensor: Reads sensor data and outputs via UART
- smp: Demonstrates Bluetooth, WiFi, and sensor management
- wifi: Connects ESP32 to WiFi and runs HTTP/ping demos
Attribution: If you use this project, please credit the author: SudeKun.
Pull requests and issues are welcome!