Hi, I try to follow the instructions and make Arduino works with HiveMQ.
After running the python code, I cannot get the .ar file.
A message in the console shows “You need the program ‘ar’ from xtensa-lx106-elf found here: (esp8266-arduino-core)/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/xtensa-lx106-elf/bin/ar”. Do you what is wrong?
I save the python on my desktop and use VScode to run.
Thanks!!
Hello @henrychanflag
Welcome to HiveMQ Community! There is a detailed discussion regarding this same error on this post Getting start with Arduino ESP8266 certificate generation error - #16 by rickqinj
About the exception “ar” not found.
If you get your ESP8266 boards installed via Arduino IDE Board Manager, you may not have the path in your Arduino IDE home folder which the cert download script certs-from-mozilla.py
requires. However, you can find the folder somewhere else on your system. In my case, I used the software Everything
to look for the folder xtensa-lx106-elf
and found the ar.exe
finally.
Kind regards,
Diego from HiveMQ Team
1 Like