arduinoOTA file not found when uploading a sketch via network

Failed uploading: cannot execute upload tool: exec: "{runtime.tools.arduinoOTA.path}/bin/arduinoOTA": file does not exist

I tried following the advice here: R4 OTA update errors - UNO R4 / UNO R4 WiFi - Arduino Forum

I copied the renesas platform.local.txt next to platform.txt in ~renesas_uno/1.2.1 but now I get this error

Here's the verbose output:

FQBN: arduino:renesas_uno:unor4wifi
Using board 'unor4wifi' from platform in folder: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1
Using core 'arduino' from platform in folder: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1

Detecting libraries used...
C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/tinyusb -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated-avr-comp -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4 -iprefixC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1 @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/includes.txt C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\sketch\sketch_sep11a.ino.cpp -o nul
Alternatives for WiFiS3.h: [WiFiS3@0.0.0]
ResolveLibrary(WiFiS3.h)
  -> candidates: [WiFiS3@0.0.0]
C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/tinyusb -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated-avr-comp -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4 -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src -iprefixC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1 @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/includes.txt C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\sketch\sketch_sep11a.ino.cpp -o nul
Alternatives for ArduinoOTA.h: [ArduinoOTA@1.1.0]
ResolveLibrary(ArduinoOTA.h)
  -> candidates: [ArduinoOTA@1.1.0]
C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/tinyusb -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated-avr-comp -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4 -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src -IC:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src -iprefixC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1 @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/includes.txt C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\sketch\sketch_sep11a.ino.cpp -o nul
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\Modem.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\StringHelpers.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\WiFi.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\WiFiClient.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\WiFiFileSystem.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\WiFiSSLClient.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\WiFiServer.cpp
Using cached library dependencies for file: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src\WiFiUdp.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\InternalStorage.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\InternalStorageAVR.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\InternalStorageESP.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\InternalStorageRP2.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\InternalStorageRenesas.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\InternalStorageSTM32.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\OTAStorage.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\WiFiOTA.cpp
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\utility\r_flash_lp_cf.c
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\utility\rp2_flash_boot.c
Using cached library dependencies for file: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src\utility\stm32_flash_boot.c
Generating function prototypes...
C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++ -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -w -x c++ -E -CC -DARDUINO=10607 -DPROJECT_NAME="C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/defines.txt -DCFG_TUSB_MCU=OPT_MCU_RAXXX -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/tinyusb -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino/api/deprecated-avr-comp -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\cores\arduino -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4 -IC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3\src -IC:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA\src -iprefixC:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1 @C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\variants\UNOWIFIR4/includes.txt C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\sketch\sketch_sep11a.ino.cpp -o C:\Users\npcuser\AppData\Local\Temp\1234638633\sketch_merged.cpp
C:\Users\npcuser\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives C:\Users\npcuser\AppData\Local\Temp\1234638633\sketch_merged.cpp
Compiling sketch...
"C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -w -Os -g3 -fno-use-cxa-atexit -fno-rtti -fno-exceptions -MMD -nostdlib -DF_CPU=48000000 -DNO_USB -DBACKTRACE_SUPPORT -DARDUINO_UNOR4_WIFI -MMD -std=gnu++17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsigned-char -ffunction-sections -fdata-sections -fmessage-length=0 -fno-builtin -DARDUINO=10607 "-DPROJECT_NAME=\"C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino\"" -DARDUINO_UNOWIFIR4 -DARDUINO_ARCH_RENESAS_UNO -DARDUINO_ARCH_RENESAS -DARDUINO_FSP -D_XOPEN_SOURCE=700 -mthumb "@C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\variants\\UNOWIFIR4/defines.txt" -DCFG_TUSB_MCU=OPT_MCU_RAXXX "-IC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\cores\\arduino/tinyusb" "-IC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\cores\\arduino/api/deprecated" "-IC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\cores\\arduino" "-IC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\variants\\UNOWIFIR4" "-IC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\libraries\\WiFiS3\\src" "-IC:\\Users\\npcuser\\Documents\\Arduino\\libraries\\ArduinoOTA\\src" "-iprefixC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1" "@C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\variants\\UNOWIFIR4/includes.txt" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\sketch\\sketch_sep11a.ino.cpp" -o "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\sketch\\sketch_sep11a.ino.cpp.o"
Compiling libraries...
Compiling library "WiFiS3"
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\StringHelpers.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\WiFiServer.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\Modem.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\WiFiClient.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\WiFiUdp.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\WiFiFileSystem.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\WiFiSSLClient.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\WiFiS3\WiFi.cpp.o
Compiling library "ArduinoOTA"
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\InternalStorage.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\utility\rp2_flash_boot.c.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\InternalStorageRP2.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\InternalStorageSTM32.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\InternalStorageESP.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\utility\stm32_flash_boot.c.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\utility\r_flash_lp_cf.c.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\InternalStorageAVR.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\OTAStorage.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\WiFiOTA.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\InternalStorageRenesas.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\libraries\ArduinoOTA\ArduinoOTA.a
Compiling core...
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\core\tmp_gen_c_files\pin_data.c.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\core\tmp_gen_c_files\common_data.c.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\core\variant.cpp.o
Using previously compiled file: C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0\core\tmp_gen_c_files\main.c.o
Using precompiled core: C:\Users\npcuser\AppData\Local\Temp\arduino\cores\arduino_renesas_uno_unor4wifi_7ca94850d9e2beacb5360be6245f0144\core.a
Linking everything together...
"C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -Wl,--gc-sections --specs=nosys.specs -w -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -o "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.elf" "-LC:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0" "-LC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\variants\\UNOWIFIR4" "-TC:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\variants\\UNOWIFIR4/fsp.ld" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\sketch\\sketch_sep11a.ino.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\Modem.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\StringHelpers.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\WiFi.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\WiFiClient.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\WiFiFileSystem.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\WiFiSSLClient.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\WiFiServer.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\WiFiS3\\WiFiUdp.cpp.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\libraries\\ArduinoOTA\\ArduinoOTA.a" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\core\\tmp_gen_c_files\\common_data.c.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\core\\tmp_gen_c_files\\main.c.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\core\\tmp_gen_c_files\\pin_data.c.o" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0\\core\\variant.cpp.o" -Wl,--whole-archive -Wl,--start-group "C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\renesas_uno\\1.2.1\\variants\\UNOWIFIR4/libs/libfsp.a" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/..\\..\\cores\\arduino_renesas_uno_unor4wifi_7ca94850d9e2beacb5360be6245f0144\\core.a" -Wl,--no-whole-archive --specs=nano.specs -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -Wl,--end-group "-Wl,-Map,C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.map"
"C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O binary -j .text -j .data "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.elf" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.bin"
"C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O ihex -j .text -j .data "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.elf" "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.hex"

