``` git.repo/bleskomat [ make upload master ] 11:08 PM cd ./device && npm run compile:upload > bleskomat-device@1.0.0 compile:upload /home/user/projects/bleskomat/git.repo/bleskomat/device > platformio run --upload-port /dev/ttyUSB0 --target upload Processing bleskomat32 (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 (2.0.0) > Espressif ESP32 Dev Module HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash DEBUG: Current (esp-prog) External (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.10004.200129 (1.0.4) - tool-esptoolpy 1.20600.0 (2.6.0) - tool-mkspiffs 2.230.0 (2.30) - toolchain-xtensa32 2.50200.80 (5.2.0) LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf LDF Modes: Finder ~ chain, Compatibility ~ soft Found 28 compatible libraries Scanning dependencies... Dependency Graph |-- 0.0.1 |-- 2.2.21 | |-- 1.0 | | |-- 1.0 | |-- 1.0 | |-- 1.0 |-- 1.0 Building in release mode Retrieving maximum program size .pio/build/bleskomat32/firmware.elf Checking size .pio/build/bleskomat32/firmware.elf Advanced Memory Usage is available via "PlatformIO Home > Project Inspect" RAM: [= ] 6.7% (used 21932 bytes from 327680 bytes) Flash: [==== ] 40.0% (used 523787 bytes from 1310720 bytes) Configuring upload protocol... AVAILABLE: esp-prog, espota, esptool, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa CURRENT: upload_protocol = esptool Looking for upload port... Use manually specified: /dev/ttyUSB0 Uploading .pio/build/bleskomat32/firmware.bin esptool.py v2.6 Serial port /dev/ttyUSB0 Connecting........_____....._____....._____....._____....._____....._____....._____ A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header *** [upload] Error 2 ================================================= [FAILED] Took 24.51 seconds ================================================= npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bleskomat-device@1.0.0 compile:upload: `platformio run --upload-port /dev/ttyUSB0 --target upload` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bleskomat-device@1.0.0 compile:upload script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /home/user/.npm/_logs/2020-10-02T21_08_54_228Z-debug.log make: *** [Makefile:62: upload] Error 1 ``` trochu som sa zasekol ( https://github.com/samotari/bleskomat#installing-libraries-and-dependencies ) netusite co mi tam chyba, lebo node_modules znie skor ako generic name, neviem najst nic konkretne 21.03pre244416.daaa0e33505 (Okapi)