new printf() is too fucking fast, causing DMA buffer overrun in UART transmit. fixed that. Doesn't affect GCC targets.
got rid of more 16bit ints in new pid controller.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@348 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
removed data copying in i2c write - this wasn't needed, we'll see if rabbit2 "developers" will "fix" this bug too.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@349 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
amazing patch from jef78m for cli set

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@350 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
careful flight testing may commence

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@351 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
acctrim was broken because changes were never getting saved.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@353 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
renaming of serial bool returning vars into isFoo(), also fixed bool returned as uint16_t type

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@354 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
fixed gcc build, thanks Luggi09 for the catch.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@356 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
initial pass at gpio cleanup. removed almost all dependency on stdperiphlib (remaining exti).
slightly modified initial pin configuration, but this needs rework soon anyway.
couple spacing/line ending/formatting fixes in sonar driver file while fixing gpio there.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@357 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
reverted cli line editing stuff - was more trouble than its worth, and caused issues with hercules

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@358 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Cleaned up SetSysClock to remove duplicated code when configuring HSE or HSI

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@359 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
initial take at configurable FEATURE_3D
completely untested and may attempt to kill you when enabled. no binary.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@360 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
a couple optimizations for dynamic HSE frequency - moved SetSysClock() to run after reset vector + bss init, and changed rcc which used hardcoded HSE_VALUE.
turn off leds/beeper before initializing pins to prevent flash at startup
uninitialized errorAngle fix in new PID


git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@362 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
new SPI2 driver w/testcase
5883 and 6050 driver updates

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@363 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
fixed Makefile to build w/new drivers (thanks Hydra)
int32 updates in sonar driver
added 12mhz buzzer check
Removed debug output from GPS module
int32'ified althold
output HSE MHz+SysClkMHz on debug[3]

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@379 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
changed pwmGPIOConfig() signature to better show that last parameter is pin mode.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@380 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
oops! had pin definition wrong for Pin_0 and Pin_1, was using drv_gpio in another project and noticed it wasn't working very well :)

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@381 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
rewritten drv_uart to suck slightly less
tested w/o GPS

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@382 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
Fixed issue #15, new uart building under gcc toolchain, thanks!

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@383 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
marking some more stuff const that shouldn't be changing. thx Hydra for the catch.

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@384 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
add support to gcc Makefile to make map file for debugging.

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