eclipse 嵌入式开发_eclipse为cc开发人员设置并用于Windows OS上的嵌入式编程

eclipse 嵌入式开发

In embedded development, Eclipse IDE can be used to write, compile and transfer the generated binary using its Remote System Environment feature.

在嵌入式开发中,可以使用Eclipse IDE远程系统环境功能来编写,编译和传输生成的二进制文件

安装Eclipse和Cross Toolchain并构建工具 (Installing Eclipse and Cross Toolchain and build tools)

You need 3 pieces of software to use Eclipse IDE for embedded projects:

您需要3个软件才能将Eclipse IDE用于嵌入式项目:

在Windows操作系统上为C / C ++开发人员使用Eclipse (Using Eclipse for C/C++ developers on Windows Operating System)

步骤1.验证您的计算机上是否安装了Java SDK (Step 1. Verify if Java SDK is installed on your machine)

Eclipse IDE uses a Java runtime machine to run upon. Hence, whether you are on Windows, Linux or Mac OS, you are going to have Java running on your system.

Eclipse IDE使用Java运行时机器来运行。 因此,无论您是在Windows,Linux还是Mac OS上,都将在系统上运行Java。

Use command prompt or Powershell to run:

使用命令提示符或Powershell运行:

Image for post

If the Java Development Kit (JDK) is not installed, install it from here: https://www.oracle.com/java/technologies/javase-jdk14-downloads.html

如果未安装Java开发工具包(JDK),请从此处安装: https : //www.oracle.com/java/technologies/javase-jdk14-downloads.html

步骤2.下载Eclipse for C / C ++开发人员IDE (Step 2. Download Eclipse for C/C++ Developers IDE)

Go to https://www.eclipse.org/downloads/packages/ and select the Windows version.

转到https://www.eclipse.org/downloads/packages/,然后选择Windows版本。

步骤3.下载交叉编译工具链 (Step 3. Download Cross Compilation Toolchain)

Select the appropriate cross-toolchain compiler according to your development operating system from https://releases.linaro.org/components/toolchain/binaries/

根据您的开发操作系统,从https://releases.linaro.org/components/toolchain/binaries/中选择合适的跨工具链编译器。

Image for post
Image for post
Image for post

第4步 。 为Windows安装GNU Make (Step 4 . Install GNU Make for Windows)

Image for post
Image for post
Image for post
Image for post
Image for post

步骤5。 解压缩Eclipse,跨工具链档案 (Step 5 . Unpack the Eclipse, cross toolchain archives)

Image for post

On Windows, use 7-zip to unpack cross-toolchain archive .tar

在Windows上,使用7-zip解压缩跨工具链存档.tar

Step 6. Copy executable files from /bin in GNU Make installation to the /bin directory of the cross-toolchain compiler

步骤6.将可执行文件从GNU Make中的/ bin复制到跨工具链编译器的/ bin目录

GNU Make installs under ‘Program Files x86’ on Windows:

GNU Make安装在Windows的“ Program Files x86”下:

Image for post

You have to copy all files from its /bin directory:

您必须从其/ bin目录复制所有文件:

Image for post
Image for post

Paste the file from /bin under GNU Make installation:

将文件从/ bin粘贴到GNU Make安装下:

Image for post

步骤7。 最后:在Windows上打开Eclipse for C / C ++ IDE (Step 7 . Finally: Open up Eclipse for C/C++ IDE on Windows)

Image for post
Image for post

在Eclipse上为C / C ++开发人员安装Remote System Explorer插件 (Installing Remote System Explorer plug-in on Eclipse for C/C++ developers)

Another important component of the Eclipse IDE development ecosystem is the Remote System Explorer plug-in program. It is a good-to-have accessory that is going to ease your actual embedded adventures.

Eclipse IDE开发生态系统的另一个重要组件是远程系统资源管理器插件程序。 这是一个很好的附件,可以简化您的实际嵌入式冒险。

Remote System Explorer plug-in for Eclipse IDE can be used for quick debugging and deployment on target platforms e.g. BeagleBone Black *, Raspberry PI * development boards.

Eclipse IDE的远程系统资源管理器插件可用于在目标平台(例如BeagleBone Black *,Raspberry PI *开发板)上进行快速调试和部署。

步骤1.在Eclipse IDE的“帮助”菜单中找到并使用“安装新软件”功能 (Step 1. Within the Eclipse IDE ‘Help’ menu locate and use the ‘Install new software’ feature)

Image for post

步骤2.从可用软件中选择“移动和设备开发”(Step 2. Select “Mobile and Device Development” from Available software)

Image for post
Image for post

After selecting the desired packages to install, get a summary for what’s in it:

选择想要安装的软件包后,获取其中的摘要:

步骤3.“安装详细信息”报告 (Step 3. “Install details” report)

Note: As of the current version Eclipse IDE for C/C++ Developers version 2020–06 (time of writing this tutorial is August 2020), there is a bug affecting the installation of Remote System Explorer. It is going to get patched soon.

注意:从当前版本的Eclipse IDE(用于C / C ++开发人员)2020-06版(编写本教程的时间是2020年8月)开始,存在一个影响远程系统资源管理器安装的错误。 它将很快得到修补。

Image for post

翻译自: https://medium.com/the-innovation/eclipse-for-c-c-developers-set-up-and-use-for-embedded-programming-on-windows-os-164f09f0ed09

eclipse 嵌入式开发

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值