From 62317f0040cf72408cb6490601210056290da266 Mon Sep 17 00:00:00 2001 From: oleost Date: Sun, 14 Aug 2016 09:33:33 +0200 Subject: [PATCH] Create Features safe to remove and add --- docs/Features safe to remove and add | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 docs/Features safe to remove and add diff --git a/docs/Features safe to remove and add b/docs/Features safe to remove and add new file mode 100644 index 000000000..c1124470a --- /dev/null +++ b/docs/Features safe to remove and add @@ -0,0 +1,48 @@ +# Features safe to remove + +Due to flash size limitation on F1 targets it cannot include all features iNav supports at once. + +Purpose of this document is to provide infomation on which features that can safely be removed and added as see fit. + +## How to add and remove features. + +Get your build enviroment up and running. + +Generally features are defined in the common.h file for all targets, then later removed in the target.h file for each target. ( This files are inside the folder for each target, example master/src/main/target/NAZE/target.h ) + +To remove an feature simple find the feature name and then make a new line in target.h file with "#undef feature_name" + +## GPS protocols + +iNav supports 4 different GPS protocols. Default on F1 targets is only Ublox enabled. + +The four protocols are defined in the common.h file inside main target folder. + +define GPS_PROTO_NMEA + +define GPS_PROTO_UBLOX + +define GPS_PROTO_I2C_NAV + +define GPS_PROTO_NAZA + + +You can choose to remove all expect the one you need. + +## Telemetry protocols + +iNav supports 4 different GPS protocols. Default on F1 targets is only LTM and FrSky telemetry. + +The four protocols are defined in the common.h file inside main target folder. + + +define TELEMETRY_FRSKY + +define TELEMETRY_HOTT + +define TELEMETRY_SMARTPORT + +define TELEMETRY_LTM + + +## Other features that can safely be removed or added -- 2.11.4.GIT