How Do You Get C onto a BeagleBone AI?

106 views
Skip to first unread message

Marisol

unread,
Apr 1, 2020, 9:11:04 PM4/1/20
to BeagleBoard

Could anyone give me a quick pointer as to where to look for information on how to transfer a C program to the BeagleBone AI and then compile it and run it?

 

I have a C program compiled in Microsoft that I wish to transfer to a BeagleBone AI. The C program implements an Artificial Neural Network and I want to use it with my LDR Camera 

evilwulfie

unread,
Apr 1, 2020, 9:18:18 PM4/1/20
to beagl...@googlegroups.com
ssh in. open up nano. copy your text and paste it into nano.

I am sure you will be rewriting it a bit to compile under GCC

good luck


On 4/1/2020 6:11 PM, Marisol wrote:

Could anyone give me a quick pointer as to where to look for information on how to transfer a C program to the BeagleBone AI and then compile it and run it?

 

I have a C program compiled in Microsoft that I wish to transfer to a BeagleBone AI. The C program implements an Artificial Neural Network and I want to use it with my LDR Camera 

--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/49a86c03-6f0c-4bb8-b6ec-cd534c67fad0%40googlegroups.com.

Robert Heller

unread,
Apr 1, 2020, 9:25:47 PM4/1/20
to beagl...@googlegroups.com, BeagleBoard, Robert Heller
At Wed, 1 Apr 2020 18:11:04 -0700 (PDT) beagl...@googlegroups.com wrote:

>
>
>
>
>
> Could anyone give me a quick pointer as to where to look for information on
> how to transfer a C program to the BeagleBone AI and then compile it and
> run it?

I don't know about the BeagleBone AI, but for a BeagleBone Black or a
PocketBeagle, you would use the network connection to transfer the (source)
file via ssh. A BeagleBone Black has a RJ45 for a hard wired Ethernet. There
are also Wireless BeagleBones that can use WiFi. The BeagleBone Black and the
PocketBeagle can also function in "tethered" mode using the USB as a virtual
network.

>
>
>
> I have a C program compiled in Microsoft that I wish to transfer to a
> BeagleBone AI. The C program implements an Artificial Neural Network and I
> want to use it with my LDR Camera

The Microsoft Visual C/C++ compiler compiles to x86 or x86_64 for the
MS-Windows O/S. That won't run on the BeagleBone. The Linux (Debian) O/S
includes GNU C and the GNU Binutils. You would copy the source code (.c, .h,
etc. files) to the Beagle and then use the native compiler (gcc) to compile
it.

>

--
Robert Heller -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
http://www.deepsoft.com/ -- Linux Administration Services
hel...@deepsoft.com -- Webhosting Services

jonnymo

unread,
Apr 1, 2020, 9:35:53 PM4/1/20
to Beagle Board, Robert Heller
I usually use WinSCP to transfer files between a Windows box and a something running Linux:

However. you could setup either Visual Studio or Eclipse to cross compile to a BB target.

Cheers,

Jon 

--
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 beagleboard...@googlegroups.com.

Robert Heller

unread,
Apr 1, 2020, 9:40:22 PM4/1/20
to beagl...@googlegroups.com, beagl...@googlegroups.com, Robert Heller
At Wed, 1 Apr 2020 18:17:57 -0700 beagl...@googlegroups.com wrote:

>
>
> ssh in. open up nano. copy your text and paste it into nano.

If you can use slogin, you can also use scp.

>
> I am sure you will be rewriting it a bit to compile under GCC
>
> good luck
>
> On 4/1/2020 6:11 PM, Marisol wrote:
> >
> > Could anyone give me a quick pointer as to where to look for
> > information on how to transfer a C program to the BeagleBone AI and
> > then compile it and run it?
> >
> > I have a C program compiled in Microsoft that I wish to transfer to a
> > BeagleBone AI. The C program implements an Artificial Neural Network
> > and I want to use it with my LDR Camera
> >
> > --
> > 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 beagleboard...@googlegroups.com
> > <mailto:beagleboard...@googlegroups.com>.
> > <https://groups.google.com/d/msgid/beagleboard/49a86c03-6f0c-4bb8-b6ec-cd534c67fad0%40googlegroups.com?utm_medium=email&utm_source=footer>.
Reply all
Reply to author
Forward
0 new messages