1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 04:15:44 +03:00
Commit graph

12842 commits

Author SHA1 Message Date
mikeller
77f0e106f6 Removed unnecessary cast. 2019-01-17 00:02:13 +13:00
Dominic Clifton
2627826cb7 Fix MSP flash read so it returns the actual bytes read from the flash,
and not the amount of bytes requested, which may be different depending
on the constraints of the flash chip used.
2018-12-06 12:18:25 +01:00
Michael Keller
25e1607292
Merge pull request #7175 from bnn1044/CLRACINGF7
CLRACING F7 add I2C support, and remove blackbox flash define
2018-12-06 21:29:47 +13:00
Michael Keller
fa7dabefc9
Merge pull request #7178 from mikeller/fix_url
Fixed markdown for URL in README.
2018-12-06 14:55:23 +13:00
Michael Keller
1d6834281c Fixed markdown for URL in README. 2018-12-06 13:22:13 +13:00
Michael Keller
08c6609b4b
Merge pull request #7176 from mikeller/add_4_0_postponement_note
Added postponement note for Betaflight 4.0.
2018-12-06 13:12:49 +13:00
Cheng Lin
4b0ecb4c63 Edit .md file to match hardware 2018-12-05 10:32:03 -05:00
Michael Keller
3100264e86
Merge pull request #7157 from ethomas997/vtxSetGetFreqFix
Fix SmartAudio 'looping' after vtx_freq in MHz set
2018-12-06 00:08:00 +13:00
Michael Keller
c6faec2a00
Merge pull request #7163 from TonyBlit/gps_vario_2
Numeric Vario calculated with GPS altitude
2018-12-06 00:07:05 +13:00
Michael Keller
a7d2852700
Merge pull request #7170 from wind0r/fix_bst_writeGpsPositionPrameToBST
fix writeGpsPositionPrameToBST
2018-12-06 00:05:18 +13:00
Michael Keller
40164e7351
Merge pull request #7172 from TonyBlit/osd_gps_blink_2
OSD GPS indicator blinks when numSats is below 5
2018-12-06 00:04:35 +13:00
mikeller
f1b4eb48c3 Added postponement note for Betaflight 4.0. 2018-12-05 21:07:31 +13:00
Tony Cabello
6a6193551c Numeric Vario calculated with GPS altitude 2018-12-05 09:01:53 +01:00
Cheng Lin
40247b0a1b add I2C support, and remove blackbox flash define
Signed-off-by: Cheng Lin <bnn1044@gmail.com>

