Skip to main content

Download Source Code

The Source button in Smowcode allows you to download the complete source code for your project. This source code is written in C/C++.

How to Use:

  1. Download:

    • Click the Source button to download a ZIP file containing your project's source code. download source
  2. Extract:

    • Once downloaded, unzip the file to access the complete folder structure.
  3. Open in IDE:

    • Open the project in an IDE of your choice. For ESP32 development, we recommend:
      • VS Code (with ESP-IDF extension)
      • Eclipse
  4. Compile and Upload:

    • After making any modifications, compile the code and upload it to your ESP32 using your preferred toolchain (e.g., esptool.py or directly through your IDE).

Example Project Structure:

project-name/

├── main/
│ ├── main.c # Main application logic
│ ├── app_main.c # Entry point for ESP-IDF projects

├── components/ # Optional, for modular projects
│ └── sensor_driver/ # Custom sensor drivers

├── sdkconfig # Project-specific configuration
├── CMakeLists.txt # Build configuration
├── partition-table.csv # Partition layout configuration
└── bootloader/ # Bootloader files