From: Ni Scanaill, Cliodhna
Sent: Monday, November 14, 2016 4:06 PM
To: Philippe Coval <philippe.coval at osg.samsung.com>; VanCutsem, Geoffroy
<geoffroy.vancutsem at intel.com>; iotivity-dev at lists.iotivity.org
Subject: RE: [dev] Using ADT to cross-compile for Yocto
Hi Geoffroy and Philippe,
Thank you for the quick replies.
I have already build Yocto images successfully for both Edison and Galileo Gen
2 using meta-oic layer and I can run the example files.
My current challenge is cross-compiling simple applications on my Ubuntu
machine for these boards without rebuilding all of Yocto (I will look into
building for BLE after I figure this out). I built an SDK using the
instructions in the README, but I'm probably missing something in my Makefile
as it fails to build.
The other method I found to cross-compile applications for Yocto is ADT
(http://www.yoctoproject.org/docs/1.8/adt-manual/adt-manual.html). I
successfully built and tested the "hello.c" example on Edison but I cannot
build "simpleclient.cpp" using these instructions.
If anyone has used either of these methods, I would appreciate a copy of their
Makefile (to use the SDK) or their adt_installer.conf file (for the ADT) so I
can see where I'm going wrong.
Regards,
Cliodhna
From: Philippe Coval [mailto:[email protected]]
Sent: Monday, November 14, 2016 11:19 AM
To: VanCutsem, Geoffroy <geoffroy.vancutsem at
intel.com<mailto:geoffroy.vancutsem at intel.com>>; Ni Scanaill, Cliodhna
<cliodhna.ni.scanaill at intel.com<mailto:cliodhna.ni.scanaill at intel.com>>;
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
Subject: Re: [dev] Using ADT to cross-compile for Yocto
On 14/11/16 12:11, VanCutsem, Geoffroy wrote:
Hi Cliodhna,
Hi,
To add IoTivity to Yocto, you should add the meta-oic layer to your build
system: http://git.yoctoproject.org/cgit/cgit.cgi/meta-oic. The top-level
README file in that layer includes some instructions in that regard but do not
hesitate to get back to this list if anything is unclear.
Or read/edit that page
https://wiki.iotivity.org/yocto
I could try to reproduce on current version,
but I lack a breakout board for my edison (to reflash it)
So maybe we can add explanations to rebuild iotivity for existing yocto images.
What I'm less sure about is the status of BLE support on Linux systems (such as
Ubuntu, Yocto, etc.).
Tizen supports BLE, and there some layers for tizen-distro:
https://wiki.tizen.org/wiki/Yocto
I have checked them with meta-oic it just work(ed) :
http://www.slideshare.net/SamsungOSG/connected-tizen-bringing-tizen-to-your-connected-devices-using-the-yocto-project
So port is possible, I'd be glad to help on that
Hope that helps
--
mailto:philippe.coval at osg.samsung.com gpg:0x467094BC
https://blogs.s-osg.org/author/pcoval/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161116/bf5fbbc5/attachment.html>