vovagorodok / ArduinoBleOTA

Upload firmware over Bluetooth
MIT License
25 stars 9 forks source link

Publish library in platformio #14

Closed sdetweil closed 1 year ago

sdetweil commented 1 year ago

Error: Could not find the package with 'vovagorodok/ArduinoBleOTA' requirements for your system 'darwin_arm64' my platform.ini def

[env:esp32doit-devkit-v1-ota]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
lib_deps = 
    arduino-libraries/Arduino_JSON@^0.2.0
    adafruit/Adafruit VL53L1X@^3.1.0
        vovagorodok/ArduinoBleOTA

other libs worked ok..

vovagorodok commented 1 year ago

It still under development and ArduinoBleOta is not published in platformio yet. I'll publish it after all tests. Currently you can add full path:

https://github.com/vovagorodok/ArduinoBleOTA

instead of:

vovagorodok/ArduinoBleOTA

And remove full path when I publish ArduinoBleOTA in platformio

vovagorodok commented 1 year ago

Remember to add dependencies:

jandrassy/ArduinoOTA@^1.0.9
bakercp/CRC32@^2.0.0
h2zero/NimBLE-Arduino@^1.4.1
rlogiacco/CircularBuffer@^1.3.3
sdetweil commented 1 year ago

yes, added, shame platformio doesn't do recursive deps.. anyhow.. now have a build failure in the ArduinoOTA package..

vovagorodok commented 1 year ago

platformio doesn't do recursive deps..

should do by default after adding library.json Will be added soon in https://github.com/vovagorodok/ArduinoBleOTA/pull/11 (if not please add lib_ldf_mode = deep+ in platformio.ini)

build failure in the ArduinoOTA package..

Please show error

sdetweil commented 1 year ago

thx, fixed that