dongie
d002f0fdc1
Try using proper serial routines this time
11 years ago
dongie
1898fd43fd
trying to free up USART IRQ from GPS aids
11 years ago
Dominic Clifton
9fa99cf9f5
Re-organize files by topic
Keil project not updated, I have no way to verify it.
Note, mw.c, drv_pwm.c and drv_system.c contain code for too many topics.
Later commits will relocate the code as appropriate.
Not even looked at utils yet. 'Utils' is a bad naming practice and is a
synonym for 'too lazy to find the right file/name'.
11 years ago
dongie
c1cdf8b844
fixing fucked up struct definitions;
updated uvision project;
updated hex file;
11 years ago
dongie
f336fc8d20
allow configurable bootloader reboot character to workaround retarded BT adapters that spam 'R'
11 years ago
dongie
c0882fd863
building binary for softserial and GPS changes;
enum warning fix in sbus.c
11 years ago
dongie
f83133fa74
Fixing missing reply in MSP_SET_MOTORS. Found by cTn
11 years ago
dongie
d40e8c0ef4
shows how many people use gimbal outputs.
regular gimbal rates has been broken since forever, same rate was applied to pitch and roll, instead of separate. thanx nicodh
11 years ago
dongie
96dcfe9174
Added support for fast sbus2 protocol (used by newer receivers). Untested, thanks Cesco
11 years ago
dongie
af13325f9e
building hex file for servo center fix
11 years ago
dongie
30afff2578
got rid of feature_gyro_smoothing. nobody used that, and its retarded to do anyway.
11 years ago
dongie
9d421b4a67
removed rc averaging for serialrx sources - suggested by cesco
11 years ago
dongie
0c46bdbfc8
added cli settings for pidvel
added (unsupported) GPS nav MSP numbers.
11 years ago
dongie
a695ddd66a
added sumd serial receiver support by cesco/Plüschi
11 years ago
dongie
92c0947d7f
bump config version after PID default changes and add built hex file
11 years ago
dongie
e4746e60cf
hex to match latest source commits
11 years ago
dongie
8c4a594808
build for throttle angle correction
11 years ago
dongie
a206965854
adding support for maxthrottle and mincommand in MSP_SET_MISC now that all the tools can use it.
11 years ago
dongie
1dea496fd5
build for mixer update
11 years ago
dongie
13324c9f88
build binary for the previous GPS baud rate index fix
11 years ago
dongie
44adda8b3b
gps fix build
11 years ago
dongie
7fec1b3a69
git fucking shit up again. been building with wrong gyroscale for weeks. way to fucking go. everyone upgrade to this.
11 years ago
dongie
1cbbe0b110
airplane mixer will now actually output servo data
11 years ago
dongie
e1087cf921
fix returned size in MSP_MISC, should correct CRC errors in other GUIs and correctly work with MSP_SET_MISC in MultiWiiConf
11 years ago
timecop@gmail.com
609df47cd4
tri gyro data reading fix - closes issue #18
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@464 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
2d076db908
Built firmware to match r460.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@461 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
3bb1063001
fixed buzzer on rev5 boards;
added experimental gyro-based headfree boxes
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@429 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
800ce6bdf7
fixed a fuckup with yaw_rate that was caused by more 8bit leftover garbage
fixed althold vel/constrain typo thx Marcin
flight-tested this build on my shitcopter, CAREFUL flight testing may commence.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@428 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
edb0ef01b7
fixed mag gain during testmode (thanks pm1) and added some explicit float definitions to mag test code.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@396 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
11 years ago
timecop@gmail.com
509e349e69
Whitespace/compiler warnings cleanups by Dominic Clifton;
Slight tweak of new althold defaults
NOT-flight-tested .hex committing so people can commence with althold testing.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@391 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
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
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
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
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
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
timecop@gmail.com
c26603dd72
some more minor updates from 2.2
added variable for gyro_cmpfm factor (mag) to configurables
changed gyro_cmpf factor to 600 (higher gyro influence)
got rid of GYRO_INTERLEAVE stuff (didn't work, obsolete)
got rid of applyDeadband hacks, invsqrt hacks, and other shit. ifdef'd original baseflight attitude/heading calcs w/new 2.2 routines
fixed cockup in altitude calculation w/applyDeadband
remaining: GPS
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@304 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
bba9bc291f
added some more configurable frobs to cli. commit before 2.2 merge.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@288 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
600f50ecac
added MSP_UID patch from cGiessen
added sending cell voltages (faked) via frsky telemetry by fiendie
two additional cli commands (aux and dump) from jef79m - aux allows setting switches from command line, dump creates a copy-pasteable config which can be sent to a new board.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@283 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
c88614046b
reversed o/n meaning from previous commit to actually mean what I said :)
n = new rev (fullscale acc)
o = old rev (halfscale acc)
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@279 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
bc627783f8
removed mpu6050_scale cli since it's now autodetected.
the value is now printed in the status command, after MPU6050 as MPU6050.n = new revision, MPU6050.o = old revision.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@278 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
fc185b8e15
rewrote mpu6050 revision sensing code to match that of eMPL from Invensense.
Also changed scalefactor for acc to 256/512 to match multiwii code. untested/etc, proceed with caution.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@276 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
4c0fe94072
further accuracy improvement for mag calculation.
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@263 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
d1d6a5d5ef
very nice proper magnetometer vector rotation from crashpilot1000
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@261 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
785443789c
third time's the charm (fixed + confirmed tiltmix gimbal)
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@251 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago
timecop@gmail.com
fc4693af3a
let's try this again (simple gimbal sign fix)
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@250 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
12 years ago