options.h 588 B

12345678910111213141516171819202122
  1. /*
  2. control optional behaviour in the firmware at build time
  3. */
  4. #pragma once
  5. #include "board_config.h"
  6. // enable WiFi NAN support
  7. #define AP_WIFI_NAN_ENABLED 1
  8. // enable bluetooth 4 and 5 support
  9. #define AP_BLE_ENABLED 1
  10. // start sending packets as soon we we power up,
  11. // not waiting for location data from flight controller
  12. #define AP_BROADCAST_ON_POWER_UP 1
  13. // do we support DroneCAN connnection to flight controller?
  14. #define AP_DRONECAN_ENABLED defined(PIN_CAN_TX) && defined(PIN_CAN_RX)
  15. // do we support MAVLink connnection to flight controller?
  16. #define AP_MAVLINK_ENABLED 1