mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
autotest: removed the old AVR/2560 code in autotest
now checked with build_all
This commit is contained in:
parent
d640bc8345
commit
8c8c910ad0
@ -157,12 +157,10 @@ steps = [
|
||||
'build.Examples',
|
||||
'build.Parameters',
|
||||
|
||||
'build2560.ArduPlane',
|
||||
'build.ArduPlane',
|
||||
'defaults.ArduPlane',
|
||||
'fly.ArduPlane',
|
||||
|
||||
'build2560.APMrover2',
|
||||
'build.APMrover2',
|
||||
'defaults.APMrover2',
|
||||
'drive.APMrover2',
|
||||
@ -211,12 +209,6 @@ def run_step(step):
|
||||
if step == 'build.ArduCopter':
|
||||
return util.build_SIL('ArduCopter')
|
||||
|
||||
if step == 'build2560.ArduPlane':
|
||||
return util.build_AVR('ArduPlane', board='mega2560')
|
||||
|
||||
if step == 'build2560.APMrover2':
|
||||
return util.build_AVR('APMrover2', board='mega2560')
|
||||
|
||||
if step == 'defaults.ArduPlane':
|
||||
return get_default_params('ArduPlane')
|
||||
|
||||
|
@ -68,20 +68,6 @@ def build_SIL(atype, target='sitl'):
|
||||
checkfail=True)
|
||||
return True
|
||||
|
||||
def build_AVR(atype, board='mega2560'):
|
||||
'''build AVR binaries'''
|
||||
config = open(reltopdir('config.mk'), mode='w')
|
||||
config.write('''
|
||||
HAL_BOARD=HAL_BOARD_APM1
|
||||
BOARD=%s
|
||||
PORT=/dev/null
|
||||
''' % board)
|
||||
config.close()
|
||||
run_cmd("make clean", dir=reltopdir(atype), checkfail=True)
|
||||
run_cmd("make", dir=reltopdir(atype), checkfail=True)
|
||||
return True
|
||||
|
||||
|
||||
# list of pexpect children to close on exit
|
||||
close_list = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user