Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WiFiNINA_OTA ? #30

Open
Ginodel opened this issue Oct 19, 2018 · 27 comments
Open

WiFiNINA_OTA ? #30

Ginodel opened this issue Oct 19, 2018 · 27 comments
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@Ginodel
Copy link

Ginodel commented Oct 19, 2018

Hi all,

Are there plans for a WifiNINA_OTA library like you have for the MKR1000 board ? Or.. is there somewhere a library that is allowing OTA programming ?

Thanks for your input

@facchinm
Copy link
Contributor

At the moment a patched WiFI101OTA library can be used (arduino-libraries/WiFi101OTA#11) but we are going to provide some super cool NINA-specific features soon 😉

@Ginodel
Copy link
Author

Ginodel commented Oct 22, 2018

Hi Facchinm...
I just tried the patch ... In the Arduino IDE i can see the network port...
I was compiling the sketch and while uploading i get ...

De schets gebruikt 45136 bytes (17%) programma-opslagruimte. Maximum is 262144 bytes.
Connecting to board ... done
Uploading sketch ... done
Flashing sketch ... done
Error flashing the sketch:

Any idea why ????

@facchinm
Copy link
Contributor

Which sketch are you using? Plain WiFi101OTA example? Please enable verbose upload and paste here the output (should be something like .../.arduino15/packages/arduino/tools/arduinoOTA/1.2.0/bin/arduinoOTA -address 10.130.22.193 -port 65280 -username arduino -password password -sketch /tmp/arduino_build_408639/WiFi101_OTA.ino.bin -upload /sketch -b )

@facchinm facchinm added the status: waiting for information More information must be provided before work can proceed label Oct 23, 2018
@DesktopMan
Copy link

Any updates on this? "soon" is relative, but it's been a while :)

@facchinm
Copy link
Contributor

I know @DesktopMan , sorry for that.
The first pieces of support have already been published (megaAVR core with uart bootloader support, updated arduinoOTA utility), other are still in staging.
We'll tell everyone as soon as the merge is finished 😉

@blackketter
Copy link

Is it safe to assume that this OTA support will also apply to the Arduino NANO 33 IoT?

@adams-family
Copy link

I'm also very interested in OTA updates for the Arduino Nano 33 IoT! Anyone had luck with it?

@JAndrassy
Copy link

JAndrassy commented Feb 3, 2020

for SAMD boards with NINA use WiFi101OTA library. only replace the include WiFi101.h to WiFiNINA.h

@milenovic
Copy link

Hi all,
I noticed that there is unowifirev2_ota branch which got me very excited! Is it possible to use OTA on Uno WiFi Rev2 already? I could not find any information about that branch.

@adams-family
Copy link

I can confirm that OTA on the Arduino Nano 33 IoT works perfectly using this libary:

https://github.com/jandrassy/ArduinoOTA

It's enough to:

  1. Install the package using package manager
  2. Import one .h header file
  3. Add two lines of code (provided that the Arduino sketch already has a connection to the WiFi)
  4. Restart Arduino IDE and enjoy!

@facchinm
Copy link
Contributor

For the Uno Wifi rev2 we are rebasing that branch in these days, with the plan to release it shortly after 😉

@JAndrassy
Copy link

I can confirm that OTA on the Arduino Nano 33 IoT works perfectly using this libary:
https://github.com/jandrassy/ArduinoOTA

it doesn't support Uno WiFi

@adams-family
Copy link

@JAndrassy Honestly I'm not sure what is Uno WiFi?

I got it working on a genuine Arduino Nano 33 IoT, I can flash the device even now :)

@JAndrassy
Copy link

JAndrassy commented Apr 25, 2020

@JAndrassy Honestly I'm not sure what is Uno WiFi?

I got it working on a genuine Arduino Nano 33 IoT, I can flash the device even now :)

you commented right after other user who asked about support for Uno WiFi. I thought you answered.

@adams-family
Copy link

@JAndrassy Sorry, no :-) I just wanted to be useful and answer my own comment from Feb 2 where I asked about the Arduino Nano 33 IoT. Sorry for the confusion.

@n-gineer
Copy link

n-gineer commented Jul 6, 2020

For the Uno Wifi rev2 we are rebasing that branch in these days, with the plan to release it shortly after 😉

