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

13049 commits

Author SHA1 Message Date
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
Bruce Luckcuck
a3d4048493 Fix MacOS on-board flash MSC mode for F7 (HAL)
Needed to fix the F7 HAL library version as well. Tested on a DALRCF722DUAL.
2018-12-21 18:36:09 -05: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
Michael Keller
6c9dc765b3
Merge pull request #7222 from AlienWiiBF/STM32F405_GENERIC
STM32F405 Generic target
2018-12-19 20:50:41 +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
Michael Keller
bffe84165d
Merge pull request #7199 from jflyper/bfdev-generic-speed-up-first-boot
Speed up the first boot on generic firmware
2018-12-19 17:39:38 +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
mikeller
59026a871e Made timer tests respect 'USE_TIMER_MGMT'. 2018-12-18 01:14:07 +13:00
Michael Keller
1c50c317d6
Merge pull request #7230 from Asizon/master
Fix OMNIBUSF4V6 Gyro2(External) align
2018-12-18 00:17:32 +13:00
Michael Keller
b937d8bf52
Merge pull request #6805 from AlienWiiBF/AFNG_F7_GENERIC
Update STM32F7X2 generic target
2018-12-18 00:14:56 +13:00
Michael Keller
ee0d86ff20
Merge pull request #7210 from phobos-/spi_dsm
Implemented SPI SPEKTRUM protocol
2018-12-18 00:13:20 +13:00
Michael Keller
124d7d6f75
Merge pull request #7215 from pkruger/7197-OSD-active-elements-menu-update-for-OSD-profiles
Add OSD Active Elements menu update for OSD Profiles
2018-12-17 23:34:07 +13:00
Asizon
72369c66f8 Fix Gyro2(External) align
Fixed Gyro2(External gyro box) orientation to same as Gyro1, now compatible with Gyro BOTH
2018-12-17 10:54:53 +01:00
Michael Keller
d3a7d8c073
Merge pull request #7218 from mikeller/fix_profile_switching
Fixed PID profile switching.
2018-12-17 13:28:12 +13:00
jflyper
a27a374f41 Do call gyroPreInitsensor for gyro 2 even if it is not activated. 2018-12-17 02:07:50 +09:00
phobos-
6651baa7d8 Implemented SPI SPEKTRUM protocol 2018-12-16 11:15:35 +01:00
MJ666
3ca69b7b53 Update STM32F7X2 generic target
Add more sensor drivers
Update NERO.config
Add ALIENFLIGHTNG F7 generic target config
Add AlienFlightNG F7 Dual generic config
2018-12-16 08:40:30 +01:00
Pieter Kruger
23386af1ac Update OSD Elements menu for OSD Profiles 2018-12-16 13:34:49 +10:00
mikeller
1771ea687f Fixed tests. 2018-12-16 11:28:04 +13:00
Michael Keller
8165039e4e
Merge pull request #6869 from AlienWiiBF/MAG_GENERIC
Update Mag driver for generic target
2018-12-16 10:55:20 +13:00
MJ666
0b1c8441f4 Update Mag driver for generic target 2018-12-15 19:16:03 +01:00
mikeller
53278c08f8 Fixed PID profile switching. 2018-12-15 22:53:12 +13:00
Michael Keller
497ede203f
Merge pull request #7129 from Asizon/master
Add target OMNIBUSF4V6
2018-12-15 21:31:32 +13:00
Michael Keller
ff2f71ac8b
Merge pull request #6870 from AlienWiiBF/BARO_GENERIC
Update Baro driver for generic target
2018-12-15 21:30:23 +13:00