Hello,
I am trying to upload the USB BLASTER example from here to my MKR VIDOR 4000.
These are the following steps I did:
- downloaded the library from the repository.
- extracted and moved the file to Arduino's Main libraries Folder.
- started the Arduino IDE. Set the board type and port. Clicked on File -> Examples -> USBBlaster -> USBBlaster. and the following example shows up.
#include "Blaster.h"
static bool activityLed = true;
extern void enableFpgaClock();
void setup() {
USBBlaster.begin(activityLed);
// also start the 48MHz clock feed for the FPGA, in case we need to run the bitstream and need this clock
enableFpgaClock();
}
void loop() {
USBBlaster.loop();
}
- Then I click on the compile button and I am getting an error as such
Arduino: 1.8.19 (Mac OS X), Board: "Arduino MKR Vidor 4000"
In file included from /Users/reevefernandes/Documents/Arduino/libraries/USBBlaster/src/Blaster.h:1:0,
from /Users/reevefernandes/Downloads/USBBlaster-master/examples/USB_Blaster/USB_Blaster.ino:1:
/Users/reevefernandes/Documents/Arduino/libraries/USBBlaster/src/USBConfig.h:51:10: fatal error: USB/PluggableUSB.h: No such file or directory
#include "USB/PluggableUSB.h"
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Arduino MKR Vidor 4000.This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I am guessing I am missing a file. But I downloaded everything as it was. Can Someone please help me debug this situation.
Thank you for your assisstance!