Commit Graph

12934 Commits

Author SHA1 Message Date
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
jflyper cfaabac125
Merge pull request #7232 from mikeller/fix_print_resource
Fixed NULL dereference in 'printResource'.
2018-12-21 14:34:21 +09: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
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
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
MJ666 e5f330fbf1 Update Baro driver for generic target 2018-12-15 07:36:25 +01:00
Asizon 31db76b856 Add target OMNIBUSF4V6
I add target of Airbot Omnibus F4 V6, it is tested and functional at 100%

Update target OmnibusF4V6 to Fireworks variant

Update target.h

Update target.c

Update target.c

Fix motor output resources for Typhoon32 V2

Revert motor changes

Enable SCL and SDA pins

I have enabled the resources I2C2_SCL and I2C2_SDA, in Omnibus F4 V6 they are independent, they do not share with UART3TX / UART3RX

Requested changes

I have reviewed the requested changes, default gyro first and swapping of gyro1 and 2

Removing two linefeed

Add I2C Definitions and Timers

Added definitions and timers for I2C1 device(Baro, Mag)

Update target.c target.h

Some requested changes

Remove I2C Timers

Waiting to find compatible timers for SCL and SDA(I2C)

Update USABLE_TIMER_CHANNEL_COUNT
2018-12-15 07:35:12 +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 72cc59b834
Merge pull request #7211 from phobos-/led-pin-defaults
Moved Default RX_SPI_LED_PIN definition to common_default_post.h
2018-12-15 18:29:51 +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
Michael Keller 6b8b8a62e1
Merge pull request #7184 from Linjieqiang/add_target_EXF722DUAL
TARGET: Add support code for EXF722DUAL board.
2018-12-14 00:05:14 +13:00
jflyper c2ba0ae5e0 Drop features from FRSKYF3 to fit it into flash 2018-12-13 11:15:30 +09:00
jflyper 9ea1428d11 Introduce per device pin pre-init 2018-12-13 11:15:26 +09:00
Michael Keller 3b93361ac3
Merge pull request #7205 from hydra/debug-symbols-on-asm-code
Ensure debug symbols are generated for startup code when needed.
2018-12-13 01:09:41 +13:00
Michael Keller 6cea7039d5
Merge pull request #7200 from etracer65/fix_smartport_gps_alt
Fix smartport GPS altitude
2018-12-13 00:38:11 +13: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
phobos- 2d0378dadf Moved Default RX_SPI_LED_PIN definition to common_default_post.h 2018-12-11 22:20:58 +01:00
Michael Keller 9bae508ab8
Merge pull request #7198 from pkruger/bugfix-issue-7196-OSD-active-elements-menu
Add fix for issue 7196 OSD active elements menu moves items left by one
2018-12-12 00:14:32 +13:00