Files
dragonpilot/selfdrive/boardd/SConscript
T
Rick Lan e323b8ef0e dragonpilot 0.7.6.1
========================
* Based on latest openpilot 0.7.6.1 devel.
* Optimized and integrated several dp services. (Settings have been renamed, please re-config all settings)
* Completely disabled steer ratio learner.
* Removed Accel Profile.
* Added Honda Breeze Hybrid FPv1. (Thanks to @劉駿)
* Added Taiwan Toyota Prius 4.5 FPv1. (Thanks to @jeekid)
2020-07-06 20:58:16 +10:00

16 lines
631 B
Python

Import('env', 'common', 'cereal', 'messaging')
# dp - Add read dp_disable_relay value
if FindFile('dp_disable_relay', '/data/params/d') != None:
with open('/data/params/d/dp_disable_relay') as f:
if (int(f.read())) == 1:
env.Append(CCFLAGS='-DDisableRelay')
env.Program('boardd.cc', LIBS=['usb-1.0', common, cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj'])
env.Library('libcan_list_to_can_capnp', ['can_list_to_can_capnp.cc'])
env.Command(['boardd_api_impl.so'],
['libcan_list_to_can_capnp.a', 'boardd_api_impl.pyx', 'boardd_setup.py'],
"cd selfdrive/boardd && python3 boardd_setup.py build_ext --inplace")