At the moment a patched WiFI101OTA library can be used (arduino-libraries/WiFi101OTA#11) but we are going to provide some super cool NINA-specific features soon 😉

for SAMD boards with NINA use WiFi101OTA library. only replace the include WiFi101.h to WiFiNINA.h

Just to clarify, is it possible to use the mentioned patch/editing includes to use the WiFi101OTA library on Uno Wifi Rev 2? I tried making the edits in a copy of the WiFi101OTA library, and got these errors:

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\...\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\...\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\...\Arduino\libraries -fqbn=arduino:megaavr:uno2018:mode=on -ide-version=10813 -build-path C:\Users\...\AppData\Local\Temp\arduino_build_818150 -warnings=none -build-cache C:\Users\...\AppData\Local\Temp\arduino_cache_211078 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.arduinoOTA.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\examples\WiFi_Nina_OTA\WiFi_Nina_OTA.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\...\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\...\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\...\Arduino\libraries -fqbn=arduino:megaavr:uno2018:mode=on -ide-version=10813 -build-path C:\Users\...\AppData\Local\Temp\arduino_build_818150 -warnings=none -build-cache C:\Users\...\AppData\Local\Temp\arduino_cache_211078 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino5.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5 -prefs=runtime.tools.arduinoOTA.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\...\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -verbose C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\examples\WiFi_Nina_OTA\WiFi_Nina_OTA.ino
Using board 'uno2018' from platform in folder: C:\Users\...\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\...\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.6
Detecting libraries used...
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for Arduino_WiFiOTA.h: [Arduino_WiFiOTA@1.1.0]
ResolveLibrary(Arduino_WiFiOTA.h)
  -> candidates: [Arduino_WiFiOTA@1.1.0]
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for WiFiNINA.h: [WiFiNINA@1.5.0]
ResolveLibrary(WiFiNINA.h)
  -> candidates: [WiFiNINA@1.5.0]
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SD.h: [SD@1.2.4 SD@1.2.4]
ResolveLibrary(SD.h)
  -> candidates: [SD@1.2.4 SD@1.2.4]
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src\\Arduino_WiFiOTA.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src\\InternalStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src\\NINAStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src\\NINAStorageRaw.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src\\SDStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src\\SerialFlashStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFi.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiClient.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiSSLClient.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiServer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiStorage.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\WiFiUdp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\WiFiSocketBuffer.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\server_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\spi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for SPI.h: [SPI@1.0]
ResolveLibrary(SPI.h)
  -> candidates: [SPI@1.0]
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\spi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src\\utility\\wifi_drv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src\\File.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src\\SD.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src\\utility\\Sd2Card.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src\\utility\\SdFile.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src\\utility\\SdVolume.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src\\SPI.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp" -o "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino5/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega4809 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_UNO_WIFI_REV2 -DARDUINO_ARCH_MEGAAVR -DUNO_WIFI_REV2_328MODE -DMILLIS_USE_TIMERB3 "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino/api/deprecated" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\cores\\arduino" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\variants\\uno2018" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\Arduino_WiFiOTA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\WiFiNINA\\src" "-IC:\\Users\\...\\OneDrive - Massachusetts Institute of Technology\\Documents\\Arduino\\libraries\\SD\\src" "-IC:\\Users\\...\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\megaavr\\1.8.6\\libraries\\SPI\\src" "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp" -o "C:\\Users\\...\\AppData\\Local\\Temp\\arduino_build_818150\\sketch\\WiFi_Nina_OTA.ino.cpp.o"
In file included from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/Arduino_WiFiOTA.h:51:0,
                 from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\examples\WiFi_Nina_OTA\WiFi_Nina_OTA.ino:19:
C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/SDStorage.h:42:23: error: cannot declare variable 'SDStorage' to be of abstract type 'SDStorageClass'
 extern SDStorageClass SDStorage;
                       ^~~~~~~~~
C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/SDStorage.h:30:7: note:   because the following virtual functions are pure within 'SDStorageClass':
 class SDStorageClass : public OTAStorage {
       ^~~~~~~~~~~~~~
In file included from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/Arduino_WiFiOTA.h:50:0,
                 from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\examples\WiFi_Nina_OTA\WiFi_Nina_OTA.ino:19:
C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/OTAStorage.h:21:15: note: 	virtual int OTAStorage::open(int)
   virtual int open(int length) = 0;
               ^~~~
In file included from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/Arduino_WiFiOTA.h:52:0,
                 from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\examples\WiFi_Nina_OTA\WiFi_Nina_OTA.ino:19:
C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/InternalStorage.h:43:29: error: cannot declare variable 'InternalStorage' to be of abstract type 'InternalStorageClass'
 extern InternalStorageClass InternalStorage;
                             ^~~~~~~~~~~~~~~
C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/InternalStorage.h:24:7: note:   because the following virtual functions are pure within 'InternalStorageClass':
 class InternalStorageClass : public OTAStorage {
       ^~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/Arduino_WiFiOTA.h:50:0,
                 from C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\examples\WiFi_Nina_OTA\WiFi_Nina_OTA.ino:19:
C:\Users\...\Arduino\libraries\Arduino_WiFiOTA\src/OTAStorage.h:21:15: note: 	virtual int OTAStorage::open(int)
   virtual int open(int length) = 0;
               ^~~~
Multiple libraries were found for "SD.h"
 Used: C:\Users\...\Arduino\libraries\SD
 Not used: C:\Program Files (x86)\Arduino\libraries\SD
Using library Arduino_WiFiOTA at version 1.1.0 in folder: C:\Users\...\Arduino\libraries\Arduino_WiFiOTA 
Using library WiFiNINA at version 1.5.0 in folder: C:\Users\...\Arduino\libraries\WiFiNINA 
Using library SD at version 1.2.4 in folder: C:\Users\...\Arduino\libraries\SD 
Using library SPI at version 1.0 in folder: C:\Users\...\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.6\libraries\SPI 
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.

@n-gineer
Copy link

n-gineer commented Feb 9, 2021

@facchinm
If you can point me in the right direction, I'd be happy to try working on uno wifi Rev 2 support.

I noticed the waiting for feedback label; is there anything you are still waiting for feedback on?

@JAndrassy
Copy link

@n-gineer did you see this arduino/nina-fw#36 ?

@n-gineer
Copy link

n-gineer commented Mar 10, 2021

@n-gineer did you see this arduino/nina-fw#36 ?

@JAndrassy thanks for the reply.

I've tried following the linked comments, issues, libraries, and pull requests, but I'm a little lost. It seems like arduino/nina-fw#32 enabled this for Uno Wifi Rev 2? If so, what library should I use for OTA?

https://github.com/arduino-libraries/WiFi101OTA? Its patch arduino-libraries/WiFi101OTA#11?, Just this library, WifiNINA? Your ArduinoOTA?

@JAndrassy
Copy link

@n-gineer did you see this arduino/nina-fw#36 ?

@JAndrassy thanks for the reply.

I've tried following the linked comments, issues, libraries, and pull requests, but I'm a little lost. It seems like arduino/nina-fw#32 enabled this for Uno Wifi Rev 2? If so, what library should I use for OTA?

https://github.com/arduino-libraries/WiFi101OTA? Its patch arduino-libraries/WiFi101OTA#11?, Just this library, WifiNINA? Your ArduinoOTA?

I meant it if you want to work on OTA support for Uno WFi

@n-gineer
Copy link

@JAndrassy Sorry, now I follow. This is getting outside my knowledge base, how/who can I ask more questions to get started learning what to do? Is the issue you linked referring to Wifi Rev 2 even though it only says "Uno Wifi"? Should I ask more there?

@tdig2
Copy link

tdig2 commented Mar 24, 2021

I recently bought the Uno WiFi Rev2 because I thought it could be programmable OTA...looks like @facchinm and @JAndrassy are the only ones working on the WiFiNINA_OTA library? This would in theory allow the Uno WiFi Rev2 to create its own Network port, correct?
Apologies if I'm not getting the vernacular correct here - new to Arduino, this is my first time trying to upload code OTA with any board.

@tdig2
Copy link

tdig2 commented Jun 1, 2021

Thoughts?

@SpyGuy0215
Copy link

Any updates on this? It's been about a year or so, and there doesn't seem to be any way to update an Uno WiFi Rev.2 OTA as of now. Any library we can use for the time being?

@per1234 per1234 added type: enhancement Proposed improvement topic: code Related to content of the project itself and removed status: waiting for information More information must be provided before work can proceed labels Apr 17, 2022
@Sythsaz
Copy link

Sythsaz commented May 17, 2024

Any updates on this yet?

@JAndrassy
Copy link

JAndrassy commented May 17, 2024

Any updates on this yet?

which part of it? MKR? Uno WiFi?

@Sythsaz
Copy link

Sythsaz commented Jun 6, 2024

@JAndrassy I apologize I should have been more specific, I am referring to the Uno WiFi Rev 2 OTA support that was announced years ago with no implementations made. As like with many others, it was bought solely for that reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests