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:
-
Download:
- Click the Source button to download a ZIP file containing your project's source code.
- Click the Source button to download a ZIP file containing your project's source code.
-
Extract:
- Once downloaded, unzip the file to access the complete folder structure.
-
Open in IDE:
- Open the project in an IDE of your choice. For ESP32 development, we recommend:
- VS Code (with ESP-IDF extension)
- Eclipse
- Open the project in an IDE of your choice. For ESP32 development, we recommend:
-
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