imported STM32 multiwii port into baseflight dir

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@86 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
implemented IAP by using ROM bootloader, changed ADXL init stuff, changed mag axis orientation. added startup assembly file to root since it got modified with bootloader reboot check.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@88 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
fixed open #endif in sensors.c, and added using i2cUnstick() at startup to clean up I2C bus.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@89 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
turn on both leds when entering STM32 bootloader mode. this should give visual cue when bootloader has been activated. added i2c timeouts and i2c error counter.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@90 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
merged multiwii_dev-20120219
untested, but compiles and works in gui.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@91 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
added dynamic mixer stuff
moved around features/sensors setting stuff into config instead of drv_system
saving features to eeprom now to avoid stupid
added gcc crap for __nop and __dmb
added digital servo feature to pwm driver, used for tri or whatever
added just plain reboot option in addition to reboot to bootloader


git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@93 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
fixes stupid config mistake that messed up servo values stored in eeprom.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@94 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
added featureClearAll to fix pwm/ppm switching due to erased eeprom being FF's
switched nop to __NOP from cm3 headers
got rid of __GNUC__ DMB stuff as well, since its all properly defined in cm3 headers
added mpu lowpass filter config and defaulted to 42hz. seems to fly smoother.
features are in eeprom, removed default setting from main.c

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@98 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
changed mag orientation again... output seems a bit more sane now.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@99 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
added startup assembler for gcc-based build
(broken) proper tilt compensation (not currently enabled).

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@100 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
trashed old eeprom config struct and retarded eeprom code. replaced with config_t stuff to allow more dynamic changes
implemented cli (press # in serial to enter it). no commands except exit/version yet.
added uartPrint
fixed bug in task switching with missing breaks - was failing baro and perhaps mag readings
dynamic yaw direction, camtilt feature, camtrig feature.

ported some of 2.0-pre1 features:
* gyro smoothing
* baro/althold cleanup


git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@102 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
added pwm/ppm switch cli command
took out bug from gyro smoothing stuff.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@103 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
warnings fixes by gke

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@104 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
moved source files around in preparation to adding makefile build way
added makefile (thx gke)
added linker script (thx gke)
moved startups into src directory as well
no code changes.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@105 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Makefile fixes by IceWind - make building on lunix / mac succeed, and I've tested it works on a real OS as well.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@106 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
fixing bicopter mixer... AGAIN.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@107 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@109 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
started adding ledring stuff (yawn). found out i2c was broken, stopped.
default rc input is now pwm (non-nerds won)
added deadband to config


git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@110 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
added i2cWriteBuffer() for ledring stuff
fixed ledring stuff
fixed mag orientation (thanks GrootWitBaas)

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@111 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
latest bulit hex is now in SVN to save time creating uploads.
these are NOT guaranteed to work, use with caution.

git-svn-id: http://afrodevices.googlecode.com/svn/trunk/baseflight@112 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61