I cannot find variant.cpp/usbcore.cpp #114
Replies: 4 comments
-
Another way to find them on all OS: |
Beta Was this translation helpful? Give feedback.
-
for IDE 1.6+ Files are NOT in:C:\Program Files (x86)\Arduino\hardware\arduino |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
if you have different folders version under |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Unlike 1.5.8, the 1.6.9 or up, doe not have DUE board support by default, you need to install it using board manager, check the process here : https://www.arduino.cc/en/Guide/Cores or in FAQ#166
Once DUE is installed, the files are located in your home directory in hidden folder : AppData
For example for the 1.6.8 Due module, it should be like :
C:\Users\luc\AppData\local\Arduino15\packages\arduino\hardware\sam\1.6.8 under windows,
/Users/luc/Library/Arduino15/packages/arduino/hardware/sam/1.6.8 under OSX.
path vary according version
The files which need to be modified (variant.cpp and usbcore.cpp ) are there.
EDIT: under windows now location is :
C:\Users\user\Documents\ArduinoData\packages\arduino\hardware\sam\1.6.8\variants\arduino_due_x
and
C:\Users\user\Documents\ArduinoData\packages\arduino\hardware\sam\1.6.8\cores\arduino\USB
Beta Was this translation helpful? Give feedback.
All reactions