Adding new chip & compiling optiboot #383
-
|
We build custom boards and our current project is using a attiny826. Arduino includes a "pre-built" (I assume) 826 optiboot loader and we have installed it properly, and it has been working fine on our prototype boards. However, this pre-built version uses the 8 second delay and is trying to blink an LED that is not there, and in fact the LED pin is engaging other circuits that should not be active during the boot process. I have been unable to compile the 826 optiboot code with the options we need. I then re-iinstalled all of the tools on a linux box to attempt the compile and cannot find the attiny826 target. How do we add attiny826 to the targets (where-ever that actually is) and compile with the options we need? Any help is greatly appreciated! Keith |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Did you specify the mega0 Makefile? You'll want a command like: Apparently you need to define LED even if START_FLASHES is zero... |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! That did the trick. I've played with this for a couple weeks now, and got it up and running now with the options we need! Very much appreciate the help! Keith |
Beta Was this translation helpful? Give feedback.
Did you specify the mega0 Makefile? You'll want a command like:
Apparently you need to define LED even if START_FLASHES is zero...