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

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

Window >> Preferences >> C/C++ >> Build >> 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 user name and password

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

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

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
Eclipse IDE配置与ARTIK530开发

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

被折叠的 条评论
为什么被折叠?



