Eclipse + Raspberry Pi easy config remote debug

preview_player
Показать описание
How to: config eclipse to build and remote debug application for raspberry pi on Windows PC.
Рекомендации по теме
Комментарии
Автор

It worked I had to install the gdbserver on raspi, using this command: sudo apt-get install gdbserver. Thanks

emilianopenovi
Автор

Although I learned all this alone and it took me a while, but thanks it was really helpful :)

ahmedabdelhalim
Автор

This worked for me. But there was ONE MORE THING I HAD TO DO: make sure in the "Debug Configurations > Main" under "Connection" also set the "Properties..." to the same path as "Remote Absolute File Path blah..."

marcelroth
Автор

followed this demonstration to the letter, started and stopped about 100 times and IT WORKED, the only thing you need to do is download & install raspberry-gcc

jlumley
Автор

hi can any one tell me where can i found the path of the raspberry by to include it in PATH variables . i am using eclipse Luna and MinGW compiler, i couldnot find ..../raspberry/bins

shadyzahran
Автор

unfortunately this doesn't work for me, the compiler can't find the stdio.h
This happens when I try to build it, do you have an idea how to fix it? I tried several options, but couldn't find a soultion. What did you install at your system? I Use eclipse 4.4.1 and SysGCC (like you).
Would be kind of you, if you could give us some more informations!
'Building file: ../src/HelloRemote.c'
'Invoking: Cross GCC Compiler'
arm-linux-gnueabihf-gcc -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/HelloRemote.d" -MT"src/HelloRemote.d" -o "src/HelloRemote.o" "../src/HelloRemote.c"
../src/HelloRemote.c:11:19: fatal error: stdio.h: No such file or directory
compilation terminated.
make: *** [src/HelloRemote.o] Error 1

markuskohler