From d281067bccec40eadd25c5326c2a6a655706eef6 Mon Sep 17 00:00:00 2001 From: Gustavo Jose de Sousa Date: Fri, 8 Jan 2016 18:50:14 -0200 Subject: [PATCH] waf: make example binaries be placed in 'examples' dir This commit makes examples' wscripts use ardupilotwaf.example() instead of ardupilot.program(). --- libraries/AC_PID/examples/AC_PID_test/wscript | 2 +- libraries/AP_ADC/examples/AP_ADC_test/wscript | 2 +- libraries/AP_AHRS/examples/AHRS_Test/wscript | 2 +- libraries/AP_Airspeed/examples/Airspeed/wscript | 2 +- libraries/AP_Baro/examples/BARO_generic/wscript | 2 +- libraries/AP_BattMonitor/examples/AP_BattMonitor_test/wscript | 2 +- libraries/AP_Common/examples/AP_Common/wscript | 2 +- libraries/AP_Compass/examples/AP_Compass_test/wscript | 2 +- libraries/AP_Declination/examples/AP_Declination_test/wscript | 2 +- libraries/AP_GPS/examples/GPS_AUTO_test/wscript | 2 +- libraries/AP_GPS/examples/GPS_UBLOX_passthrough/wscript | 2 +- libraries/AP_HAL/examples/AnalogIn/wscript | 2 +- libraries/AP_HAL/examples/Printf/wscript | 2 +- libraries/AP_HAL/examples/RCInput/wscript | 2 +- libraries/AP_HAL/examples/RCInputToRCOutput/wscript | 2 +- libraries/AP_HAL/examples/RCOutput/wscript | 2 +- libraries/AP_HAL/examples/Storage/wscript | 2 +- libraries/AP_HAL/examples/UART_test/wscript | 2 +- libraries/AP_HAL_AVR/examples/ArduCopterLibs/wscript | 2 +- libraries/AP_HAL_AVR/examples/ArduPlaneLibs/wscript | 2 +- libraries/AP_HAL_AVR/examples/Blink/wscript | 2 +- libraries/AP_HAL_AVR/examples/Console/wscript | 2 +- libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/wscript | 2 +- libraries/AP_HAL_AVR/examples/LCDTest/wscript | 2 +- libraries/AP_HAL_AVR/examples/RCInputTest/wscript | 2 +- libraries/AP_HAL_AVR/examples/RCJitterTest/wscript | 2 +- libraries/AP_HAL_AVR/examples/RCPassthroughTest/wscript | 2 +- libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/wscript | 2 +- libraries/AP_HAL_AVR/examples/Scheduler/wscript | 2 +- libraries/AP_HAL_AVR/examples/Semaphore/wscript | 2 +- libraries/AP_HAL_AVR/examples/Storage/wscript | 2 +- libraries/AP_HAL_AVR/examples/UARTDriver/wscript | 2 +- libraries/AP_HAL_AVR/examples/UtilityStringTest/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/AnalogIn/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/Blink/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/Console/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/I2CDriver_HMC5883L/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/RCInput/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/RCPassthroughTest/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/SPIDriver/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/Scheduler/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/Semaphore/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/Storage/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/UARTDriver/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/UtilityStringTest/wscript | 2 +- libraries/AP_HAL_FLYMAPLE/examples/empty_example/wscript | 2 +- libraries/AP_HAL_Linux/examples/BusTest/wscript | 2 +- libraries/AP_HAL_PX4/examples/simple/wscript | 2 +- libraries/AP_InertialSensor/examples/INS_generic/wscript | 2 +- libraries/AP_InertialSensor/examples/VibTest/wscript | 2 +- libraries/AP_Math/examples/eulers/wscript | 2 +- libraries/AP_Math/examples/location/wscript | 2 +- libraries/AP_Math/examples/polygon/wscript | 2 +- libraries/AP_Math/examples/rotations/wscript | 2 +- libraries/AP_Mission/examples/AP_Mission_test/wscript | 2 +- libraries/AP_Motors/examples/AP_Motors_Time_test/wscript | 2 +- libraries/AP_Motors/examples/AP_Motors_test/wscript | 2 +- libraries/AP_Mount/examples/trivial_AP_Mount/wscript | 2 +- libraries/AP_Notify/examples/AP_Notify_test/wscript | 2 +- libraries/AP_Notify/examples/ToshibaLED_test/wscript | 2 +- libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/wscript | 2 +- libraries/AP_Parachute/examples/AP_Parachute_test/wscript | 2 +- libraries/AP_RangeFinder/examples/RFIND_test/wscript | 2 +- libraries/AP_Scheduler/examples/Scheduler_test/wscript | 2 +- libraries/DataFlash/examples/DataFlash_test/wscript | 2 +- libraries/Filter/examples/Derivative/wscript | 2 +- libraries/Filter/examples/Filter/wscript | 2 +- libraries/Filter/examples/LowPassFilter/wscript | 2 +- libraries/Filter/examples/LowPassFilter2p/wscript | 2 +- libraries/GCS_Console/examples/Console/wscript | 2 +- libraries/GCS_MAVLink/examples/routing/wscript | 2 +- libraries/PID/examples/pid/wscript | 2 +- libraries/RC_Channel/examples/RC_Channel/wscript | 2 +- libraries/RC_Channel/examples/RC_UART/wscript | 2 +- libraries/StorageManager/examples/StorageTest/wscript | 2 +- 76 files changed, 76 insertions(+), 76 deletions(-) diff --git a/libraries/AC_PID/examples/AC_PID_test/wscript b/libraries/AC_PID/examples/AC_PID_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AC_PID/examples/AC_PID_test/wscript +++ b/libraries/AC_PID/examples/AC_PID_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_ADC/examples/AP_ADC_test/wscript b/libraries/AP_ADC/examples/AP_ADC_test/wscript index b75194853a..5af31fa1ae 100644 --- a/libraries/AP_ADC/examples/AP_ADC_test/wscript +++ b/libraries/AP_ADC/examples/AP_ADC_test/wscript @@ -7,7 +7,7 @@ def build(bld): if bld.env.BOARD in ['sitl']: return - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_AHRS/examples/AHRS_Test/wscript b/libraries/AP_AHRS/examples/AHRS_Test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_AHRS/examples/AHRS_Test/wscript +++ b/libraries/AP_AHRS/examples/AHRS_Test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Airspeed/examples/Airspeed/wscript b/libraries/AP_Airspeed/examples/Airspeed/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Airspeed/examples/Airspeed/wscript +++ b/libraries/AP_Airspeed/examples/Airspeed/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Baro/examples/BARO_generic/wscript b/libraries/AP_Baro/examples/BARO_generic/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Baro/examples/BARO_generic/wscript +++ b/libraries/AP_Baro/examples/BARO_generic/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_BattMonitor/examples/AP_BattMonitor_test/wscript b/libraries/AP_BattMonitor/examples/AP_BattMonitor_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_BattMonitor/examples/AP_BattMonitor_test/wscript +++ b/libraries/AP_BattMonitor/examples/AP_BattMonitor_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Common/examples/AP_Common/wscript b/libraries/AP_Common/examples/AP_Common/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Common/examples/AP_Common/wscript +++ b/libraries/AP_Common/examples/AP_Common/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Compass/examples/AP_Compass_test/wscript b/libraries/AP_Compass/examples/AP_Compass_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Compass/examples/AP_Compass_test/wscript +++ b/libraries/AP_Compass/examples/AP_Compass_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Declination/examples/AP_Declination_test/wscript b/libraries/AP_Declination/examples/AP_Declination_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Declination/examples/AP_Declination_test/wscript +++ b/libraries/AP_Declination/examples/AP_Declination_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_GPS/examples/GPS_AUTO_test/wscript b/libraries/AP_GPS/examples/GPS_AUTO_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_GPS/examples/GPS_AUTO_test/wscript +++ b/libraries/AP_GPS/examples/GPS_AUTO_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/wscript b/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/wscript +++ b/libraries/AP_GPS/examples/GPS_UBLOX_passthrough/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/AnalogIn/wscript b/libraries/AP_HAL/examples/AnalogIn/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/AnalogIn/wscript +++ b/libraries/AP_HAL/examples/AnalogIn/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/Printf/wscript b/libraries/AP_HAL/examples/Printf/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/Printf/wscript +++ b/libraries/AP_HAL/examples/Printf/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/RCInput/wscript b/libraries/AP_HAL/examples/RCInput/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/RCInput/wscript +++ b/libraries/AP_HAL/examples/RCInput/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/RCInputToRCOutput/wscript b/libraries/AP_HAL/examples/RCInputToRCOutput/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/RCInputToRCOutput/wscript +++ b/libraries/AP_HAL/examples/RCInputToRCOutput/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/RCOutput/wscript b/libraries/AP_HAL/examples/RCOutput/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/RCOutput/wscript +++ b/libraries/AP_HAL/examples/RCOutput/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/Storage/wscript b/libraries/AP_HAL/examples/Storage/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/Storage/wscript +++ b/libraries/AP_HAL/examples/Storage/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL/examples/UART_test/wscript b/libraries/AP_HAL/examples/UART_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL/examples/UART_test/wscript +++ b/libraries/AP_HAL/examples/UART_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/ArduCopterLibs/wscript b/libraries/AP_HAL_AVR/examples/ArduCopterLibs/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/ArduCopterLibs/wscript +++ b/libraries/AP_HAL_AVR/examples/ArduCopterLibs/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/wscript b/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/wscript +++ b/libraries/AP_HAL_AVR/examples/ArduPlaneLibs/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/Blink/wscript b/libraries/AP_HAL_AVR/examples/Blink/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/Blink/wscript +++ b/libraries/AP_HAL_AVR/examples/Blink/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/Console/wscript b/libraries/AP_HAL_AVR/examples/Console/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/Console/wscript +++ b/libraries/AP_HAL_AVR/examples/Console/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/wscript b/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/wscript +++ b/libraries/AP_HAL_AVR/examples/I2CDriver_HMC5883L/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/LCDTest/wscript b/libraries/AP_HAL_AVR/examples/LCDTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/LCDTest/wscript +++ b/libraries/AP_HAL_AVR/examples/LCDTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/RCInputTest/wscript b/libraries/AP_HAL_AVR/examples/RCInputTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/RCInputTest/wscript +++ b/libraries/AP_HAL_AVR/examples/RCInputTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/RCJitterTest/wscript b/libraries/AP_HAL_AVR/examples/RCJitterTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/RCJitterTest/wscript +++ b/libraries/AP_HAL_AVR/examples/RCJitterTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/RCPassthroughTest/wscript b/libraries/AP_HAL_AVR/examples/RCPassthroughTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/RCPassthroughTest/wscript +++ b/libraries/AP_HAL_AVR/examples/RCPassthroughTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/wscript b/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/wscript +++ b/libraries/AP_HAL_AVR/examples/SPIDriver_MPU6000/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/Scheduler/wscript b/libraries/AP_HAL_AVR/examples/Scheduler/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/Scheduler/wscript +++ b/libraries/AP_HAL_AVR/examples/Scheduler/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/Semaphore/wscript b/libraries/AP_HAL_AVR/examples/Semaphore/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/Semaphore/wscript +++ b/libraries/AP_HAL_AVR/examples/Semaphore/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/Storage/wscript b/libraries/AP_HAL_AVR/examples/Storage/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/Storage/wscript +++ b/libraries/AP_HAL_AVR/examples/Storage/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/UARTDriver/wscript b/libraries/AP_HAL_AVR/examples/UARTDriver/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/UARTDriver/wscript +++ b/libraries/AP_HAL_AVR/examples/UARTDriver/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_AVR/examples/UtilityStringTest/wscript b/libraries/AP_HAL_AVR/examples/UtilityStringTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_AVR/examples/UtilityStringTest/wscript +++ b/libraries/AP_HAL_AVR/examples/UtilityStringTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/wscript b/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/AP_Baro_BMP085_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/AnalogIn/wscript b/libraries/AP_HAL_FLYMAPLE/examples/AnalogIn/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/AnalogIn/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/AnalogIn/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/Blink/wscript b/libraries/AP_HAL_FLYMAPLE/examples/Blink/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/Blink/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/Blink/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/Console/wscript b/libraries/AP_HAL_FLYMAPLE/examples/Console/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/Console/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/Console/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/I2CDriver_HMC5883L/wscript b/libraries/AP_HAL_FLYMAPLE/examples/I2CDriver_HMC5883L/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/I2CDriver_HMC5883L/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/I2CDriver_HMC5883L/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/RCInput/wscript b/libraries/AP_HAL_FLYMAPLE/examples/RCInput/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/RCInput/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/RCInput/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/RCPassthroughTest/wscript b/libraries/AP_HAL_FLYMAPLE/examples/RCPassthroughTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/RCPassthroughTest/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/RCPassthroughTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/SPIDriver/wscript b/libraries/AP_HAL_FLYMAPLE/examples/SPIDriver/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/SPIDriver/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/SPIDriver/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/Scheduler/wscript b/libraries/AP_HAL_FLYMAPLE/examples/Scheduler/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/Scheduler/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/Scheduler/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/Semaphore/wscript b/libraries/AP_HAL_FLYMAPLE/examples/Semaphore/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/Semaphore/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/Semaphore/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/Storage/wscript b/libraries/AP_HAL_FLYMAPLE/examples/Storage/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/Storage/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/Storage/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/UARTDriver/wscript b/libraries/AP_HAL_FLYMAPLE/examples/UARTDriver/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/UARTDriver/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/UARTDriver/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/UtilityStringTest/wscript b/libraries/AP_HAL_FLYMAPLE/examples/UtilityStringTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/UtilityStringTest/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/UtilityStringTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_FLYMAPLE/examples/empty_example/wscript b/libraries/AP_HAL_FLYMAPLE/examples/empty_example/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_FLYMAPLE/examples/empty_example/wscript +++ b/libraries/AP_HAL_FLYMAPLE/examples/empty_example/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_Linux/examples/BusTest/wscript b/libraries/AP_HAL_Linux/examples/BusTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_Linux/examples/BusTest/wscript +++ b/libraries/AP_HAL_Linux/examples/BusTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_HAL_PX4/examples/simple/wscript b/libraries/AP_HAL_PX4/examples/simple/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_HAL_PX4/examples/simple/wscript +++ b/libraries/AP_HAL_PX4/examples/simple/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_InertialSensor/examples/INS_generic/wscript b/libraries/AP_InertialSensor/examples/INS_generic/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_InertialSensor/examples/INS_generic/wscript +++ b/libraries/AP_InertialSensor/examples/INS_generic/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_InertialSensor/examples/VibTest/wscript b/libraries/AP_InertialSensor/examples/VibTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_InertialSensor/examples/VibTest/wscript +++ b/libraries/AP_InertialSensor/examples/VibTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Math/examples/eulers/wscript b/libraries/AP_Math/examples/eulers/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Math/examples/eulers/wscript +++ b/libraries/AP_Math/examples/eulers/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Math/examples/location/wscript b/libraries/AP_Math/examples/location/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Math/examples/location/wscript +++ b/libraries/AP_Math/examples/location/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Math/examples/polygon/wscript b/libraries/AP_Math/examples/polygon/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Math/examples/polygon/wscript +++ b/libraries/AP_Math/examples/polygon/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Math/examples/rotations/wscript b/libraries/AP_Math/examples/rotations/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Math/examples/rotations/wscript +++ b/libraries/AP_Math/examples/rotations/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Mission/examples/AP_Mission_test/wscript b/libraries/AP_Mission/examples/AP_Mission_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Mission/examples/AP_Mission_test/wscript +++ b/libraries/AP_Mission/examples/AP_Mission_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Motors/examples/AP_Motors_Time_test/wscript b/libraries/AP_Motors/examples/AP_Motors_Time_test/wscript index da5cf7e6d3..4d5bbad799 100644 --- a/libraries/AP_Motors/examples/AP_Motors_Time_test/wscript +++ b/libraries/AP_Motors/examples/AP_Motors_Time_test/wscript @@ -7,7 +7,7 @@ def build(bld): # TODO: Test code doesn't build. Fix or delete the test. return - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Motors/examples/AP_Motors_test/wscript b/libraries/AP_Motors/examples/AP_Motors_test/wscript index da5cf7e6d3..4d5bbad799 100644 --- a/libraries/AP_Motors/examples/AP_Motors_test/wscript +++ b/libraries/AP_Motors/examples/AP_Motors_test/wscript @@ -7,7 +7,7 @@ def build(bld): # TODO: Test code doesn't build. Fix or delete the test. return - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Mount/examples/trivial_AP_Mount/wscript b/libraries/AP_Mount/examples/trivial_AP_Mount/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Mount/examples/trivial_AP_Mount/wscript +++ b/libraries/AP_Mount/examples/trivial_AP_Mount/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Notify/examples/AP_Notify_test/wscript b/libraries/AP_Notify/examples/AP_Notify_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Notify/examples/AP_Notify_test/wscript +++ b/libraries/AP_Notify/examples/AP_Notify_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Notify/examples/ToshibaLED_test/wscript b/libraries/AP_Notify/examples/ToshibaLED_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Notify/examples/ToshibaLED_test/wscript +++ b/libraries/AP_Notify/examples/ToshibaLED_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/wscript b/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/wscript +++ b/libraries/AP_OpticalFlow/examples/AP_OpticalFlow_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Parachute/examples/AP_Parachute_test/wscript b/libraries/AP_Parachute/examples/AP_Parachute_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Parachute/examples/AP_Parachute_test/wscript +++ b/libraries/AP_Parachute/examples/AP_Parachute_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_RangeFinder/examples/RFIND_test/wscript b/libraries/AP_RangeFinder/examples/RFIND_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_RangeFinder/examples/RFIND_test/wscript +++ b/libraries/AP_RangeFinder/examples/RFIND_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/AP_Scheduler/examples/Scheduler_test/wscript b/libraries/AP_Scheduler/examples/Scheduler_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/AP_Scheduler/examples/Scheduler_test/wscript +++ b/libraries/AP_Scheduler/examples/Scheduler_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/DataFlash/examples/DataFlash_test/wscript b/libraries/DataFlash/examples/DataFlash_test/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/DataFlash/examples/DataFlash_test/wscript +++ b/libraries/DataFlash/examples/DataFlash_test/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/Filter/examples/Derivative/wscript b/libraries/Filter/examples/Derivative/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/Filter/examples/Derivative/wscript +++ b/libraries/Filter/examples/Derivative/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/Filter/examples/Filter/wscript b/libraries/Filter/examples/Filter/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/Filter/examples/Filter/wscript +++ b/libraries/Filter/examples/Filter/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/Filter/examples/LowPassFilter/wscript b/libraries/Filter/examples/LowPassFilter/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/Filter/examples/LowPassFilter/wscript +++ b/libraries/Filter/examples/LowPassFilter/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/Filter/examples/LowPassFilter2p/wscript b/libraries/Filter/examples/LowPassFilter2p/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/Filter/examples/LowPassFilter2p/wscript +++ b/libraries/Filter/examples/LowPassFilter2p/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/GCS_Console/examples/Console/wscript b/libraries/GCS_Console/examples/Console/wscript index da5cf7e6d3..4d5bbad799 100644 --- a/libraries/GCS_Console/examples/Console/wscript +++ b/libraries/GCS_Console/examples/Console/wscript @@ -7,7 +7,7 @@ def build(bld): # TODO: Test code doesn't build. Fix or delete the test. return - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/GCS_MAVLink/examples/routing/wscript b/libraries/GCS_MAVLink/examples/routing/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/GCS_MAVLink/examples/routing/wscript +++ b/libraries/GCS_MAVLink/examples/routing/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/PID/examples/pid/wscript b/libraries/PID/examples/pid/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/PID/examples/pid/wscript +++ b/libraries/PID/examples/pid/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/RC_Channel/examples/RC_Channel/wscript b/libraries/RC_Channel/examples/RC_Channel/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/RC_Channel/examples/RC_Channel/wscript +++ b/libraries/RC_Channel/examples/RC_Channel/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/RC_Channel/examples/RC_UART/wscript b/libraries/RC_Channel/examples/RC_UART/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/RC_Channel/examples/RC_UART/wscript +++ b/libraries/RC_Channel/examples/RC_UART/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', ) diff --git a/libraries/StorageManager/examples/StorageTest/wscript b/libraries/StorageManager/examples/StorageTest/wscript index 8ae0ead338..4dafd0b036 100644 --- a/libraries/StorageManager/examples/StorageTest/wscript +++ b/libraries/StorageManager/examples/StorageTest/wscript @@ -4,7 +4,7 @@ import ardupilotwaf def build(bld): - ardupilotwaf.program( + ardupilotwaf.example( bld, use='ap', )