LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 01-23-2016, 06:20 AM   #1
Jasson
LQ Newbie
 
Registered: Jan 2016
Posts: 15

Rep: Reputation: Disabled
B-Pi with Android 4.2 / I2C / crosscompiling


Hello again,

i´m exploring a way to use I2C on a B-Pi with Android 4.2.
I have read, that in order to do this by userspace code i need to invoke i2c-dev.h, which in return includes other linux headers.

1.) Is it possible to crosscompile programms when planing to use I2C?

2.) In case yes, i probably have to use a linux Host or a linux in a VM, since a Windows PC probably has no clue of things like
#include <linux/types.h>
#include <linux/i2c.h>
etc... ????

best regards,
Jasson
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i2c-dev.h missing i2c read/write functions dbrazeau Programming 1 12-17-2015 10:40 PM
How to forward IOCTL's from i2c-dev.c to adapter driver (i2c-rt3352.c) elonica.pl Linux - Kernel 2 08-23-2011 02:03 AM
crosscompiling issues with qtopia for ARM9 raman_31181 Linux - Embedded & Single-board computer 3 09-02-2008 09:21 AM
crosscompiling grub tilman1 Linux - Software 0 03-11-2007 11:32 AM
crosscompiling gcc error Alotau Linux - Software 4 06-22-2005 04:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration