2013-05-17 00:01:39 -03:00
// User specific config file. Any items listed in config.h can be overridden here.
2012-09-05 19:36:57 -03:00
2015-03-13 03:25:49 -03:00
// uncomment the lines below to disable features (flash sizes listed are for APM2 boards and will underestimate savings on Pixhawk and other boards)
2019-02-11 04:11:20 -04:00
//#define LOGGING_ENABLED DISABLED // disable logging to save 11K of flash space
2013-09-26 01:15:30 -03:00
//#define MOUNT DISABLED // disable the camera gimbal to save 8K of flash space
2014-02-02 03:59:17 -04:00
//#define AUTOTUNE_ENABLED DISABLED // disable the auto tune functionality to save 7k of flash
2016-04-27 07:55:35 -03:00
//#define RANGEFINDER_ENABLED DISABLED // disable rangefinder to save 1k of flash
2018-02-16 12:48:25 -04:00
//#define AC_AVOID_ENABLED DISABLED // disable stop-at-fence library
2019-06-05 07:47:32 -03:00
//#define AC_OAPATHPLANNER_ENABLED DISABLED // disable path planning around obstacles
2015-03-13 03:25:49 -03:00
//#define PARACHUTE DISABLED // disable parachute release to save 1k of flash
//#define NAV_GUIDED DISABLED // disable external navigation computer ability to control vehicle through MAV_CMD_NAV_GUIDED mission commands
2018-03-14 17:14:49 -03:00
//#define MODE_ACRO_ENABLED DISABLED // disable acrobatic mode support
2018-02-21 22:06:07 -04:00
//#define MODE_AUTO_ENABLED DISABLED // disable auto mode support
2018-02-23 01:40:29 -04:00
//#define MODE_BRAKE_ENABLED DISABLED // disable brake mode support
2018-02-23 05:51:17 -04:00
//#define MODE_CIRCLE_ENABLED DISABLED // disable circle mode support
2018-02-22 23:55:51 -04:00
//#define MODE_DRIFT_ENABLED DISABLED // disable drift mode support
2018-11-25 19:47:55 -04:00
//#define MODE_FLIP_ENABLED DISABLED // disable flip mode support
2018-02-06 02:16:09 -04:00
//#define MODE_FOLLOW_ENABLED DISABLED // disable follow mode support
2018-02-23 00:09:07 -04:00
//#define MODE_GUIDED_ENABLED DISABLED // disable guided mode support
2018-02-23 03:54:34 -04:00
//#define MODE_GUIDED_NOGPS_ENABLED DISABLED // disable guided/nogps mode support
2018-02-22 01:23:35 -04:00
//#define MODE_LOITER_ENABLED DISABLED // disable loiter mode support
2018-02-21 23:45:02 -04:00
//#define MODE_POSHOLD_ENABLED DISABLED // disable poshold mode support
2019-02-04 09:10:53 -04:00
//#define MODE_RTL_ENABLED DISABLED // disable rtl mode support
2018-02-21 23:58:28 -04:00
//#define MODE_SMARTRTL_ENABLED DISABLED // disable smartrtl mode support
2019-02-04 09:10:53 -04:00
//#define MODE_SPORT_ENABLED DISABLED // disable sport mode support
2019-07-29 04:55:40 -03:00
//#define MODE_SYSTEMID_ENABLED DISABLED // disable system ID mode support
2018-03-14 17:16:16 -03:00
//#define MODE_THROW_ENABLED DISABLED // disable throw mode support
2018-09-07 01:23:33 -03:00
//#define MODE_ZIGZAG_ENABLED DISABLED // disable zigzag mode support
2019-02-04 09:10:53 -04:00
//#define OSD_ENABLED DISABLED // disable on-screen-display support
2018-02-21 23:58:28 -04:00
2014-05-27 02:43:33 -03:00
// features below are disabled by default on all boards
2016-01-07 23:01:51 -04:00
//#define CAL_ALWAYS_REBOOT // flight controller will reboot after compass or accelerometer calibration completes
2016-01-12 06:51:43 -04:00
//#define DISALLOW_GCS_MODE_CHANGE_DURING_RC_FAILSAFE // disable mode changes from GCS during Radio failsafes. Avoids a race condition for vehicle like Solo in which the RC and telemetry travel along the same link
2016-10-14 02:00:59 -03:00
//#define ADVANCED_FAILSAFE ENABLED // enabled advanced failsafe which allows running a portion of the mission in failsafe events
2013-09-26 01:15:30 -03:00
2014-01-14 22:31:00 -04:00
// other settings
//#define THROTTLE_IN_DEADBAND 100 // redefine size of throttle deadband in pwm (0 ~ 1000)
2013-10-13 08:41:11 -03:00
2013-05-17 00:01:39 -03:00
// User Hooks : For User Developed code that you wish to run
// Put your variable definitions into the UserVariables.h file (or another file name and then change the #define below).
2013-05-17 00:19:07 -03:00
//#define USERHOOK_VARIABLES "UserVariables.h"
2016-07-25 15:45:29 -03:00
// Put your custom code into the UserCode.cpp with function names matching those listed below and ensure the appropriate #define below is uncommented below
2013-05-17 00:19:07 -03:00
//#define USERHOOK_INIT userhook_init(); // for code to be run once at startup
2013-05-17 00:01:39 -03:00
//#define USERHOOK_FASTLOOP userhook_FastLoop(); // for code to be run at 100hz
2013-05-17 00:19:07 -03:00
//#define USERHOOK_50HZLOOP userhook_50Hz(); // for code to be run at 50hz
2013-05-17 00:01:39 -03:00
//#define USERHOOK_MEDIUMLOOP userhook_MediumLoop(); // for code to be run at 10hz
//#define USERHOOK_SLOWLOOP userhook_SlowLoop(); // for code to be run at 3.3hz
//#define USERHOOK_SUPERSLOWLOOP userhook_SuperSlowLoop(); // for code to be run at 1hz
2018-05-25 09:10:53 -03:00
//#define USERHOOK_AUXSWITCH ENABLED // for code to handle user aux switches
2018-08-21 10:02:40 -03:00
//#define USER_PARAMS_ENABLED ENABLED // to enable user parameters