mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-24 04:53:52 +08:00
* start on panda abstraction layer * handle bulk transfer in library * Safety model abstraction * Abstract hw type into library * Handle disconnect * RTC stuff * Fan control * Health * Panda fw version * Read serial * Power saving * Power mode * Cleanup pigeon thread init * Rename safety setter variable name * Remove comment * Unused global cleanup * malloc -> new * whitespace * Use std::thread * Use std::thread for safety setter * Cleanup igntion_last global * Heartbeat * logd * More global cleanup * Put back sleep * ir pwr * Always broadcast health * init struct with zeroes * Fix eon build * fix race condition * fix Adeebs comments * abstract can send and receive
9 lines
518 B
Python
9 lines
518 B
Python
Import('env', 'common', 'cereal', 'messaging', 'cython_dependencies')
|
|
|
|
env.Program('boardd', ['boardd.cc', 'panda.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', 'boardd_api_impl.cpp'],
|
|
cython_dependencies + ['libcan_list_to_can_capnp.a', 'boardd_api_impl.pyx', 'boardd_setup.py'],
|
|
"cd selfdrive/boardd && python3 boardd_setup.py build_ext --inplace")
|