Commit Graph

4273 Commits

Author SHA1 Message Date
Michael Hope 0e460c18b0 msp: add buffering around the writes.
This bulks up the writes and lets the USB VCP driver send one 20 byte
frame instead of 20 one byte frames.  This speeds up the blackbox
download and makes VCP much more reliable when running under a virtual
machine.

Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:25 +01:00
Michael Hope 96306ff9ab serial: add writeBuf() and implement for USB.
This lets USB send up to 32 bytes in a frame instead of 32 one byte
frames.  Add a fallback for drivers that don't implement writeBuf().

Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:24 +01:00
Michael Hope 75c86825f7 drivers: add a buffering writer.
This wraps around the serial API and buffers a configurable number of
characters before flushing.

Signed-off-by: Michael Hope <mlhx@google.com>
2016-02-02 23:36:24 +01:00
Dominic Clifton 0344fa22f4 Syncronsise I2C timeouts of F1 and F3 targets 2016-02-02 23:36:24 +01:00
borisbstyle 35defbb27b Sonar merge 2016-02-02 23:36:23 +01:00
Dominic Clifton 75cd1d88eb CHEBUZZF3 - Enable I2C display support. 2016-02-02 23:36:23 +01:00
Dominic Clifton 85f7b10e24 Fix some F3 target compilation issues.
Remove LED_STRIP support from AlienWiiF3 target.  It was using sparky
source but Sparky has led strip signal on a PWM motor output due to
hardware mappings and that doesn't make sense for the AlienWiiF3 target
which is has brushed motor circuitry.
2016-02-02 23:36:22 +01:00
Dominic Clifton e7620727ff Fix led strip unit test compilation warning. 2016-02-02 23:36:22 +01:00
Nicholas Sherlock 38d285889b Clarify SDCard filled procedure 2016-02-02 23:36:22 +01:00
borisbstyle 5449eeadaf Update README.md 2016-02-02 23:31:58 +01:00
borisbstyle 3ab7798e14 Update Readme 2016-02-02 23:31:58 +01:00
KiteAnton c072ac265c Change OFF to NONE 2016-02-02 23:31:58 +01:00
KiteAnton 6226ea4b98 Table lookup for hardware settings 2016-02-02 23:31:57 +01:00
kamaloo c767fe8e1e Move dT scaling before filtering
From DSP point of view scaling by dT before filtering is more correct. This should yield less delta noise with noisy dT values. BiQuad/Moving average adds some delay to data so current dT is not valid for current filter output.
2016-02-02 23:31:57 +01:00
Read Error 35125ecf10 Sorry, it should be on USART3. 2016-02-02 23:31:56 +01:00
Read Error 1740291d26 Move 1wire to USART2 2016-02-02 23:31:56 +01:00
Anders Hoglund 453bdf77ef Firmware version added to build artifacts. 2016-02-02 23:31:56 +01:00
Michael Jakob 7634e4c635 AlienFligth F3 V2 support
Updated SPI driver (SPI3 on F3 targets)
AK8963 Mag support (part of MPU9250)
MPU9250 SPI support via MPU6500 driver
Updated LED driver for alternative LED sets
Enable gyro intterupt for AlienFlight F3 targets
Update AlienWii/AlienFlight documentation
Rename AlienWii to AlienFlight
2016-02-02 23:31:55 +01:00
cmenard b1476c05f8 Correct RX_Serial port and spektrum_sat_bind 2016-02-02 23:31:55 +01:00
borisbstyle 3433dc74b6 fix version 2016-02-02 23:31:54 +01:00
cmenard d174314692 Add Lux target 2016-02-02 23:03:08 +01:00
borisbstyle e973bb149f Bump patch version 2.3.5 2016-02-02 22:50:21 +01:00
borisbstyle 06b3f625d1 Airmode Saturation fix // Needed for some setups 2016-02-02 22:48:52 +01:00
borisbstyle 17f214d2ab Bugfix for brushed motor support 2016-01-26 13:43:23 +01:00
borisbstyle 42bc172abc New Defaults // Rc smoothing always enabled in level modes 2016-01-25 23:53:47 +01:00
borisbstyle 112543efb2 Add alternative delta approach (set delta_from_gyro = ON) 2016-01-25 23:22:18 +01:00
borisbstyle b9fb178237 Moving average for D when no filter 2016-01-25 22:15:12 +01:00
borisbstyle 55cf3913a0 3D Airmode enhancements // Iterm Shrinking replaced to limiting 2016-01-25 12:08:33 +01:00
borisbstyle b86f304dec Bump version to 2.3.4 2016-01-25 12:08:33 +01:00
borisbstyle eac5a96e4a Fix assymetric issue acro plus 2016-01-20 11:31:33 +01:00
borisbstyle ac2ed9fbf1 New beginners defaults 2016-01-20 00:15:53 +01:00
borisbstyle 892778a08e Airmodeplus itermscaling more agressive // Remove from level modes 2016-01-20 00:15:48 +01:00
borisbstyle b5dcbbed25 Airmode mixer rework // Fix stopping motors caused by 3D feature 2016-01-19 21:50:42 +01:00
borisbstyle 782482bf76 Activate Air mode in Neutral State for 3D feature
Fix init
2016-01-19 14:17:36 +01:00
borisbstyle 95177c027e Bump Version to 2.3.3 2016-01-18 23:51:55 +01:00
borisbstyle 493282a274 Fix 3D Airmode Bugs 2016-01-18 23:51:35 +01:00
borisbstyle f719a0260a Merge pull request #123 from nathantsoi/spracing-bmp180
bmp085 and bmp180 on spracingf3 and derivatives
2016-01-18 20:55:12 +01:00
borisbstyle 2930260f40 Multiple 3D fixes. Motor stop / PID resolution / failsafe 2016-01-18 16:21:17 +01:00
borisbstyle 2f6eeed6f5 Fix Motor stop and 3D reverse 2016-01-18 13:13:30 +01:00
borisbstyle 91d12a0b7c New name for FPV cam mix roll_yaw_cam_mix_degrees 2016-01-18 12:13:30 +01:00
borisbstyle 9fcfce0b90 New default PID's for beginners 2016-01-18 12:08:50 +01:00
borisbstyle f70cb8177e Insane Acro factor renamed to Acro plus factor // Rates are softened 2016-01-18 11:50:45 +01:00
borisbstyle f69943d095 Enable Airmode In 3D feature // Separate Mixers 2016-01-18 11:12:13 +01:00
nathan d8ee7b68c1 bmp085 and bmp180 on spracingf3 and derivatives 2016-01-17 23:29:50 -08:00
borisbstyle 03d86b14db Version 2.3.2 2016-01-18 02:53:00 +01:00
borisbstyle bdac49da60 RP rate Insane Acro Ignored 2016-01-18 01:59:29 +01:00
borisbstyle a105af1225 Filter Cleanup CF coding style// Remove Old pt1 for acc etc // F1 slower acc update 2016-01-18 00:51:20 +01:00
borisbstyle e15ee54513 Merge pull request #115 from AndersHoglund/betaflight
Re-enable BLACKBOX and disable GPS instead too fit CC3D_OPBL.
2016-01-16 20:59:26 +01:00
Anders Hoglund c5b8c2ff26 Re-enable BLACKBOX and disable GPS instead too fit CC3D_OPBL. 2016-01-16 19:46:52 +01:00
borisbstyle 447061f8b1 Merge pull request #113 from KiteAnton/degree_to_radians
Fixed degree to radian conversion
2016-01-15 17:53:21 +01:00