Storing uint8_t array in flash

View: New views
2 Messages — Rating Filter:   Alert me  

Storing uint8_t array in flash

by Kreyl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

    Hi!  

  I would like to store uint8_t array in flash. Sure, I would use PSTR
  if I would need to store string.

  Is there any tool to work with arrays in flash, as useful as PSTR?

 
                                          Best regards,
                                                        Kreyl

                                          mailto: laystoll@...
                                             ICQ: 171094105



_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat

Re: Storing uint8_t array in flash

by David VanHorn-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What compiler are you using?  I'm using WinAVR (GCC) and there is a
PROGMEM feature that may be what you're looking for.

--
There is no computer problem which cannot be solved by proper
application of a sufficiently large hammer.


_______________________________________________
AVR-chat mailing list
AVR-chat@...
http://lists.nongnu.org/mailman/listinfo/avr-chat