Jump to content
43oh

Does progmem work with Stellaris ?


Recommended Posts

I suspect (through use of fixed arrays) I have blown the available memory in an Energia Sketch.

 

I have been using const... but I suspect they are still going into SRAM and causing corruption by filling memory.

 

Eg.

const char* keylabel [16]         =    {"7","4","1","0","8","5","2",".","9","6","3","","Exit","Clear","<-","Enter"};

In this link (which may or may not be correct)

 

http://packetsofknowledge.se/Problems_with_using_large_constant_arrays_with_AVR/Arduino

 

It talks of the need to use progmem, I thought I read somewhere that it doesn't work with arm?

 

Sooooo....... does progmem work for the stellaris under energia ? Or should I just be re-writing my code to not be so flexible and hopefully more memory efficient ?

 

I know I need to work on my...... "efficiencies" :unsure:

 

I had a bit of a search and couldn't find anything definitive.

 

Cheers

 

PTB

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...