Commit Graph

13332 Commits

Author SHA1 Message Date
mikeller 210e90249e Fixed up reference in the driver layer. 2019-02-03 11:04:34 +13:00
Michael Keller d833a51317
Merge pull request #7506 from etracer65/gyro_align_msp_compatibility
Update MSP gyro alignment support and preserve backwards compatibility
2019-02-03 10:42:26 +13:00
Michael Keller 67043e4ffc
Merge pull request #7508 from mikeller/fix_flash_overflow_2
Fixed flash overflow on IMPULSERCF3, RMDO, and SPRACINGF3.
2019-02-03 10:29:41 +13:00
Bruce Luckcuck 3db58c51bd Enable FEATURE_AIRMODE by default
It's long past time for this! The vast majority of airmode related support issues we encounter involve people forgetting to enable airmode.

For the tiny percentage that still (mistakenly) believe they don't want to enable airmode, they can disable if they desire.
2019-02-02 11:41:56 -05:00
Bruce Luckcuck 9fd82882e0 Reduce airmode activation percent to 25
In recognition of a more appropriate value based on the average hardware in use today.
2019-02-02 11:20:15 -05:00
Bruce Luckcuck 5c05e945df Add MSP support for OSD profiles and OSD stick overlay
Adds available profiles and currently selected OSD profile. If the `USE_OSD_PROFILES` feature is not available then the profile count and selected profile will be 1.

Adds OSD stick overlay radio mode. A zero value indicates OSD stick overlay is not available.
2019-02-02 09:40:48 -05:00
mikeller b296c5f6aa Fixed flash overflow on IMPULSERCF3, RMDO, and SPRACINGF3. 2019-02-02 23:00:41 +13:00
Michael Keller fd297b6b2c
Merge pull request #6924 from smoriarty21/pilot_name
Pilot Name
2019-02-02 21:20:08 +13:00
mikeller 4d8bf61d94 Improved CRSF flight mode reporting. 2019-02-02 21:15:32 +13:00
Bruce Luckcuck d66533fb5a Update MSP gyro alignment support and preserve backwards compatibility
Preserve gyro/acc alignment backwards compatibility for configurator versions unaware of the revised sensor alignment scheme.

Update MSP to add support for:
1. Flag to indicate whether `USE_MULTI_GYRO` is available
2. `gyro_to_use`
3. `gyro_1_sensor_align` and `gyro_2_sensor_align`.
2019-02-01 21:52:47 -05:00
Michael Keller b3b2517fab
Merge pull request #7489 from etracer65/ledstrip_beacon_improvements
Enhance ledstrip BEACON profile
2019-02-02 15:27:15 +13:00
Michael Keller d208cd0f8f
Merge pull request #7482 from mikeller/add_motor_output_limit
Added motor output limiting per profile.
2019-02-02 15:25:54 +13:00
Michael Keller 85ac92f42a
Merge pull request #7502 from mikeller/remove_deprecated_align
Removed leftover references to 'gyro_align', 'acc_align'.
2019-02-02 15:17:08 +13:00
mikeller f7134580f8 Fixed missing conditional, incremented parameter group version, added
config reset.
2019-02-01 07:53:09 +13:00
Michael Keller 5a510ce859
Merge pull request #7501 from betaflight/fix_flash_overflow
Fixed flash overflow on CHEBUZZF3, FURYF3, FURYF3OSD, LUX_RACE, RACEBASE, SIRINFPV, and SPRACINGF3MINI.
2019-02-01 07:44:48 +13:00
mikeller 21edada68b Removed leftover references to 'gyro_align', 'acc_align'. 2019-02-01 01:50:40 +13:00
Sean M 09fce7f1fa Adding display name to OSD and CLI 2019-02-01 01:11:40 +13:00
mikeller 183275beb4 Fixed flash overflow on CHEBUZZF3, FURYF3, FURYF3OSD, LUX_RACE, RACEBASE, SIRINFPV, and SPRACINGF3MINI. 2019-02-01 00:58:03 +13:00
Michael Keller ae194f2eb3
Merge pull request #7491 from etracer65/ledstrip_profile_msp
Update ledstrip MSP to add support for advanced flag and profile
2019-01-30 10:36:45 +13:00
Bruce Luckcuck 12a29eb7a9 Enhance ledstrip BEACON profile
Added features to the BEACON ledstrip profile:

Added a `ledstrip_beacon_color` to allow color selection rather than forcing to white.

Added `ledstrip_beacon_period_ms` to configure the blink period in milliseconds. Smaller time periods mean faster blinking.

Added `ledstrip_beacon_percent` to configure the "ON" time duty cycle. User can set to 100% to have the beacon display a solid color. 0% can be used to turn the becaon completely off.

Added `ledstrip_beacon_armed_only` to allow the user to configure whether the beacon is only on when armed.

Added `ledstrip_visual_beeper_color` to allow configuration of the visual beeper color.

Added the new parameters to the CMS menu.

Simplified the code and combined the RACE and BEACON profile processing.

Added support for auutomatically displaying a beacon that indicates RX_SET or failsafe regardless of the other RACE or BEACON settings.
2019-01-29 15:26:13 -05:00
Bruce Luckcuck d8c54460a9 Update ledstrip MSP to add support for advanced flag and profile
Added a flag indicating the level of ledstrip support (to allow improved Configurator behavior) along with support for reading/setting the current `ledstrip_profile`.

