-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Hi
I'm trying out Arduino OTA on a Uno R4 WiFi. I'm using the example examples/WiFi101_OTA/WiFi101_OTA.ino but with the WiFiNINA line replaced with WiFiS3 as below:-
#include <SPI.h>
#include <WiFiS3.h>
#include <ArduinoOTA.h>
#include "arduino_secrets.h"
///////please enter your sensitive data in the Secret tab/arduino_secrets.h
/////// Wifi Settings ///////
char ssid[] = SECRET_SSID; // your network SSID (name)
char pass[] = SECRET_PASS; // your network password
int status = WL_IDLE_STATUS;
I've copied the platform.local.txt into the same folder as platform.txt and deleted the library OTAUpdate from the libraries folder. When I try and upload the sketch using the USB cable, a dialog pops up asking for a password and I give my WiFI password, then I get:-
Sketch uses 75516 bytes (28%) of program storage space. Maximum is 262144 bytes.
Global variables use 10464 bytes (31%) of dynamic memory, leaving 22304 bytes for local variables. Maximum is 32768 bytes.
Failed uploading: uploading error: signal: segmentation fault
What am I doing wrong?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels