#define DEF_VAR
.
.
.
#ifdef DEF_VAR
#define global
#else
#define global extern
#endif
//1===========================================================================
/*
*
* As I am stating below, I inform you that the data will be stored in Flash
* (I'm using the MKE15Z256VLL7 which has: 256K of Flash, 32K of SRAM,
* 32K of FlexNVM and 2K of FlexRam), how would it be for me to put the
* same data in FlexNVM?
*
* Would it also be possible to define in which FlexNVM region the data should be stored?
*
*/
global const char TextosDisp[62][3][17]
#ifdef DEF_VAR
={ {"","",""}, {"","",""}, ... {"","",""}}
#endif
;
//1==========================================================================
.
.
.
//2==========================================================================
/*
*
* Can I use this same data the way I use the data in Flash?
*
* When stored in Flash I use the data as:
*
*/
void TFT_String (int16_t x3, int16_t y3, const char *pointer, uint16_t color, uint16_t BackGrnd)
{
...
}
.
.
.
TFT_String (2, 14, TextosDisp[1][0], WHITE, BLACK);
//2==========================================================================
Thanks,
Marcel Giraldi