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.
15 lines
0 B
15 lines
0 B
4 years ago
|
#!/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'])
|