1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 08:45:36 +03:00
Commit graph

16859 commits

Author SHA1 Message Date
Dominic Clifton
49869fa2bb Debug - Initialise debug pins on startup, not as part of the dshot
bitbang code.
2021-08-18 15:37:54 +02:00
Dominic Clifton
04572eed13 Debug - Add macros for debug pins. 2021-08-18 10:39:05 +02:00
Dominic Clifton
29a00aa57a Debug - Add Debug pin to NucleoH743 target. 2021-08-18 10:33:05 +02:00
Dominic Clifton
13a0037b18 Debug - Separate pin config from runtime state/implementation details. 2021-08-18 10:25:54 +02:00
Dominic Clifton
8913458041 Debug - Add support for debug pins on H7. 2021-08-18 10:25:54 +02:00
Dominic Clifton
c04a6c9b67 Debug - Make dbgPins weak so that target.c files can define them. 2021-08-18 10:25:54 +02:00
Dominic Clifton
faa69d0aeb Debug - Fix dbgPinLo checking the first pin instead of the desired pin. 2021-08-18 10:25:40 +02:00
Michael Keller
8ca4fdc586
Merge pull request #10865 from mikeller/change_spi_dma_owner_naming 2021-08-11 00:00:29 +12: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
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
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
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
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
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
ctzsnooze
bfb8954a43 small bug in horizon code 2021-07-01 14:13:11 +10:00