ARM技术william hill官网
直播中

jf_85160886

3年用户 7经验值
擅长:可编程逻辑 MEMS/传感技术 嵌入式技术 控制/MCU
私信 关注
[经验]

【触觉智能 Purple Pi开发板试用】开发环境

【触觉智能 Purple Pi开发板试用】开发环境

下载资料包

git clone https://github.com/industio/ido-sbc2d06-sdk.git

安装交叉编译链

使用以下方法安装:

# cd ido-sbc2d06-sdk/toolchain
# ./install_toolchain.sh
  • 验证
# source ~/.bashrc    //使配置的环境生效
# which arm-linux-gnueabihf-gcc

image.png

如果是通过百度网盘下载的,可以去官网资料查看,原理是一样的。

其他工具

# sudo apt-get  install libncurses5-dev libncursesw5-dev
# sudo apt-get  install lib32z1
# sudo apt-get  install lsb-core
# sudo apt-get install libc6-dev-i386
# sudo apt-get install lib32z1 
# sudo apt-get install libuuid1:i386
# sudo apt-get install cmake
# sudo apt install bc
# sudo apt-get install xz-utils
# sudo apt-get install automake
# sudo apt-get install libtool
# sudo apt-get install libevdev-dev
# sudo apt-get install pkg-config
#安装ssh,方便调试
sudo apt-get install openssh-server
#安装xz压缩工具
sudo apt-get install xz-utils
#安装 python
sudo apt-get install python
#安装 git
sudo apt-get install git
#安装 make
sudo apt-get install make
#安装 gcc
sudo apt-get install gcc
#安装 g++
sudo apt-get install g++

交叉编译测试

image.png

arm-linux-gnueabihf-gcc HelloWorld.c -o HelloWorld -lpthread

然后将HelloWorld复制到开发板中,我这里是SSH。

image.png

更多回帖

发帖
×
20
完善资料,
赚取积分