waf: switched to DroneCAN DSDL

This commit is contained in:
bugobliterator 2021-10-22 10:39:13 +05:30 committed by Andrew Tridgell
parent 0ad9e1e3d4
commit 1047b7e1ba
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ def configure(cfg):
def generate_canard_dsdlc(cfg):
dsdlc_gen_path = cfg.bldnode.make_node('modules/libcanard/dsdlc_generated').abspath()
src = cfg.srcnode.ant_glob('modules/pyuavcan/uavcan/dsdl_files/* libraries/AP_UAVCAN/dsdl/*', dir=True, src=False)
src = cfg.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_UAVCAN/dsdl/*', dir=True, src=False)
dsdlc_path = cfg.srcnode.make_node('modules/canard_dsdlc/canard_dsdlc.py').abspath()
if not os.path.exists(dsdlc_path):
print("Please update submodules with: git submodule update --recursive --init")