step 1. get the cross compile to work;
I personally use 
http://gnutoolchains.com/beaglebone/
-> beaglebone-gcc4.7.3.exe 
<http://sysprogs.com/files/gnutoolchains/beaglebone/beaglebone-gcc4.7.3.exe>

Once you install it, open eclipse and try to compile the hello world 
program; once that works step 2

step 2.
While I highly recommend the book (id get it make your life much easier); 
goto http://exploringbeaglebone.com/chapter1/ and read it till your reach 
the ADC bit; there is a github for the book, which has adc examples.;
the book explains how to configure the adc, and so do a lot of website; 
recommend you search google for "uenv.txt+BB-ADC"



On Tuesday, 11 August 2015 00:25:22 UTC+10, Valeria M. wrote:
>
> Hi everybody!
>
> I have a Beaglebone Black running the last Debian image and for my current 
> project I need to cross-compile it with Eclipse from my WIndows OS.
>
> I'm fairly new both to microcontrollers and C++ (programming in general if 
> I am to be honest) and right now I'm still trying to understand if my 
> assignment is doable!
> Here it goes:
> I need to sample with the built-in ADC of the BBB an analog input,  count 
> the samples and find a way to 'force' the ADC-clock rollover to synchronize 
> with an external clock
>
> Do you think this is feasible? I haven't find, strangely enough, anything 
> online about the last two, I'm googling the wrong way?
>
> Regards,
> Valeria
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to