Add command line compile instructions, remove Arduino IDE instructions#253
Add command line compile instructions, remove Arduino IDE instructions#253
Conversation
netmindz
left a comment
There was a problem hiding this comment.
Great update, just one small tweak
docs/advanced/compiling-wled.md
Outdated
| The .bin and .bin.gz files are located in the subfolder `/build_output/release` in your WLED folder. | ||
|
|
||
| ESP32: | ||
| If you have an existing WLED install, you can flash the .bin.gz image using the Config -> Security & Updates -> Manual OTA Update option in the web interface. Otherwise, follow the instructions [here](/basics/install-binary/#flashing-method-2-esptool). |
There was a problem hiding this comment.
bin is more commonly used than bin.gz
There was a problem hiding this comment.
.gz is only used for ESP02 (with limited flash size) though it can work on other ESP8266.
There was a problem hiding this comment.
I had to use .gz on my ESP8266 because the .bin wouldn't work. Does .gz not work for all devices? I figured it was sort of the lowest common denominator.
There was a problem hiding this comment.
OK, I assume this is explained elsewhere, so I just removed the reference to the .bin.gz file here.
|
BTW regarding OTA updates: It is also possible to update OTA directly from PIO using correctly configured environment. I.e. upload_protocol = espota
;upload_port="192.168.xxx.xxx"
upload_port="wled-test.local" |
blazoncek
left a comment
There was a problem hiding this comment.
I do not use/have Linux so really can't comment or verify.
However it is ok to remove ArduinoIDE instructions. Perhaps adding a disclaimer that it is no longer supported would be good.
|
|
||
| - Variant has 4MB flash | ||
| - Settings as for NodeMCU or Wemos | ||
| The .bin and .bin.gz files are located in the subfolder `/build_output/release` in your WLED folder. |
There was a problem hiding this comment.
Files are only copied into release folder if their environment has WLED_RELEASE_NAME macro/constant set.
| The .bin and .bin.gz files are located in the subfolder `/build_output/release` in your WLED folder. | ||
|
|
||
| ESP32: | ||
| If you have an existing WLED install, you can flash the image using the Config -> Security & Updates -> Manual OTA Update option in the web interface. Otherwise, follow the instructions [here](/basics/install-binary/#flashing-method-2-esptool). |
There was a problem hiding this comment.
just curious - if you build your firmware within VSCode, why would a user want to manually upload with esptool, and not use the "build and upload" button?
see also #161 (comment)
No description provided.