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_FlashIface/examples/jedec_test_bl/wscript
Views: 1800
#!/usr/bin/env python
# encoding: utf-8

def build(bld):
    if bld.env.BOOTLOADER:
        bld.ap_program(
            source=['../../../../Tools/AP_Bootloader/support.cpp', 'jedec_test.cpp'],
            use=['ap','JEDEC_libs'],
            program_groups='examples',
            includes=bld.env.SRCROOT + '/Tools/AP_Bootloader/'
        )
        bld.ap_stlib(name= 'JEDEC_libs',
                    ap_vehicle='AP_Bootloader',
                    ap_libraries= ['AP_FlashIface', 'AP_HAL_Empty'])