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

310 commits

Author SHA1 Message Date
Tony Cabello
007e14f348 GPS Rescue: allow arming without GPS fix (refactor) 2019-01-07 14:27:33 +01:00
Michael Keller
770e883d87
Merge pull request #7292 from kmitchel/fft_osd
Add max FFT to OSD Summary
2018-12-29 22:22:36 +13:00
Kenneth Mitchell
ab4ff72cc2
Add max FFT to OSD Summary 2018-12-27 14:50:09 -06:00
fgiudice98
9d5fb85474 Increased vbat precision 2018-12-25 12:00:45 +01:00
Michael Keller
24344405fb
Merge pull request #7260 from AlienWiiBF/I2C_GENERIC_CONFIG
Make I2C pullups and overclocking configurable for generic targets
2018-12-25 01:39:02 +13:00
Pieter Kruger
fdb9948f53 Add GPS rescue unreliable now warning in OSD 2018-12-23 14:34:35 +10:00
MJ666
41390fd722 Make I2C pullups and overclocking configurable for generic targets
Update generic targets config files for I2C pullups
2018-12-22 12:43:12 +01:00
Bruce Luckcuck
b8085b170e MSC on-board flash: Persist RTC across reboot and use as file timestamp
Adds support to persist the RTC (if set) across the reboot if entering mass storage mode for on-board flash. The value is then used as the timestamp for the files exposed in the virtual FAT32 filesystem. The files will then have reasonable creation dates when copied to the host computer.

If the RTC is not set (or supported), then the default timestamp of 2018-01-01 will be used (unchanged from previous).

Included some improvements to the RTC functions and exposed the `tz_offsetMinutes` in the `timeConfig` PG. Support already existed for timezone offsets but the parameter wasn't exposed to the user and couldn't be set.

Move timezone offset up a layer as a parameter to systemResetToMsc()
Adds support for specifying a custom timezone offset from both the CLI and MSP calls to enter mass storage mode.

Added an option timezone offset minutes to the CLI `msc` command. If no parameter is specified then the default as specified by `timezone_offset_minutes` will be used. So to reboot into mass storage mode and force the file timestamps to be in UTC, use `msc 0`.

Added reboot message `MSP_REBOOT_MSC_UTC` to support rebooting into mass storage mode and forcing the timestamps to use UTC time (0 offset). The Configurator will need to be modified to use this message for operating systems that expect UTC times for FAT file systems (like Linux).
2018-12-17 19:40:51 -05:00
phobos-
6651baa7d8 Implemented SPI SPEKTRUM protocol 2018-12-16 11:15:35 +01:00
Michael Keller
60118da63f
Merge pull request #6432 from joelucid/integrated_yaw
For discussion: Integrated yaw control
2018-12-15 18:40:00 +13:00
Michael Keller
6ad2575716
Merge pull request #7190 from jflyper/bfdev-per-device-preinit
[SPI] Introduce per device pin pre-init
2018-12-14 20:32:19 +13:00
jflyper
9ea1428d11 Introduce per device pin pre-init 2018-12-13 11:15:26 +09:00
Michael Keller
b04d6d69af
Merge pull request #7193 from joelucid/ac_fixes
fix abs control refactor, make abs control cutoff configurable
2018-12-13 00:28:13 +13:00
Thorsten Laux
906a697668 make iyaw conditional, bump pidProfile version number 2018-12-11 08:28:53 +01:00
Thorsten Laux
8bcc4dab64 fix indentation and pidProfile version number 2018-12-11 08:18:51 +01:00
Michael Keller
4987151bb5
Merge pull request #7187 from etracer65/launch_throttle_trigger_max
Launch Control: increase throttle trigger percent max to 90
2018-12-11 01:20:46 +13:00
Thorsten Laux
17a995e03e fix abs control refactor, make abs control cutoff configurable 2018-12-10 09:05:20 +01:00
Thorsten Laux
52e2ad2301 eliminate extra newlines 2018-12-09 20:38:15 +01:00
Thorsten Laux
d4512672fe Move to pid.c, add relax to offset drag based component, make configurable 2018-12-09 14:21:44 +01:00
Pieter Kruger
ef459cb161 Add OSD Stick Overlay feature - fix issue 3988 2018-12-09 21:42:45 +10:00
Bruce Luckcuck
ab0e1260be Launch Control: increase throttle trigger percent max to 90
Per user request. Apparently the previous max of 50% wasn't providing agressive enough launches for some users.
2018-12-08 11:25:28 -05:00
Michael Keller
586eef94e5
Merge pull request #7183 from TonyBlit/gps_flight_distance
Total Distance renamed to Flight Distance
2018-12-08 22:41:42 +13:00
Tony Cabello
bbacb7ca28 Total Distance renamed to Flight Distance 2018-12-08 06:57:36 +00:00
Michael Keller
c400186e70
Merge pull request #7078 from kmitchel/cascaded_dynamic_notch
Cascaded dynamic notches.
2018-12-05 12:49:11 +13: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
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
Tony Cabello
8a15b128dc Added missing osd_warn_rc_smoothing in settings 2018-12-02 04:37:18 +01:00
Pieter Kruger
8d981df1a9 Add OSD Profile feature - issue 4155 2018-12-01 17:51:38 +10:00
Michael Keller
02c7ac8c93
Merge pull request #7124 from mikeller/rename_use_flash
Renamed USE_FLASH to USE_FLASH_CHIP for clarity.
2018-11-26 21:51:27 +13:00
phobos-
c88a5a3a22 Refactored SPI RX led blink and bind plug functionality to rx_spi_common 2018-11-25 10:37:18 +01:00
mikeller
c8e484df94 Renamed USE_FLASH to USE_FLASH_CHIP for clarity. 2018-11-25 13:47:31 +13:00
jflyper
569f0bae62 Implement configurable system clock generation
PLL-HSE working

