Giter VIP home page Giter VIP logo

genavb_tsn's Introduction

GenAVB/TSN

GenAVB/TSN is a NXP generic AVB/TSN stack for NXP MCUs and MPUs. It is cross-platform, currently supporting Linux and FreeRTOS.

Features

  • IEEE-802.1AS-2011 implementation, both time-aware Bridge and Endpoint support.
  • IEEE-802.1Qat-2010 implementation.
  • Binary protocol stacks running in standalone userspace processes.
  • Public API provided by binary library plus header files.
  • Example applications.

Repository structure

  • apps: example applications sources and makefiles.
  • bin: protocol stack binaries and startup scripts.
  • doc: API documentation (HTML Doxygen, follow index.html in doc/html directory)
  • include: library header files
  • lib: library binaries
  • licenses: licenses files
  • linux: kernel module sources and makefile

Building Example Applications

General procedure:

  1. install a cross-compilation toolchain
  2. go to apps directory
  3. run
make linux CROSS_COMPILE=<path_to_toolchain> STAGING_DIR=<path_to_staging_dir>

to build all the example applications present in the apps/linux directory, with <path_to_toolchain> pointing to the cross-compilation toolchain and <path_to_staging_dir> pointing to the current staging directory.

In the case of a Yocto SDK/toolchain, step 3 would then become:

source <PATH_TO_YOCTO_ENVIRONMENT_SETUP>
make linux STAGING_DIR=${SDKTARGETSYSROOT}

The binaries of the example applications are stored in the apps/build/linux repository.

When adding a new application, the name of the repository containing sources of the new application should be added to apps/linux/Makefile.

Each example application can also be built from its own directory (run 'make' in the application directory). In such a case the application binary will be generated in the application directory.

genavb_tsn's People

Contributors

yackou avatar sl8vz avatar

Stargazers

 avatar

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.