Problems using VScode for Arduino Giga R1 Wifi Board. Help!

I'm trying to use the VScode editor to program the Arduino Giga R1 Wifi board.

To do this I'm using the Microsoft Arduino Extension in VScode...
(As the 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() {
}

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"
}

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

I've been trying to get VScode to work for the Arduino Giga R1 Wifi 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, I'm stumped!

I have moved your Topic to the Giga R1 specific category....Was nothing to do with General Discussion of the Community.

I'm sorry I don't have a solution for you, but I came across a thread about the Giga on PlatformIO a few weeks ago.

You can find it here. It should accept the board but has some possible issues with uploading sketches. There is a workaround for it though, explained in the thread.

I tried to get my own Giga working on it but PlatformIO has so many problems with the libraries I tried to use I gave it up. Maybe it's doable for you, good luck!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.