 0917494a80
			
		
	
	
		0917494a80
		
			
		
	
	
	
	
		
			
			* Separate ibutton to its own module, add one_wire to f18 * Move onewire cli to a separate app Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			496 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			496 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| Import("env")
 | |
| 
 | |
| env.Append(
 | |
|     LINT_SOURCES=[
 | |
|         Dir("."),
 | |
|     ],
 | |
|     CPPPATH=[
 | |
|         "#/lib/one_wire",
 | |
|     ],
 | |
|     SDK_HEADERS=[
 | |
|         File("one_wire_host_timing.h"),
 | |
|         File("one_wire_host.h"),
 | |
|         File("one_wire_slave.h"),
 | |
|         File("maxim_crc.h"),
 | |
|     ],
 | |
| )
 | |
| 
 | |
| libenv = env.Clone(FW_LIB_NAME="one_wire")
 | |
| libenv.ApplyLibFlags()
 | |
| 
 | |
| sources = libenv.GlobRecursive("*.c*")
 | |
| 
 | |
| lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
 | |
| libenv.Install("${LIB_DIST_DIR}", lib)
 | |
| Return("lib")
 |