I’m trying to implement ESP 8266 connection to HiveMq cloud cluster, and I’m following instructions in the relative page: HiveMQ Cloud?
I take the script this script
and I compile it in VisualCode, and I take this error:
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
File “C:\Users\Francesco\Desktop\cert.py”, line 28, in
raise Exception(“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”)
I check and in dir
C:\Program Files (x86)\Arduino\hardware\esp8266com\esp8266\tools\xtensa-lx106-elf\xtensa-lx106-elf\bin
I have ar.exe file,
someone know the reason?
or could suggest any other way/method ?
best regards
fn

to "just"get a certificate. Up to the part of the cert-from-python file I got it all done. Took me some days up to now.Then I do not get it to work.
user can do? Is it possible to use e.g.PlatformIO or anothet ide without this kind of external dependicies?
.
. I have managed to get a certificate by running “certs-from-mozila.py” on a raspberry. Here it worked ok.