mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 15:15:07 +03:00 
			
		
		
		
	Added bindings for iMotion and iPressure sensors.
Signed-off-by: Serban Waltter <serban.waltter@rinftech.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
		 Serban Waltter
					Serban Waltter
				
			
				
					committed by
					
						 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
			
				
	
			
			
			 Mihai Tudor Panu
						Mihai Tudor Panu
					
				
			
						parent
						
							079e444fce
						
					
				
				
					commit
					2f0ae1cc49
				
			| @@ -4,6 +4,7 @@ upm_mixed_module_init (NAME ms5803 | ||||
|     C_SRC ms5803.c | ||||
|     CPP_HDR ms5803.hpp | ||||
|     CPP_SRC ms5803.cxx | ||||
|     IFACE_HDR iPressure.hpp iTemperature.hpp | ||||
|     FTI_SRC ms5803_fti.c | ||||
|     CPP_WRAPS_C | ||||
|     REQUIRES mraa utilities-c) | ||||
|   | ||||
| @@ -1,7 +1,17 @@ | ||||
| #ifdef SWIGPYTHON | ||||
| %module (package="upm") htu21d | ||||
| #endif | ||||
|  | ||||
| %import "interfaces/new_interfaces.i" | ||||
|  | ||||
| %include "../common_top.i" | ||||
|  | ||||
| /* BEGIN Java syntax  ------------------------------------------------------- */ | ||||
| #ifdef SWIGJAVA | ||||
| %typemap(javaimports) SWIGTYPE %{ | ||||
| import upm_new_interfaces.*; | ||||
| %} | ||||
|  | ||||
| %include "arrays_java.i" | ||||
| %include "../java_buffer.i" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user