Salut à tous,
Voila, comme l'indique le titre, j'ai une erreur sous Code::Blocks dont je n'arrive malheureusement pas à trouver la solution. Je fait de la programmation pour pic.
Voici le message exact:
-------------- Build: Debug in test ---------------
Compiling: main.c
at 1: warning 119: don't know what to do with file 'pic16f877a'. file extension unsupported
+ "/usr/bin/sdcpp" -nostdinc -Wall -I"/usr/share/sdcc/include" -I"/usr/share/sdcc/lib" -I"/usr/share/sdcc/scripts" -obj-ext=.o -DSDCC_MODEL_SMALL -DSDCC=290 -DSDCC_REVISION=5416 -DSDCC_pic14 -D__pic14 -DSDCC_PROCESSOR="16f877a" -isystem "/usr/bin/../share/sdcc/include/pic14" -isystem "/usr/share/sdcc/include/pic14" -isystem "/usr/bin/../share/sdcc/include" -isystem "/usr/share/sdcc/include" -isystem "/usr/bin/../share/sdcc/include/pic" -isystem "/usr/share/sdcc/include/pic" "main.c"
+ "/usr/bin/gpasm" -g -c "obj/Debug/main.asm"
Linking console executable: bin/Debug/test
at 1: warning 119: don't know what to do with file 'pic16f877a'. file extension unsupported
message: using default linker script "/usr/share/gputils/lkr/16f877a.lkr"
warning: relocation of section "UDL_main_0" failed, relocating to a shared memory location
error: no target memory available for section "UDL_main_0"
+ "/usr/bin/gplink" -I"/usr/bin/../share/sdcc/lib" -I"/usr/share/sdcc/lib" -I"/usr/bin/../share/sdcc/lib/pic" -I"/usr/share/sdcc/lib/pic" -c -w -r -o bin/Debug/test obj/Debug/main.rel /usr/share/sdcc/lib/pic/pic16f877a.lib /usr/share/sdcc/lib/pic/libsdcc.lib libsdcc.lib pic16f877a.lib
+ "/usr/bin/gplink" -I"/usr/bin/../share/sdcc/lib" -I"/usr/share/sdcc/lib" -I"/usr/bin/../share/sdcc/lib/pic" -I"/usr/share/sdcc/lib/pic" -c -w -r -o bin/Debug/test obj/Debug/main.rel /usr/share/sdcc/lib/pic/pic16f877a.lib /usr/share/sdcc/lib/pic/libsdcc.lib libsdcc.lib pic16f877a.lib returned errorcode 256
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Quelqu'un a-t-il déjà eu ce problème ?
Si vous avez besoin d'une quelconque autre information, n’hésitez pas à ma le faire savoir
Merci !!!
-----