Closed Cabalist closed 4 years ago
That would be fine. I use the Arduino IDE, and there's an additional "ESP8266 Sketch Data Upload" function that uploads all the contents of a directly into the ~3MB flash filesystem on the ESP. Is there a similar function in esptool. For all I know the "Sketch Data Upload" is a function of esptool, since that's what the Arduino IDE uses for flashing anyway.
One thing that I'm still not sure about is when to use "qio" instead of "dio" or if "dio" will work for all flash configurations, even those that are connected with quad lines.
dio
is slower than qio
but I've had better compatibility luck with it. It may not be necessary and if it fails I give qio
a shot. I am not sure of the definitive answer but for the onesie twosie stuff I am ok waiting an extra half second. :)
The Arduino IDE has changed. I could not find any way to upload the .bin file. I was able to use esptool on my mac with these exact commands: pip install esptool esptool.py --port /dev/cu.usbserial-141130 write_flash -fm dio 0x00000 Wifiibo_1.3.ino.d1_mini.bin
Complicate to install. Always some error codes : bad library or duble library ... :(
After only 9 months, version 1.40 is out, which allows for multi-file uploads, so you can pick multiple files in the file selection dialog. The "Invalid Key File Error" is fixed as well.
Libraries required and versions used are listed in the README. If there is an issue with compilation, please create a new issue.
Would it make sense to include the installation command in the README?
I used basically this:
esptool.py --port <serial_port> write_flash -fm dio 0x00000 <path/to/Wifiibo_1.0.ino.d1_mini.bin>
Might be common knowledge but could be a stumbling block for newbies. :)