Can't Use WifiNINA.h Library with Giga R1 Wifi

i am trying to upload some code but getting this error.

c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp: In static member function 'static void SpiDrv::begin()':
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp:103:15: error: 'NINA_GPIO0' was not declared in this scope
pinMode(NINA_GPIO0, OUTPUT);
^~~~~~~~~~
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp:103:15: note: suggested alternative: 'NINA_GPIOIRQ'
pinMode(NINA_GPIO0, OUTPUT);
^~~~~~~~~~
NINA_GPIOIRQ
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp: In static member function 'static int SpiDrv::available()':
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp:66:25: error: 'NINA_GPIO0' was not declared in this scope
#define NINA_GPIOIRQ NINA_GPIO0
^
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp:66:25: note: in definition of macro 'NINA_GPIOIRQ'
#define NINA_GPIOIRQ NINA_GPIO0
^~~~~~~~~~
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp:66:25: note: suggested alternative: 'NINA_GPIOIRQ'
#define NINA_GPIOIRQ NINA_GPIO0
^
c:\Users\ozgen\OneDrive\Belgeler\Arduino\libraries\WiFiNINA\src\utility\spi_drv.cpp:66:25: note: in definition of macro 'NINA_GPIOIRQ'
#define NINA_GPIOIRQ NINA_GPIO0
^~~~~~~~~~

exit status 1

Compilation error: exit status 1

any help will be appreciated. thnx

The error message is very clear. Declare or define that symbol appropriately, or use the correct symbol instead.

all right, could you please explain how to do it, not to a programmer, but to an obsessive guy wondering if the iron and boiler has been unplugged?
thnx for you kindly reply.

Sorry, I have no idea about your project, except to explain the error message and the general approaches to fixing the problem.

Please follow the forum rules, and post the required project details, like the code (using code tags). Instructions can be found in the "How to get the best out of this forum" post.

Use WiFi.h for Giga R1 Wifi instead of WiFiNINA.h.

The following helped me a lot. https://docs.arduino.cc/tutorials/giga-r1-wifi/giga-wifi

as i learned that giga r1 wifi can use WiFi.h library; i dont need to use any others any more.
thnax for your help.

WiFi.h for Giga will freeze the loop while trying to connect to the WiFi at the beginning. If the project is not meant to be used only with the Internet and the WiFi is not available when starting up, it will freeze the loop for about 36 seconds, trying to connect to the WiFi at every cycle.

A post was split to a new topic: Connect to WPA2-Enterprise Wi-Fi access point with GIGA

This sounds strangely familiar to a situation I was encounteriing earlier this year. When fetching an NTP update for the Giga R1's on-board RTC, the updated time would always be 36secs behind an attached DS3231. The DS3231 is fairly accurate, and was itself keeping time with NIST no problem.

Is this mere coincidence? If not, where does the 36sec come from?