How naufalmuafi/iot-project_midterm works
Project type and purpose
• This is an ESP-IDF based embedded firmware project targeting Espressif ESP32 variants.
• Its purpose is to read temperature/humidity data from a DHT22 sensor and render output on an SSD1306 display.
• The build system is CMake (via idf.py), and it follows the ESP-IDF component model.
File structure
• Top-level:
• .devcontainer/ & .vscode/: IDE/dev‐container configs
• CMakeLists.txt, sdkconfig: project root build and configuration
• components/: custom user components (DHT22 driver, SSD1306 driver)
• main/: application entrypoint (main.c) and its CMake setup
• components/DHT22/: source + headers for sensor driver
• components/ssd1306/: source + headers + projbuild Kconfig for display driver
• build/: generated build artifacts, partition table, bootloader, libraries
README
• Confirms this is the simplest “create-project” template example for ESP-IDF.
• Explains use of CMakeLists to declare source files and targets.
Detailed elements to capture
• Bootloader: small IDF bootloader image, configuration
• Partition Table: addresses of bootloader, app, NVS, etc.
• Application: main task + RTOS scheduler
• Peripherals: I2C driver instance, GPIO drivers
• Components: include header/implementation grouping