[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] I have met a problem.....

From: Eric Weddington
Subject: RE: [avr-gcc-list] I have met a problem.....
Date: Mon, 13 Aug 2007 14:02:20 -0600

> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of janeleee
> Sent: Thursday, August 09, 2007 2:16 AM
> To: address@hidden
> Subject: [avr-gcc-list] I have met a problem.....
> I try to insert a new section in FLASH, and at the same time,
> some functions
> will add into this section. In my project, I need call these
> functions by
> functions pointer, so i do the following test code:
> #include <stdint.h>
> void foo(uint8_t* t) __attribute__((section(".mysection")));
> void (*pfun)();
> and add the -Wl,--section-start=.mysection=0x1c00 in link
> option of WINAVR.
> I try to compile this file, it works ok. but when i try to
> load debugger,
> the AVR studio 4.13 beta528 exit abnormally.
> Now, I do not know where the problem is.......Need your help! :)

What version of WinAVR are you using?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]