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
Bruce Luckcuck
9d7af42e9f
Add CMS entry for motor_output_limit
...
Will assist tuning while at the field. Added under PROFILE -> MISC PP.
2019-02-04 10:55:24 +13:00
Thorsten Laux
7859e6d540
Add dshot command queue and limit max notch filter frequency
2019-01-12 12:25:30 +01:00
Thorsten Laux
816da6cbf5
Dshot erpm telemetry on the signal line
2019-01-03 14:42:52 +01:00
mikeller
c684547984
Cleaned up Dshot defines.
2018-12-25 00:55:26 +13:00
mikeller
d49948f1fd
Stop Dshot commands from running when ESCs not disarmed.
2018-06-17 00:37:57 +12:00
Bryce Johnson
0045b36320
Added blocked dshot commands, Added post command delay
...
Moved the dshotcommand to happen in pwm_output_dshot.
Simplified the timing and repeats to happen on a group basis instead works better for dshotburst
2018-06-01 21:56:11 +12:00
blckmn
a9f74cd6df
Removed excess trailing spaces before new lines on licenses.
2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd
Direct license replacement
2018-04-22 09:22:46 +10:00
Andrey Mironov
bf984f39b1
F7 optimizations ( #5674 )
...
* Revert "Revert "Rewritten F7 dshot to LL (draft)" (#5430 )"
This reverts commit aa42a69d2f
.
* Reworked F7 linker scripts to maximize performance of both F74x and F72x
* Some comments and changes from original F7 HAL DSHOT
* Prohibit inlining of some functions to place them in ITCM-RAM
* Fixed usartTargetConfigure implicit declaration
* Moved back to SRAM1 as main RAM
* Added SRAM2 attribute
* Fixed LL DSHOT FOR SPRF7DUAL and probably other adv TIM users
* Fixed SPRF7DUAL rev. A motor order
* Enabled CCM for data on F40x
* Fixed F7 startup assembly symbols
* Fixed KISSFCV2F7 linker script
* Added a quick way of building F7 targets only
* Got rid of the useless F7 target script
* Added NOINLINE and got rid of useless __APPLE__ define
* Added some important functions to ITCM
* Added NOINLINE macro for tests
* Copy to ITCM before passing execution into it
* Minimized cache footprint of motor output code
* Evicted low-impact functions from ITCM
* Switched MATEKF722 and SPRACINGF7DUAL to burst DSHOT
* Switched CLRACINGF7 to burst DSHOT
* Moved UART RX&TX buffers to DTCM-RAM to avoid cache incoherency
* Marked taskMainPidLoop for ITCM-RAM, disallowed inlining per-function
* Revert "Added a quick way of building F7 targets only"
This reverts commit 2294518998
.
2018-04-20 08:37:32 +12:00
jflyper
416495e17a
Convert BEEPER to USE_ scheme ( #5433 )
2018-03-11 09:28:08 +13:00
Dominic Clifton
aa42a69d2f
Revert "Rewritten F7 dshot to LL (draft)" ( #5430 )
...
This reverts commit fa3c7e0833
.
2018-03-09 23:39:04 +03:00
Michael Keller
9bcc6aca8e
Revert "BEEPER Conversion to use USE_ scheme" ( #5368 )
2018-03-04 09:40:17 +13:00
jflyper
bf11921dc0
Merge pull request #5285 from jflyper/bfdev-convert-beeper-to-USE_-scheme
...
BEEPER Conversion to use USE_ scheme
2018-03-03 23:22:56 +09:00
jflyper
dedad2f920
Merge pull request #5237 from DieHertz/dshot-f7-low-level-rewrite
...
F7 DSHOT LL rewrite
2018-03-03 18:26:48 +09:00
jflyper
ea0db878bf
Convert to USE_ scheme
2018-03-02 22:29:40 +09:00
Andrey Mironov
250d2965c2
Fixed F3 burst DSHOT
2018-02-20 09:12:56 +03:00
Andrey Mironov
fa3c7e0833
Rewritten F7 dshot to LL (draft)
2018-02-20 00:49:10 +03:00
mikeller
7192e9de19
Fixed parameter group violations in motorDevConfig_t
, incremented EEPROM config version before 3.3.0 release.
2018-02-15 18:25:28 +13:00
jflyper
9475988218
Make burst and non-burst runtime configurable
2018-02-11 23:24:07 +09:00
DieHertz
a89409a26a
Added TIM_UP + burst DMA -based DSHOT to F3
2017-12-28 16:26:24 +03:00
jflyper
9f04705130
Use striding loadDmaBuffer to avoid buffer copy
2017-12-26 18:17:32 +09:00
jflyper
759e03c47e
F4 Dshot-DMAR initial working version
2017-12-26 10:18:52 +09:00
Martin Budden
5924eb83cf
Reserve DSHOT commands
2017-11-19 13:14:58 +00:00
Sami Korhonen
f8469ae40e
TIM_UP
2017-11-02 16:32:50 +02:00
Sami Korhonen
fa6112e1b8
F7 Dshot hack
2017-10-15 10:08:41 +03:00
Michael Keller
624e9b64b5
Merge pull request #3938 from mikeller/fix_dshot_command_all_motors
...
Enable only DMA for channels that are used.
2017-10-10 00:35:24 +13:00
mikeller
8ff2c9ba95
Renamed 'DSHOT_CMD_BEEPx' to 'DSHOT_CMD_BEACONx', made beacon tone
...
configurable.
2017-09-19 23:24:24 +12:00
mikeller
f7c66869e8
Added support for decoding BLHeli32 ESC info.
2017-08-29 18:29:05 +12:00
mikeller
05a8141139
Enable only DMA for channels that are used.
2017-08-25 16:12:52 +12:00
mikeller
91ffa4b88c
Fixed Dshot command sending to all motors.
2017-08-23 01:59:34 +12:00
Martin Budden
8dd4a584c1
Fixed whitespace
2017-08-17 08:32:37 +01:00
Michael Keller
a9da874d83
Fixed naming of function prototypes in 'pwm_output.h'.
2017-07-31 18:38:23 +08:00
Martin Budden
554bd1257d
Reduced MAX_SUPPORTED_MOTORS from 12 to 8
2017-07-29 21:28:54 +01:00
Michael Keller
dcc600a78b
Merge pull request #2727 from DieHertz/camera-control
...
Camera OSD control
2017-07-18 06:47:57 +08:00
Faduf
1f809048df
remove beeper dependency in pwm output
2017-07-16 09:45:02 +02:00
DieHertz
cc358dc405
Implemented Camera Control using Hardware and Software PWM
2017-07-16 02:23:31 +03:00
Faduf
d6b9350c74
Add specific configuration depending on hardware revisions of the YupiF4
2017-07-15 19:41:48 +02:00
mikeller
dec6cca1a5
Update Dshot command spec to reflect recent changes.
2017-07-11 22:15:46 +12:00
Martin Budden
87ae1616d6
Further better use of pwmAreMotorsEnabled
2017-07-06 08:55:26 +01:00
Martin Budden
3cdbaaf14d
Remove duplication in motor enable/disable
2017-07-06 08:55:26 +01:00
blckmn
06ad65a2f6
Minor cleanup
2017-06-29 11:19:04 +10:00
blckmn
b9ebf8f4fd
PWM output calculations dynamic based on clock speed
2017-06-28 21:59:42 +10:00
Michael Keller
779823fb79
Cleaned up Dshot naming, containment.
2017-06-25 18:20:29 +12:00
mikeller
76869eb3dd
Changed function pointer semantics.
2017-06-21 00:38:01 +12:00
mikeller
559079ff31
Fixup Dshot / Proshot implementation.
2017-06-21 00:12:01 +12:00
borisbstyle
b21877438e
Convert motor values at the final stage // Increase resolution
2017-06-19 09:51:17 +02:00
borisbstyle
9a4e93fa60
Merge pull request #3162 from TonyBazz/master
...
ProShot Implementation
2017-06-19 07:57:02 +02:00
mikeller
7c14c49701
Changed 'pwmWriteDshotCommand' to use switch for better readability.
2017-06-18 15:51:03 +12:00
Bryce Johnson
13e21c969e
Added Dshot commands for reversing the motors and beeper for blheli_s
2017-06-14 12:34:36 -05:00