From 2b792c02258a249d2a5943ba87cedd1df4095f50 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Tue, 10 Dec 2019 10:07:27 -0500 Subject: [PATCH] px4_raspberrypi cleanup configs and add to Jenkins --- .ci/Jenkinsfile-compile | 2 +- boards/px4/raspberrypi/cross.cmake | 26 +++++++++++++------------- boards/px4/raspberrypi/native.cmake | 24 ++++++++++++------------ 3 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.ci/Jenkinsfile-compile b/.ci/Jenkinsfile-compile index 83c1625b0f..72a76777b5 100644 --- a/.ci/Jenkinsfile-compile +++ b/.ci/Jenkinsfile-compile @@ -16,7 +16,7 @@ pipeline { ] def armhf_builds = [ - target: ["aerotenna_ocpoc_default", "emlid_navio2_cross", "parrot_bebop_default"], + target: ["aerotenna_ocpoc_default", "emlid_navio2_cross", "parrot_bebop_default", "px4_raspberrypi_cross"], image: docker_images.armhf, archive: false ] diff --git a/boards/px4/raspberrypi/cross.cmake b/boards/px4/raspberrypi/cross.cmake index 4a4bcaa0ee..a7fe039486 100644 --- a/boards/px4/raspberrypi/cross.cmake +++ b/boards/px4/raspberrypi/cross.cmake @@ -7,26 +7,28 @@ px4_add_board( ARCHITECTURE cortex-a53 TOOLCHAIN arm-linux-gnueabihf TESTING - DRIVERS #barometer # all available barometer drivers + barometer/ms5611 batt_smbus + camera_capture camera_trigger differential_pressure # all available differential pressure drivers distance_sensor # all available distance sensor drivers gps #imu # all available imu drivers - #magnetometer # all available magnetometer drivers - pwm_out_sim - #telemetry # all available telemetry drivers - + imu/mpu9250 linux_pwm_out linux_sbus + #magnetometer # all available magnetometer drivers + magnetometer/hmc5883 + pwm_out_sim rpi_rc_in - + #telemetry # all available telemetry drivers MODULES + airspeed_selector attitude_estimator_q - camera_capture + battery_status camera_feedback commander dataman @@ -34,7 +36,6 @@ px4_add_board( events fw_att_control fw_pos_control_l1 - rover_pos_control land_detector landing_target_estimator load_mon @@ -42,17 +43,16 @@ px4_add_board( logger mavlink mc_att_control - mc_rate_control mc_pos_control + mc_rate_control navigator - battery_status rc_update + rover_pos_control sensors sih + #simulator vmount vtol_att_control - airspeed_selector - SYSTEMCMDS dyn esc_calib @@ -71,13 +71,13 @@ px4_add_board( tune_control ver work_queue - EXAMPLES bottle_drop # OBC challenge dyn_hello # dynamically loading modules example fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control hello #hwtest # Hardware test + #matlab_csv_serial px4_mavlink_debug # Tutorial code from http://dev.px4.io/en/debug/debug_values.html px4_simple_app # Tutorial code from http://dev.px4.io/en/apps/hello_sky.html rover_steering_control # Rover example app diff --git a/boards/px4/raspberrypi/native.cmake b/boards/px4/raspberrypi/native.cmake index 6f4985313a..ebc3c48bd4 100644 --- a/boards/px4/raspberrypi/native.cmake +++ b/boards/px4/raspberrypi/native.cmake @@ -5,25 +5,28 @@ px4_add_board( LABEL native PLATFORM posix TESTING - DRIVERS #barometer # all available barometer drivers + barometer/ms5611 batt_smbus + camera_capture camera_trigger differential_pressure # all available differential pressure drivers distance_sensor # all available distance sensor drivers gps #imu # all available imu drivers - #magnetometer # all available magnetometer drivers - pwm_out_sim - #telemetry # all available telemetry drivers - + imu/mpu9250 linux_pwm_out linux_sbus + #magnetometer # all available magnetometer drivers + magnetometer/hmc5883 + pwm_out_sim rpi_rc_in - + #telemetry # all available telemetry drivers MODULES + airspeed_selector attitude_estimator_q + battery_status camera_feedback commander dataman @@ -31,7 +34,6 @@ px4_add_board( events fw_att_control fw_pos_control_l1 - rover_pos_control land_detector landing_target_estimator load_mon @@ -39,18 +41,16 @@ px4_add_board( logger mavlink mc_att_control - mc_rate_control mc_pos_control + mc_rate_control navigator - battery_status rc_update + rover_pos_control sensors sih #simulator vmount vtol_att_control - airspeed_selector - SYSTEMCMDS dyn esc_calib @@ -69,13 +69,13 @@ px4_add_board( tune_control ver work_queue - EXAMPLES bottle_drop # OBC challenge dyn_hello # dynamically loading modules example fixedwing_control # Tutorial code from https://px4.io/dev/example_fixedwing_control hello #hwtest # Hardware test + #matlab_csv_serial px4_mavlink_debug # Tutorial code from http://dev.px4.io/en/debug/debug_values.html px4_simple_app # Tutorial code from http://dev.px4.io/en/apps/hello_sky.html rover_steering_control # Rover example app