Dominic Clifton
14d0f90278
Merge remote-tracking branch 'multiwii/upstream'
Conflicts:
src/board.h
11 years ago
Dominic Clifton
e29c0ccea6
Merge remote-tracking branch 'multiwii/upstream' into softserial
Conflicts:
src/drv_softserial.c
11 years ago
timecop@gmail.com
77a241bd5f
Software serial implementation. Compile with SOFTSERIAL_19200_LOOPBACK to test. Without the define the implementation will have no effect. Next step is to add a 'feature' to enable softserial and settings for the baud rate. Note, only READ is currently supported, write will come later. The highlevel api calls are used in main.c. Uart implementation needs cleanup to make serial port code generic, see uart files for details.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@390 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
Dominic Clifton
4d00f51ddc
Software serial implementation. Compile with SOFTSERIAL_19200_LOOPBACK to test. Without the define the implementation will have no effect. Next step is to add a 'feature' to enable softserial and settings for the baud rate. Note, only READ is currently supported, write will come later. The highlevel api calls are used in main.c. Uart implementation needs cleanup to make serial port code generic, see uart files for details.
11 years ago
timecop@gmail.com
fa7eecac18
reload GPS pids on each eeprom read
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@389 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
f9b48925fa
marking some static timer lists const.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@388 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
003c2a91c5
Separate timer code from PWM/PPM code. The method of looking up a callback is now generic which means other (forthcoming) code can configure callback handlers.
Killed some leftovers of GPIO_Pin* stuff I forgot about.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@387 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
Dominic Clifton
4bc6d77579
OLIMEXINO - Disable usage of LEDs by default.
11 years ago
timecop@gmail.com
f663a57613
improved altitude hold thanks to Luggi09
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@386 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
659a8f537f
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
11 years ago
Dominic Clifton
92a68041a8
Merge remote-tracking branch 'multiwii/upstream' into upstream
11 years ago
Dominic Clifton
1ce9210c45
Ensuring some const data is in flash not SRAM.
11 years ago
Dominic Clifton
7dcc9d47ad
Adding map generation to makefile
11 years ago
timecop@gmail.com
01376de3e5
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
11 years ago
timecop@gmail.com
1441d46323
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
11 years ago
timecop@gmail.com
cbb580f753
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
11 years ago
timecop@gmail.com
1ff0036dec
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
11 years ago
timecop@gmail.com
fbef1aa284
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
11 years ago
timecop@gmail.com
0664b3005d
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
11 years ago
Dominic Clifton
d0704edfbf
Merge remote-tracking branch 'multiwii/upstream' into upstream
Conflicts:
src/main.c
11 years ago
Dominic Clifton
2d11f659c6
Fixing IFDEFs for FY90Q target
11 years ago
Dominic Clifton
76968efd5e
Fixing makefile for missing includes for gpio and spi drivers.
11 years ago
timecop@gmail.com
3b8c1841f8
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
12 years ago
timecop@gmail.com
57cbd784a9
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
12 years ago
timecop@gmail.com
3afeb3d1c8
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
12 years ago
timecop@gmail.com
e010e3a354
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
12 years ago
timecop@gmail.com
e4ea700fe0
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
12 years ago
timecop@gmail.com
d442c9dfb6
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
12 years ago
timecop@gmail.com
eec35a20fd
fixed gcc build, thanks Luggi09 for the catch.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@356 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
4bd505972d
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
12 years ago
Dominic Clifton
cae6bc86f1
Merge branch 'upstream' of github.com:multiwii/baseflight into upstream
Conflicts:
Makefile
src/main.c
12 years ago
timecop@gmail.com
539f2cb6db
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
12 years ago
timecop@gmail.com
c4a1c57b91
careful flight testing may commence
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@351 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
82130ca60f
amazing patch from jef78m for cli set
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@350 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
c6b43776e4
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
12 years ago
timecop@gmail.com
ab75f221bb
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
12 years ago
timecop@gmail.com
76617bc7e4
removed dependency on built-in printf() when using keil - they provided a much better internal one than GNU
got rid of int16 garbage in mwc pid controller - we aren't running on tarduino
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@345 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
4e94fd07e5
+ added alternative PID controller from http://www.multiwii.com/forum/viewtopic.php?f=8&t=3671
+ this is a per-profile setting, and PIDs CHANGE from default multiwii ones. check the above forum post for PID examples. set pid_controller = 0 for default multiwii, or 1 for new one.
= went back to clearing clibuffer after each command
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@341 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
415600b447
went back to non-casted version of mag buffer conversion to int16 to allow (proper) compilers to insert REV16
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@337 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
58d362d33e
corrected magnetometer alignment bug found by CrashPilot1000 - during mag calibration, axes must be swapped per sensor alignment, which didn't happen.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@336 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
5de9dc47e0
fix boxorder output (retarded workaround for stupidity in multiwiigui)
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@335 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
ef9de70161
[PATCH] GPS: Signal Strength for u-Blox only
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@334 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
61caceb861
[PATCH 4/4] Make: unbrick target to flash w/ bootloader pins shortened
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@333 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
96af1bd530
[PATCH 3/4] Add SERIAL_DEVICE to the Makefile for configuring the flash target
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@332 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
04eb65c883
[PATCH 2/4] gitignore
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@331 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
73f599c4e9
[PATCH 1/4] add make target for flashing naze from linux
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@330 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
01572cbb96
fix for micros() when not running at default 72MHz. Was affecting intrc-only operation at 64MHz. Updated uvproj to latest keil mdk
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@329 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
2e64a5d4e1
premature buffer overrun fix for completion
add ctrl+u to erase line
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@318 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
b6fc652b20
beginnings of cli editing support by cehteh; (still buggy)
added and began work on integrating failsafe_detect_threshold
got rid of acc_lpf_for_velocity since that seemed no longer used.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@317 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
3f8fc1b509
oops, this is NOT ready for public consumption yet.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@305 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago