for_developers:wrapper_lib
This is an old revision of the document!
Create new Wrapper Library
The following steps have to be taken in order to create a custom wrapper library. See also flink-eeros or comedi-eeros.
- Create new CMake project for a shared library.
- Include and link against necessary hardware library. If the required hardware library generates a CMake Package, use
find_package()
to search for the library:find_package(flink REQUIRED) include_directories(${FLINK_INCLUDE_DIR}) link_directories(${FLINK_LIB_DIR})
- Create Classes for every type you intend to support (AnalogOut, DigitalIn, PWM, …):
- These Classes have to derive from the EEROS HAL Classes In- or Output respectively ScalableIn- or ScalableOutput. You can find these Classes in the EEROS Repository in
/includes/eeros/hal
.
for_developers/wrapper_lib.1492503186.txt.gz · Last modified: 2017/04/18 10:13 by kalberer