CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_DroneCAN/examples/DroneCAN_sniffer/wscript
Views: 1800
#!/usr/bin/env python
# encoding: utf-8
from waflib.TaskGen import after_method, before_method, feature

def build(bld):
    vehicle = bld.path.name
    
    bld.ap_stlib(
        name=vehicle + '_libs',
        ap_vehicle='UNKNOWN',
        dynamic_source='modules/DroneCAN/libcanard/dsdlc_generated/src/**.c',
        ap_libraries=bld.ap_common_vehicle_libraries() + [
            'AP_OSD',
        ],
    )
    bld.ap_program(
        program_groups=['tool'],
        use=[vehicle + '_libs'],
    )