Bruce Luckcuck
04844bd5a1
Refactor common USB MSC code and improve activity LED
...
Eliminated the duplicated MSC functions in the architecture specific files and moved to a shared common.
Improved the activity indicating LED and made it consistent between onboard flash and sd card mass storage mode.
2019-12-02 22:08:19 -05:00
Michael Keller
4ed9382b93
Fix compile errors if USE_FLASHFS is defined but USE_FLASH_CHIP… ( #9253 )
...
Fix compile errors if USE_FLASHFS is defined but USE_FLASH_CHIP is not
2019-12-03 13:57:47 +13:00
Michael Keller
5bd8bdcf02
Restructure flashfs MSC to prevent device timeout on MacOS ( #9252 )
...
Restructure flashfs MSC to prevent device timeout on MacOS
2019-12-03 13:53:52 +13:00
mikeller
56f725d6f3
Fixed compiler warnings.
2019-12-03 02:23:18 +13:00
Michael Keller
054bd66bc4
Update RC smoothing "auto" settings to consider interpolated fe… ( #9249 )
...
Update RC smoothing "auto" settings to consider interpolated feedforward
2019-12-02 11:31:05 +13:00
Michael Keller
00855c4bb7
Add optional search string support for CLI "help" command ( #9250 )
...
Add optional search string support for CLI "help" command
2019-12-02 11:30:48 +13:00
Bruce Luckcuck
be8a3b0801
Fix compile errors if USE_FLASHFS is defined but USE_FLASH_CHIP is not
2019-12-01 15:59:37 -05:00
Bruce Luckcuck
ee3c0e4f97
Restructure flashfs MSC to prevent device timeout on MacOS
...
For devices using the 1Gb NAND flash the scanning phase that discovers the individual logs was taking to long resulting in the operating system thinking the mass storage device had become unresponsive. It is simply a factor of the larger flash size and the amount of time needed to scan all 2K blocks.
Restructured to scan the flash before initializing and starting the USB device. That way the mass storage device can start quickly and bee immediately ready for operating system requests.
2019-12-01 10:43:08 -05:00
Michael Keller
9425831756
Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on f… ( #9248 )
...
Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on first disarm.
2019-12-01 15:14:02 +13:00
Michael Keller
76d9cc3e38
Add support for FrSky OSD ( #9127 )
...
Add support for FrSky OSD
2019-12-01 13:22:41 +13:00
mikeller
c7b16d2f3d
Fixed seat-of-pants OSD unit tests.
2019-12-01 13:09:18 +13:00
Bruce Luckcuck
b2a50819a3
Update RC smoothing "auto" settings to consider interpolated feedforward
...
Allows default settings for RC smoothing to work seamlessly regardless of the feedforward type selected ("classic" vs. interpolated).
Adds a new "AUTO" setting for the derivative filter type that will select based on whether interpolated feedforward is enabled (use PT1) or not (use BIQUAD). The derivative filter cutoff if set to auto (0) will also use a fixed cutoff calculated from a 100hz base if interpolated feedforward is enabled. Otherwise if classic FF is active then it will default to the previous method of calculating the cutoff based on the RX frame rate.
2019-11-30 19:06:44 -05:00
Michael Keller
568ab7a430
Add protocol level receiver frame rate measurement for Jeti ExB… ( #9245 )
...
Add protocol level receiver frame rate measurement for Jeti ExBus
2019-12-01 11:32:00 +13:00
Alberto García Hierro
37e66b3dda
Add support for FrSky OSD
...
- Add displayWriteFontCharacter() for font writing, removing all max7456
specific code.
- Add displayIsReady() for asynchronous display initialization
- Add displayBeginTransaction()/displayCommitTransaction() for display
transactions, which allow performing complex drawing operations without
flickering
- Add displayGetCanvas(), which retrieves the canvas associated with a
display (if it has it)
- Add canvas implementation for pixel based access for a display
- Add FrSkyOSD driver and displayPort driver
- Enable FrSkyOSD driver for targets with flash > 256
- Rename max7456_symbols.h to osd_symbols.h
2019-11-30 22:06:36 +00:00
Bruce Luckcuck
749dd6c6d7
Add optional search string support for CLI "help" command
...
Helps users locate CLI commands by searching both the command name and description.
2019-11-30 13:04:31 -05:00
Michael Keller
cb538ea2ed
Fixed use of 'abs()' for floats. ( #9242 )
...
Fixed use of 'abs()' for floats.
2019-12-01 00:02:23 +13:00
mikeller
93c708f57d
Refactored 'WAS_EVER_ARMED' arming flag to be only enabled on first disarm.
2019-11-30 15:01:55 +13:00
Michael Keller
938f46ccd1
Add option to display the OSD logo on arming ( #9244 )
...
Add option to display the OSD logo on arming
2019-11-30 13:46:33 +13:00
mikeller
935a684765
Fixed use of 'abs()' for floats.
2019-11-30 10:33:12 +13:00
Bruce Luckcuck
6b1f8485ac
Add configurable duration to show the OSD logo on arming
...
Adds `osd_logo_on_arming_duration` which is configured in 0.1s intervals ranging from 5 to 50 (0.5s to 5.0s). The default is 5 (0.5s) to be consistent with the previous "ARMED" splash screen.
2019-11-29 15:55:49 -05:00
Michael Keller
096b9320d0
Fixed missing include in 'master'.
2019-11-29 15:58:02 +13:00
Bruce Luckcuck
2a9f0fda99
Add protocol level receiver frame rate measurement for Jeti ExBus
2019-11-28 19:20:25 -05:00
Michael Keller
c8b5edb415
Moved configuration validation into 'config.c'. ( #9219 )
...
Moved configuration validation into 'config.c'.
2019-11-29 12:47:29 +13:00
Bruce Luckcuck
05c8538752
Add option to display the OSD logo on arming
...
Adds `osd_logo_on_arming` setting with values `OFF, ON, FIRST_ARMING` (defaults to `OFF`). Optionally displays the OSD splash logo durin the "ARMING" message.
2019-11-28 13:38:33 -05:00
mikeller
438a801eb8
Fixed 'cast-function-type' warnings, reworked CMS function pointer juggle.
2019-11-29 03:45:27 +13:00
Michael Keller
39c8d1851e
Revert the workaround for the EXST linker script.
2019-11-27 18:14:12 +13:00
Michael Keller
9f6139e638
Fixed and un-ignored the 'stringop-truncation' warning. ( #9230 )
...
Fixed and un-ignored the 'stringop-truncation' warning.
2019-11-27 13:36:06 +13:00
Michael Keller
140bb22b88
Removed 'checkRedirect' and references to it.
2019-11-26 19:14:47 +13:00
mikeller
95791fc293
Refactored CMS VTX menu selection to not use 'checkRedirect'.
2019-11-26 19:14:47 +13:00
Michael Keller
818402ccc4
Some fixes for what looks like merge problems introduced by #90… ( #9225 )
...
Some fixes for what looks like merge problems introduced by #9012 .
2019-11-26 19:08:40 +13:00
mikeller
fd87829aed
Fixed and un-ignored the 'stringop-truncation' warning.
2019-11-26 07:45:33 +13:00
Michael Keller
23c458e85f
Fixed exiting from CMS menu. ( #9221 )
...
Fixed exiting from CMS menu.
2019-11-26 06:19:14 +13:00
mikeller
21b9fba3bf
Some fixes for what looks like merge problems introduced by #9012 .
2019-11-25 19:01:27 +13:00
Michael Keller
a65a4049ad
Fixed handling of SPI parameters for Unified Targets. ( #9218 )
...
Fixed handling of SPI parameters for Unified Targets.
2019-11-25 18:47:02 +13:00
Michael Keller
e9b94deee5
Changed '_flash' targets to only write used segments. ( #9217 )
...
Changed '_flash' targets to only write used segments.
2019-11-25 18:46:34 +13:00
Michael Keller
f859d555f7
Add support for character attribute rich MSP displayport ( #9212 )
...
Add support for character attribute rich MSP displayport
2019-11-25 18:46:21 +13:00
Michael Keller
8d107fab99
update to gcc 8.3.1 ( #9061 )
...
update to gcc 8.3.1
2019-11-25 18:45:27 +13:00
jflyper
2e84b0c442
Add support for character attribute rich displayport
2019-11-25 10:43:29 +09:00
Michael Keller
97d8a7e4d2
Merge pull request #9216 from mikeller/fix_fast_code_usages
...
Fixed some incorrect usages of FAST_CODE.
2019-11-25 13:42:08 +13:00
mikeller
f2ea50faec
Fixed exiting from CMS menu.
2019-11-25 02:21:11 +13:00
mikeller
a302b5bae2
Removed ATOMIC_BARRIER check, fixed ITCM_RAM overflow.
2019-11-25 01:16:08 +13:00
Michael Keller
e1244af09a
Add temporary facility of vendor specific init string to displa… ( #9215 )
...
Add temporary facility of vendor specific init string to displayport msp
2019-11-24 22:12:51 +13:00
mikeller
6f92a1ce13
Fixed handling of SPI parameters for Unified Targets.
2019-11-24 22:10:08 +13:00
mikeller
99f77fa88d
Moved configuration validation into 'config.c'.
2019-11-24 21:19:26 +13:00
mikeller
cce94bbe31
Changed '_flash' targets to only write used segments.
2019-11-24 15:36:40 +13:00
mikeller
a6cf0e6f6c
Fixed some incorrect usages of FAST_CODE.
2019-11-24 14:10:38 +13:00
Steffen Windoffer
4affef7e5a
update to gcc 8.3.1
2019-11-24 13:58:07 +13:00
Michael Keller
b137bbe80c
Merge pull request #9214 from etracer65/sbus_crsf_micros_interrupt
...
Update SBUS and CRSF to use microsISR() in the interrupt handler
2019-11-24 13:03:02 +13:00
Michael Keller
9d9a9fe3f3
Add protocol level receiver frame rate measurement for SUMD ( #9209 )
...
Add protocol level receiver frame rate measurement for SUMD
2019-11-24 12:59:33 +13:00
Michael Keller
b568dc7d64
Add protocol level receiver frame rate measurement for IBUS ( #9207 )
...
Add protocol level receiver frame rate measurement for IBUS
2019-11-24 12:01:40 +13:00