Setting up Eclipse for Cross Development - NicolasSchuck/EmbeddedLinux_De1-SOC GitHub Wiki

Previous Page

Testing your Embedded Linux

Introduction

Now we are going to set up Eclipse to Cross Compile executable Software for our embedded Linux System.

Eclipse

  • Open a terminal and type 'eclipse'
  • Open the eclipse Marketplace and install Eclipse Embedded C/C++

  • Create a new Project "C Managed Build -> Executable/Hello World Arm C Project -> Arm Cross GCC
  • Setup your toolchain

  • compile your "HelloWorld" and push it (via ssh) to your DE1-SoC
  • execute the program by going to the location of "HelloWorld" (via terminal) and type ./HelloWorld
  • your terminal should print "Hello Arm World!"

Source Code:

#include <stdio.h>

int main(void) {
    printf("Hello Arm World!" "\n");
    return 0;
}

Next Page

Accessing IO via lightweight HPS-to-FPGA bridge

⚠️ **GitHub.com Fallback** ⚠️