Initial Commit

This commit is contained in:
2025-07-12 13:31:13 +02:00
commit a92e75d3ee
3 changed files with 42 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
.vscode/extensions.json
include/README
test/README
lib/README

19
platformio.ini Normal file
View File

@ -0,0 +1,19 @@
; 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-s3-devkitc-1]
platform = espressif32
board = esp32-s3-devkitc-1
framework = arduino
board_upload.flash_size = 4MB
board_build.partitions = default.csv
build_flags =
-DARDUINO_USB_CDC_ON_BOOT=1
-DBOARD_HAS_PSRAM

14
src/main.cpp Normal file
View File

@ -0,0 +1,14 @@
#include <Arduino.h>
int myFunction(int, int);
void setup() {
int result = myFunction(2, 3);
}
void loop() {
}
int myFunction(int x, int y) {
return x + y;
}