CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AP_ADSB/AP_ADSB_config.h
Views: 1798
1
#pragma once
2
3
#include <AP_HAL/AP_HAL_Boards.h>
4
5
#include <GCS_MAVLink/GCS_config.h>
6
7
#ifndef HAL_ADSB_ENABLED
8
#define HAL_ADSB_ENABLED BOARD_FLASH_SIZE > 1024
9
#endif
10
11
#ifndef HAL_ADSB_BACKEND_DEFAULT_ENABLED
12
#define HAL_ADSB_BACKEND_DEFAULT_ENABLED HAL_ADSB_ENABLED
13
#endif
14
15
#ifndef HAL_ADSB_UAVIONIX_MAVLINK_ENABLED
16
#define HAL_ADSB_UAVIONIX_MAVLINK_ENABLED HAL_ADSB_BACKEND_DEFAULT_ENABLED && HAL_GCS_ENABLED
17
#endif
18
19
#ifndef HAL_ADSB_SAGETECH_ENABLED
20
#define HAL_ADSB_SAGETECH_ENABLED HAL_ADSB_BACKEND_DEFAULT_ENABLED
21
#endif
22
23
#ifndef HAL_ADSB_UCP_ENABLED
24
#define HAL_ADSB_UCP_ENABLED HAL_ADSB_BACKEND_DEFAULT_ENABLED
25
#endif
26
27
#ifndef HAL_ADSB_SAGETECH_MXS_ENABLED
28
// this feature is only enabled by default by select hardware
29
#define HAL_ADSB_SAGETECH_MXS_ENABLED HAL_ADSB_BACKEND_DEFAULT_ENABLED && CONFIG_HAL_BOARD == HAL_BOARD_SITL
30
#endif
31
32