Search the Community
Showing results for tags 'progmem'.
Found 1 result
In the Energia port for the CC3200, will there be an avr/pgmspace.h replacement to help manage access to the program memory? If it is not already in the works, would such a thing be workable? As I understand it, the CC3200 stores program in an external memory, and loads it into RAM for execution. The AVR has two memory spaces (program and data), and on Arduino, avr/pgmspace.h defines various macros, etc. for using data in program space. Seems like it might be possible to create a pgmspace.h (and accompanying library) which would allow use of data stored in the CC3200 external memory in a way compatible with some Arduino libraries. Just a thought at this point, I have not studied the CC3200 architecture, and my familiarity with pgmspace.h is mostly in finding ways to work around it when porting AVR Arduino libraries to ARM. (Got started thinking about this because I was thinking it would be nice if Energia included a avr/pgmspace.h for MSP430 and for Tiva, similar to what TeensyDuino does. http://forum.stellarisiti.com/topic/1983-howto-porting-libraries-some-help-needed/?p=7660 )