Commit Graph

15335 Commits

Author SHA1 Message Date
mikeller 4ef9743d1b Fixed RX / telemetry port sharing for iBus. 2019-10-08 00:05:32 +13:00
Michael Keller c6452a55cc
doc update for OMNIBUSF4NANOV7 (#8985)
doc update for OMNIBUSF4NANOV7
2019-10-06 18:36:32 +13:00
Michael Keller b65bb815bc
Merge pull request #8982 from jflyper/bfdev-register-eol-code-changes-for-html
Register changes fired by modified EOL code for html files
2019-10-06 18:34:41 +13:00
Michael Keller 020a4f890b
Add LuxMiniF7 (#8979)
Add LuxMiniF7
2019-10-06 18:29:58 +13:00
Michael Keller f57fa895da
Add DSHOT bidir info to the Blackbox (#8992)
Add DSHOT bidir info to the Blackbox
2019-10-06 14:56:48 +13:00
Miguel Angel Mulero Martinez eadc488bc6 Add DSHOT bidir info to the Blackbox 2019-10-04 13:25:14 +02:00
jflyper d9d878d88e UART DMA refactor
- Add UART DMA configurability

- Consolidation of DMA settings code
  DMA setting code for all MCUs is now in serial_uart.c

- Consolidation of UART buffer
  UART buffers are not embedded in uartDevice[] array anymore for all MCUs.

- Consolidation of HAL DMA IRQ handler

- Add missing defs for DMA on UART4 for F3
2019-10-04 12:58:11 +09:00
x4FF3 204268854a doc revision update 2019-10-03 10:53:59 +02:00
jflyper 9ed7ceb47c Register changes fired by modified EOL code for html files 2019-10-03 03:18:37 +09:00
x4FF3 47082027cb Add LuxMiniF7 2019-10-02 18:36:53 +02:00
Michael Keller 9aa1a75fe0
Updated unified '.gitattributes' file. (#8973)
Updated unified '.gitattributes' file.
2019-10-02 23:42:30 +13:00
Michael Keller 9256daae74
Updated the Unified Target creation documentation to reflect th… (#8963)
Updated the Unified Target creation documentation to reflect the new naming.
2019-10-02 23:42:17 +13:00
Michael Keller e1612e9fbc
Removing directories with unused support code. (#8975)
Removing directories with unused support code.
2019-10-02 22:02:03 +13:00
Nicola De Pasquale 5d86ebffc8 add ascend and descend rate to MSP 2019-10-01 16:13:55 +02:00
Michael Keller 392936298f Added unified '.gitattributes' file. 2019-10-02 01:05:29 +13:00
mikeller cb0091c1d1 Removing directories with unused support code. 2019-10-01 22:29:29 +13:00
mikeller 0b1276c487 Updated the Unified Target creation documentation to reflect the new naming. 2019-09-29 16:27:46 +13:00
Michael Keller fcaa16cd7d
Fix "BIT_GYRO" definition error. (#8952)
Fix "BIT_GYRO" definition error.
2019-09-29 11:43:01 +13:00
Michael Keller 13f95df078
H7 - Fix bi-directional DSHOT (#8961)
H7 - Fix bi-directional DSHOT
2019-09-29 10:24:54 +13:00
Michael Keller eef0ab56f5
Merge pull request #8956 from x4FF3/master
add mag and bmp support for AIRBOTF7
2019-09-29 10:15:44 +13:00
Michael Keller 741644fd0f
Add TRANSTECF411 Target (#8955)
Add TRANSTECF411 Target
2019-09-29 10:14:20 +13:00
terry chen 159a5670ce fix "BIT_GYRO" definition error.
"Register 104" bits 2 to 0 are used to reset the analog and digital signal paths of the gyroscope, accelerometer, and temperature sensors. so that 'BIT_GYRO' should be 0x04 instead of 3.
reference: https://www.invensense.com/wp-content/uploads/2015/02/MPU-6000-Register-Map1.pdf @4.27 Register 104 – Signal Path Reset SIGNAL_PATH_RESET

Comment and code behavior do not match.

The code is set to 2000, but the comment is 1000.
2019-09-29 10:13:04 +13:00
Bruce Luckcuck 9cb48c97fd Add cliDebugPrint functions to facilitate easy debug printing to CLI
To use, include `cli/cli_debug_print.h` in your code and be sure `USE_CLI_DEBUG_PRINT` is defined. Then you'll have access to the following functions to print debugging messages in the CLI:
```
cliDebugPrintLineFeed
cliDebugPrint
cliDebugPrintLine
cliDebugPrintf
cliDebugPrintLinef
```
Output is suppressed when the CLI is not open.

May interfere with the autocomplete initialization when first entering the CLI if your code is outputting data when the CLI first opens. But as this is only meant for debugging it shouldn't be much of a concern.

You may also need to rate limit your messages if printing data in a loop.

All of the debugging code must be removed from any completed code before submission.
2019-09-28 14:52:01 -04:00
Thorsten Laux 6b0bca4ef5 Fix dshot bidir on H7 2019-09-28 14:24:48 +02:00
x4FF3 906b84ba8c add mag and bmp support 2019-09-26 12:17:40 +02:00
unknown 319f55d878 Add TRANSTECF411 Target 2019-09-26 13:51:56 +08:00
Michael Keller 08e8afa090
Added manufacturer id for FPV Model. (#8947)
Added manufacturer id for FPV Model.
2019-09-26 01:25:14 +12:00
Michael Keller be4db4cfa4
Fixed hanging on 'defaults nosave' when RX_SERIAL is enabled. (#8946)
Fixed hanging on 'defaults nosave' when RX_SERIAL is enabled.
2019-09-26 00:29:15 +12:00
Michael Keller 462699d1a5
Handle a lack of trailing newline in config file. (#8942)
Handle a lack of trailing newline in config file.
2019-09-25 23:32:19 +12:00
Michael Keller 35e2e16e86
[VTX] Fixed version checks in smartaudio that disabled pitmode… (#8940)
[VTX] Fixed version checks in smartaudio that disabled pitmode on SA2.1 devices
2019-09-25 23:30:57 +12:00
Michael Keller 7ddf387fbc
Add board name to CLI version command output for unified targets (#8937)
Add board name to CLI version command output for unified targets
2019-09-25 23:25:37 +12:00
Michael Keller 81bca4b7b8
Fix VTX low power disarm when USE_VTX_RTC6705 is defined (#8936)
Fix VTX low power disarm when USE_VTX_RTC6705 is defined
2019-09-25 23:22:07 +12:00
Bruce Luckcuck adbab5f782 Add board name to CLI version command output for unified targets
Will help improve support efforts by more clearly indicating which board's targer config was applied to the underlying unified target base.
2019-09-24 19:23:16 -04:00
mikeller 4e8249e23a Fixed hanging on 'defaults nosave' when RX_SERIAL is enabled. 2019-09-25 10:01:56 +12:00
Michael Keller 064ca9b75e
Added missing compilation warning for unsupported F3 targets. (#8930)
Added missing compilation warning for unsupported F3 targets.
2019-09-24 22:35:29 +12:00
Kyle K b81b263bd0 Handle a lack of trailing newline in config file.
The configurator properly checks that the config data fits, so there is no risk of a command being cut off
2019-09-24 08:06:39 +00:00
functionpointer d3d1a5fd89 [VTX] Fixed version checks in smartaudio that prevented pitmode from working on SA2.1 devices 2019-09-23 23:56:05 +02:00
jflyper 4e9923569a NUCLEOF103RG target
NUCLEOF103RG is a target for Nucleo-F103RG (Nucleo-F103RB transplanted
with STM32F103RG which has 1MB of FLASH).
Such hardware with this target comes in handy when a firmware that
doesn't fit in smaller FLASH variant when compiled with DEBUG option.

The target definition files are straight copy of NAZE, except LED0_PIN
has been redefined to use Nucleo's LD2 (User LED).

It is also easy to convert exisiting F1 targets to be built to run on
the Nucleo-F103RG board:

- Add
    #define FLASH_PAGE_SIZE 0x800
    to target.h

- Also add
    #undef USE_DSHOT
    #undef USE_LED_STRIP
    #undef USE_TRANSPONDER
    #undef USE_CAMERA_CONTROL
    to target.h to avoid non-F1 compatible code from getting in.

- Add
FLASH_SIZE  = 1024
    to target.mk
2019-09-23 23:58:03 +09:00
Bruce Luckcuck 0bd808d1dc Fix VTX low power disarm when USE_VTX_RTC6705 is defined
Affected all unified targets as USE_VTX_RTC6705 must be defined to allow supporting that VTX option. Would cause the low power index settings for RTC6705 to override the settings for other VTX type and set the vtxtable power level index to 2 instead of 1.
2019-09-23 09:13:25 -04:00
Michael Keller d1d9875208
Fix compile errors if USE_DSHOT not defined (#8928)
Fix compile errors if USE_DSHOT not defined
2019-09-23 19:40:41 +12:00
Michael Keller 564db329b0
Merge pull request #8926 from ctzsnooze/exclude-yaw-from-ff_max_rate_limit_PR
exclude yaw from ff_max_rate_limit
2019-09-23 19:38:56 +12:00
Michael Keller e2c569269a
Prevent DSHOT commands during protocol initialization/detection (#8927)
Prevent DSHOT commands during protocol initialization/detection
2019-09-23 18:57:44 +12:00
mikeller 460b7e5fc5 Removed unused feature 'SOFTSPI'. 2019-09-23 08:49:55 +12:00
Michael Keller a54c33b952
UART buffers for F4 should not be in CCM DATA RAM for DMA to wo… (#8924)
UART buffers for F4 should not be in CCM DATA RAM for DMA to work
2019-09-22 23:39:27 +12:00
Michael Keller 2a3d1c1087
Added SPI5 pin definition for STM32H7. (#8920)
Added SPI5 pin definition for STM32H7.
2019-09-22 23:37:49 +12:00
mikeller a76b5666e5 Removed pins not available in LPQFP-100 or 144 packages. 2019-09-22 23:17:54 +12:00
mikeller 8cee81406e Added missing compilation warning for unsupported F3 targets. 2019-09-22 22:37:42 +12:00
mikeller 2e9f4c76c3 Improved the efficiency of 'applyFfLimit()'. 2019-09-22 16:17:51 +12:00
ctzsnooze 5112b66a0f improve code efficiency 2019-09-22 14:06:31 +10:00
Bruce Luckcuck bd407fba88 Fix compile errors if USE_DSHOT not defined 2019-09-21 19:22:47 -04:00