From 09140cfdef5cbea69e69b8715b3eab9f27c62ece Mon Sep 17 00:00:00 2001 From: "Konstantin Sharlaimov (DigitalEntity)" Date: Mon, 17 Oct 2016 17:24:42 +1000 Subject: [PATCH] Move MAVLink to lib/main/MAVLink; Post-rebase fixups --- Makefile | 3 +++ .../mavlink => lib/main/MAVLink}/checksum.h | 0 .../mavlink => lib/main/MAVLink}/common/common.h | 0 .../mavlink => lib/main/MAVLink}/common/mavlink.h | 0 .../common/mavlink_msg_actuator_control_target.h | 0 .../MAVLink}/common/mavlink_msg_att_pos_mocap.h | 0 .../main/MAVLink}/common/mavlink_msg_attitude.h | 0 .../common/mavlink_msg_attitude_quaternion.h | 0 .../common/mavlink_msg_attitude_quaternion_cov.h | 0 .../MAVLink}/common/mavlink_msg_attitude_target.h | 0 .../main/MAVLink}/common/mavlink_msg_auth_key.h | 0 .../common/mavlink_msg_autopilot_version.h | 0 .../MAVLink}/common/mavlink_msg_battery_status.h | 0 .../MAVLink}/common/mavlink_msg_camera_trigger.h | 0 .../common/mavlink_msg_change_operator_control.h | 0 .../mavlink_msg_change_operator_control_ack.h | 0 .../main/MAVLink}/common/mavlink_msg_command_ack.h | 0 .../main/MAVLink}/common/mavlink_msg_command_int.h | 0 .../MAVLink}/common/mavlink_msg_command_long.h | 0 .../main/MAVLink}/common/mavlink_msg_data_stream.h | 0 .../mavlink_msg_data_transmission_handshake.h | 0 .../main/MAVLink}/common/mavlink_msg_debug.h | 0 .../main/MAVLink}/common/mavlink_msg_debug_vect.h | 0 .../MAVLink}/common/mavlink_msg_distance_sensor.h | 0 .../common/mavlink_msg_encapsulated_data.h | 0 .../common/mavlink_msg_file_transfer_protocol.h | 0 .../common/mavlink_msg_global_position_int.h | 0 .../common/mavlink_msg_global_position_int_cov.h | 0 .../mavlink_msg_global_vision_position_estimate.h | 0 .../main/MAVLink}/common/mavlink_msg_gps2_raw.h | 0 .../main/MAVLink}/common/mavlink_msg_gps2_rtk.h | 0 .../common/mavlink_msg_gps_global_origin.h | 0 .../MAVLink}/common/mavlink_msg_gps_inject_data.h | 0 .../main/MAVLink}/common/mavlink_msg_gps_raw_int.h | 0 .../main/MAVLink}/common/mavlink_msg_gps_rtk.h | 0 .../main/MAVLink}/common/mavlink_msg_gps_status.h | 0 .../main/MAVLink}/common/mavlink_msg_heartbeat.h | 0 .../main/MAVLink}/common/mavlink_msg_highres_imu.h | 0 .../MAVLink}/common/mavlink_msg_hil_controls.h | 0 .../main/MAVLink}/common/mavlink_msg_hil_gps.h | 0 .../MAVLink}/common/mavlink_msg_hil_optical_flow.h | 0 .../common/mavlink_msg_hil_rc_inputs_raw.h | 0 .../main/MAVLink}/common/mavlink_msg_hil_sensor.h | 0 .../main/MAVLink}/common/mavlink_msg_hil_state.h | 0 .../common/mavlink_msg_hil_state_quaternion.h | 0 .../common/mavlink_msg_local_position_ned.h | 0 .../common/mavlink_msg_local_position_ned_cov.h | 0 ...k_msg_local_position_ned_system_global_offset.h | 0 .../main/MAVLink}/common/mavlink_msg_log_data.h | 0 .../main/MAVLink}/common/mavlink_msg_log_entry.h | 0 .../main/MAVLink}/common/mavlink_msg_log_erase.h | 0 .../MAVLink}/common/mavlink_msg_log_request_data.h | 0 .../MAVLink}/common/mavlink_msg_log_request_end.h | 0 .../MAVLink}/common/mavlink_msg_log_request_list.h | 0 .../MAVLink}/common/mavlink_msg_manual_control.h | 0 .../MAVLink}/common/mavlink_msg_manual_setpoint.h | 0 .../main/MAVLink}/common/mavlink_msg_memory_vect.h | 0 .../main/MAVLink}/common/mavlink_msg_mission_ack.h | 0 .../common/mavlink_msg_mission_clear_all.h | 0 .../MAVLink}/common/mavlink_msg_mission_count.h | 0 .../MAVLink}/common/mavlink_msg_mission_current.h | 0 .../MAVLink}/common/mavlink_msg_mission_item.h | 0 .../MAVLink}/common/mavlink_msg_mission_item_int.h | 0 .../common/mavlink_msg_mission_item_reached.h | 0 .../MAVLink}/common/mavlink_msg_mission_request.h | 0 .../common/mavlink_msg_mission_request_list.h | 0 .../mavlink_msg_mission_request_partial_list.h | 0 .../common/mavlink_msg_mission_set_current.h | 0 .../mavlink_msg_mission_write_partial_list.h | 0 .../common/mavlink_msg_named_value_float.h | 0 .../MAVLink}/common/mavlink_msg_named_value_int.h | 0 .../common/mavlink_msg_nav_controller_output.h | 0 .../MAVLink}/common/mavlink_msg_optical_flow.h | 0 .../MAVLink}/common/mavlink_msg_optical_flow_rad.h | 0 .../MAVLink}/common/mavlink_msg_param_map_rc.h | 0 .../common/mavlink_msg_param_request_list.h | 0 .../common/mavlink_msg_param_request_read.h | 0 .../main/MAVLink}/common/mavlink_msg_param_set.h | 0 .../main/MAVLink}/common/mavlink_msg_param_value.h | 0 .../main/MAVLink}/common/mavlink_msg_ping.h | 0 .../mavlink_msg_position_target_global_int.h | 0 .../common/mavlink_msg_position_target_local_ned.h | 0 .../MAVLink}/common/mavlink_msg_power_status.h | 0 .../MAVLink}/common/mavlink_msg_radio_status.h | 0 .../main/MAVLink}/common/mavlink_msg_raw_imu.h | 0 .../MAVLink}/common/mavlink_msg_raw_pressure.h | 0 .../main/MAVLink}/common/mavlink_msg_rc_channels.h | 0 .../common/mavlink_msg_rc_channels_override.h | 0 .../MAVLink}/common/mavlink_msg_rc_channels_raw.h | 0 .../common/mavlink_msg_rc_channels_scaled.h | 0 .../common/mavlink_msg_request_data_stream.h | 0 .../common/mavlink_msg_safety_allowed_area.h | 0 .../common/mavlink_msg_safety_set_allowed_area.h | 0 .../main/MAVLink}/common/mavlink_msg_scaled_imu.h | 0 .../main/MAVLink}/common/mavlink_msg_scaled_imu2.h | 0 .../main/MAVLink}/common/mavlink_msg_scaled_imu3.h | 0 .../MAVLink}/common/mavlink_msg_scaled_pressure.h | 0 .../MAVLink}/common/mavlink_msg_scaled_pressure2.h | 0 .../MAVLink}/common/mavlink_msg_serial_control.h | 0 .../MAVLink}/common/mavlink_msg_servo_output_raw.h | 0 .../mavlink_msg_set_actuator_control_target.h | 0 .../common/mavlink_msg_set_attitude_target.h | 0 .../common/mavlink_msg_set_gps_global_origin.h | 0 .../main/MAVLink}/common/mavlink_msg_set_mode.h | 0 .../mavlink_msg_set_position_target_global_int.h | 0 .../mavlink_msg_set_position_target_local_ned.h | 0 .../main/MAVLink}/common/mavlink_msg_sim_state.h | 0 .../main/MAVLink}/common/mavlink_msg_statustext.h | 0 .../main/MAVLink}/common/mavlink_msg_sys_status.h | 0 .../main/MAVLink}/common/mavlink_msg_system_time.h | 0 .../MAVLink}/common/mavlink_msg_terrain_check.h | 0 .../MAVLink}/common/mavlink_msg_terrain_data.h | 0 .../MAVLink}/common/mavlink_msg_terrain_report.h | 0 .../MAVLink}/common/mavlink_msg_terrain_request.h | 0 .../main/MAVLink}/common/mavlink_msg_timesync.h | 0 .../MAVLink}/common/mavlink_msg_v2_extension.h | 0 .../main/MAVLink}/common/mavlink_msg_vfr_hud.h | 0 .../common/mavlink_msg_vicon_position_estimate.h | 0 .../common/mavlink_msg_vision_position_estimate.h | 0 .../common/mavlink_msg_vision_speed_estimate.h | 0 .../main/MAVLink}/common/testsuite.h | 0 .../mavlink => lib/main/MAVLink}/common/version.h | 0 .../main/MAVLink}/mavlink_conversions.h | 0 .../mavlink => lib/main/MAVLink}/mavlink_helpers.h | 0 .../mavlink => lib/main/MAVLink}/mavlink_types.h | 0 .../mavlink => lib/main/MAVLink}/protocol.h | 0 src/main/telemetry/mavlink.c | 14 +++++--------- 127 files changed, 8 insertions(+), 9 deletions(-) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/checksum.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/common.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_actuator_control_target.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_att_pos_mocap.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_attitude.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_attitude_quaternion.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_attitude_quaternion_cov.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_attitude_target.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_auth_key.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_autopilot_version.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_battery_status.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_camera_trigger.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_change_operator_control.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_change_operator_control_ack.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_command_ack.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_command_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_command_long.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_data_stream.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_data_transmission_handshake.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_debug.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_debug_vect.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_distance_sensor.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_encapsulated_data.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_file_transfer_protocol.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_global_position_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_global_position_int_cov.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_global_vision_position_estimate.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps2_raw.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps2_rtk.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps_global_origin.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps_inject_data.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps_raw_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps_rtk.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_gps_status.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_heartbeat.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_highres_imu.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_controls.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_gps.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_optical_flow.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_rc_inputs_raw.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_sensor.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_state.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_hil_state_quaternion.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_local_position_ned.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_local_position_ned_cov.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_local_position_ned_system_global_offset.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_log_data.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_log_entry.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_log_erase.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_log_request_data.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_log_request_end.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_log_request_list.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_manual_control.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_manual_setpoint.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_memory_vect.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_ack.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_clear_all.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_count.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_current.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_item.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_item_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_item_reached.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_request.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_request_list.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_request_partial_list.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_set_current.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_mission_write_partial_list.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_named_value_float.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_named_value_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_nav_controller_output.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_optical_flow.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_optical_flow_rad.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_param_map_rc.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_param_request_list.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_param_request_read.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_param_set.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_param_value.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_ping.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_position_target_global_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_position_target_local_ned.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_power_status.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_radio_status.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_raw_imu.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_raw_pressure.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_rc_channels.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_rc_channels_override.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_rc_channels_raw.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_rc_channels_scaled.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_request_data_stream.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_safety_allowed_area.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_safety_set_allowed_area.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_scaled_imu.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_scaled_imu2.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_scaled_imu3.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_scaled_pressure.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_scaled_pressure2.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_serial_control.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_servo_output_raw.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_set_actuator_control_target.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_set_attitude_target.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_set_gps_global_origin.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_set_mode.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_set_position_target_global_int.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_set_position_target_local_ned.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_sim_state.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_statustext.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_sys_status.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_system_time.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_terrain_check.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_terrain_data.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_terrain_report.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_terrain_request.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_timesync.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_v2_extension.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_vfr_hud.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_vicon_position_estimate.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_vision_position_estimate.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/mavlink_msg_vision_speed_estimate.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/testsuite.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/common/version.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/mavlink_conversions.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/mavlink_helpers.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/mavlink_types.h (100%) rename {src/main/telemetry/mavlink => lib/main/MAVLink}/protocol.h (100%) diff --git a/Makefile b/Makefile index e76d45115..df5c4e4f3 100644 --- a/Makefile +++ b/Makefile @@ -385,6 +385,9 @@ else .DEFAULT_GOAL := hex endif +INCLUDE_DIRS := $(INCLUDE_DIRS) \ + $(ROOT)/lib/main/MAVLink + INCLUDE_DIRS := $(INCLUDE_DIRS) \ $(TARGET_DIR) diff --git a/src/main/telemetry/mavlink/checksum.h b/lib/main/MAVLink/checksum.h similarity index 100% rename from src/main/telemetry/mavlink/checksum.h rename to lib/main/MAVLink/checksum.h diff --git a/src/main/telemetry/mavlink/common/common.h b/lib/main/MAVLink/common/common.h similarity index 100% rename from src/main/telemetry/mavlink/common/common.h rename to lib/main/MAVLink/common/common.h diff --git a/src/main/telemetry/mavlink/common/mavlink.h b/lib/main/MAVLink/common/mavlink.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink.h rename to lib/main/MAVLink/common/mavlink.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_actuator_control_target.h b/lib/main/MAVLink/common/mavlink_msg_actuator_control_target.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_actuator_control_target.h rename to lib/main/MAVLink/common/mavlink_msg_actuator_control_target.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_att_pos_mocap.h b/lib/main/MAVLink/common/mavlink_msg_att_pos_mocap.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_att_pos_mocap.h rename to lib/main/MAVLink/common/mavlink_msg_att_pos_mocap.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_attitude.h b/lib/main/MAVLink/common/mavlink_msg_attitude.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_attitude.h rename to lib/main/MAVLink/common/mavlink_msg_attitude.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_attitude_quaternion.h b/lib/main/MAVLink/common/mavlink_msg_attitude_quaternion.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_attitude_quaternion.h rename to lib/main/MAVLink/common/mavlink_msg_attitude_quaternion.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_attitude_quaternion_cov.h b/lib/main/MAVLink/common/mavlink_msg_attitude_quaternion_cov.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_attitude_quaternion_cov.h rename to lib/main/MAVLink/common/mavlink_msg_attitude_quaternion_cov.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_attitude_target.h b/lib/main/MAVLink/common/mavlink_msg_attitude_target.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_attitude_target.h rename to lib/main/MAVLink/common/mavlink_msg_attitude_target.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_auth_key.h b/lib/main/MAVLink/common/mavlink_msg_auth_key.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_auth_key.h rename to lib/main/MAVLink/common/mavlink_msg_auth_key.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_autopilot_version.h b/lib/main/MAVLink/common/mavlink_msg_autopilot_version.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_autopilot_version.h rename to lib/main/MAVLink/common/mavlink_msg_autopilot_version.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_battery_status.h b/lib/main/MAVLink/common/mavlink_msg_battery_status.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_battery_status.h rename to lib/main/MAVLink/common/mavlink_msg_battery_status.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_camera_trigger.h b/lib/main/MAVLink/common/mavlink_msg_camera_trigger.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_camera_trigger.h rename to lib/main/MAVLink/common/mavlink_msg_camera_trigger.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_change_operator_control.h b/lib/main/MAVLink/common/mavlink_msg_change_operator_control.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_change_operator_control.h rename to lib/main/MAVLink/common/mavlink_msg_change_operator_control.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_change_operator_control_ack.h b/lib/main/MAVLink/common/mavlink_msg_change_operator_control_ack.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_change_operator_control_ack.h rename to lib/main/MAVLink/common/mavlink_msg_change_operator_control_ack.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_command_ack.h b/lib/main/MAVLink/common/mavlink_msg_command_ack.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_command_ack.h rename to lib/main/MAVLink/common/mavlink_msg_command_ack.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_command_int.h b/lib/main/MAVLink/common/mavlink_msg_command_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_command_int.h rename to lib/main/MAVLink/common/mavlink_msg_command_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_command_long.h b/lib/main/MAVLink/common/mavlink_msg_command_long.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_command_long.h rename to lib/main/MAVLink/common/mavlink_msg_command_long.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_data_stream.h b/lib/main/MAVLink/common/mavlink_msg_data_stream.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_data_stream.h rename to lib/main/MAVLink/common/mavlink_msg_data_stream.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_data_transmission_handshake.h b/lib/main/MAVLink/common/mavlink_msg_data_transmission_handshake.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_data_transmission_handshake.h rename to lib/main/MAVLink/common/mavlink_msg_data_transmission_handshake.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_debug.h b/lib/main/MAVLink/common/mavlink_msg_debug.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_debug.h rename to lib/main/MAVLink/common/mavlink_msg_debug.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_debug_vect.h b/lib/main/MAVLink/common/mavlink_msg_debug_vect.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_debug_vect.h rename to lib/main/MAVLink/common/mavlink_msg_debug_vect.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_distance_sensor.h b/lib/main/MAVLink/common/mavlink_msg_distance_sensor.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_distance_sensor.h rename to lib/main/MAVLink/common/mavlink_msg_distance_sensor.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_encapsulated_data.h b/lib/main/MAVLink/common/mavlink_msg_encapsulated_data.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_encapsulated_data.h rename to lib/main/MAVLink/common/mavlink_msg_encapsulated_data.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_file_transfer_protocol.h b/lib/main/MAVLink/common/mavlink_msg_file_transfer_protocol.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_file_transfer_protocol.h rename to lib/main/MAVLink/common/mavlink_msg_file_transfer_protocol.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_global_position_int.h b/lib/main/MAVLink/common/mavlink_msg_global_position_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_global_position_int.h rename to lib/main/MAVLink/common/mavlink_msg_global_position_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_global_position_int_cov.h b/lib/main/MAVLink/common/mavlink_msg_global_position_int_cov.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_global_position_int_cov.h rename to lib/main/MAVLink/common/mavlink_msg_global_position_int_cov.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_global_vision_position_estimate.h b/lib/main/MAVLink/common/mavlink_msg_global_vision_position_estimate.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_global_vision_position_estimate.h rename to lib/main/MAVLink/common/mavlink_msg_global_vision_position_estimate.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps2_raw.h b/lib/main/MAVLink/common/mavlink_msg_gps2_raw.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps2_raw.h rename to lib/main/MAVLink/common/mavlink_msg_gps2_raw.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps2_rtk.h b/lib/main/MAVLink/common/mavlink_msg_gps2_rtk.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps2_rtk.h rename to lib/main/MAVLink/common/mavlink_msg_gps2_rtk.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps_global_origin.h b/lib/main/MAVLink/common/mavlink_msg_gps_global_origin.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps_global_origin.h rename to lib/main/MAVLink/common/mavlink_msg_gps_global_origin.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps_inject_data.h b/lib/main/MAVLink/common/mavlink_msg_gps_inject_data.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps_inject_data.h rename to lib/main/MAVLink/common/mavlink_msg_gps_inject_data.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps_raw_int.h b/lib/main/MAVLink/common/mavlink_msg_gps_raw_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps_raw_int.h rename to lib/main/MAVLink/common/mavlink_msg_gps_raw_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps_rtk.h b/lib/main/MAVLink/common/mavlink_msg_gps_rtk.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps_rtk.h rename to lib/main/MAVLink/common/mavlink_msg_gps_rtk.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_gps_status.h b/lib/main/MAVLink/common/mavlink_msg_gps_status.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_gps_status.h rename to lib/main/MAVLink/common/mavlink_msg_gps_status.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_heartbeat.h b/lib/main/MAVLink/common/mavlink_msg_heartbeat.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_heartbeat.h rename to lib/main/MAVLink/common/mavlink_msg_heartbeat.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_highres_imu.h b/lib/main/MAVLink/common/mavlink_msg_highres_imu.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_highres_imu.h rename to lib/main/MAVLink/common/mavlink_msg_highres_imu.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_controls.h b/lib/main/MAVLink/common/mavlink_msg_hil_controls.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_controls.h rename to lib/main/MAVLink/common/mavlink_msg_hil_controls.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_gps.h b/lib/main/MAVLink/common/mavlink_msg_hil_gps.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_gps.h rename to lib/main/MAVLink/common/mavlink_msg_hil_gps.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_optical_flow.h b/lib/main/MAVLink/common/mavlink_msg_hil_optical_flow.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_optical_flow.h rename to lib/main/MAVLink/common/mavlink_msg_hil_optical_flow.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_rc_inputs_raw.h b/lib/main/MAVLink/common/mavlink_msg_hil_rc_inputs_raw.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_rc_inputs_raw.h rename to lib/main/MAVLink/common/mavlink_msg_hil_rc_inputs_raw.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_sensor.h b/lib/main/MAVLink/common/mavlink_msg_hil_sensor.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_sensor.h rename to lib/main/MAVLink/common/mavlink_msg_hil_sensor.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_state.h b/lib/main/MAVLink/common/mavlink_msg_hil_state.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_state.h rename to lib/main/MAVLink/common/mavlink_msg_hil_state.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_hil_state_quaternion.h b/lib/main/MAVLink/common/mavlink_msg_hil_state_quaternion.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_hil_state_quaternion.h rename to lib/main/MAVLink/common/mavlink_msg_hil_state_quaternion.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_local_position_ned.h b/lib/main/MAVLink/common/mavlink_msg_local_position_ned.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_local_position_ned.h rename to lib/main/MAVLink/common/mavlink_msg_local_position_ned.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_local_position_ned_cov.h b/lib/main/MAVLink/common/mavlink_msg_local_position_ned_cov.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_local_position_ned_cov.h rename to lib/main/MAVLink/common/mavlink_msg_local_position_ned_cov.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_local_position_ned_system_global_offset.h b/lib/main/MAVLink/common/mavlink_msg_local_position_ned_system_global_offset.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_local_position_ned_system_global_offset.h rename to lib/main/MAVLink/common/mavlink_msg_local_position_ned_system_global_offset.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_log_data.h b/lib/main/MAVLink/common/mavlink_msg_log_data.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_log_data.h rename to lib/main/MAVLink/common/mavlink_msg_log_data.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_log_entry.h b/lib/main/MAVLink/common/mavlink_msg_log_entry.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_log_entry.h rename to lib/main/MAVLink/common/mavlink_msg_log_entry.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_log_erase.h b/lib/main/MAVLink/common/mavlink_msg_log_erase.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_log_erase.h rename to lib/main/MAVLink/common/mavlink_msg_log_erase.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_log_request_data.h b/lib/main/MAVLink/common/mavlink_msg_log_request_data.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_log_request_data.h rename to lib/main/MAVLink/common/mavlink_msg_log_request_data.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_log_request_end.h b/lib/main/MAVLink/common/mavlink_msg_log_request_end.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_log_request_end.h rename to lib/main/MAVLink/common/mavlink_msg_log_request_end.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_log_request_list.h b/lib/main/MAVLink/common/mavlink_msg_log_request_list.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_log_request_list.h rename to lib/main/MAVLink/common/mavlink_msg_log_request_list.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_manual_control.h b/lib/main/MAVLink/common/mavlink_msg_manual_control.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_manual_control.h rename to lib/main/MAVLink/common/mavlink_msg_manual_control.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_manual_setpoint.h b/lib/main/MAVLink/common/mavlink_msg_manual_setpoint.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_manual_setpoint.h rename to lib/main/MAVLink/common/mavlink_msg_manual_setpoint.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_memory_vect.h b/lib/main/MAVLink/common/mavlink_msg_memory_vect.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_memory_vect.h rename to lib/main/MAVLink/common/mavlink_msg_memory_vect.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_ack.h b/lib/main/MAVLink/common/mavlink_msg_mission_ack.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_ack.h rename to lib/main/MAVLink/common/mavlink_msg_mission_ack.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_clear_all.h b/lib/main/MAVLink/common/mavlink_msg_mission_clear_all.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_clear_all.h rename to lib/main/MAVLink/common/mavlink_msg_mission_clear_all.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_count.h b/lib/main/MAVLink/common/mavlink_msg_mission_count.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_count.h rename to lib/main/MAVLink/common/mavlink_msg_mission_count.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_current.h b/lib/main/MAVLink/common/mavlink_msg_mission_current.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_current.h rename to lib/main/MAVLink/common/mavlink_msg_mission_current.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_item.h b/lib/main/MAVLink/common/mavlink_msg_mission_item.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_item.h rename to lib/main/MAVLink/common/mavlink_msg_mission_item.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_item_int.h b/lib/main/MAVLink/common/mavlink_msg_mission_item_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_item_int.h rename to lib/main/MAVLink/common/mavlink_msg_mission_item_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_item_reached.h b/lib/main/MAVLink/common/mavlink_msg_mission_item_reached.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_item_reached.h rename to lib/main/MAVLink/common/mavlink_msg_mission_item_reached.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_request.h b/lib/main/MAVLink/common/mavlink_msg_mission_request.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_request.h rename to lib/main/MAVLink/common/mavlink_msg_mission_request.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_request_list.h b/lib/main/MAVLink/common/mavlink_msg_mission_request_list.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_request_list.h rename to lib/main/MAVLink/common/mavlink_msg_mission_request_list.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_request_partial_list.h b/lib/main/MAVLink/common/mavlink_msg_mission_request_partial_list.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_request_partial_list.h rename to lib/main/MAVLink/common/mavlink_msg_mission_request_partial_list.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_set_current.h b/lib/main/MAVLink/common/mavlink_msg_mission_set_current.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_set_current.h rename to lib/main/MAVLink/common/mavlink_msg_mission_set_current.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_mission_write_partial_list.h b/lib/main/MAVLink/common/mavlink_msg_mission_write_partial_list.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_mission_write_partial_list.h rename to lib/main/MAVLink/common/mavlink_msg_mission_write_partial_list.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_named_value_float.h b/lib/main/MAVLink/common/mavlink_msg_named_value_float.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_named_value_float.h rename to lib/main/MAVLink/common/mavlink_msg_named_value_float.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_named_value_int.h b/lib/main/MAVLink/common/mavlink_msg_named_value_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_named_value_int.h rename to lib/main/MAVLink/common/mavlink_msg_named_value_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_nav_controller_output.h b/lib/main/MAVLink/common/mavlink_msg_nav_controller_output.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_nav_controller_output.h rename to lib/main/MAVLink/common/mavlink_msg_nav_controller_output.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_optical_flow.h b/lib/main/MAVLink/common/mavlink_msg_optical_flow.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_optical_flow.h rename to lib/main/MAVLink/common/mavlink_msg_optical_flow.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_optical_flow_rad.h b/lib/main/MAVLink/common/mavlink_msg_optical_flow_rad.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_optical_flow_rad.h rename to lib/main/MAVLink/common/mavlink_msg_optical_flow_rad.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_param_map_rc.h b/lib/main/MAVLink/common/mavlink_msg_param_map_rc.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_param_map_rc.h rename to lib/main/MAVLink/common/mavlink_msg_param_map_rc.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_param_request_list.h b/lib/main/MAVLink/common/mavlink_msg_param_request_list.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_param_request_list.h rename to lib/main/MAVLink/common/mavlink_msg_param_request_list.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_param_request_read.h b/lib/main/MAVLink/common/mavlink_msg_param_request_read.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_param_request_read.h rename to lib/main/MAVLink/common/mavlink_msg_param_request_read.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_param_set.h b/lib/main/MAVLink/common/mavlink_msg_param_set.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_param_set.h rename to lib/main/MAVLink/common/mavlink_msg_param_set.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_param_value.h b/lib/main/MAVLink/common/mavlink_msg_param_value.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_param_value.h rename to lib/main/MAVLink/common/mavlink_msg_param_value.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_ping.h b/lib/main/MAVLink/common/mavlink_msg_ping.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_ping.h rename to lib/main/MAVLink/common/mavlink_msg_ping.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_position_target_global_int.h b/lib/main/MAVLink/common/mavlink_msg_position_target_global_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_position_target_global_int.h rename to lib/main/MAVLink/common/mavlink_msg_position_target_global_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_position_target_local_ned.h b/lib/main/MAVLink/common/mavlink_msg_position_target_local_ned.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_position_target_local_ned.h rename to lib/main/MAVLink/common/mavlink_msg_position_target_local_ned.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_power_status.h b/lib/main/MAVLink/common/mavlink_msg_power_status.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_power_status.h rename to lib/main/MAVLink/common/mavlink_msg_power_status.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_radio_status.h b/lib/main/MAVLink/common/mavlink_msg_radio_status.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_radio_status.h rename to lib/main/MAVLink/common/mavlink_msg_radio_status.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_raw_imu.h b/lib/main/MAVLink/common/mavlink_msg_raw_imu.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_raw_imu.h rename to lib/main/MAVLink/common/mavlink_msg_raw_imu.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_raw_pressure.h b/lib/main/MAVLink/common/mavlink_msg_raw_pressure.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_raw_pressure.h rename to lib/main/MAVLink/common/mavlink_msg_raw_pressure.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_rc_channels.h b/lib/main/MAVLink/common/mavlink_msg_rc_channels.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_rc_channels.h rename to lib/main/MAVLink/common/mavlink_msg_rc_channels.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_rc_channels_override.h b/lib/main/MAVLink/common/mavlink_msg_rc_channels_override.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_rc_channels_override.h rename to lib/main/MAVLink/common/mavlink_msg_rc_channels_override.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_rc_channels_raw.h b/lib/main/MAVLink/common/mavlink_msg_rc_channels_raw.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_rc_channels_raw.h rename to lib/main/MAVLink/common/mavlink_msg_rc_channels_raw.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_rc_channels_scaled.h b/lib/main/MAVLink/common/mavlink_msg_rc_channels_scaled.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_rc_channels_scaled.h rename to lib/main/MAVLink/common/mavlink_msg_rc_channels_scaled.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_request_data_stream.h b/lib/main/MAVLink/common/mavlink_msg_request_data_stream.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_request_data_stream.h rename to lib/main/MAVLink/common/mavlink_msg_request_data_stream.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_safety_allowed_area.h b/lib/main/MAVLink/common/mavlink_msg_safety_allowed_area.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_safety_allowed_area.h rename to lib/main/MAVLink/common/mavlink_msg_safety_allowed_area.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_safety_set_allowed_area.h b/lib/main/MAVLink/common/mavlink_msg_safety_set_allowed_area.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_safety_set_allowed_area.h rename to lib/main/MAVLink/common/mavlink_msg_safety_set_allowed_area.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_scaled_imu.h b/lib/main/MAVLink/common/mavlink_msg_scaled_imu.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_scaled_imu.h rename to lib/main/MAVLink/common/mavlink_msg_scaled_imu.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_scaled_imu2.h b/lib/main/MAVLink/common/mavlink_msg_scaled_imu2.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_scaled_imu2.h rename to lib/main/MAVLink/common/mavlink_msg_scaled_imu2.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_scaled_imu3.h b/lib/main/MAVLink/common/mavlink_msg_scaled_imu3.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_scaled_imu3.h rename to lib/main/MAVLink/common/mavlink_msg_scaled_imu3.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_scaled_pressure.h b/lib/main/MAVLink/common/mavlink_msg_scaled_pressure.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_scaled_pressure.h rename to lib/main/MAVLink/common/mavlink_msg_scaled_pressure.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_scaled_pressure2.h b/lib/main/MAVLink/common/mavlink_msg_scaled_pressure2.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_scaled_pressure2.h rename to lib/main/MAVLink/common/mavlink_msg_scaled_pressure2.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_serial_control.h b/lib/main/MAVLink/common/mavlink_msg_serial_control.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_serial_control.h rename to lib/main/MAVLink/common/mavlink_msg_serial_control.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_servo_output_raw.h b/lib/main/MAVLink/common/mavlink_msg_servo_output_raw.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_servo_output_raw.h rename to lib/main/MAVLink/common/mavlink_msg_servo_output_raw.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_set_actuator_control_target.h b/lib/main/MAVLink/common/mavlink_msg_set_actuator_control_target.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_set_actuator_control_target.h rename to lib/main/MAVLink/common/mavlink_msg_set_actuator_control_target.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_set_attitude_target.h b/lib/main/MAVLink/common/mavlink_msg_set_attitude_target.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_set_attitude_target.h rename to lib/main/MAVLink/common/mavlink_msg_set_attitude_target.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_set_gps_global_origin.h b/lib/main/MAVLink/common/mavlink_msg_set_gps_global_origin.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_set_gps_global_origin.h rename to lib/main/MAVLink/common/mavlink_msg_set_gps_global_origin.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_set_mode.h b/lib/main/MAVLink/common/mavlink_msg_set_mode.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_set_mode.h rename to lib/main/MAVLink/common/mavlink_msg_set_mode.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_set_position_target_global_int.h b/lib/main/MAVLink/common/mavlink_msg_set_position_target_global_int.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_set_position_target_global_int.h rename to lib/main/MAVLink/common/mavlink_msg_set_position_target_global_int.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_set_position_target_local_ned.h b/lib/main/MAVLink/common/mavlink_msg_set_position_target_local_ned.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_set_position_target_local_ned.h rename to lib/main/MAVLink/common/mavlink_msg_set_position_target_local_ned.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_sim_state.h b/lib/main/MAVLink/common/mavlink_msg_sim_state.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_sim_state.h rename to lib/main/MAVLink/common/mavlink_msg_sim_state.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_statustext.h b/lib/main/MAVLink/common/mavlink_msg_statustext.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_statustext.h rename to lib/main/MAVLink/common/mavlink_msg_statustext.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_sys_status.h b/lib/main/MAVLink/common/mavlink_msg_sys_status.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_sys_status.h rename to lib/main/MAVLink/common/mavlink_msg_sys_status.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_system_time.h b/lib/main/MAVLink/common/mavlink_msg_system_time.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_system_time.h rename to lib/main/MAVLink/common/mavlink_msg_system_time.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_terrain_check.h b/lib/main/MAVLink/common/mavlink_msg_terrain_check.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_terrain_check.h rename to lib/main/MAVLink/common/mavlink_msg_terrain_check.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_terrain_data.h b/lib/main/MAVLink/common/mavlink_msg_terrain_data.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_terrain_data.h rename to lib/main/MAVLink/common/mavlink_msg_terrain_data.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_terrain_report.h b/lib/main/MAVLink/common/mavlink_msg_terrain_report.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_terrain_report.h rename to lib/main/MAVLink/common/mavlink_msg_terrain_report.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_terrain_request.h b/lib/main/MAVLink/common/mavlink_msg_terrain_request.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_terrain_request.h rename to lib/main/MAVLink/common/mavlink_msg_terrain_request.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_timesync.h b/lib/main/MAVLink/common/mavlink_msg_timesync.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_timesync.h rename to lib/main/MAVLink/common/mavlink_msg_timesync.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_v2_extension.h b/lib/main/MAVLink/common/mavlink_msg_v2_extension.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_v2_extension.h rename to lib/main/MAVLink/common/mavlink_msg_v2_extension.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_vfr_hud.h b/lib/main/MAVLink/common/mavlink_msg_vfr_hud.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_vfr_hud.h rename to lib/main/MAVLink/common/mavlink_msg_vfr_hud.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_vicon_position_estimate.h b/lib/main/MAVLink/common/mavlink_msg_vicon_position_estimate.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_vicon_position_estimate.h rename to lib/main/MAVLink/common/mavlink_msg_vicon_position_estimate.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_vision_position_estimate.h b/lib/main/MAVLink/common/mavlink_msg_vision_position_estimate.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_vision_position_estimate.h rename to lib/main/MAVLink/common/mavlink_msg_vision_position_estimate.h diff --git a/src/main/telemetry/mavlink/common/mavlink_msg_vision_speed_estimate.h b/lib/main/MAVLink/common/mavlink_msg_vision_speed_estimate.h similarity index 100% rename from src/main/telemetry/mavlink/common/mavlink_msg_vision_speed_estimate.h rename to lib/main/MAVLink/common/mavlink_msg_vision_speed_estimate.h diff --git a/src/main/telemetry/mavlink/common/testsuite.h b/lib/main/MAVLink/common/testsuite.h similarity index 100% rename from src/main/telemetry/mavlink/common/testsuite.h rename to lib/main/MAVLink/common/testsuite.h diff --git a/src/main/telemetry/mavlink/common/version.h b/lib/main/MAVLink/common/version.h similarity index 100% rename from src/main/telemetry/mavlink/common/version.h rename to lib/main/MAVLink/common/version.h diff --git a/src/main/telemetry/mavlink/mavlink_conversions.h b/lib/main/MAVLink/mavlink_conversions.h similarity index 100% rename from src/main/telemetry/mavlink/mavlink_conversions.h rename to lib/main/MAVLink/mavlink_conversions.h diff --git a/src/main/telemetry/mavlink/mavlink_helpers.h b/lib/main/MAVLink/mavlink_helpers.h similarity index 100% rename from src/main/telemetry/mavlink/mavlink_helpers.h rename to lib/main/MAVLink/mavlink_helpers.h diff --git a/src/main/telemetry/mavlink/mavlink_types.h b/lib/main/MAVLink/mavlink_types.h similarity index 100% rename from src/main/telemetry/mavlink/mavlink_types.h rename to lib/main/MAVLink/mavlink_types.h diff --git a/src/main/telemetry/mavlink/protocol.h b/lib/main/MAVLink/protocol.h similarity index 100% rename from src/main/telemetry/mavlink/protocol.h rename to lib/main/MAVLink/protocol.h diff --git a/src/main/telemetry/mavlink.c b/src/main/telemetry/mavlink.c index a34c6730c..01ad110b0 100755 --- a/src/main/telemetry/mavlink.c +++ b/src/main/telemetry/mavlink.c @@ -26,8 +26,6 @@ #include "platform.h" -#include "build_config.h" - #if defined(TELEMETRY) #include "common/maths.h" @@ -43,11 +41,11 @@ #include "drivers/pwm_rx.h" #include "io/serial.h" -#include "io/rc_controls.h" +#include "fc/rc_controls.h" #include "io/gimbal.h" #include "io/gps.h" #include "io/ledstrip.h" -#include "io/escservo.h" +#include "io/motors.h" #include "sensors/sensors.h" #include "sensors/acceleration.h" @@ -68,20 +66,18 @@ #include "telemetry/telemetry.h" #include "telemetry/mavlink.h" -#include "telemetry/mavlink/common/mavlink.h" - #include "config/config.h" -#include "config/runtime_config.h" #include "config/config_profile.h" #include "config/config_master.h" +#include "config/feature.h" -#include "mw.h" +#include "fc/runtime_config.h" // mavlink library uses unnames unions that's causes GCC to complain if -Wpedantic is used // until this is resolved in mavlink library - ignore -Wpedantic for mavlink code #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wpedantic" -#include "mavlink/common/mavlink.h" +#include "common/mavlink.h" #pragma GCC diagnostic pop #define TELEMETRY_MAVLINK_INITIAL_PORT_MODE MODE_TX