GenAVB_TSN

(β˜… 132)

NXP AVB/TSN stack

  • .gitignore
  • CMakeLists.linux
  • CMakeLists.rtos
  • CMakeLists.txt
  • config_armgcc.cmake
  • config_freertos_imx8mm_ca53.cmake
  • config_freertos_imx8mn_ca53.cmake
  • config_freertos_imx8mp_ca53.cmake
  • config_freertos_imx93_ca55.cmake
  • config_freertos_imx95_15x15_ca55.cmake
  • config_freertos_imx95_ca55.cmake
  • config_freertos_rt1052.cmake
  • config_freertos_rt1176.cmake
  • config_freertos_rt1187_cm33.cmake
  • config_freertos_rt1187_cm7.cmake
  • config_freertos_rt1189_cm33.cmake
  • config_freertos_rt1189_cm7.cmake
  • config_linux_common.cmake
  • config_linux_imx6.cmake
  • config_linux_imx6ull.cmake
  • config_linux_imx8.cmake
  • config_linux_ls1028.cmake
  • config_zephyr_imx8mm_ca53.cmake
  • config_zephyr_imx8mn_ca53.cmake
  • config_zephyr_imx8mp_ca53.cmake
  • config_zephyr_imx93_ca55.cmake
  • config_zephyr_imx95_15x15_ca55.cmake
  • config_zephyr_imx95_ca55.cmake
  • environment-genavb
  • extensions.cmake
  • README.md
  • SCR_genavb-release.txt

# Installation Guide

1. Get the code
git clone https://github.com/NXP/GenAVB_TSN

Downloads the entire project code from GitHub to your computer.

cd GenAVB_TSN

Moves into the project folder you just downloaded.

2. CMake

Medium Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ 컴파일러 Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
cmake . -B<build directory> -DTARGET=<target name> -DCONFIG=<config name>

Type this command into your terminal and run it.

cmake . -B<build directory> -DBUILD_DOC=ON -DTARGET=<target name> -DCONFIG=<config name>

Type this command into your terminal and run it.

βœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

3. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make -C <build directory> install

Compiles the code based on the generated build configuration to produce an executable.

make -C <build directory> doc_doxygen

Compiles the code based on the generated build configuration to produce an executable.

βœ… If it finishes without errors, it worked. Try running the generated executable directly.

Pulled directly from this repo's README.

// repository documentation