Whenever I try to compile via CLI, I now get this error.
In file included from C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBAPI.h:44:0,
from C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.cpp:20:
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.cpp:75:29: error: 'USB_VID' was not declared in this scope
D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,ISERIAL,1);
^
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.h:270:61: note: in definition of macro 'D_DEVICE'
{ 18, 1, USB_VERSION, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }
^~~~
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.cpp:75:29: note: suggested alternative: 'USB_Recv'
D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,ISERIAL,1);
^
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.h:270:61: note: in definition of macro 'D_DEVICE'
{ 18, 1, USB_VERSION, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }
^~~~
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.cpp:75:37: error: 'USB_PID' was not declared in this scope
D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,ISERIAL,1);
^
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.h:270:66: note: in definition of macro 'D_DEVICE'
{ 18, 1, USB_VERSION, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }
^~~~
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.cpp:75:37: note: suggested alternative: 'USB_Recv'
D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,ISERIAL,1);
^
C:\Users\Admin\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino\USBCore.h:270:66: note: in definition of macro 'D_DEVICE'
{ 18, 1, USB_VERSION, _class,_subClass,_proto,_packetSize0,_vid,_pid,_version,_im,_ip,_is,_configs }
^~~~
Error during build: exit status 1
I havenāt compiled this project in a few weeks, so now I am at a loss of words for what might be the causeā¦
When I try to compile, I am using this:
arduino-cli compile -b arduboy:avr:arduboy --output-dir "../Compiled/Arduboy/" --build-property="build.extra_flags=-DSYSTEM_ARDUBOY"
This is super worrisome⦠I canāt remember updating any boards, the IDE, etc. So, I tried on my other computer, and now I have the same issue. I even reverted my branch to one I know was compiling, correctly, and still get the error. I also tried re-installing the Arduino IDE, Arduino CLI, different Arduboy board versions from the Library Manager in the Arduino IDE⦠Anyone have any ideas for this?
Compiling with the actual Arduino IDE seems to have a completely different problem that I am trying to solve, now, because I think it cannot find the other files that are supposed to be included in the project, like the Arduino CLI seemingly can. So, Iām kind of stuck.