mirror of https://github.com/ArduPilot/ardupilot
waf: rename UAVCAN to DroneCAN
This commit is contained in:
parent
1efd640624
commit
75ed340efa
|
@ -435,7 +435,7 @@ class Board:
|
|||
)
|
||||
else:
|
||||
env.AP_LIBRARIES += [
|
||||
'AP_UAVCAN',
|
||||
'AP_DroneCAN',
|
||||
'modules/DroneCAN/libcanard/*.c',
|
||||
]
|
||||
if cfg.options.enable_dronecan_tests:
|
||||
|
|
|
@ -442,7 +442,7 @@ def setup_canmgr_build(cfg):
|
|||
the build based on the presence of CAN pins in hwdef.dat except for AP_Periph builds'''
|
||||
env = cfg.env
|
||||
env.AP_LIBRARIES += [
|
||||
'AP_UAVCAN',
|
||||
'AP_DroneCAN',
|
||||
'modules/DroneCAN/libcanard/*.c',
|
||||
]
|
||||
env.INCLUDES += [
|
||||
|
|
6
wscript
6
wscript
|
@ -678,19 +678,19 @@ def _build_dynamic_sources(bld):
|
|||
else:
|
||||
bld(
|
||||
features='dronecangen',
|
||||
source=bld.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_UAVCAN/dsdl/*', dir=True, src=False),
|
||||
source=bld.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_DroneCAN/dsdl/*', dir=True, src=False),
|
||||
output_dir='modules/DroneCAN/libcanard/dsdlc_generated/',
|
||||
name='dronecan',
|
||||
export_includes=[
|
||||
bld.bldnode.make_node('modules/DroneCAN/libcanard/dsdlc_generated/include').abspath(),
|
||||
bld.srcnode.find_dir('modules/DroneCAN/libcanard/').abspath(),
|
||||
bld.srcnode.find_dir('libraries/AP_UAVCAN/canard/').abspath(),
|
||||
bld.srcnode.find_dir('libraries/AP_DroneCAN/canard/').abspath(),
|
||||
]
|
||||
)
|
||||
elif bld.env.AP_PERIPH:
|
||||
bld(
|
||||
features='dronecangen',
|
||||
source=bld.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_UAVCAN/dsdl/*', dir=True, src=False),
|
||||
source=bld.srcnode.ant_glob('modules/DroneCAN/DSDL/* libraries/AP_DroneCAN/dsdl/*', dir=True, src=False),
|
||||
output_dir='modules/DroneCAN/libcanard/dsdlc_generated/',
|
||||
name='dronecan',
|
||||
export_includes=[
|
||||
|
|
Loading…
Reference in New Issue