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.
9 lines
344 B
9 lines
344 B
import os
|
|
import subprocess
|
|
|
|
can_dir = os.path.dirname(os.path.abspath(__file__))
|
|
libdbc_fn = os.path.join(can_dir, "libdbc.so")
|
|
subprocess.check_call(["make", "-j3"], cwd=can_dir) # don't use all the cores to avoid overheating
|
|
|
|
from selfdrive.can.parser_pyx import CANParser # pylint: disable=no-name-in-module, import-error
|
|
assert CANParser
|
|
|