Author Topic: How does avrdude know about digispark?  (Read 4407 times)

mron

  • Newbie
  • *
  • Posts: 22
How does avrdude know about digispark?
« on: February 15, 2013, 09:20:17 am »
I'm looking at the avrdude.conf. THere is no entry for the digispark. avrdude -cdigispark starts up the upload process, without specifying a .conf file. How does avrdude know about the digispark?


I'm still trying to use an old g4 mac to upload to the spark. I have to go back to a 2010 version of crosspack to get a version of avrdude that will run. I'm hoping I can find a digispark config description that will get this old version to work.

mron

  • Newbie
  • *
  • Posts: 22
Re: How does avrdude know about digispark?
« Reply #1 on: February 15, 2013, 12:09:01 pm »
Looks like avrdude is a binary wrapper around avrdude_original. the original has the ppc binary, avrdude sadly does not.


so, like dude.. wheres my binary?


what does the wrapper do?

digistump

  • Administrator
  • Hero Member
  • *****
  • Posts: 1465
Re: How does avrdude know about digispark?
« Reply #2 on: February 15, 2013, 04:18:23 pm »
avrdude - the modified one we provide - is just a basic C++ program (sources: https://github.com/digistump/avr-dummy) the look for the -cdigispark setting and sends the file info to the micronucleus executable
if it doesn't see -cdigispark then it sends all the parameters to avrdude_original - the regular avrdude executable