From 23353c0135cf304473b3cdde24b2a2ce56e16bfd Mon Sep 17 00:00:00 2001 From: tobozo Date: Wed, 10 Jan 2024 16:57:40 +0100 Subject: [PATCH] added platformio CI tests --- examples/Test_platformio/platformio.ini | 19 ++++++++++++++----- examples/Test_platformio/src/main.cpp | 7 ++++++- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/examples/Test_platformio/platformio.ini b/examples/Test_platformio/platformio.ini index 6c8f52e..98e662c 100644 --- a/examples/Test_platformio/platformio.ini +++ b/examples/Test_platformio/platformio.ini @@ -9,12 +9,21 @@ ; https://docs.platformio.org/page/projectconf.html [platformio] -default_envs = nodemcu +default_envs = esp8266 +[env] +framework = arduino +lib_deps = ESP32-targz -[env:nodemcu] +[env:esp8266] platform = espressif8266 board = nodemcu -framework = arduino -lib_deps = - https://github.com/tobozo/ESP32-targz#1.1.8 + +[env:esp32s3] +platform = espressif32@6.4.0 +board = esp32-s3-devkitc-1 + +[env:pico] +platform = https://github.com/maxgerhardt/platform-raspberrypi.git +board = pico +board_build.core = earlephilhower diff --git a/examples/Test_platformio/src/main.cpp b/examples/Test_platformio/src/main.cpp index a4f1a8f..23644c5 100644 --- a/examples/Test_platformio/src/main.cpp +++ b/examples/Test_platformio/src/main.cpp @@ -1,8 +1,13 @@ +#define DEST_FS_USES_SD + #include void setup() { - + if( !tarGzFS.begin() ) { + Serial.println("Could not start filesystem"); + while(1) yield(); + } }