Arduino-Makefile
Arduino-Makefile copied to clipboard
Support OpenCR Windows upload with cygwin and arduino zero board upload
-
For using Arduino makefile with cygwin environment, OpenCR uses its own Windows binary to upload an image to the board. For this reason, the Windows COM port is needed as an argument instead of using a converted device path. So, MONITOR_PORT is used to upload binary on the OpenCR board.
-
When uploading a bin file to the arduino zero board, there is an opening fail for a file in the argument of openocd due to the double braces. So removed the braces in the argument.