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

10193 commits

Author SHA1 Message Date
Michael Keller
bc16e14f90
Merge pull request #7278 from mikeller/add_core_temperature_to_smartport
Added sensor for core temperature to SmartPort.
2018-12-26 15:40:15 +13:00
Michael Keller
69bce7bfff
Merge pull request #6528 from hydra/fix-osd-slave-msp
Fix OSD Slave MSP
2018-12-25 14:11:22 +13:00
Michael Keller
b8e7587f21
Merge pull request #7276 from etracer65/osd_warnings_prioritize
Prioritize pre-flight OSD warnings
2018-12-25 14:02:19 +13:00
Michael Keller
0a536fa9a8
Merge pull request #7241 from mikeller/update_stm32f3discovery_target
Updated STM32F3DISCOVERY target to support on-board gyro/acc.
2018-12-25 12:07:14 +13:00
Michael Keller
a28a0cf4d0
Merge pull request #7274 from jflyper/bfdev-f3-drop-simonk-boot-loader
[F3, SERIAL4WAY] Drop SimonK boot loader for from serial_4way for F3
2018-12-25 11:51:25 +13:00
mikeller
9d77fd0278 Added explicit acc alignment. 2018-12-25 11:24:07 +13: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
jflyper
b950237962 Drop SimonK boot loader for from serial_4way for F3 2018-12-24 21:27:32 +09:00
Michael Keller
2e49cb1ba7
Merge pull request #7257 from MATEKSYS/master
Add flash definition to MATEKF722SE target
2018-12-25 00:44:33 +13:00
Michael Keller
b081dfd479
Merge pull request #7261 from joelucid/berg_micro
add support for BERGMICRO_W25Q32
2018-12-25 00:13:12 +13:00
Michael Keller
2b9de3e3a6
Merge pull request #7263 from githubDLG/master
add Variant Target  CrazyBeeF4 Pro series
2018-12-24 23:35:39 +13:00
Michael Keller
583127cee0
Merge pull request #7267 from mikeller/dont_disable_vario_with_gps
Do not disable the vario feature if GPS is enabled.
2018-12-24 23:32:26 +13:00
Michael Keller
ec64c89ae7
Merge pull request #7272 from jflyper/bfdev-escserial-simonk-separation
[F3, ESCSERIAL] Conditionalize SimonK handling from escserial and drop it from F3
2018-12-24 23:31:48 +13:00
mikeller
7337b964d6 Added sensor for core temperature to SmartPort. 2018-12-24 23:29:21 +13:00
Michael Keller
2289d168db
Merge pull request #7259 from AlienWiiBF/MPU6000_GENERIC
Add MPU6000 to generic targets
2018-12-24 23:00:48 +13:00
Michael Keller
a77eb12335
Merge pull request #7269 from pkruger/7221-add-missing-OSD-elements_to_the-OSD-active-elements-menu
Add missing OSD elements to OSD active elements menu
2018-12-24 20:15:11 +13:00
Bruce Luckcuck
7d263667de Prioritize pre-flight OSD warnings
Rearranges the OSD warnings element messages to prioritize the pre-flight warnings. Previously other warnings could override the crash flip or launch control warnings - leading to safety issues.
2018-12-23 15:57:03 -05:00
Michael Keller
e80a68f8db
Merge pull request #7256 from pkruger/6839-feature-add-rescue-unreliable-now-OSD-indication-for-risky-flights
Add GPS rescue unreliable now warning in OSD
2018-12-24 09:38:12 +13:00
jflyper
938a2f708c Conditionalize SimonK handling from escserial and drop it from F3 2018-12-23 18:02:25 +09:00
Pieter Kruger
fdb9948f53 Add GPS rescue unreliable now warning in OSD 2018-12-23 14:34:35 +10:00
mikeller
06ffcda17d Updated STM32F3DISCOVERY target to support on-board gyro/acc. 2018-12-23 15:30:54 +13:00
Pieter Kruger
c7382b9d2e Add missing OSD elements to OSD active elements menu 2018-12-22 22:09:36 +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
mikeller
df8c25e9f6 Do not disable the vario feature if GPS is enabled. 2018-12-22 13:16:41 +13:00
Michael Keller
131e32c142
Merge pull request #7246 from mikeller/move_mco_init
Moved 'mcoInit()' to after 'OverclockRebootIfNecessary()' to have it execute only once.
2018-12-22 12:16:26 +13:00
Michael Keller
f827c33cd9
Merge pull request #7250 from mikeller/add_small_angle_to_flip_arrow
Added 'small_angle' indicator to OSD flip arrow.
2018-12-22 12:15:53 +13:00
githubDLG
d72169fa78 add Variant Target CrazyBeeF4 Pro series
Add MATEKF411RX Variants: CrazyBEEF4 Pro series targets, including: CrazyBeeF4FRPro/CrazyBeeF4FSPro/CrazyBeeF4DXPro
2018-12-21 18:42:33 +08:00
Michael Keller
e7d38eeacd
Merge pull request #7244 from etracer65/gps_rescue_reset_max_alt
Reset GPS Rescue max altitude and distance on arming
2018-12-21 21:22:49 +13:00
Michael Keller
27dda737ad
Merge pull request #7254 from TonyBlit/gps_crosstrack_checks
Sanity checks flyaway/stalled only done in crosstrack phase
2018-12-21 20:55:28 +13:00
Thorsten Laux
749492c2de add support for BERGMICRO_W25Q32 2018-12-21 08:34:04 +01:00
MJ666
768140c537 Add MPU6000 to generic targets 2018-12-21 06:55:43 +01:00
jflyper
cfaabac125
Merge pull request #7232 from mikeller/fix_print_resource
Fixed NULL dereference in 'printResource'.
2018-12-21 14:34:21 +09:00
MATEKSYS
420c4efd81 Add flash blackbox to MATEKF722SE target 2018-12-21 12:15:17 +08:00
Michael Keller
05ae79af65 Fixed tests. 2018-12-20 14:11:18 +13:00
Tony Cabello
3bab5f60ca Sanity checks flyaway/stalled only done in crosstrack phase 2018-12-19 20:09:04 +01:00
Michael Keller
dcf5652773
Merge pull request #7242 from mikeller/fix_gyro_cs_pin_count
Fixed gyro CS pin count in CLI.
2018-12-20 01:41:28 +13:00
Michael Keller
bb1e00c5b7
Merge pull request #7240 from mikeller/fix_stm32f3discovery_gyro
Update L3GD20 gyro to modern gyro API.
2018-12-20 01:40:52 +13:00
mikeller
468d8a3af5 Added 'small_angle' indicator to OSD flip arrow. 2018-12-20 01:20:49 +13:00
MJ666
c2ee6f0fad STM32F405 Generic target
ALIENFLIGHTF4 generic config
2018-12-19 07:02:02 +01:00
mikeller
4a62a006ca Moved 'mcoInit()' to after 'OverclockRebootIfNecessary()' to have it execute only once. 2018-12-19 17:45:11 +13:00
jflyper
feab0bcb81 Speed up the first boot on generic firmware 2018-12-19 16:56:31 +13:00
Michael Keller
c9788f1831
Merge pull request #7231 from mikeller/optimise_timer_tests
Made timer tests respect 'USE_TIMER_MGMT'.
2018-12-19 15:52:04 +13:00
Michael Keller
ca3241d7c3
Merge pull request #7156 from etracer65/msc_persist_rtc
MSC on-board flash: Persist RTC across reboot and use as file timestamp
2018-12-19 15:51:40 +13:00
Bruce Luckcuck
8ab185c33e Reset GPS Rescue max altitude and distance on arming 2018-12-18 17:55:29 -05:00
mikeller
cb1bb48587 Fixed gyro CS pin count in CLI. 2018-12-19 01:34:27 +13:00
mikeller
fdd5869054 Update L3GD20 gyro to modern gyro API. 2018-12-19 01:25:39 +13: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
mikeller
266a7085d9 Fixed casts. 2018-12-18 02:18:08 +13:00
Michael Keller
dd7a77e46c
Merge pull request #7227 from jflyper/bfdev-fix-gyro-detection-on-multi-gyro-boards-with-shared-SPI-bus
Do call gyroPreInitsensor for gyro 2 even if it is not activated
2018-12-18 02:12:01 +13:00
mikeller
60950dd032 Fixed NULL dereference in 'printResource'. 2018-12-18 01:38:01 +13:00