Update certs-from-mozilla.py by gnorbsl · Pull Request #7578 · esp8266/Arduino (original) (raw)
Is there any documentation that I can link to that shows the user how to get ar?
There are three ways to install:
- arduino ide: toolchain is automatically downloaded to
tools/xtensa-lx106-elf/
- git: documentation asks user to run
cd tools; python get.py
. It will download the right toolchain to the same place - platformio: we don't document it (pio has it own documentation)
I assume ar is /Java/hardware/tools/avr/bin/avr-ar?
You are running Arduino IDE on macOS. That one is not the good one.
You should have: Java/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/bin/ar
and Java/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar
.
That is the automatic installation mentioned above.
But documentation should refer to a relative path like (arduino-installation-path)/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar
or (esp8266-arduino-core-root-path)/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-ar
.