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
Michael Keller
83a98f743c
Merge pull request #10705 from SteveCEvans/spi_dma_api
2021-07-25 13:26:04 +12:00
Steve Evans
87c8847c13
New SPI API supporting DMA
...
Call targetConfiguration() once before config is loaded and again afterwards in case the config needs to be changed to load from SD card etc
Drop SPI clock during binding
Remove debug
Add per device SPI DMA enable
Fix sdioPinConfigure() declaration warning
Reduce clock speed during SPI RX initialisation
2021-07-25 12:40:25 +12:00
Victor Martinez
452bf7b327
fix: linking error when USE_GPS is undefined
2021-07-21 13:20:25 +02:00
Victor Martinez
95eca6abdb
fix: compile error when USE_FEEDFORWARD is undefined
2021-07-21 13:20:02 +02:00
Victor Martinez
059e5a12fe
disable s.tuning DMIN RATIO when USE_D_MIN is undefined
2021-07-21 13:11:51 +02:00
Martin Luessi
c02957ed38
Fix TIM15_CH2 IO assignment
2021-07-19 15:13:51 -07:00
J Blackman
6d286e25f1
Merge pull request #10757 from KarateBrot/biquadCrossfeed
...
Add biquad crossfeeding + RPM filter fix
2021-07-18 13:31:20 +10:00
ctzsnooze
8b73c5242b
Default yaw lowpass to 100hz
2021-07-17 21:02:33 +10:00
Dominic Clifton
76459de83e
Fix UART/USART mismatch for USART10.
2021-07-02 12:52:31 +02:00
ctzsnooze
bfb8954a43
small bug in horizon code
2021-07-01 14:13:11 +10:00
Michael Keller
3d5a0e585c
Merge pull request #10791 from mikeller/add_stm32h743_unified_target
2021-06-28 11:12:31 +12:00
Michael Keller
33dd967736
Merge pull request #10755 from mikeller/add_parameter_group_reset_defaults
...
Added resetting to defaults for individual parameter groups.
2021-06-28 11:07:17 +12:00
KarateBrot
48f14686d5
Add biquad crossfading
...
+ RPM filter fix (oscillations on throttle chops)
2021-06-27 23:46:45 +02:00
Michael Keller
5549a906f6
Added a Unified Target for STM32H743.
2021-06-27 18:49:45 +12:00
Michael Keller
74739ab82f
Merge pull request #10767 from KarateBrot/dynamicFilter
2021-06-27 18:21:05 +12:00
DusKing1
969123f16e
Add support for Zbit ZB25Q128 flash
2021-06-23 11:45:24 +08:00
Štěpán Dalecký
c688c2bc8b
BV/BIT macro consolidation
2021-06-19 22:52:08 +02:00
Dmitry Grigoryev
2b936b2749
spelling fixes
2021-06-18 17:42:47 +02:00
KarateBrot
0d71c40077
Cleanup
2021-06-14 01:08:24 +02:00
Tony Cabello Miguel
f9e45b548c
small refactor
2021-06-13 11:48:54 +02:00
Tony Cabello Miguel
817191526a
Crossfire RSNR used for RSSI calculation
2021-06-13 11:48:54 +02:00
Michael Keller
9ae2fe6d69
Merge pull request #10790 from mikeller/fix_uart_bugs
...
Fixed bugs in UART configuration introduced by #10704 .
2021-06-13 18:20:38 +12:00
KarateBrot
009ce31de1
Use full machine word size to prevent range checks
2021-06-11 20:40:32 +02:00
KarateBrot
1ae31fd3d5
Dynamic notch bandwidth back to Q
...
+ simplified frequency estimation
2021-06-11 00:16:21 +02:00
Michael Keller
ae5aaa3c79
Fixed bugs in UART configuration introduced by #10704 .
2021-06-11 00:27:54 +12:00
Michael Keller
7c89b857ad
Merge pull request #10704 from hydra/bf-usart9-10-support
2021-06-08 14:19:16 +12:00
J Blackman
c84170fac3
Merge pull request #10776 from mikeller/fix_g4_h7_spi
...
Fixed SPI access for SD cards for STM32G4 and STM32H7.
2021-06-08 08:14:47 +10:00
JuliooCesarMDM
4071d7c311
refactore to 0 - 254
2021-06-06 19:16:04 -03:00
Michael Keller
bc79e600a3
Merge pull request #10730 from hydra/bf-sdcard-fixes-1
2021-06-04 01:23:04 +12:00
Michael Keller
897495d069
Merge pull request #10747 from SteveCEvans/usbd_msc_dma_mem
2021-06-03 10:12:06 +12:00
Michael Keller
7bf84b2a38
Fixed SPI access for SD cards for STM32G4 and STM32H7.
2021-05-30 15:52:52 +12:00
Dominic Clifton
e5a06beefc
Fix the RESET_FORCED case not being used and not being able to correctly
...
determine the reason for the reset when the reset is forced.
Before 31b06cd7d2
it was possible for
early init code to overwrite the reset reason, however this commit also
broke the code that allows the system, and developer, to determine the
reason for the reset when the reset was forced.
2021-05-27 12:58:38 +02:00
cruwaller
11a6f73e09
Fix: CRSFv3 uplink RSSI percentage scaling to match internal 0...1023 range
2021-05-27 11:23:53 +03:00