Commit Graph

17075 Commits

Author SHA1 Message Date
DusKing1 37435a7184 fix-typo-in-gps-conversion 2021-08-16 14:36:27 +08:00
Dominic Clifton e69ed4f581 ICM42688P - Combine with ICM42605 driver. 2021-08-10 22:30:09 +02:00
Dominic Clifton a69aaff981 ICM42688P - Fix incorrect upper case 'P' in #include. 2021-08-10 21:09:35 +02:00
Dominic Clifton 5f4a50de05 ICM426xx - Avoid long startup delays when target allows 42605 and
42688P.

If the target has a 42688P sensor there is a 20*150ms (3 second) delay
caused by the 42605 driver's detect code.

The 42605/42688P sensors are pin-compatible so it makes sense that a
target would specify BOTH sensors to allow flexibility in manufacturing.
2021-08-10 21:09:34 +02:00
Dominic Clifton 46c62cfcf2 ICM42688P - Initial sensor support based on ICM42605 driver. 2021-08-10 21:09:34 +02:00
Dominic Clifton dd3f2a1448 RTC6705SOFTSPI - Fix null pointer de-reference caused by
87c8847c13
2021-08-10 15:43:41 +02:00
Michael Keller 8ca4fdc586
Merge pull request #10865 from mikeller/change_spi_dma_owner_naming 2021-08-11 00:00:29 +12:00
Dominic Clifton 5f4a49c08f Fix memory corruption caused by MSP_BOXNAMES buffer overflow. 2021-08-10 12:05:02 +02:00
Michael Keller 118c2cc57c
Merge pull request #10894 from atomgomba/feature/log-motor-pole-count 2021-08-10 16:23:24 +12:00
Michael Keller b83bc86713 Rearranged flash on targets >512 kB to keep first sector from overflowing. 2021-08-09 10:06:27 +12:00
Michael Keller 9705f9f77e
Merge pull request #10882 from mikeller/fix_bitbanged_dshot_comment
Fixed comment in bitbanged Dshot code.
2021-08-09 03:13:03 +12:00
Michael Keller 6fa7b79a3a
Merge pull request #10893 from ctzsnooze/bugfix-for-feedforward-when-ADC-is-ON 2021-08-09 00:05:27 +12:00
Kiripolszky Károly 611a92b8a9 Add motorPoleCount to log headers 2021-08-08 12:00:30 +02:00
ctzsnooze 91191f4b62 stop feedback in feedforward, and improve noise, when Tx ADC filter is enabled 2021-08-07 22:53:43 +10:00
Michael Keller 55f2be55f6
Merge pull request #10765 from cruwaller/pr-fix-vcp-baudrate-change 2021-08-05 23:31:18 +12:00
Michael Keller c7302ea09d Fixed missing include in SITL file. 2021-08-04 21:46:04 +12:00
Asizon 775e00e133 Fix non working Frsky OSD
Fix declaration

