while the Flyduino MicroWii board is already supported by enabling individual #defines, there currently is no dedicated #define in config.h for it. I'd appreciate if the following patch could be accepted, to make it somewhat easier for new users to enable it - this patch is against the _shared repo (SVN r1099) Thanks!
Code: Select all
[lenz@metis MultiWii_shared]% bzr diff
=== modified file 'config.h'
--- config.h 2012-09-04 23:47:19 +0000
+++ config.h 2012-09-06 23:35:46 +0000
@@ -98,6 +98,7 @@
//#define SIRIUS // Sirius Navigator IMU <- confirmed by Alex
//#define SIRIUS600 // Sirius Navigator IMU using the WMP for the gyro
//#define MINIWII // Jussi's MiniWii Flight Controller <- confirmed by Alex
+ //#define MICROWII // MicroWii 10DOF with ATmega32u4, MPU6050, HMC5883L, MS561101BA from http://flyduino.net/
//#define CITRUSv2_1 // CITRUS from qcrc.ca
//#define CHERRY6DOFv1_0
//#define DROTEK_10DOF // Drotek 10DOF with ITG3200, BMA180, HMC5883, BMP085, w or w/o LLC
@@ -986,4 +987,4 @@
/*************************************************************************************************/
/**** END OF CONFIGURABLE PARAMETERS ****/
-/*************************************************************************************************/
+/*************************************************************************************************/
=== modified file 'def.h'
--- def.h 2012-09-04 16:49:28 +0000
+++ def.h 2012-09-06 23:34:20 +0000
@@ -502,7 +502,7 @@
#define FREEIMUv043
#endif
-#if defined(FREEIMUv043)
+#if defined(FREEIMUv043) || defined(MICROWII)
#define MPU6050
#define HMC5883
#define MS561101BA
@@ -513,6 +513,10 @@
#undef INTERNAL_I2C_PULLUPS
#endif
+#if defined(MICROWII)
+ #define A32U4ALLPINS
+#endif
+
#if defined(NANOWII)
#define MPU6050
#define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -Y; accADC[PITCH] = X; accADC[YAW] = Z;}