Initialisation du projet PlatformIO pour ESP32-C3

Squelette de base : platformio.ini (board esp32-c3-devkitm-1, framework Arduino), src/main.cpp, .gitignore.
This commit is contained in:
2026-08-01 14:19:58 +02:00
commit 9cd046f65c
3 changed files with 28 additions and 0 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

15
platformio.ini Normal file
View File

@ -0,0 +1,15 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32-c3-devkitm-1]
platform = espressif32
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200

8
src/main.cpp Normal file
View File

@ -0,0 +1,8 @@
#include <Arduino.h>
void setup() {
Serial.begin(115200);
}
void loop() {
}