mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 07:43:57 +08:00
* use new opendbc api * export pandad_python * merge master * merge master * bump opendbc * bump opendbc * improve func * keep interface unchanged * fix test_car_interfaces * bump opendbc * bump opendbc * fix test_models * the interface now has to convert from can capnp to list, so we should include this time * goes from ~210 to ~240 mean ms real time * remoe busTime * lowercase sendcan * consistent msgtype * bump * bump * not used in lat_mpc * space * bump to master --------- Co-authored-by: Shane Smiskol <shane@smiskol.com>
14 lines
613 B
Python
14 lines
613 B
Python
Import('env', 'envCython', 'common', 'messaging')
|
|
|
|
libs = ['usb-1.0', common, messaging, 'pthread']
|
|
panda = env.Library('panda', ['panda.cc', 'panda_comms.cc', 'spi.cc'])
|
|
|
|
env.Program('pandad', ['main.cc', 'pandad.cc'], LIBS=[panda] + libs)
|
|
env.Library('libcan_list_to_can_capnp', ['can_list_to_can_capnp.cc'])
|
|
|
|
pandad_python = envCython.Program('pandad_api_impl.so', 'pandad_api_impl.pyx', LIBS=["can_list_to_can_capnp", 'capnp', 'kj'] + envCython["LIBS"])
|
|
Export('pandad_python')
|
|
|
|
if GetOption('extras'):
|
|
env.Program('tests/test_pandad_usbprotocol', ['tests/test_pandad_usbprotocol.cc'], LIBS=[panda] + libs)
|