I’m using VSCode .platformio extension in Windows10.
Everything works normal except one arduino project from GITHUB.
The “Scanning dependencies” procedure takes more than 90 seconds every build, even I had never modified one single line of code.
Have tried to stop the Antivirus monitoring or use a more powerful PC, didn’t work.
VSCode version:
Version: 1.84.2 (user setup)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
PlatformIO Core 6.1.11
paltformio.ini
[env:esp32]
platform = espressif32 @ 6.4.0
framework = arduino
board = dfrobot_firebeetle2_esp32e
board_build.partitions = huge_app.csv
monitor_speed = 115200
upload_speed = 921600
lib_deps =
adafruit/Adafruit BME280 Library @ ^2.2.2
adafruit/Adafruit BusIO @ ^1.11.2
adafruit/Adafruit Unified Sensor @ ^1.1.5
bblanchon/ArduinoJson @ ^6.19.3
zinggjm/GxEPD2 @ ^1.4.5
and building logs:
* Executing task: C:\Users\Ahe\.platformio\penv\Scripts\platformio.exe run --environment esp32
Processing esp32 (platform: espressif32 @ 6.4.0; framework: arduino; board: dfrobot_firebeetle2_esp32e)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/dfrobot_firebeetle2_esp32e.html
PLATFORM: Espressif 32 (6.4.0) > DFRobot Firebeetle 2 ESP32-E
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:
- framework-arduinoespressif32 @ 3.20011.230801 (2.0.11)
- tool-esptoolpy @ 1.40501.0 (4.5.1)
- toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 40 compatible libraries
Scanning dependencies...
Dependency Graph
|-- Adafruit BME280 Library @ 2.2.2
|-- Adafruit BusIO @ 1.14.5
|-- Adafruit Unified Sensor @ 1.1.13
|-- ArduinoJson @ 6.21.3
|-- pollutant-concentration-to-aqi
|-- HTTPClient @ 2.0.0
|-- SPI @ 2.0.0
|-- WiFi @ 2.0.0
|-- WiFiClientSecure @ 2.0.0
|-- Preferences @ 2.0.0
|-- Wire @ 2.0.0
|-- GxEPD2 @ 1.5.3
Building in release mode
Retrieving maximum program size .pio\build\esp32\firmware.elf
Checking size .pio\build\esp32\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM: [=== ] 30.7% (used 100544 bytes from 327680 bytes)
Flash: [==== ] 39.4% (used 1239817 bytes from 3145728 bytes)
==================================================================== [SUCCESS] Took 126.26 seconds ====================================================================