PLL-HSI working

Move SystemCoreClockUpdate in SystemInit to end

Switching from HSI-PLL to HSE-PLL (and back) is working

It works during various levels of overclocking.

Renamed CLI variable hse_mhz to system_hse_mhz

Restored the original position of the spectrum bind code

The internal logic of the spectrum bind code will prevent binding
process to fire if executed after soft reset.

Remove stale call to delay

Add a comment about call to spektrumBind placement

Declared SystemXXXSource functions, handled sign-ness warning.

Cleaned up commented out sections

USB clock generation for F446

Default HSE value for backward compatibility

Cleaned up more unused stuff

Handle non-F4 targets

Added comment about PLL_M selection

Removed fake gyro/acc from test target
2018-11-23 15:36:10 +13:00
Michael Keller
2a748e73d0
Merge pull request #7074 from pulquero/telm_config2
Support for enabling individual telemetry sensors
2018-11-23 01:43:33 +13:00
Michael Keller
233a68c9c1
Merge pull request #6163 from RicoKirstein/pll_osd_clock
added the USEMCO2ASOSDCLOCK define for the F7 cpus.
2018-11-22 20:58:25 +13:00
Michael Keller
f0f98c920c
Merge pull request #7085 from etracer65/rc_smoothing_auto_factor
RC Smoothing: allow the user to adjust the "smoothness" of the auto cutoff calc
2018-11-15 07:07:23 +13:00
Michael Keller
3210245f39
Merge pull request #7019 from conkerkh/SDIO1bit
Add option for 1Bit SDIO on F4XX targets.
2018-11-15 06:58:58 +13:00
Bruce Luckcuck
47b29a4d45 RC Smoothing: added parameter to allow user to adjust the smoothness of the auto cutoff calc
Adds `rc_smoothing_auto_smoothness` parameter that allows the user to tune the filter auto cutoff calculation. Increasing the value makes the resulting rcCommand traces smoother.

Allows the user to retain the "auto" calculation which is important for protocols that can change rate (like CRSF), but still tune the resulting "smoothness" to their preference.
2018-11-13 08:42:09 -05:00
Mark Hale
8789246110 Support for disabling individual telemetry sensors.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-12 22:02:35 +00:00
Michael Keller
ebeb473761
Merge pull request #7072 from etracer65/osd_ah_invert
Add osd_ah_invert to allow reversing the direction of the OSD artificial horizon
2018-11-13 01:19:10 +13:00
Chris
4af7393f19 Identation fix 2018-11-12 11:54:23 +00:00
Chris
cdb4c1ef44 Add PG for 4Bit SDIO, fix whitespaces. 2018-11-12 11:54:23 +00:00
Michael Keller
91c4a496a7
Merge pull request #7044 from pulquero/telm_config
Support for enabling individual ESC telemetry sensors.
2018-11-12 01:11:44 +13:00
Bruce Luckcuck
b5cb1bf65a Add osd_ah_invert to allow reversing the direction of the OSD artificial horizon 2018-11-10 15:28:10 -05:00
Mark Hale
2b2b6e8c53 Support for enabling individual ESC telemetry sensors.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-11-10 19:53:19 +00:00
Michael Keller
3cbf8ae02f
Merge pull request #7062 from etracer65/add_tpa_d_only_mode
Make TPA configurable to affect P/D or D only
2018-11-10 19:54:29 +13:00
Michael Keller
4367a66778
Merge pull request #7043 from TonyBlit/gps_total_distance
Total distance flown added to OSD and Stats
2018-11-10 13:32:17 +13:00
Bruce Luckcuck
357d19aa05 Move parameter from PID profile to rate profile 2018-11-09 08:05:40 -05:00
Bruce Luckcuck
fc189e5850 Make TPA configurable to affect P/D or D only
Adds a new `tpa_mode` parameter that accepts `PD` (default) and `D`. Allows the user to configer to affect P/D as it always has, or switch to D-only mode.

Note: the `tpa_mode` parameter was added to the PID Profile instead of rate profiles with the other TPA parameters. This can be discussed, but I didn't think it made sense to have this be part of rate profiles as it affects PID tuning (the same argument could be made for the other TPA parameters).

Code is wrapped in `USE_TPA_MODE` so it can be disabled if needed.
2018-11-08 19:22:29 -05:00
jflyper
37bee1dcbc Configurable ADC internal sensor calibration values
There are MCUs without calibration values for VREFINT and temperature sensors.
Also changed adcTSSlopeK to signed, to handle negative slope case.
2018-11-09 01:26:43 +09:00