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.
21 lines
0 B
21 lines
0 B
3 years ago
|
#!/usr/bin/env python
|
||
|
# encoding: utf-8
|
||
|
|
||
|
def build(bld):
|
||
|
|
||
|
if bld.env.BOARD != 'linux':
|
||
|
return
|
||
|
|
||
|
source = bld.path.ant_glob('*.cpp')
|
||
|
source.append('../../../../libraries/SITL/SIM_Battery.cpp')
|
||
|
source.append('../../../../libraries/SITL/SIM_Frame.cpp')
|
||
|
|
||
|
bld.env.DEFINES.append("USE_PICOJSON=1")
|
||
|
|
||
|
bld.ap_program(
|
||
|
use='ap',
|
||
|
program_groups=['examples'],
|
||
|
source=source,
|
||
|
)
|
||
|
|