why are you trying to do such things in the flash memory? isn't this
only altered on programming the program image (or by explicitly erasing,
programming)?
in the ram, there exists already a noinit section. there you could use:
int __attribute((section(".noinit"))) data;
Roman
mfend wrote:
sorry for doubleposting - still figthing with outlook...
Hello,
I'm trying to find out how I can declare a flash section as a noinit
section.
(Since the section has to be in the main memory I can't use the
.infomemnobits section)
I found this assembler example:
.section .sectionname, "ax", @nobits
but now I need to know related attribute for C:
#define __flashdata__ __attribute__((section(".flashdata"), ???))
Does anybody know the magic word?
Thanks,
matthias
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users