Go Down

Topic: Arduino AVRDude -D option (Read 6671 times) previous topic - next topic

Coding Badly

Does this core generate an optimized version for the tinys (to fit in the small flashes).

That's the goal.

The documentation in the boards.txt is really good (especially the fuse-settings).


What about the "empty" bootloader specification? Is this only to set the right fuses, not to upload a bootloader?

Exactly.  The "empty" bootloaders serve two purposes: a convenient way to change the fuses from the Arduion IDE; clear out the current Sketch so the hardware can be safely changed.


Fine, you are the programmer? Your core is really better the code is smaller. Now I unaderstand a bit more AVR-language.


Coding Badly

Fine, you are the programmer?

Yup.  Other folks are certainly welcome to participate!

Your core is really better the code is smaller.

Excellent!  For the ATtiny85 processor, the next update will be even better.  My programs have been 3.5% to 5% smaller with it.  In addition, for the digital functions, if the parameters are compile-time constants, they reduce to single machine instruction.  The code is a variation of the digital*Fast functions.

There are some options in the "core_build_options.h" that can be used to shave a tiny bit off the program size.

For the ATtiny2313, if you're doing write-only serial, using Tiny Debug Serial instead of HardwareSerial reduces the program size.

Now I unaderstand a bit more AVR-language.

Glad to hear it!

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131