You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					18 lines
				
				507 B
			
		
		
			
		
	
	
					18 lines
				
				507 B
			| 
											5 years ago
										 | Import('env', 'arch', 'common', 'cereal', 'messaging')
 | ||
| 
											5 years ago
										 | 
 | ||
| 
											4 years ago
										 | sensors = [
 | ||
|  |   'sensors/i2c_sensor.cc',
 | ||
|  |   'sensors/bmx055_accel.cc',
 | ||
|  |   'sensors/bmx055_gyro.cc',
 | ||
|  |   'sensors/bmx055_magn.cc',
 | ||
|  |   'sensors/bmx055_temp.cc',
 | ||
|  |   'sensors/lsm6ds3_accel.cc',
 | ||
|  |   'sensors/lsm6ds3_gyro.cc',
 | ||
|  |   'sensors/lsm6ds3_temp.cc',
 | ||
|  |   'sensors/mmc5603nj_magn.cc',
 | ||
|  | ]
 | ||
| 
											3 years ago
										 | libs = [common, cereal, messaging, 'capnp', 'zmq', 'kj', 'pthread']
 | ||
| 
											4 years ago
										 | if arch == "larch64":
 | ||
|  |   libs.append('i2c')
 | ||
|  | env.Program('_sensord', ['sensors_qcom2.cc'] + sensors, LIBS=libs)
 |