I have one TRI with 328p nano and 10dof FreeIMU 0.35 MS. I use it with LCD for configuration and telemetry.
Over time it has become more and more difficult to create a working binary due to size. The configuration does work with r809 (barely). Now I did some catchup to the current r864 and code size will not load anymore.
My config is nothing out of the ordinary - I post it so you may decide whether MWii should support such combination or if the active decision is made that old hardware+features combination shall be abandoned.
Code: Select all
#define TRI
#define FREEIMUv035_MS
#undef INTERNAL_I2C_PULLUPS
// 2
#define YAW_DIRECTION -1
#define ALLOW_ARM_DISARM_VIA_TX_ROLL
#undef ALLOW_ARM_DISARM_VIA_TX_YAW
#define I2C_SPEED 400000L
// 5
#define FAILSAFE
#define RCAUXPIN12
#define VBAT
#define VBATSCALE 79 // mystery 20A ESC/BEC, war HK-SS-ESC:78 //79 //110 // mein spezieller Spannungsteiler 3S
#define VBATLEVEL1_3S 102 // 10.2V unter Last
#define VBATLEVEL2_3S 100 // 10.0V unter Last
#define VBATLEVEL3_3S 98 // 9.8V unter Last
#define NO_VBAT 75 // Avoid beeping without any battery
#define LCD_CONF
#define LCD_VT100
//#define LCD_CONF_AUX
#define POWERMETER_HARD
#define PLEVELDIVSOFT 10000
#define PLEVELDIV 1540
#define PSENSORNULL 504
#define LCD_TELEMETRY
#define LCD_TELEMETRY_AUTO "1"
#define VBATREF 24 // 12.6V - VBATLEVEL1_3S (for me = 126 - 102 = 24)
I must save space by removing even more features
Code: Select all
#undef FAILSAFE
#define SUPPRESS_TELEMETRY_PAGE_2
#define SUPPRESS_TELEMETRY_PAGE_3
#define SUPPRESS_TELEMETRY_PAGE_4
#define SUPPRESS_TELEMETRY_PAGE_5
#define SUPPRESS_TELEMETRY_PAGE_6
#define SUPPRESS_TELEMETRY_PAGE_7
#define SUPPRESS_TELEMETRY_PAGE_8
#define SUPPRESS_TELEMETRY_PAGE_9
It sure becomes more difficult over time.