AVRDUDE | Scripting upload with no User Input

I'm looking at trying to script a .hex upload to an arduino nano with no user input, utilising AVRDUDE.

I was hoping there would be some kind of wild card for specifying the com port used, like "-P COM*" or something, assuming that there is only one COM port active.

Am I missing something? Is there a simple way to automate this that you know of?

I can't find anything, so I was going to go down the road of programming something to scan and store the active comm port to a variable. I feel like someone would of come up with a nice solution for this, but google isn't giving me anything.

That is the only way to my knowledge.

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.