Examples using libsoc on a Colibri VF61 module with an Aster carrier board and Pioneer600 Raspberry Pi expansion cape.

Hardware#

Hardware Setup

Cross-compiling libsoc#

Build and install the Yocto SDK first, then:

git clone -b master https://github.com/jackmitch/libsoc.git
cd libsoc
. /usr/local/oecore-x86_64/environment-setup-armv7at2hf-neon-angstrom-linux-gnueabi
autoreconf -i
./configure --host=arm-angstrom-linux-gnueabi \
    --prefix=/usr/local/oecore-x86_64/sysroots/armv7at2hf-neon-angstrom-linux-gnueabi/
make -j$(nproc)
sudo make install

Cross-compiling the examples#

git clone https://github.com/bhuvanchandra/libsoc-examples.git
cd libsoc-examples/ssd1306/
MACHINE=colibri-vf make

Copy the binary to the target via SSH and run.

Note: A Yocto recipe for libsoc is also available in OpenEmbedded layers.