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

36 commits

Author SHA1 Message Date
Michael Keller
f3a95efa38 Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDE… (#8506)
Fixed build if none of USE_DSHOT, USE_LED_STRIP, USE_TRANSPONDER are defined.
2019-07-01 01:46:58 +12:00
mikeller
f8103b8c86 Added DMA mapping (readonly for now), and enabled timer management for all F4 boards.
Converting the universal target as well.

Simplified timer management some.

Added F722 support for good measuer.

Fixed SITL, tests.

Cleanup after rebase.

Added support for all timer consumers and F7.

Fixed 'USE_DMA_SPEC' for F3, some cleanups.
2019-02-28 00:25:43 +13:00
jflyper
46bdcac9d7 Fix DEF_TIM_DMA_COND to include a leading comma inside usage 2018-10-09 00:56:20 +09:00
jflyper
6ae6fe8a68 F7 TIM8_CH1,2,3 dmaopt ordering to match that of F4 2018-08-31 23:31:38 +09:00
mikeller
2feae20c32 Replaced instances of '#include <platform.h>' with '#include "platform.h"'. 2018-05-24 23:46:19 +12:00
blckmn
e5031407a6 Configurable timers 2018-05-06 12:00:31 +10:00
blckmn
a9f74cd6df Removed excess trailing spaces before new lines on licenses. 2018-04-25 20:58:00 +10:00
blckmn
d6f2cb9b41 Manual updates 2018-04-22 10:10:57 +10:00
DieHertz
a89409a26a Added TIM_UP + burst DMA -based DSHOT to F3 2017-12-28 16:26:24 +03:00
jflyper
759e03c47e F4 Dshot-DMAR initial working version 2017-12-26 10:18:52 +09:00
jflyper
db014752d7 Convert TRANSPONDER to USE_xxx scheme 2017-12-11 02:49:00 +09:00
mikeller
b78d8ad83e Converted more 'feature' type defines to use the 'USE_<x>' convention: LED_STRIP TARGET_CONFIG BRUSHED_ESC_AUTODETECT SERIAL_RX TELEMETRY TELEMETRY_CRSF TELEMETRY_FRSKY TELEMETRY_HOTT TELEMETRY_IBUS TELEMETRY_JETIEXBUS TELEMETRY_LTM TELEMETRY_MAVLINK TELEMETRY_SMARTPORT TELEMETRY_SRXL TELEMETRY_NRF24_LTM TELEMETRY_LTM SPEKTRUM_BIND NAV BUTTONS 2017-11-07 18:49:12 +13:00
Sami Korhonen
f8469ae40e TIM_UP 2017-11-02 16:32:50 +02:00
e.vladisenko
0e57580a76 Fix misprint in "timer_def.h" for PA14 pin. 2017-10-07 12:28:23 +03:00
Sami Korhonen
1456447e2e Refix F7 timerdef 2017-05-06 08:44:44 +03:00
Petr Ledvina
3171fa27ce Simplify timer definitions 2017-04-30 08:47:30 +10:00
mikeller
2e0b7362d3 Fixed timer to pin assignments for F7. 2017-04-24 03:41:11 +12:00
Sami Korhonen
33926aef63 F7 timer dma def bugfix and cleanup 2017-04-12 18:08:53 +03:00
Hydra
2ec39de031 CF/BF - Fix compilation of transponder when not using DHSOT or LED_STRIP 2017-04-12 00:37:23 +01:00
Hydra
5a59013a46 CF/BF - Fix STM32F4 DMA mappings for TIM8_CH2.
For Tim8Ch2, it should be
0: DMA2_ST3/DMA_Channel_0
1: DMA2_ST2/DMA_Channel_7

https://github.com/cleanflight/cleanflight/pull/2683#discussion_r109164830

See DM00031020 STM32F405xx Reference Manual page 309.

Thanks @ledvinap and @McGiverGim
2017-04-02 09:03:01 +01:00
Dominic Clifton
88f55d51c9 Merge pull request #2677 from McGiverGim/fix-compile-issues-deactivating-led-strip
Fix compile issues deactivating led strip
2017-03-30 13:34:21 +13:00
borisbstyle
d51bafbe80 Fix DSHOT on SIRINFPV 2017-01-09 14:40:48 +01:00
borisbstyle
083c9c4e87 IMPULSERCF3 Ledstrip fix 2017-01-08 23:59:51 +01:00
Michael Jakob
6d76f49e67 AlienFlight F3/F4 DSHOT timer updates 2016-12-15 19:39:34 +01:00
Sami Korhonen
e554cc9844 Add DEFTIM for F7, fix F4 TIM4 DMA bug 2016-12-11 13:20:39 +02:00
blckmn
9451d4b30d Enabled DSHOT for F3 and F4 by default. 2016-11-13 19:08:22 +11:00
blckmn
71193681f6 Timer DMA definitions incorrect for TIM5, and moving led to PB0 on BlueJayF4 (motor 5 as default) 2016-11-12 07:28:44 +11:00
blckmn
9519282932 Corrected BlueJayF4 dma following DEF_TIM introduction.
Also
- moved LED_STRIP to motor output 6, (PB0)
- added N channels for F4 in timer_def.h
2016-11-12 07:28:44 +11:00
blckmn
e393d61116 Fixed errors on KAKUTEF4 target
Added definitions for TIM8_CH3 alternative DMA in timer_def.h (F4)
Renamed KAKUTEF4 target directory (removing version - use HW REV, not target name)
Fixed signed versus unsigned warning in serial_cli.c
2016-11-12 06:39:20 +11:00
Martin Budden
19901730fc Removed trailing spaces from device drivers 2016-11-11 08:11:48 +00:00
borisbstyle
6aca7cfb0e Add DSHOT to IMPULSERCF3 (tested) 2016-11-10 00:37:05 +01:00
borisbstyle
9f79dcc10a Fix TIM inversion issue 2016-11-09 21:29:07 +01:00
borisbstyle
f35afc4586 Remap to new timer mapping macro 2016-11-09 11:26:02 +01:00
blckmn
9df456cbd7 Using defines from @boris.b. for remapping F3 T16 and 17 2016-11-09 17:40:01 +11:00
blckmn
97a83abab3 Added more targets for DSHOT 2016-11-09 17:13:00 +11:00
blckmn
2cacc96710 Rename file, and fix F3 support.
Added DSHOT support to DOGE (requires testing)
2016-11-09 16:31:36 +11:00
Renamed from src/main/drivers/tim_def.h (Browse further)