FirmwareUpdater: Error SerialNina was not declared in this scope

i have a problem with arduino uno.

Arduino:1.8.9 (Windows Store 1.8.21.0) (Windows 10), Tarjeta:"Arduino/Genuino Uno"

ESP32BootROM.cpp:331:32: error: 'SerialNina' was not declared in this scope

ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);

^

ESP32BootROM.cpp:331:44: error: 'NINA_GPIO0' was not declared in this scope

ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);

^

ESP32BootROM.cpp:331:56: error: 'NINA_RESETN' was not declared in this scope

ESP32BootROMClass ESP32BootROM(SerialNina, NINA_GPIO0, NINA_RESETN);

^

exit status 1
'SerialNina' was not declared in this scope

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.

You say that you are using a Uno.

Why then do all of the error messages refer to ESP32 ?

UKHeliBob:
You say that you are using a Uno.

Why then do all of the error messages refer to ESP32 ?

oh ok you right, sorry i try to update the firmware with another example, the firmware updater of Wifi101 but i have the error "make sure that firmware updater sketch is loaded on the board".

Make sure that FirmwareUpdater sketch is loaded on the board.
at cc.arduino.plugins.wifi101.flashers.java.FlasherSerialClient.hello(FlasherSerialClient.java:108)
at cc.arduino.plugins.wifi101.flashers.Flasher.testConnection(Flasher.java:105)
at cc.arduino.plugins.wifi101.UpdaterImpl$1.run(UpdaterImpl.java:166)

what board do you have? Uno WiFi Rev.2? then install megaavr boards package and select Uno WiFi