AN2295 Linux utility

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

AN2295 Linux utility

906件の閲覧回数
sunilkumar_sing
Contributor III

Hi ,

I need an2295 serial bootloader linux utility to program and I am trying to compile but getting following error:

prog.c:1957:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]

prog.c:1965:5: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]

     fprintf(stderr, "Can't erase block %d at address 0x%06X\n", block, er);

     ^

prog.c:1967:5: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]

     fprintf(stderr, "Can't erase block %d at address 0x%08X\n", block, er);

     ^

prog.c:1969:5: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=]

     fprintf(stderr, "Can't erase block %d at address 0x%04X\n", block, er);

     ^

make: *** [prog.o] Error 1

In window it is working fine Can any one please assist me ?

Thanks,

Sunil

0 件の賞賛
返信
0 返答(返信)