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

13557 commits

Author SHA1 Message Date
Dominic Clifton
e2615fdc8c Debug - Ensure pins used for debugging are reserved correctly.
Previously the pins were initialised outside of `init` via the dshot
code, not that debug pins are initialised earlier they must be reserved
so that unusedPinsInit() doesn't undo the GPIO configuration.
2021-08-18 15:37:54 +02:00
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
add05864bf
Merge pull request #10890 from mikeller/rearrange_flash 2021-08-17 00:44:24 +12:00
Hugo Chiang
344bfbc5f6
Update src/main/drivers/barometer/barometer_bmp085.c
Co-authored-by: haslinghuis <mark@numloq.nl>
2021-08-16 18:45:49 +08:00
DusKing1
73c87c0593 fix typos in code comments in common folder 2021-08-16 15:06:07 +08:00
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
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
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
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