Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
software:flink:flink_lib [2014-12-02 11:58] grafsoftware:flink:flink_lib [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1
Zeile 1: Zeile 1:
-====== flink Userspace Library ====== 
- 
-<box blue right 38% | **Downloads**> 
-  * [[https://github.com/flink-project/flinklib | flink Userspace Library on Github]] 
-</box> 
- 
-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://github.com/flink-project/flinklib | flink Userspace Library on Github]]. The API of the library can be found under [[http://api.flink-project.ch|API]] 
- 
-===== Overview ===== 
-When flink is used on a Linux based system the flink userspace library offers an simple interface to communicate with the underlying kernel modules. The userspace library is split in two parts.  
-  * High-Level API: Interface to predefined subdevices, such as PWM or GPIO. 
-  * Low-Level API: Can be used to access user-defined subdevices. 
-The library must be built for the target platform architecture.   
- 
-===== Requirements ===== 
-  * Linux based operating system 
-  * GCC 4.6 or newer 
-  * CMake 2.8 or newer 
-  * GNU make 
- 
-===== Building ===== 
-  - Clone git repository: <code>git clone https://github.com/flink-project/flinklib.git</code> 
-  - Create a build directory: <code>mkdir build-local</code> 
-  - Build for the host plattform with: <code>make</code> 
- 
-  * The makefile will switch to the kernel directory, read the current configuration and compile all necessary flink kernel modules for the choosen target plattform. 
- 
-===== Installation ===== 
-  * Move new kernel modules into the default location to ''/lib/modules/version'' of the target plattform. 
-  * Load each module with ''insmod'', e.g. <code>insmod flink.ko</code> 
-  * If dependency files were created beforehand its better to use <code>modprobe flink.ko</code> 
-  * Some kernel module must be loaded with the appropriate arguments according to the target board specifications (see below) 
-