Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Sketch uses 112820 bytes (44%) of program storage space. Maximum is 253952 bytes.
Global variables use 4406 bytes (53%) of dynamic memory, leaving 3786 bytes for local variables. Maximum is 8192 bytes.
avrdude: ser_open(): can't open device "\.\COM4": The system cannot find the file specified.
avrdude: ser_drain(): read error: The handle is invalid.
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
the selected serial port avrdude: stk500_send(): failed to send command to serial port
does not exist or your board is not connected
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: The handle is invalid.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Invalid library found in C:\Users\Bob\Documents\Arduino\libraries\BaseStation-master: no headers files (.h) found in C:\Users\Bob\Documents\Arduino\libraries\BaseStation-master
Invalid library found in C:\Users\Bob\Documents\Arduino\libraries\BaseStation-master: no headers files (.h) found in C:\Users\Bob\Documents\Arduino\libraries\BaseStation-master
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Have tried to upload on 2 computers and 3 different boards, 2 of which are new and one is the one i want to update