Browse Source

AP_Periph: fixed build for include changes

gps-1.3.1
Andrew Tridgell 3 years ago
parent
commit
94d02faf37
  1. 1
      Tools/AP_Periph/AP_Periph.cpp
  2. 6
      Tools/AP_Periph/AP_Periph.h
  3. 1
      Tools/AP_Periph/GCS_MAVLink.cpp
  4. 2
      Tools/AP_Periph/Parameters.cpp
  5. 1
      Tools/AP_Periph/adsb.cpp
  6. 2
      Tools/AP_Periph/can.cpp
  7. 1
      Tools/AP_Periph/msp.cpp

1
Tools/AP_Periph/AP_Periph.cpp

@ -21,6 +21,7 @@ @@ -21,6 +21,7 @@
*/
#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#include <stdio.h>

6
Tools/AP_Periph/AP_Periph.h

@ -17,11 +17,7 @@ @@ -17,11 +17,7 @@
#include "hwing_esc.h"
#include <AP_CANManager/AP_CANManager.h>
#include <AP_Scripting/AP_Scripting.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <AP_HAL_ChibiOS/CANIface.h>
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <AP_HAL_SITL/CANSocketIface.h>
#endif
#include <AP_HAL/CANIface.h>
#if HAL_GCS_ENABLED
#include "GCS_MAVLink.h"

1
Tools/AP_Periph/GCS_MAVLink.cpp

@ -14,6 +14,7 @@ @@ -14,6 +14,7 @@
*/
#include "GCS_MAVLink.h"
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#if HAL_GCS_ENABLED

2
Tools/AP_Periph/Parameters.cpp

@ -1,3 +1,5 @@ @@ -1,3 +1,5 @@
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
extern const AP_HAL::HAL &hal;

1
Tools/AP_Periph/adsb.cpp

@ -17,6 +17,7 @@ @@ -17,6 +17,7 @@
module over the UART
*/
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#ifdef HAL_PERIPH_ENABLE_ADSB

2
Tools/AP_Periph/can.cpp

@ -18,6 +18,7 @@ @@ -18,6 +18,7 @@
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#include <canard.h>
#include <AP_GPS/RTCM3_Parser.h>
@ -29,6 +30,7 @@ @@ -29,6 +30,7 @@
#include <dronecan_msgs.h>
#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <hal.h>
#include "../AP_Bootloader/app_comms.h"
#include <AP_HAL_ChibiOS/CANIface.h>
#include <AP_HAL_ChibiOS/hwdef/common/stm32_util.h>

1
Tools/AP_Periph/msp.cpp

@ -3,6 +3,7 @@ @@ -3,6 +3,7 @@
Thanks to input from Konstantin Sharlaimov
*/
#include <AP_HAL/AP_HAL_Boards.h>
#include "AP_Periph.h"
#ifdef HAL_PERIPH_ENABLE_MSP

Loading…
Cancel
Save