Now I am feeling like dumb . 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.
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...
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 ...
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...
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...