mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 13:33:59 +08:00
* USBDevice * merge master * rebase master * add to fiels_common * inline functions * namespace * init err * remove nested if * cleanup * bump panda for branch * change includes * bump panda branch * change name * bump master panda Co-authored-by: Igor Biletskyy <briskspirit@users.noreply.github.com> Co-authored-by: Igor Biletskyy <bs@privacy.im>
10 lines
576 B
Python
10 lines
576 B
Python
Import('env', 'envCython', 'common', 'cereal', 'messaging')
|
|
|
|
libs = ['usb-1.0', common, cereal, messaging, 'pthread', 'zmq', 'capnp', 'kj']
|
|
env.Program('boardd', ['boardd.cc', 'panda.cc', 'usbdevice.cc', 'pigeon.cc'], LIBS=libs)
|
|
env.Library('libcan_list_to_can_capnp', ['can_list_to_can_capnp.cc'])
|
|
|
|
envCython.Program('boardd_api_impl.so', 'boardd_api_impl.pyx', LIBS=["can_list_to_can_capnp", 'capnp', 'kj'] + envCython["LIBS"])
|
|
if GetOption('test'):
|
|
env.Program('tests/test_boardd_usbprotocol', ['tests/test_boardd_usbprotocol.cc', 'panda.cc', 'usbdevice.cc'], LIBS=libs)
|