远程调试树莓PI

时间:2024-04-06 15:08:05

非官方

参考  http://linuxtortures.blogspot.jp/2012/06/cross-compiling-and-cross-debugging-c.html

注意:

    建立 /etc/apt/sources.list.d/emdebian.list, containing:

    deb http://www.emdebian.org/debian squeeze main
    deb http://ftp.us.debian.org/debian squeeze main contrib non-free

    sudo apt-get update
    遇到密钥问题
    例如导入密钥为AED4B06F473041FA
    gpg --keyserver pgpkeys.mit.edu --recv-key AED4B06F473041FA
    gpg -a --export  AED4B06F473041FA | sudo apt-key add -

官方出品:

参考 http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/

安装交叉编译环境

git clone https://github.com/raspberrypi/tools.git

远程调试树莓PI

新建c++工程

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

debug

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI

远程调试树莓PI