DEV Community

Fran-3
Fran-3

Posted on

VScode Arduino Giga R1 Wifi Board Problems. Help!

I'm using the Microsoft Arduino Extension as Platform IO Extension does not have the new Arduino Giga R1 Wifi board available.

I finally have VScode working with the Arduino Uno but when switching to the Arduino Giga R1 Wifi board it won't work.

Problems include:

1 - "cannot open source file \"PinNamesTypes.h\" (dependency of \"C:\Users\vEdit\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.4\cores\arduino\Arduino.h\")"

2 - "no instance of overloaded function \"arduino::UART::begin\" matches the argument list",

Here is the code:

void setup() {
Serial.begin(9600);
Serial.println("This is vscProject_GigaR1");
}

void loop() {
}

Enter fullscreen mode Exit fullscreen mode

Here is the json file:

{
    "configuration": "target_core=cm7,split=100_0",
    "board": "arduino:mbed_giga:giga",
    "port": "COM4",
    "programmer": "cmsis-dap",
    "output": "C:/Users/vEdit/Documents/Arduino/vscProject_GigaR1_output",
    "sketch": "vscProject_GigaR1.ino"
}
Enter fullscreen mode Exit fullscreen mode

There is another "Programmer" available... the
STMicroelectronics STlink
but that doesn't work either.

Been trying to get VScode to work for 3 days and am about to ditch it but hopefully some kind soul can walk me through getting it to work with the Arduino Giga R1 Wifi board.

Thanks for any help.

Top comments (0)