Giter VIP home page Giter VIP logo

Comments (9)

JAndrassy avatar JAndrassy commented on August 26, 2024

platform.io doesn't process platform.local.txt copied from extras folder next to platform.txt?

from arduinoota.

pantata avatar pantata commented on August 26, 2024

from arduinoota.

JAndrassy avatar JAndrassy commented on August 26, 2024

nieco ako
packages/arduino/tools/arduinoOTA/1.3.0/bin

from arduinoota.

pantata avatar pantata commented on August 26, 2024

Neni tam. A jak se divam do kodu build scriptu main.py a arduino.py, tak mi pripada, ze to konfigurace desek a programatoru bere z vlastnich json souboru a ne z boards.txt.

V kazdem pripade, to co jsem postnul nahore funguje, jeste to asi pujde zjednodusit pomoci UPLOAD_COMMAND primo v platformio.ini projektu (vyzkousim vecer).

from arduinoota.

JAndrassy avatar JAndrassy commented on August 26, 2024

to summarize in english, platformio doesn't use the platform.txt file of Arduino boards packages

from arduinoota.

maxgerhardt avatar maxgerhardt commented on August 26, 2024

For reference: I did build a reference PlatformIO + ESP32 + Ethernet (W5500) + OTA demo here: https://github.com/maxgerhardt/pio-esp32-ethernet-ota

For ESP32 it also seems that the Ethernet library needs some extra fixes (ref) in the latest version, which I have included my version.

Also @JAndrassy, where's the magical arduinoOTA binary?

https://github.com/jandrassy/ArduinoOTA/blob/ffb0d462d8e961ed52920fa8775cda3e0d3078c7/extras/esp32/platform.local.txt#L4

I coudln't find it in https://github.com/espressif/arduino-esp32/.

Calling into curl is not the best way yet to add PlatformIO integration, since we cannot assume that to be installed (especially not on Windows). A general Python script would be better. I guess a script using python-requests could be built that simply executes the POST request like CURL does?

from arduinoota.

JAndrassy avatar JAndrassy commented on August 26, 2024

Also @JAndrassy, where's the magical arduinoOTA binary?

https://github.com/jandrassy/ArduinoOTA/blob/ffb0d462d8e961ed52920fa8775cda3e0d3078c7/extras/esp32/platform.local.txt#L4

I coudln't find it in https://github.com/espressif/arduino-esp32/.

in ArduinoIDE and in Eclipse the upload tool is installed with Arduino's AVR and SAMD boards packages. the AVR boards package is bundled with IDE so the tool is always there.

from arduinoota.

JAndrassy avatar JAndrassy commented on August 26, 2024

this library was on my request removed from PlatformIO library register

from arduinoota.

pscott-ams avatar pscott-ams commented on August 26, 2024

For reference: I did build a reference PlatformIO + ESP32 + Ethernet (W5500) + OTA demo here: https://github.com/maxgerhardt/pio-esp32-ethernet-ota

@maxgerhardt I've posted an issue on your github page about not being able to connect to the IP/port when trying to upload with OTA. Could you take a look at it please?

from arduinoota.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.