commit a92e75d3eeb15ff6cf57be3b7c3db664af8d2bea Author: IAteYourCookies Date: Sat Jul 12 13:31:13 2025 +0200 Initial Commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..525995f --- /dev/null +++ b/.gitignore @@ -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 diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 0000000..5bde1ce --- /dev/null +++ b/platformio.ini @@ -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 \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..6548935 --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,14 @@ +#include + +int myFunction(int, int); + +void setup() { + int result = myFunction(2, 3); +} + +void loop() { +} + +int myFunction(int x, int y) { + return x + y; +} \ No newline at end of file