This works refactors the upload API by creating a target dedicated for uploading rather than executing a command whenever CMake is run. This is a somewhat standard behavior in common frameworks.
The new upload target is named after the source target and append flash to its end.
Besides, the upload_arduino_target function has been renamed to set_upload_target_port as it describes more clearly what does it do. It's important to note that the target is created inside this function.
This works refactors the upload API by creating a target dedicated for uploading rather than executing a command whenever CMake is run. This is a somewhat standard behavior in common frameworks. The new upload target is named after the source target and append flash to its end. Besides, the
upload_arduino_target
function has been renamed toset_upload_target_port
as it describes more clearly what does it do. It's important to note that the target is created inside this function.Closes #73