remove blackbox support
2018-12-04 20:43:16 -05:00
Michael Keller
c400186e70
Merge pull request #7078 from kmitchel/cascaded_dynamic_notch
Cascaded dynamic notches.
2018-12-05 12:49:11 +13:00
Tony Cabello
93bf8b2186 OSD GPS indicator blinks when numSats is below 5 2018-12-04 09:19:45 +01:00
Michael Keller
46fa249f25
Merge pull request #7169 from jflyper/bfdev-fix-f411-clock-levels
[F411,SYSTEM] Delete bogus clock PLL parameter table entry
2018-12-04 20:46:23 +13:00
Steffen Windoffer
1588a6a23d fix writeGpsPositionPrameToBST 2018-12-03 16:35:50 +01:00
jflyper
ac02ee4cf2 Delete bogus clock pll entry 2018-12-03 22:52:23 +09:00
Michael Keller
b6408b3a32
Merge pull request #6714 from pkruger/4155-feature-for-osd-elements-on-a-switch
4155 feature for osd elements on a switch
2018-12-04 02:25:57 +13:00
Michael Keller
bb1e254d96
Merge pull request #7168 from mikeller/fix_arming_prevention_test
Fixed arming prevention unittest.
2018-12-04 02:24:38 +13:00
mikeller
1784910aa8 Fixed arming prevention unittest. 2018-12-04 01:34:06 +13:00
Michael Keller
76e3722a17
Merge pull request #7159 from TonyBlit/gps_rescue_prevent_arm
GPS Rescue: check failsafe procedure when preventing arming
2018-12-03 23:33:04 +13:00
Michael Keller
8eff13e8ab
Merge pull request #7160 from TonyBlit/gps_total_distance_speed
Calculate distance flown with a speed threshold
2018-12-03 23:32:43 +13:00
Michael Keller
8e9462e251
Merge pull request #7158 from TonyBlit/gps_rescue_armed_check
Arm prevention if Rescue is activated
2018-12-03 21:52:42 +13:00
Michael Keller
6566ec8ed6
Merge pull request #7151 from jflyper/bfdev-configurable--sdcard-spi-sdio
[SDCARD,MSC] Switch USBD storage fops table according to sdcard config
2018-12-03 21:39:22 +13:00
Michael Keller
c119843785
Merge pull request #7162 from TonyBlit/gps_osd_blink
Blink GPS indicator on OSD when numsats is lower than minimum configu…
2018-12-03 21:37:31 +13:00
Michael Keller
55a56cd522
Merge pull request #7148 from TonyBlit/osd_warn_rcsmoothing
Added missing osd_warn_rc_smoothing in settings
2018-12-03 21:34:04 +13:00
Michael Keller
ec7204e4a5
Merge pull request #7154 from mikeller/fix_bmi160_gyro
Fixed build dependency on EXTI for BMI160 driver.
2018-12-03 21:32:56 +13:00
E Thomas
1fbaca86b4 Fix 'looping' after vtx_freq in MHz set
Added 'saGetSettings()' to saDoDevSetFreq() fn
2018-12-02 14:06:00 -05:00
Tony Cabello
84d2bc2c83 Arm prevention if Rescue is activated 2018-12-02 19:17:52 +01:00
Kenneth Mitchell
233ac7fb3f
Allow width=0 to select single notch. Restore dyn lpf mins. 2018-12-02 10:01:51 -05:00
Kenneth Mitchell
011eae93c6
Cascaded notch filters. 2018-12-02 09:52:02 -05:00
jflyper
0cf8679b5c Switch USBD storage fops table according to sdcard config 2018-12-02 21:51:40 +09:00
Tony Cabello
d87e40725e Calculate distance flown with a speed threshold 2018-12-02 06:49:46 +01:00
Tony Cabello
bdd57a6ce4 GPS Rescue: check failsafe procedure when preventing arming 2018-12-02 04:47:47 +01:00
Tony Cabello
8a15b128dc Added missing osd_warn_rc_smoothing in settings 2018-12-02 04:37:18 +01:00
mikeller
ca5da2fdbb Fixed build dependency on EXTI for BMI160 driver. 2018-12-02 10:50:15 +13:00
Michael Keller
3736a2486d
Merge pull request #7116 from jflyper/bfdev-status-command-refactor
[CLI] Refactor status command to print things in more sensible order
2018-12-02 10:41:07 +13:00
jflyper
d4ac21cdc7 Refactor status command to print things in more sensible order 2018-12-01 22:21:58 +09:00
Pieter Kruger
8d981df1a9 Add OSD Profile feature - issue 4155 2018-12-01 17:51:38 +10:00
Tony Cabello
eadddf90af Blink GPS indicator on OSD when numsats is lower than minimum configured for GPS Rescue 2018-11-30 05:54:34 +01:00
Michael Keller
8a4ea0785e
Merge pull request #7142 from mikeller/remove_use_multi_gyro
Removed USE_MULTI_GYRO from targets that have it defined by default.
2018-11-29 19:28:54 +13:00
Michael Keller
ed86cd27e5
Merge pull request #7143 from etracer65/rc_smoothing_retraining_samples
RC Smoothing: reduce retraining sample count
2018-11-29 19:28:41 +13:00
Michael Keller
d9da73a496
Merge pull request #7145 from etracer65/msc_osx
Fixes to allow the MSC command with on-board flash to work on MacOS.
2018-11-29 19:26:47 +13:00
Michael Keller
2fd4589106
Merge pull request #7127 from jflyper/bfdev-KROOZX-use-pinio-for-OSD-channel-switch
[KROOZX] Use pinio for OSD channel switch and move OSD_CH_SWITCH out of target.h
2018-11-28 23:52:35 +13:00
Michael Keller
4134c9c790
Merge pull request #7135 from jflyper/bfdev-move-hcsr04-default-pins-out-of-driver
[RANGEFINDER_HCSR04] Move default pin defs out of driver file
2018-11-28 23:52:15 +13:00
Michael Keller
8300203dcd
Merge pull request #7141 from mikeller/amend_parameter_group_doc_again
Amended parameter group documentation to include array length considerations.
2018-11-28 23:51:45 +13:00
jflyper
0f7d1ead97 Move default pin defs out of driver file 2018-11-28 14:07:49 +09:00
Bruce Luckcuck
a1899d671b Fixes to allow the MSC command with on-board flash to work on MacOS.
Fixed a bug in the STM libraries to set the write protected bin in the device config for the mass storage SCSI sense code 6 and 10. Previously the `isWriteProtected()` result was only being examined during write attempts and they correctly failed and returned a `NOT_READY` response (we don't support writes for SPIFLASH). Unfortunately since the device was not flagged as write protected on MacOS the operating system would try to write to the device and this would fail causing the operating system to think the device wasn't ready and refuse to mount it.

General fixes:

Ensured that the filesystem appears to be at least 256MB so that the volume will be treated as FAT32 instead of FAT16. A hidden "padding.txt" file is created to represent the extra space.

Fix the directory structure to only create the "btfl_all.bbl" file if there were any logs found. Previously it would always be created and this would lead to directory corruption.

Fix the size calculation for the  "btfl_all.bbl" file. Previously it was being set to the total flash size rather than the used space.
2018-11-27 18:48:46 -05:00