1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 21:05:35 +03:00
Commit graph

11171 commits

Author SHA1 Message Date
blckmn
22b84f12a8 Licences missed during PRs 2018-05-05 17:03:30 +10:00
Michael Keller
d93667a48c
Merge pull request #5815 from neilbalch/master
"Nuke" mysterious Notes.md file and clean up markdown
2018-05-05 14:00:17 +12:00
Michael Keller
f7d5568d52
Merge pull request #5819 from jflyper/bfdev-introduce-nomk-extension-for-no-build
Use ".nomk" to designate "No build" target
2018-05-05 13:10:50 +12:00
Michael Keller
d242de87bd
Merge pull request #5764 from dbasch/gps_rescue
[GPS RESCUE] added gps for altitude estimation
2018-05-05 12:48:29 +12:00
jflyper
35df29f0bc Use nomk to signify no build target name 2018-05-05 01:13:12 +09:00
Diego Basch
c46be03047 added gps for altitude estimation, remove most unused code, rename altitude.c to position.c, add hdop to nmea 2018-05-04 08:45:26 -07:00
Michael Keller
3e27854f01
Merge pull request #5766 from etracer65/esc_rpm_calc
Display ESC telemetry as real RPM in the OSD and telemetry
2018-05-05 00:28:25 +12:00
Bruce Luckcuck
809c2a950b Update RPM data in smartport and frsky_hub telemetry
Both previously displayed eRPM.  frsky_hub RPM data is constrained to int16 so the value sent is RPM/10.

Updates per review and function renaming
2018-05-04 07:53:18 -04:00
Bruce Luckcuck
063f3829d4 Display ESC telemetry as real RPM in the OSD
The telemetry data provides eRPM/100.  Added a `motor_poles` parameter (defaulting to 14) that is used to calculate the physical RPM.

RPM = (telemetry_rpm * 100) / (motor_poles / 2)

Most motors we commonly use are 14 poles, but the user can adjust if needed for their setup.

