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:

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.