[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Suggestions for avr-gcc (Device fuses)
From: |
Anton Erasmus |
Subject: |
[avr-gcc-list] Suggestions for avr-gcc (Device fuses) |
Date: |
Sat, 22 Apr 2006 13:12:59 +0200 |
Hi,
Wouldn't it be worthwhile to add a method of specifying device fuses
in the C or assembler source file ?
I think something similar to the way the EEPROM and PROGRAM memory is handled.
something like:
unsigned char fuses[3] __atribbute___(fuses) = {0x99,0xFE,0x2E};
Header files with defines with the various fuse values should be created, so
that one can
build up the fuse values using various defines. I think this would prevent a
lot of finger
trouble, since it is easy to forget to program the correct fuse values when
starting to work
on a new board.
Regards
Anton Erasmus--
A J Erasmus