Also calculate actual RPM for DEBUG_ESC_SENSOR_RPM, but to fit with in int16 the log value will be RPM/10.
2018-05-04 07:51:16 -04:00
Michael Keller
49f2308fd6
Merge pull request #5805 from etracer65/frskyf3_flash_reduction
Fixed flash overflow for FRSKYF3
2018-05-04 23:37:53 +12:00
Michael Keller
36c543e547
Merge pull request #5800 from etracer65/gyro_to_use_default_fix
Fix dual gyro default logic
2018-05-04 21:14:00 +12:00
Michael Keller
f0ea0e81d4
Merge pull request #5765 from etracer65/gps_speed_units
Fix GPS speed and max speed to respect the units selection
2018-05-04 21:11:49 +12:00
Michael Keller
75f82c7f2b
Merge pull request #5798 from Faduf/YupiF4_patch
YupiF4 Motor output Patch
2018-05-04 15:32:14 +12:00
Neil B
97b787fb72 Cleaned up markdown
Added markdown code bash tags and removed whitespace
2018-05-03 20:27:11 -07:00
Neil Balch
01d5fbc754 "Nuke" mysterious Notes.md file
git blamed on hydra in 2014, probably left over from original fork
2018-05-03 20:15:52 -07:00
Michael Keller
b100840c26
Merge pull request #5808 from neilbalch/patch-2
Add more info to F405-CTR board docs
2018-05-04 15:09:35 +12:00
Neil B
9e6752198c Make F405-CTR docs more readable 2018-05-03 18:03:10 -07:00
Neil
1fd1bdbb3f
Add softserial info and status LEDs 2018-05-03 14:53:18 -07:00
Neil
86c54ff3ae
Clarify resource command in F405-CTR docs 2018-05-03 14:27:32 -07:00
Neil
b8a9beb732
Add UART list for F405-CTR and update pinout 2018-05-03 12:20:59 -07:00
Neil
b95089da5d
Add note on possible pad conflict
And fix terminology for RX5 pad description.
2018-05-03 08:10:37 -07:00
Michael Keller
40e8f77fed
Merge pull request #5802 from neilbalch/patch-1
Add Board documentation for Matek F405-CTR
2018-05-04 00:07:31 +12:00
Bruce Luckcuck
3064fbcd0e Fixed flash overflow for FRSKYF3 2018-05-03 07:38:05 -04:00
Michael Keller
cb19bb16d4
Merge pull request #5793 from etracer65/max7456_double_increment
Fix incorrect double increment in MAX7456 screen drawing
2018-05-03 23:32:21 +12:00
Michael Keller
48093e4428
Merge pull request #5786 from pulquero/esc-telemetry
Improved distribution of telemetry bandwidth over sensors (fixes #5785).
2018-05-03 23:28:16 +12:00
Andrey Mironov
cb9e1ef58c
Merge pull request #5768 from etracer65/esc_combined_overflow
Fix potential overflow in combined ESC sensor data
2018-05-03 11:00:28 +03:00
Andrey Mironov
87812963a5
Merge pull request #5781 from betaflight/aikonf4-doc-update
Update Board - AikonF4.md
2018-05-03 10:59:21 +03:00
Neil
f679215d03
Fix file extension (oops!) 2018-05-02 22:12:23 -07:00
Neil
4d95369b1f
Add Board documentation for Matek F405-CTR 2018-05-02 22:09:04 -07:00
Michael Keller
2a91eaac8d
Merge pull request #5801 from jflyper/bfdev-exclude-kissfcv2f7-from-ci
Exclude KISSFCV2F7 from CI
2018-05-03 14:12:29 +12:00
Michael Keller
69ba290c8f
Merge pull request #5797 from jflyper/bfdev-change-M25P16-to-FLASH
Change M25P16 to FLASH where appropriate
2018-05-03 14:02:39 +12:00
jflyper
7a03e034c9
Merge pull request #5757 from SteveCEvans/revonano_baro
Revonano Baro is on I2C bus 3
2018-05-03 10:57:17 +09:00
jflyper
4ee3210df8
Merge pull request #5789 from SteveCEvans/i2cunstick
Use i2cUnstick() from bus_i2c_hal.c
2018-05-03 10:56:14 +09:00
Michael Keller
8720447eea
Merge pull request #5799 from etracer65/midelicf3_flash_reduction
Fixed flash overflow for MIDELICF3
2018-05-03 13:34:30 +12:00
Michael Keller
d85f263028
Merge pull request #5792 from etracer65/max7456_init
Avoid 0xFF character when writing to MAX7456 in auto-increment mode
2018-05-03 13:11:21 +12:00
jflyper
77cbeab783 Exclude KISSFCV2F7 from CI 2018-05-03 09:42:10 +09:00
Bruce Luckcuck
8abbb84a55 Fix dual gyro default logic
With the changes to add dual gyro support and the SPRACINGF7DUAL target, the defaulting logic of which gyro(s) to use was changed. The logic defaulted to using "BOTH" unless the target specifically selected a gyro.

I think this logic is backwards in that the first gyro should be selected by default unless the target specifies something different.  The previous logic would cause all of the previous dual-gyro targets to default to "BOTH" even though they have different gyro types.  This is probably not a good idea and definitely would cause an unexpected change for the users.

The SPRACINGF7DUAL target has two of the same gyro so defaulting to "BOTH" is appropriate.  So now the target specifies that both gyros should be used in this case as the default.
2018-05-02 20:06:08 -04:00
Mark Hale
f2f5106101 Improved distribution of telemetry bandwidth over sensors (fixes #5785).
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-05-02 22:18:46 +01:00
Bruce Luckcuck
87e6497c77 Fixed flash overflow for MIDELICF3 2018-05-02 17:10:50 -04:00
Faduf
1c7053d98d YupiF4 Motor output Patch 2018-05-02 19:41:16 +02:00
jflyper
36fb439d45 Change M25P16 to FLASH where appropriate 2018-05-02 21:26:47 +09:00
Michael Keller
6d72a853dd
Merge pull request #5795 from etracer65/esc_current_warning_default
Default OSD ESC current alarm to off
2018-05-02 16:31:06 +12:00
Bruce Luckcuck
7e8bd7bb34 Default OSD ESC current alarm to off
The osd_esc_current_alarm was added but never assigned a default value. Therefore it defaulted to 0 instead of off (-1).  This resulted in OSD warnings if the ESCs weren't providing current data as the test looked for values >= the warning setting.
2018-05-01 14:06:49 -04:00
Bruce Luckcuck
b328d1dbbc Fix incorrect double increment in MAX7456 screen drawing
The for loop variable was being erroneously double incremented when a character was updated. This would cause fewer characters to be checked/updated during each cycle based on how many were found to be updated.
2018-05-01 12:38:45 -04:00
Bruce Luckcuck
932998a33c Avoid 0xFF character when writing to MAX7456 in auto-increment mode
The 0xFF character is used as an "escape" character by the MAX7456 when using auto-increment mode. The last byte of the characters used for the logo is the 0xFF character and this was causing the version and CMS instructions to not display.

Changed the logic to avoid the 0xFF character during the auto-increment phase and added a second pass if needed to update those characters in direct addressing mode.
2018-05-01 12:07:40 -04:00
jflyper
8bb6d42928
Merge pull request #5769 from jflyper/bfdev-omninxt
New target OmniNXT F4/F7
2018-05-01 11:09:39 +09:00
jflyper
7720e57d5c
Merge pull request #5776 from jflyper/bfdev-handle-overloaded-cs-pin
FLASH: Handle overloaded SPI CS pin
2018-05-01 10:55:13 +09:00
SteveCEvans
d009e40e38 Remove hardcoded numbers from i2cUnstick() 2018-05-01 00:18:45 +01:00
Michael Keller
fba59c32b6
Merge pull request #5676 from conkerkh/CMS_FIX
Disable CMS when USB is connected on CDC_HID enabled targets.
2018-05-01 11:07:56 +12:00
SteveCEvans
1f2ebe89f5 Merge branch 'master' into revonano_baro 2018-04-30 23:04:26 +01:00