mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
Added bindings for iHallEffect sensors.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com>
This commit is contained in:
parent
7353449b2b
commit
d6bbe8ec24
@ -4,6 +4,7 @@ upm_mixed_module_init (NAME a110x
|
|||||||
C_SRC a110x.c
|
C_SRC a110x.c
|
||||||
CPP_HDR a110x.hpp
|
CPP_HDR a110x.hpp
|
||||||
CPP_SRC a110x.cxx
|
CPP_SRC a110x.cxx
|
||||||
|
IFACE_HDR iHallEffect.hpp
|
||||||
FTI_SRC a110x_fti.c
|
FTI_SRC a110x_fti.c
|
||||||
CPP_WRAPS_C
|
CPP_WRAPS_C
|
||||||
REQUIRES mraa)
|
REQUIRES mraa)
|
||||||
|
@ -1,7 +1,17 @@
|
|||||||
|
#ifdef SWIGPYTHON
|
||||||
|
%module (package="pyupm_new_interfaces") a110x
|
||||||
|
#endif
|
||||||
|
|
||||||
|
%import "interfaces/new_interfaces.i"
|
||||||
|
|
||||||
%include "../common_top.i"
|
%include "../common_top.i"
|
||||||
|
|
||||||
/* BEGIN Java syntax ------------------------------------------------------- */
|
/* BEGIN Java syntax ------------------------------------------------------- */
|
||||||
#ifdef SWIGJAVA
|
#ifdef SWIGJAVA
|
||||||
|
%typemap(javaimports) SWIGTYPE %{
|
||||||
|
import upm_new_interfaces.*;
|
||||||
|
%}
|
||||||
|
|
||||||
/* Macro for loading javaupm_a110x */
|
/* Macro for loading javaupm_a110x */
|
||||||
JAVA_JNI_LOADLIBRARY(javaupm_a110x)
|
JAVA_JNI_LOADLIBRARY(javaupm_a110x)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user