ESP32 build failing for env vars ARDUINO_HOST_OS, ARDUINO_VARIANT, and ARDUINO_FQBN #1689
-
When compiling a Blink test for ESP32 I get some errors that look like env vars not defined. It looks like this:
So I am trying to work out where ARDUINO_HOST_OS, ARDUINO_VARIANT, and ARDUINO_FQBN ought to be defined (and why they aren't there already). I'm running Sloeber 4.4.3 on Xubuntu 24.04.1 LTS x86_64 and the same program builds and flashes fine using Arduino IDE 2.3.3 using the same settings for the board. Thanks for any help |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I guess this is a duplicate of #1649 which contains a workaround. |
Beta Was this translation helpful? Give feedback.
-
It does look the same. The workaround is not working for me atm but I see it is being worked on. I'll see if #1688 fixes it. |
Beta Was this translation helpful? Give feedback.
-
The workaround should work if it is properly executed. See #1533 |
Beta Was this translation helpful? Give feedback.
-
Seems to be working. Thanks for the help. Specifically this is what I did
|
Beta Was this translation helpful? Give feedback.
-
Anyway, since it is working we can close this. |
Beta Was this translation helpful? Give feedback.
Seems to be working. Thanks for the help. Specifically this is what I did
My ESP32 is just an ESP32 but I see on the following lines after the one I edited there is a reference to ESP32S3 and because I have an S3 board for my next project I added the ARDUINO_VARIANT to that with adafruit_metro_esp32s3, though I haven't tested it yet.