ledstrip support flag is as follows:
0 = basic ledstrip available
1 = advanced ledstrip available
2019-01-29 09:43:19 -05:00
Michael Keller aa020c8970
Merge pull request #7471 from jflyper/bfdev-4.0-compatible-acc-alignment
Set acc alignment to that of active gyro
2019-01-30 02:44:32 +13:00
Michael Keller 436892424c
Merge pull request #7492 from jflyper/bfdev-fix-pinio-initialization
[PINIO] Fix inverted pin initialization problem
2019-01-30 02:39:44 +13:00
Michael Keller b36acf5576
Merge pull request #7490 from mikeller/add_makefile_test_invocations
Added 'test_help' and 'test_<testname>' targets to Makefile.
2019-01-30 00:54:00 +13:00
Michael Keller 2a31d3c3d7
Merge pull request #7488 from AlienWiiBF/Generic_update
Update DMAOPT settings for generic targets
2019-01-30 00:17:31 +13:00
mikeller 73d18ede66 Halved motor_output_limit for 3D modes. 2019-01-30 00:05:41 +13:00
Michael Keller 0b7fbdf3bd
Merge pull request #7486 from mikeller/add_exemplary_tests
Added 'test-representative' make target to run a representative subset of the unit tests.
2019-01-29 16:28:13 +13:00
jflyper 5b40bb4b24 Set acc alignment to that of active gyro 2019-01-29 11:33:01 +09:00
Michael Keller fc289e95b7
Merge pull request #7485 from mikeller/add_led_strip_to_f3
Re-added minimal LED_STRIP support to F3.
2019-01-29 07:27:36 +13:00
jflyper 06e7a73661 Pin state is a pin voltage level, not a logic (active-high/low) level 2019-01-28 19:34:10 +09:00
mikeller 4bd9605d2a Added 'test_help' and 'test_<testname>' targets to Makefile. 2019-01-28 20:39:05 +13:00
Michael Keller 6c8b3a7193
Merge pull request #7473 from AlienWiiBF/DMAOPT_fix
Preinitialallize all SPI DMA option value defaults
2019-01-28 20:19:46 +13:00
Michael Keller bbedb60fe2
Merge pull request #7476 from mikeller/add_stick_overlay_symbols
Changed OSD stick overlay to use custom symbols.
2019-01-28 20:17:10 +13:00
Michael Keller 933fb0b6b4
Merge pull request #7475 from mikeller/fix_debug_names
Aligned debug mode names with debug enum value names for more fun when debugging.
2019-01-28 20:16:11 +13:00
Michael Keller 28de73ab13
Merge pull request #7470 from jflyper/bfdev-protect-flashInit-from-NULL-SPI-instance
[FLASH] Protect flashInit from NULL SPI instance
2019-01-28 20:14:40 +13:00
mikeller 53b03e6c3c Re-added minimal LED_STRIP support to F3. 2019-01-28 11:21:20 +13:00
MJ666 033920ccb6 Update DMAOPT settings for generic targets 2019-01-27 18:42:32 +01:00
MJ666 f47936c92f Preinitialallize all SPI DMA option value defaults 2019-01-27 13:31:34 +01:00
mikeller 95eb87b678 Changed OSD stick overlay to use custom symbols. 2019-01-28 00:53:02 +13:00
mikeller a3cf7e0cf7 Added motor output limiting per profile. 2019-01-28 00:37:00 +13:00
Michael Keller 4bff464b92
Merge pull request #7467 from mikeller/reorganise_interfaces
Reorganised interfaces, putting them where they are used.
2019-01-28 00:14:14 +13:00
mikeller 8c2a896025 Added 'test-representative' make target to run a representative subset of the unit tests. 2019-01-28 00:08:01 +13:00
mikeller 38e1ce04df Reorganised interfaces, putting them where they are used. 2019-01-27 13:38:22 +13:00
Michael Keller fe83d052da
Merge pull request #7465 from etracer65/fix_blackbox_throttle_value
Fix blackbox rcCommand[THROTTLE] logging
2019-01-27 12:05:02 +13:00
mikeller 118e92c8b2 Aligned debug mode names with debug enum value names for more fun when debugging. 2019-01-27 12:04:38 +13:00
Michael Keller 06f89603bc
Merge pull request #7463 from etracer65/mixer_throttle_fix
Fix mixer throttle calculation
2019-01-27 11:38:15 +13:00
Michael Keller 90d801c5d8
Merge pull request #7457 from SteveCEvans/cpu_load
Modify CPU load calculations to not assume constant task duration
2019-01-27 11:37:33 +13:00
Bruce Luckcuck 55dc91d6f7 Fix blackbox rcCommand[THROTTLE] logging
The blackbox "P" frame is incorrectly offsetting the rcCommand[THROTTLE] value by `min_throttle`. The rcCommand value already ranges from 1000-2000 and is an input so it shouldn't be offset by a motor output value. Also this is clearly incorrect in the case of DSHOT which doesn't use `min_throttle`.
2019-01-26 16:55:28 -05:00
jflyper 4ab7ab03ef Protect flashInit from NULL SPI instance 2019-01-27 00:37:19 +09:00
Michael Keller 9e7e263abb
Merge pull request #7450 from mikeller/improve_osd_stick_overlay_height
Change OSD stick overlays to be more square.
2019-01-26 22:11:36 +13:00