2021-05-29 16:51:33 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
def build(bld):
|
2021-06-02 14:53:04 -03:00
|
|
|
bld.ap_program(
|
|
|
|
source=['../../../../Tools/AP_Bootloader/support.cpp', 'jedec_test.cpp'],
|
2021-05-29 16:51:33 -03:00
|
|
|
use=['ap','JEDEC_libs'],
|
2021-06-02 14:53:04 -03:00
|
|
|
program_groups='examples',
|
|
|
|
includes=bld.env.SRCROOT + '/Tools/AP_Bootloader/'
|
2021-05-29 16:51:33 -03:00
|
|
|
)
|
|
|
|
bld.ap_stlib(name= 'JEDEC_libs',
|
2021-06-02 14:53:04 -03:00
|
|
|
ap_vehicle='AP_Bootloader',
|
|
|
|
ap_libraries= ['AP_FlashIface', 'AP_HAL_Empty'])
|