Post topics, source code that relate to the Arduino Platform

User avatar
By msuppo
#83822 Hello,

I'm one of the developer at Arduino behind https://create.arduino.cc

In Arduino Create we try to simplify the user experience by installing on their system only the bare minimum necessary to upload code onto a board (the compilation is done remotely on our servers).

We are encountering some issues with esp8266@v2.5.1 and maybe you can help:

this is the upload pattern for esptool

Code: Select alltools.esptool.upload.pattern={runtime.tools.python.path}/python {runtime.platform.path}/tools/upload.py" ...


Our api parses it and recognizes that:
- there's a dependency on a tool named 'python'
- it needs a single file from the platform folder named '/tools/upload.py'

Of course that's not really true since upload.py depends on other files, but the api can't know that.

An easy fix (for us, at least), would be to package upload.py along with esptool and pyserial, and to change the upload pattern so that it recognizes the dependencies.

With this other pattern:

Code: Select alltools.esptool.upload.pattern={runtime.tools.python.path}/python {runtime.tools.esp8266upload.path}/upload.py" ...


Our api recognizes that:
- there's a dependency on a tool named 'python'
- there's a dependency on a tool named 'esp8266upload'

Please let us know if this is a modification that would be easy for you to implement.

I'm available for further informations here or at m.suppo@arduino.cc

Thanks