Add comment
2021-08-04 07:33:27 +02:00
Michael Keller 8570c54c11 Fixed the 'make pre-push' build on MacOS. 2021-08-04 17:29:51 +12:00
Michael Keller 034904cd17
Merge pull request #10876 from klutvott123/fix-crsf-unit-test
Fix crsf unit test
2021-08-04 17:18:01 +12:00
Michael Keller 6aa40c1272
Merge pull request #10805 from ctzsnooze/feedforward-fix-at-centre-and-renaming 2021-08-04 12:59:41 +12:00
Michael Keller 8d98464146
Merge pull request #10884 from TheIsotopes/patch-1 2021-08-04 12:45:00 +12:00
TheIsotopes 9d348351b3
fix forgotten entry in #10863
merge of #10863 breaks the building off all targets ... this PR will fix this
2021-08-03 16:43:18 +02:00
Michael Keller 8a18651319
Merge pull request #10863 from mikeller/add_n_channel_to_timer_show 2021-08-04 01:43:30 +12:00
Michael Keller b27605c247
Merge pull request #10864 from mikeller/disable_bidirectional_dshot_for_n_channels
Added check to disable bidirectional Dshot when N-channel timers are used.
2021-08-04 01:42:55 +12:00
Michael Keller b613cc2a7d
Merge pull request #10781 from ctzsnooze/fix-error-horizon-code 2021-08-04 01:37:28 +12:00
ctzsnooze 45ff9ea1e5 fixes for feedforward for 4.3 2021-08-03 23:32:34 +10:00
Michael Keller a527d34409
Merge pull request #10847 from knoopx/fix-linking-no-gps
fix: linking error when USE_GPS is undefined
2021-08-04 01:25:36 +12:00
Michael Keller 547f874cfd
Merge pull request #10841 from ctzsnooze/Default-yaw-lowpass-to-100Hz
Default yaw lowpass to 100hz
2021-08-04 01:24:55 +12:00
Michael Keller 4019ee5130
Merge pull request #10848 from knoopx/fix-compile-no-feedforward
fix: compile error when USE_FEEDFORWARD is undefined
2021-08-04 00:59:31 +12:00
Michael Keller a9e21e172d
Merge pull request #10860 from ctzsnooze/fix-feedforward-when-fpv_mix_degrees-is-active 2021-08-04 00:58:51 +12:00
Michael Keller d129a9dc2b Fixed comment in bitbanged Dshot code. 2021-08-04 00:53:58 +12:00
Michael Keller 86a0e3cd2c
Merge pull request #10875 from hydra/bf-fix-bitbang-dshot 2021-08-04 00:52:06 +12:00
Michael Keller 1bfe0a3694
Merge pull request #10867 from SteveCEvans/flash_id 2021-08-04 00:21:25 +12:00
Michael Keller e34c8bd7af
Merge pull request #10869 from SteveCEvans/max7456clk 2021-08-04 00:18:27 +12:00
Dominic Clifton 1d65ac14a4 STM32H7 - Fix SPI5 DMA RX mapping.
TX was erroneously listed twice.  See RM068
2021-08-02 17:21:17 +02:00
Hans Christian Olaussen 6dfb0de636 Fix crsf unit test 2021-07-31 22:00:00 +02:00
Dominic Clifton f3bda6a4a1 Fix no motor outputs when bi-directional dshot is disabled (the
default).

The issue is that the DMA is never enabled, and thus the DMA IRQ handler
was never called either.
2021-07-30 22:44:53 +02:00
Dominic Clifton 41109e52aa Fix no output when DSHOT BITBANG on H7 targets without an SD card.
Initially only the SD card buffer used the DMA RW AXI section, but now
the code enabled by `USE_DSHOT_CACHE_MGMT` uses it too.

Both the `DMA_RAM` and `DMA_RW_AXI` are only defined when `USE_DMA_RAM`
is used. So adding gating on `USE_DMA_RAM`.
# Conflicts:
#	src/main/drivers/memprot_stm32h7xx.c
2021-07-30 22:44:32 +02:00
J Blackman 1957c6c881
Merge pull request #10725 from TonyBlit/snr_fix
Crossfire RSNR used for RSSI calculation
2021-07-29 21:28:10 +10:00
Steve Evans 37f01a4a41 Determine valid SPI clock if USE_OVERCLOCK is not defined 2021-07-28 19:49:03 +01:00
Steve Evans f226fe7c5c Fix chipID decode 2021-07-28 18:04:22 +01:00
Michael Keller 4d79c0fbd2 Rename timer functions to make them easier to understand. 2021-07-28 01:01:46 +12:00
Michael Keller f4d840f5f8 Changed naming of SPI DMA resources to reflect the SPI bus number. 2021-07-28 00:55:55 +12:00
Michael Keller 1d555a6297 Added check to disable bidirectional Dshot when N-channel timers are used. 2021-07-28 00:23:30 +12:00
Michael Keller 9eda7b4735 Added indication for N-channel timers to 'resource show all'. 2021-07-27 18:35:13 +12:00
Wouter van der Put 3db1151ce7
Fix typo in comment 2021-07-26 10:24:12 +02:00
ctzsnooze 15a60b9e1f allow feedforward in level modes 2021-07-26 15:29:25 +10:00
ctzsnooze 271bcf9d55 fix feedforward when fpv camera angle set 2021-07-26 14:53:56 +10:00
Michael Keller 864cf3f3b4
Merge pull request #10525 from SteveCEvans/bb_dma 2021-07-26 13:18:30 +12:00
Steve Evans 432b80167f Added non-blocking SPI DMA support for access to FLASH for BB 2021-07-25 23:58:46 +01:00