Warning[Pa011]: memory attribute duplicated
Можно так:
Объявить:
#define PGM_P_128 const char __farflash *
#define PGM_P_64 const char __flash *
PGM_P_128 msg[3] = {
(PGM_P_128)"Messaga_0",
(PGM_P_128)"Messaga_1",
(PGM_P_128)"Messaga_2" };
Пример вызова.
printf("%s\n",msg[0]) ;