(NOT IMPORTANT)
Hello,
I know that I can debug the Arduino UNO directly without external programmers (amazing), but I would like to know how to debug the board using the Atmel-ICE debugger.
Here is my platformio.ini file:
[env:uno]
platform = atmelavr
board = uno
framework = arduino
upload_protocol = atmelice_isp
board_upload.require_upload_port = no
debug_port = usb
But it yields me the following error when the debug starts:
.pioinit:13: Error in sourced command file:
usb: The file or directory does not exist.
How can I solve this problem? Or maybe: Is Atmel-ICE debugging supported by PlatformIO?
Thanks a lot for your help!