Compiler error: unrecognized arguments: -DARDUINO_LIB_DISCOVERY_PHASE

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Alphaprot
Posts: 2
Joined: 07 Jul 2020 15:32

Compiler error: unrecognized arguments: -DARDUINO_LIB_DISCOVERY_PHASE

Post by Alphaprot »

Hey folks,

I just wanted to upload a new sketch onto my Z-UNO, but during compiling, the Arduino-IDE (ver. 1.8.13, Windows Store-Version 1.8.39.0) raises the following error:

Code: Select all

usage: compiler [-h]
                
                {dummy,size,build,prog,boot,erase,readnvm,arduino_preproc,dumpNVM,restoreNVM}
                ...
compiler: error: unrecognized arguments: -DARDUINO_LIB_DISCOVERY_PHASE
exit status 2
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.39.0_x86__mdqgnx93n4wtt\arduino-builder gab 2 zurück
Fehler beim Kompilieren für das Board Z-Wave>ME Z-Uno.
Seems like a typo at first glace (DARDUINO ??).

This happens on three Z-UNO-Board manager versions I tested so far, namely 2.1.3 - 5.

Same results in the app version (Windows store) and the "normal" version (both fresh installs).

User avatar
PoltoS
Posts: 5956
Joined: 26 Jan 2011 19:36

Re: Compiler error: unrecognized arguments: -DARDUINO_LIB_DISCOVERY_PHASE

Post by PoltoS »

Please downgrade to Arduino IDE 1.8.12. The latest version is not supported yet. We will fix it in a few days in Z-Uno package 2.1.6 release

Alphaprot
Posts: 2
Joined: 07 Jul 2020 15:32

Re: Compiler error: unrecognized arguments: -DARDUINO_LIB_DISCOVERY_PHASE

Post by Alphaprot »

Thanks Polto, I missed that. Now everything works fine :)

Post Reply