This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
flink_lib [2015/02/26 15:08] – [Overview] ursgraf | flink_lib [2016/01/26 12:42] – abajric | ||
---|---|---|---|
Line 5: | Line 5: | ||
</ | </ | ||
- | This is the user documentation for the flink userspace library in C. It provides a device and bus independent interface to the underlying driver modules. For more information about the inner workings see [[https:// | + | This is the user documentation for the flink userspace library in C. It provides a device and bus independent interface to the underlying driver modules. For more information about the inner workings see [[https:// |
===== Overview ===== | ===== Overview ===== | ||
Line 26: | Line 26: | ||
===== Building ===== | ===== Building ===== | ||
- | - Clone git repository: < | + | - Clone git repository |
+ | cd flinklib | ||
+ | git submodule init | ||
+ | git submodule update</ | ||
- Create a build directory: < | - Create a build directory: < | ||
- Change to the build directory and setup your build environment with CMake: < | - Change to the build directory and setup your build environment with CMake: < | ||
Line 32: | Line 35: | ||
===== Building for a different platform architecture ===== | ===== Building for a different platform architecture ===== | ||
- | - Clone git repository: < | + | - Clone git repository |
+ | cd flinklib | ||
+ | git submodule init | ||
+ | git submodule update</ | ||
- Create a build directory for the target platform, e.g.: < | - Create a build directory for the target platform, e.g.: < | ||
- Create a CMake toolchain file. For more informations, | - Create a CMake toolchain file. For more informations, | ||
Line 56: | Line 62: | ||
This sets channel 0 to output and writes a logical 0.As a last step you have to close the device. | This sets channel 0 to output and writes a logical 0.As a last step you have to close the device. | ||
< | < | ||
- |