From 3c5d8e9164d79c96598a9de9d0b26f6b92cf68ff Mon Sep 17 00:00:00 2001 From: Jan Delgado Date: Wed, 25 Dec 2024 13:45:59 +0100 Subject: [PATCH] pin lib versions (#12) --- cjmcu_8x8_sample/platformio.ini | 4 ++-- esp32_ttgo/platformio.ini | 4 ++-- heltec_wifi_lora32/platformio.ini | 4 ++-- pca9685/platformio.ini | 7 +++---- sipeed_longan_nano/{platformio.ini => platformio.ini-off} | 2 ++ ssd1306_sample_adafruit/platformio.ini | 6 +++--- ssd1306_sample_u8g/platformio.ini | 4 ++-- wemos_d_duino/platformio.ini | 4 ++-- 8 files changed, 18 insertions(+), 17 deletions(-) rename sipeed_longan_nano/{platformio.ini => platformio.ini-off} (72%) diff --git a/cjmcu_8x8_sample/platformio.ini b/cjmcu_8x8_sample/platformio.ini index 270b673..0b58bc2 100644 --- a/cjmcu_8x8_sample/platformio.ini +++ b/cjmcu_8x8_sample/platformio.ini @@ -9,12 +9,12 @@ ; http://docs.platformio.org/page/projectconf.html [platformio] -env_default = nanoatmega328 +default_envs = nanoatmega328 src_dir = . [env:nanoatmega328] platform = atmelavr board = nanoatmega328 framework = arduino -lib_deps=FastLED +lib_deps=fastled/FastLED@3.9.3 diff --git a/esp32_ttgo/platformio.ini b/esp32_ttgo/platformio.ini index a6b0f22..eb799b3 100644 --- a/esp32_ttgo/platformio.ini +++ b/esp32_ttgo/platformio.ini @@ -1,10 +1,10 @@ [platformio] -env_default = esp32 +default_envs = esp32 src_dir = . [env:esp32] platform = espressif32 board = esp32dev framework = arduino -lib_deps=U8g2 +lib_deps=olikraus/U8g2@2.36.2 diff --git a/heltec_wifi_lora32/platformio.ini b/heltec_wifi_lora32/platformio.ini index a6b0f22..8462371 100644 --- a/heltec_wifi_lora32/platformio.ini +++ b/heltec_wifi_lora32/platformio.ini @@ -1,10 +1,10 @@ [platformio] -env_default = esp32 +default_envs = esp32 src_dir = . [env:esp32] platform = espressif32 board = esp32dev framework = arduino -lib_deps=U8g2 +lib_deps=olikraus/U8g2@2.36.1 diff --git a/pca9685/platformio.ini b/pca9685/platformio.ini index 661e709..820ed8e 100644 --- a/pca9685/platformio.ini +++ b/pca9685/platformio.ini @@ -12,12 +12,11 @@ default_envs = esp32 src_dir = . - [env:esp32] platform = espressif32 board = esp32dev framework = arduino -lib_ldf_mode = chain+ -lib_deps=30 - Wire +lib_ldf_mode = deep+ +lib_deps = adafruit/Adafruit PWM Servo Driver Library@3.0.2 + adafruit/Adafruit BusIO@1.16.2 diff --git a/sipeed_longan_nano/platformio.ini b/sipeed_longan_nano/platformio.ini-off similarity index 72% rename from sipeed_longan_nano/platformio.ini rename to sipeed_longan_nano/platformio.ini-off index bfc5bc3..4cc3393 100644 --- a/sipeed_longan_nano/platformio.ini +++ b/sipeed_longan_nano/platformio.ini-off @@ -2,6 +2,8 @@ env_default = sipeed_longan_nano src_dir = . +; no longer works an platformio does not support arduino framework +; for the sipeed-longan-nano using the nuclei sdk. [env:sipeed_longan_nano] platform = gd32v board = sipeed-longan-nano diff --git a/ssd1306_sample_adafruit/platformio.ini b/ssd1306_sample_adafruit/platformio.ini index 1c5b4f0..43975d9 100644 --- a/ssd1306_sample_adafruit/platformio.ini +++ b/ssd1306_sample_adafruit/platformio.ini @@ -1,11 +1,11 @@ [platformio] -env_default = nanoatmega328 +default_envs = nanoatmega328 src_dir = . [env:nanoatmega328] platform = atmelavr board = nanoatmega328 framework = arduino -lib_deps=13 - 135 +lib_deps = adafruit/Adafruit GFX Library@1.11.11 + adafruit/Adafruit SSD1306@2.5.13 diff --git a/ssd1306_sample_u8g/platformio.ini b/ssd1306_sample_u8g/platformio.ini index 95dfd47..694a751 100644 --- a/ssd1306_sample_u8g/platformio.ini +++ b/ssd1306_sample_u8g/platformio.ini @@ -1,10 +1,10 @@ [platformio] -env_default = nanoatmega328 +default_envs = nanoatmega328 src_dir = . [env:nanoatmega328] platform = atmelavr board = nanoatmega328 framework = arduino -lib_deps=U8glib +lib_deps=olikraus/U8glib@1.19.1 diff --git a/wemos_d_duino/platformio.ini b/wemos_d_duino/platformio.ini index baef16e..39c3ba8 100644 --- a/wemos_d_duino/platformio.ini +++ b/wemos_d_duino/platformio.ini @@ -1,9 +1,9 @@ [platformio] -env_default = esp8266 +default_envs = esp8266 src_dir = . [env:esp8266] platform = espressif8266 board = nodemcuv2 framework = arduino -lib_deps=U8g2 +lib_deps=olikraus/U8g2@2.36.1