Pages: [1]   Go Down
Author Topic: help with Bash script  (Read 621 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi there,

I'm pretty new at this.

I have these commands for one step flashing:


avrdude -c avrispmkII -p m32u4 -Pusb -Uflash:r:flashdump.hex:i

avrdude -v -v -v -v -patmega32u4 -cstk500v2 -Pusb -Uflash:w:/flashdump.hex:i -Ulock:w:0x2F:m


I'm trying to figure out how to make these into a bash script (with no or little parameters) can someone here please help me out. I have looked at the bash script guides but they make little sense to me.. since I am so new.

thanks
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 601
Posts: 48556
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I'm trying to figure out how to make these into a bash script
Why? You can't run bash scripts on the Arduino.

If you have a strictly bash question, a bash forum would be a better choice. I don't imagine that you ask Arduino questions there, do you?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sorry if it offended you. like i said. im very new at all of this and since it's run through the arduino i figured i would ask here.
Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 601
Posts: 48556
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
im very new at all of this and since it's run through the arduino
The bash script is not "run through the Arduino".
Logged

Pages: [1]   Go Up
Jump to: