Go to advanced search

by ashishpidev
Tue Mar 01, 2016 9:31 am
Forum: General programming discussion
Topic: Compiling remotly on ubuntu machine in eclipse
Replies: 7
Views: 1481

Re: Compiling remotly on ubuntu machine in eclipse

Now I am feeling like dumb :oops: . The solution was easy. Just copied the code file and header file in to the project directory and included them into my main file "bcm2835.h" ,solved the problem. Thanks for your help BTW.
by ashishpidev
Sun Feb 28, 2016 1:51 pm
Forum: General programming discussion
Topic: Compiling remotly on ubuntu machine in eclipse
Replies: 7
Views: 1481

Re: Compiling remotly on ubuntu machine in eclipse

Thanks rzusman. I have mounted the Debug directory and now I can run directly. Sorry to bother you again but how do you install library for the cross platform like bcm2835 for accessing gpio. I tried configure with --prefix but it didn't work maybe I am missing something. I am newbie for cross platf...
by ashishpidev
Sun Feb 28, 2016 11:19 am
Forum: General programming discussion
Topic: Compiling remotly on ubuntu machine in eclipse
Replies: 7
Views: 1481

Re: Compiling remotly on ubuntu machine in eclipse

It worked :) But now I am only able to setup the toolchain path and compile in the eclipse. After building the binaries it needs to copy over the network every time to run on the raspberry pi. I think I need to share the path for Debug folder so that I can build my project via eclipse on my machine ...
by ashishpidev
Sun Feb 28, 2016 5:09 am
Forum: General programming discussion
Topic: Compiling remotly on ubuntu machine in eclipse
Replies: 7
Views: 1481

Re: Compiling remotly on ubuntu machine in eclipse

Thanks rzusman. I used gcc-arm-none-eabi toolchain for compiling cortex m-4 controller in eclipse, but this was not being remotely. It needed to burn into the memory of that microcontroller. since the raspberry pi has cortex A7, this tool-chain is probably not going to work. I am going to try this s...
by ashishpidev
Sat Feb 27, 2016 2:49 pm
Forum: General programming discussion
Topic: Compiling remotly on ubuntu machine in eclipse
Replies: 7
Views: 1481

Compiling remotly on ubuntu machine in eclipse

Hello all. I received my pi 2 few days ago.Now I can access the raspberry pi via vncserver and access the gpio. I use C/C++ for coding. But all the code were compiled in the raspberry pi A7 processor, which was obviously slower to compile then my i5 ubuntu machine. I use eclipse IDE in my ubuntu mac...

Go to advanced search