adds macros for the following upload scripts: avrdude, dfu-programmer
adds constraints for arduino based programmers
adds constraints for uploader of different platforms
Unfortunately select() statements are evaluated after the macro evaluation. Because of that, we cannot assign the type of the uploader to a variable, before the creation of the upload script. Currently, both upload scripts are generated. The upload script that should be used can be chosen by adding
uploader = "dfu"
or
uploader = "avrdude"
to the default_embedded_binary macro.
In case that this this stays that way, we should raise a meaningful error, when no uploader is specified.
…nts for programmer and uploader
Unfortunately
select()
statements are evaluated after the macro evaluation. Because of that, we cannot assign the type of the uploader to a variable, before the creation of the upload script. Currently, both upload scripts are generated. The upload script that should be used can be chosen by addinguploader = "dfu"
oruploader = "avrdude"
to the
default_embedded_binary
macro.In case that this this stays that way, we should raise a meaningful error, when no uploader is specified.