diff --git a/.gitignore b/.gitignore index 2a143187..cdb0f107 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,9 @@ Thumbs.db *.orig embedded/node_modules embedded/dist +.pio +.pioenvs +.piolibdeps +.vscode/.browse.c_cpp.db* +.vscode/c_cpp_properties.json +.vscode/launch.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..272828b5 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "platformio.platformio-ide" + ] +} \ No newline at end of file diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 00000000..d2899738 --- /dev/null +++ b/platformio.ini @@ -0,0 +1,35 @@ +; 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 + +[platformio] +src_dir = esp3d +build_dir = .pioenvs +lib_dir = libraries +libdeps_dir = .piolibdeps +env_default = esp32dev + + +[env:esp32dev] +platform = espressif32 +;theboard +board = esp32dev +framework = arduino +monitor_speed = 115200 +; set frequency to 240MHz +board_build.f_cpu = 240000000L +; set frequency to 80MHz +board_build.f_flash = 80000000L +board_build.flash_mode = qio +; None +build_flags = -DCORE_DEBUG_LEVEL=0 +board_build.partitions = min_spiffs.csv +upload_speed = 115200 +lib_ignore = + ESPAsyncTCP