summaryrefslogtreecommitdiffstatshomepage
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-01-18 12:06:33 +0100
committerDamien George <damien@micropython.org>2025-01-22 18:20:32 +1100
commit87f04d5935ef4e190873f4f31afdc25a58647976 (patch)
tree3bd6e567808dfd5898cac9cbbee89a16ffe58429 /docs/conf.py
parentb4f53a0e51a7bb098f67a747fb1c62c21492a1dd (diff)
downloadmicropython-87f04d5935ef4e190873f4f31afdc25a58647976.tar.gz
micropython-87f04d5935ef4e190873f4f31afdc25a58647976.zip
esp8266/Makefile: Fix local toolchain builds on recent Linux systems.
This commit fixes compilation for the ESP8266 port when using a local toolchain on relatively recent Linux systems. The documentation asks the user to delete the esptool instance that comes with the toolchain, in favour of using the one provided by the system. On Linux systems that are at least two years old (looking at the CI Ubuntu image as an example), the version of esptool installed with the package manager isn't called `esptool.py` but just `esptool`. The Makefile didn't take that into account and used `esptool.py` without checking if such a command exists, making builds fail. Now preference is given to the `esptool` command, falling back to `esptool.py` only if the former command does not exist or it is not available to the current user, to maintain compatibility with old setups. Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions