Invalid FQBN: getting build properties for board esp32:esp32:esp32: invalid option 'ZigbeeMode'

I've been getting a problem with the ESP32 recently. ESP8266 does work, but even with basic code I get this error message. Reinstalled everything, but without success.

Hi @digiton1. Please provide more information in order to allow the forum helpers to better understand the problem.

Are you using Arduino IDE or Arduino Cloud, or ....???

If you are using Arduino IDE, which version of Arduino IDE are you using?

I am use the latest Arduino IDE

I removed the arduino15 folder in the appdata and reinstall Arduino again. Now the ZigBeeMode is gone and eveything is working . Very strange dat the ZigBeeMode suddenly was present.

I'm glad it is working now. Thanks for taking the time to post an update with your solution!

Regards,
Per

Problem present again. If I use a number of libraries for a project with a ESP32S3 once
Lib
, the problem is present again. The only way is to uninstall everything, remove the arduino15 and install it again.

I see that this "ZigbeeMode" option was added recently in the beta tester version of the "esp32" boards platform:

My hypothesis is that you had installed and used the beta tester version of the platform at one time, but have since switched to using the release version of the platform (e.g., 2.0.14). For some reason, Arduino IDE still remembers this "ZigbeeMode" option and attempts to use it even though the option is not present in the version of the platform you are using.

If so, it should be possible to fix the problem by deleting the folder where Arduino IDE caches this type of information. This information is only used for convenience features such as remembering which options you had selected in the menus the last time you used the IDE, so deleting it won't cause the loss of any important data such as your sketches, libraries, or boards platform installations.

I'll provide instructions you can follow to do that:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Delete the folder at the following path:
    C:\Users\<username>\AppData\Roaming\arduino-ide\
    
    (where <username> is your Windows username)
    :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
    :warning: Please be careful when deleting things from your computer. When in doubt, back up!
  3. Start Arduino IDE.

Now try compiling or uploading the sketch to your ESP32 board again, just as you did before when you encountered the error. If you use a custom configuration of any of the menus under the Tools menu in Arduino IDE (e.g., Tools > Partition Scheme), make sure to set these menus as needed since they will have reverted to the default settings (e.g., Tools > Partition Scheme > Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)).

5 Likes

Many thanks for your solution. Next time I'll try this one

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.