Pages: 1 [2]   Go Down
Author Topic: Arduino AVRDude -D option  (Read 3851 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12747
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

That's the goal.

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

Thanks!

Quote
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.
Logged

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

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

Thanks.
T
Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 197
Posts: 12747
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Fine, you are the programmer?

Yup.  Other folks are certainly welcome to participate!

Quote
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.

Quote
Now I unaderstand a bit more AVR-language.

Glad to hear it!
Logged

Pages: 1 [2]   Go Up
Jump to: