|
| From: | Joerg Wunsch |
| Subject: | Re: [avr-gcc-list] Extended SRAM access |
| Date: | Wed, 3 Jul 2002 12:21:56 +0200 (MET DST) |
Theodore Roth <address@hidden> wrote:
> I've found that this also works from a C source file:
>
> void my_init (void) __attribute__ ((naked)) \
> __attribute__ ((section (".init1")));
>
> void my_init (void)
> {
> /* your init code here; C or inline asm */
> }
Guess it's time to write up some avr-libc documentation that's
accompanying the project and always up-to-date... ;-)
--
J"org Wunsch Unix support engineer
address@hidden http://www.interface-systems.de/~j/
avr-gcc-list at http://avr1.org
| [Prev in Thread] | Current Thread | [Next in Thread] |