Компилятор сразу выругался на обьявленные процедуры
Код
Error[Pa043]: the keyword "__farflash" is not available with the E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 43 current settings Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 125 parameter of type "unsigned char *" Warning[Pe111]: statement is unreachable E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 221 Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 238 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 258 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 262 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 275 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 290 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 314 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 329 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 347 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 356 parameter of type "unsigned char *" Error[Pe167]: argument of type "char __flash *" is incompatible with E:\RADIO\IAR4.21A\avr\tutor\Xbox4\main.c 364 parameter of type "unsigned char *"
описание самих процедур выглядит так
Цитата
extern void PrintDebug(unsigned char __farflash stringD[25]);
в сырцах ничего особенного не менялось.
ключ в экстраопциях учтён --string_literals_in_flash
подскажите куда копать ?