2022-10-20 03:40:41 -03:00
|
|
|
#pragma once
|
|
|
|
|
2023-03-16 06:49:38 -03:00
|
|
|
#include <AP_HAL/AP_HAL_Boards.h>
|
|
|
|
|
2022-10-20 03:40:41 -03:00
|
|
|
#include <GCS_MAVLink/GCS_config.h>
|
|
|
|
#if HAL_GCS_ENABLED
|
|
|
|
#include <GCS_MAVLink/GCS_MAVLink.h>
|
|
|
|
#endif
|
2023-02-28 22:57:09 -04:00
|
|
|
#include <AP_SerialLED/AP_SerialLED_config.h>
|
2023-06-07 00:38:30 -03:00
|
|
|
#include <AP_Scripting/AP_Scripting_config.h>
|
2022-10-20 03:40:41 -03:00
|
|
|
|
2023-05-31 22:21:45 -03:00
|
|
|
#ifndef HAL_DISPLAY_ENABLED
|
|
|
|
#define HAL_DISPLAY_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
2023-06-07 00:38:30 -03:00
|
|
|
#ifndef AP_NOTIFY_DRONECAN_LED_ENABLED
|
|
|
|
#define AP_NOTIFY_DRONECAN_LED_ENABLED HAL_ENABLE_DRONECAN_DRIVERS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_DSHOT_LED_ENABLED
|
|
|
|
#define AP_NOTIFY_DSHOT_LED_ENABLED HAL_SUPPORT_RCOUT_SERIAL
|
|
|
|
#endif
|
|
|
|
|
2023-02-27 00:06:38 -04:00
|
|
|
#ifndef AP_NOTIFY_LP5562_ENABLED
|
|
|
|
#define AP_NOTIFY_LP5562_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
2023-06-08 01:14:25 -03:00
|
|
|
#ifndef AP_NOTIFY_IS31FL3195_ENABLED
|
|
|
|
#define AP_NOTIFY_IS31FL3195_ENABLED 1
|
|
|
|
#endif
|
|
|
|
|
2022-10-20 03:40:41 -03:00
|
|
|
#ifndef AP_NOTIFY_MAVLINK_PLAY_TUNE_SUPPORT_ENABLED
|
|
|
|
#define AP_NOTIFY_MAVLINK_PLAY_TUNE_SUPPORT_ENABLED HAL_GCS_ENABLED
|
|
|
|
#endif
|
2022-10-21 08:48:51 -03:00
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED
|
|
|
|
#define AP_NOTIFY_MAVLINK_LED_CONTROL_SUPPORT_ENABLED HAL_GCS_ENABLED
|
|
|
|
#endif
|
2022-11-02 05:55:25 -03:00
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_NCP5623_ENABLED
|
|
|
|
#define AP_NOTIFY_NCP5623_ENABLED 1
|
|
|
|
#endif
|
2022-11-07 21:22:04 -04:00
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_PCA9685_ENABLED
|
|
|
|
#define AP_NOTIFY_PCA9685_ENABLED 1
|
|
|
|
#endif
|
2022-11-10 19:08:19 -04:00
|
|
|
|
2023-02-28 22:57:09 -04:00
|
|
|
#ifndef AP_NOTIFY_PROFILED_SPI_ENABLED
|
2023-03-01 17:08:09 -04:00
|
|
|
#define AP_NOTIFY_PROFILED_SPI_ENABLED 0 // requires hwdef to have SPI line
|
2023-02-28 22:57:09 -04:00
|
|
|
#endif
|
|
|
|
|
2023-06-07 00:38:30 -03:00
|
|
|
#ifndef AP_NOTIFY_SCRIPTING_LED_ENABLED
|
|
|
|
#define AP_NOTIFY_SCRIPTING_LED_ENABLED AP_SCRIPTING_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2023-02-28 22:57:09 -04:00
|
|
|
#ifndef AP_NOTIFY_SERIALLED_ENABLED
|
|
|
|
#define AP_NOTIFY_SERIALLED_ENABLED AP_SERIALLED_ENABLED
|
|
|
|
#endif
|
|
|
|
|
2022-11-10 19:08:19 -04:00
|
|
|
#ifndef AP_NOTIFY_TOSHIBALED_ENABLED
|
|
|
|
#define AP_NOTIFY_TOSHIBALED_ENABLED 1
|
|
|
|
#endif
|
2022-11-16 03:56:01 -04:00
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_OREOLED_ENABLED
|
|
|
|
#define AP_NOTIFY_OREOLED_ENABLED 0
|
|
|
|
#endif
|
2023-02-28 22:57:09 -04:00
|
|
|
|
|
|
|
// Serial LED backends:
|
|
|
|
#ifndef AP_NOTIFY_PROFILED_ENABLED
|
|
|
|
#define AP_NOTIFY_PROFILED_ENABLED AP_NOTIFY_SERIALLED_ENABLED
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_NEOPIXEL_ENABLED
|
|
|
|
#define AP_NOTIFY_NEOPIXEL_ENABLED AP_NOTIFY_SERIALLED_ENABLED
|
|
|
|
#endif
|
2023-04-20 22:35:37 -03:00
|
|
|
|
|
|
|
#ifndef AP_NOTIFY_TONEALARM_ENABLED
|
|
|
|
#define AP_NOTIFY_TONEALARM_ENABLED ((defined(HAL_PWM_ALARM) || HAL_DSHOT_ALARM_ENABLED))
|
|
|
|
#endif
|