use '.infomemnobits' instead ;)
On Thursday 06 February 2003 15:11, Graeme Hedley wrote:
> I wanted to use the information memory but not initialise it on each flash
> program so that some data would survive both reboots and flash updates. I
> defined an array thus:
>
> u16_t __attribute__((section(".infomem"))) info_buffer[32];
--
/********************************************************************
("`-''-/").___..--''"`-._ (\ Dimmy the Wild UA1ACZ
`6_ 6 ) `-. ( ).`-.__.`) Enterprise Information Sys
(_Y_.)' ._ ) `._ `. ``-..-' Nevsky prospekt, 20 / 44
_..`--'_..-_/ /--'_.' ,' Saint Petersburg, Russia
(il),-'' (li),' ((!.-' +7 (812) 3468202, 5585314
********************************************************************/