Reputation: 360
I have tried quite a few things on the internet but all seems to be not working when I cross compile on eclipse (with GNU MCU ARM and Sourcery Lite ), the binary on the BB-Black gives segmentation fault. Did someone try cross-compiling in recent time?
Upvotes: 0
Views: 4383
Reputation: 323
I created a repository providing an example how to cross-compile for the beagle bone black on both Linux and Windows (MacOS should be possible as well) with CMake. Also includes Eclipse project files and instructions on how to perform remote debugging with the TCF agent:
https://github.com/spacefisch/beaglebone-crosscompiling
Upvotes: 1
Reputation: 23
Now, in 2020 it is much simpler. Download "Code Composer Studio IDE for Windows Host" from https://www.ti.com/. It is an Eclipse based IDE, for many TI targets. It includes the compiler too.
Upvotes: 1
Reputation: 360
Setting up Beagle Board Tool chain for windows:
Online tutorial: In the tutorial it is mentioned that how to setup the tool chain in eclipse, cross compile on windows and deploy on the windows. - http://jkuhlm.bplaced.net/hellobone/
Pre-Requisite:
In order for beagle-bone to work with your laptop, you need to install the driver for the beagle bone.
https://beagleboard.org/getting-started - Follow the link above and download the drivers at step 2. - Important: To install the driver, you need to switch off the driver signature safety feature of windows OS. The instructions to do so is mentioned at the link below: https://www.youtube.com/watch?v=71YAIw7_-kg&feature=youtu.be
Install the following: 1. Java SDK : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Install Eclipse IDE for C/C++
After opening your Eclipse:
Linaro Tool chain : http://releases.linaro.org/components/toolchain/binaries/latest-7/arm-linux-gnueabihf/
Install GNU Make: http://gnuwin32.sourceforge.net/packages/make.htm
Now please open the online tutorial mentioned in the beginning of this article and follow step-4 onwards.
Use your programmer instincts to import the project, edit make file, launch the remote system via eclipse, create a SSH connection to beagle bone black.
Upvotes: 2