What is the problem?
I am baffled novice. My Platform.ini file contains:
src_dir = Marlin
boards_dir = buildroot/share/PlatformIO/boards
default_envs = mega2560
include_dir = Marlin
upload_port = /dev/AMA0
but when I build it returns:
Configuring upload protocol...
CURRENT: upload_protocol = wiring
Looking for upload port...
Error: Please specify
upload_port for environment or use global
For some development platforms it can be a USB flash drive (i.e. /media//)
**** [upload] Explicit exit, status 1*
What did you already try to solve it?
No idea what else to try to resolve this error.
Have you tried running in safe mode?
Did running in safe mode solve the problem?
Additional information about your setup
Uploaded correctly when Arduino Mega 2560 connected to PC USB Port connected by finding correct port automatically. No mention of upload_port needed in Platform.ini>