mariolukas / Bluetti_ESP32_Bridge

Bluetti Power Station ESP32 Bluetooth to MQTT Bridge
GNU General Public License v3.0
88 stars 29 forks source link

Help required for installation via PlatformIO #59

Open ChrisKu1 opened 1 year ago

ChrisKu1 commented 1 year ago

Hello all together,

Quite new in learning how to flash an ESP32 I am trying to use VSCode and platformIO extension to flkash the ESP32.

Right now I made following steps:

In detail: The terminal shows the following

Executing task in folder Bluetti: C:\Users\ich\.platformio\penv\Scripts\platformio.exe run 

Processing esp32dev (platform: espressif32; board: esp32dev; framework: arduino)
-------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.2.0) > Espressif ESP32 Dev Module
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.20008.0 (2.0.8)
 - 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 42 compatible libraries
Scanning dependencies...
Dependency Graph
|-- WiFiManager @ 2.0.15-rc.1
|-- PubSubClient @ 2.8.0
|-- ESP Async WebServer @ 1.2.3
|-- AsyncElegantOTA @ 2.2.7
|-- NimBLE-Arduino @ 1.4.1
|-- Adafruit SSD1306 @ 2.5.7
|-- Adafruit GFX Library @ 1.11.5
|-- Adafruit BusIO @ 1.14.1
|-- Wire @ 2.0.0
|-- SPI @ 2.0.0
Error: Nothing to build. Please put your source code files to the 'C:\Users\ich\Documents\PlatformIO\Projects\Bluetti\Bluetti_ESP32' folder
========================= [FAILED] Took 3.07 seconds =========================

 *  The terminal process "C:\Users\ich\.platformio\penv\Scripts\platformio.exe 'run'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it. Executing task in folder Bluetti: C:\Users\ich\.platformio\penv\Scripts\platformio.exe run

I'd appreciate if anyone could give me a hint what I am doing wrong here Thanks a lot and best regards Chris

kgooris commented 1 year ago

Hi, Please try to import the whole git repo as is, and import that into platform.io. It should build just fine.