ARTIK 530 use Eclipse IDE for Windows

本文介绍如何安装及配置Eclipse IDE进行ARM交叉编译,并使用Remote System Explorer连接ARTIK530设备。此外还解决了在使用过程中遇到的架构配置冲突问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Summary

Tested on Windows Eclipse IDE cross compiling, download the elf file to ARTIK 530, and execute, with successful result.

Install and setup Eclipse IDE

Follow this link, to install Eclipse ARM Plug-ins and GCC cross compiler.

Install Eclipse and its ARM Plug-ins
Install the GCC Linaro Cross Compiler

The configuration is as below,

Project >> Properties >> C/C++ Build >> Settings >> Tool Setting

ToolSettings

Project >> Properties >> C/C++ Build >> Settings >> Tool Chains

ToolChains

Window >> Preferences >> C/C++ >> Build >> Global Tools Paths

Global Tools Paths

After download to ARTIK 530, the execute result is as,

[root@artik ~]# ./Artik_hello.elf 
Hello ARM World!

Eclipse Remote System Explorer

Window >> Perspective >> Open Perspective >> Other >> Remote System Explorer

Input Hostname, Connection etc.
Input

Input user name and password
Input user name and password

Execute shell command in Eclipse
Execute shell command in Eclipse

issue of “Conflicting architecture profiles”

Encounter below conflicting architecture profile error, caused by “gnu-mcu-eclipse-build-tools-2.9-20170607-0922-win32-setup.exe”, downgrade to “gnuarmeclipse-build-tools-win32-2.6-201507152002-setup.exe”, problem resolved.

Description Resource Path Location Type
error: ./src/main.o: Conflicting architecture profiles M/A HelloHello C/C++ Problem

Conflicting architecture

Latest gnu-mcu-eclipse-build-tools-2.9 is not compatible with gcc-linaro-arm-linux-gnueabihf-4.8.
gnu-mcu-eclipse-build-tools-2.9

Reference

Eclipse Desktop IDE for Windows
Eclipse Desktop IDE for Windows(support the ARTIK SDK)
Download gcc-linaro-arm-linux-gnueabihf-4.8-2013.10-20131018_win32.exe
Download gnuarmeclipse-build-tools-win64-2.6-201507152002-setup.exe


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值