Code Monkey home page Code Monkey logo

libamio's Introduction

LIBAMIO

This library is intended to provide a quick and easy way to do various comms on ARM-based Linux devices. It has been tested and proven on the TI AM3358 platform, but should work equally well on others. It builds to a static library and depends on libc, libm, librt, and libpthread. These should be provided by your toolchain, which you should have already set up.

BUILDING

This library can be build with the included Makefile. To build both a static library (.a) and a shared library (.so), you can run make with no arguments. To build only one or the other, you can do either make shared or make static. Note that by default, the shared library is statically linked with libc. If you wish to dynamically link, you can edit the Makefile and remove -static from LDFLAGS.

Cross-compiling

If you are cross-compiling for another target, you can specify CROSS_COMPILE as a prefix for the C compiler, linker, and ar. For example, if your target compiler is arm-linux-gnueabihf-gcc, you would do make CROSS_COMPILE=arm-linux-gnueabihf- (note the trailing -).

If your host system's CC environment variable is clang, you will also need to specify CC=gcc in the previous example so that make doesn't look for arm-linux-gnueabihf-clang.

Building Documentation

If you need to build the documentation (which should only be true if you are contributing), you can do make docs assuming you have Doxygen, GraphViz, and some fonts installed.

USAGE

For more complete docs on the library, see https://eccles.dev/libamio.

LICENSE

This library is released under the Apache-2.0 License. See the LICENSE file distributed with this source for more details.

libamio's People

Contributors

willeccles avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

libamio's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.