Using library WiFiS3 at version 0.0.0 in folder: C:\Users\npcuser\AppData\Local\Arduino15\packages\arduino\hardware\renesas_uno\1.2.1\libraries\WiFiS3 
Using library ArduinoOTA at version 1.1.0 in folder: C:\Users\npcuser\Documents\Arduino\libraries\ArduinoOTA 
"C:\\Users\\npcuser\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-size" -A "C:\\Users\\npcuser\\AppData\\Local\\Temp\\arduino\\sketches\\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.elf"
Sketch uses 74672 bytes (28%) of program storage space. Maximum is 262144 bytes.
Global variables use 9816 bytes (29%) of dynamic memory, leaving 22952 bytes for local variables. Maximum is 32768 bytes.
"{runtime.tools.arduinoOTA.path}/bin/arduinoOTA" -address "" -port 65280 -username IoT -password "" -sketch "C:\Users\npcuser\AppData\Local\Temp\arduino\sketches\30A8FE9E53CBB56EB012380315ACA3D0/sketch_sep11a.ino.bin" -upload /sketch -b
Failed uploading: cannot execute upload tool: exec: "{runtime.tools.arduinoOTA.path}/bin/arduinoOTA": file does not exist

Any help would be appreciated

it is not installed with the Uno R4 platform. Install the AVR or SAMD platform in Boards Manager and it will install the upload tool

1 Like