-
Notifications
You must be signed in to change notification settings - Fork 13.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DShot module #12854
Add DShot module #12854
Commits on Oct 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 8874e89 - Browse repository at this point
Copy the full SHA 8874e89View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9532a63 - Browse repository at this point
Copy the full SHA 9532a63View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca1d68f - Browse repository at this point
Copy the full SHA ca1d68fView commit details -
Supports all DShot modes, but no telemetry yet. It includes the modes and capture configuration from FMU so that it serves as drop-in replacement.
Configuration menu - View commit details
-
Copy full SHA for f253ee0 - Browse repository at this point
Copy the full SHA f253ee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 929d49e - Browse repository at this point
Copy the full SHA 929d49eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 474840c - Browse repository at this point
Copy the full SHA 474840cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3c4b63 - Browse repository at this point
Copy the full SHA a3c4b63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 87fec4c - Browse repository at this point
Copy the full SHA 87fec4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10156f3 - Browse repository at this point
Copy the full SHA 10156f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78e9837 - Browse repository at this point
Copy the full SHA 78e9837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ff8193 - Browse repository at this point
Copy the full SHA 5ff8193View commit details -
dshot: move implementation to a separate directory & library
So that the static memory overhead is not added to targets w/o dshot
Configuration menu - View commit details
-
Copy full SHA for 2370c85 - Browse repository at this point
Copy the full SHA 2370c85View commit details -
Configuration menu - View commit details
-
Copy full SHA for df871ae - Browse repository at this point
Copy the full SHA df871aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for d3e718c - Browse repository at this point
Copy the full SHA d3e718cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb82d94 - Browse repository at this point
Copy the full SHA fb82d94View commit details -
dshot: add support to send commands via CLI
This enables the possibility to permanently reverse motor directions :)
Configuration menu - View commit details
-
Copy full SHA for 5e0b112 - Browse repository at this point
Copy the full SHA 5e0b112View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1407983 - Browse repository at this point
Copy the full SHA 1407983View commit details -
dshot: reduce static buffer size
And handle failures of up_dshot_init(). On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB. The buffer is roughly 1KB in size.
Configuration menu - View commit details
-
Copy full SHA for ac6de52 - Browse repository at this point
Copy the full SHA ac6de52View commit details -
dshot: check if DMA still in progress
No other functional change, just restructuring.
Configuration menu - View commit details
-
Copy full SHA for 343b5c7 - Browse repository at this point
Copy the full SHA 343b5c7View commit details -
dshot: update timer generation before DMA request
This reloads the timer configuration before triggering DMA. Without that, in rare cases, there were 17 bits sent instead of 16. The 1. bit (1. pulse) was always wrong (too much), the rest of the bits were the correct DShot packet that was meant to be sent.
Configuration menu - View commit details
-
Copy full SHA for 5da5586 - Browse repository at this point
Copy the full SHA 5da5586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 479cb6d - Browse repository at this point
Copy the full SHA 479cb6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3aa3943 - Browse repository at this point
Copy the full SHA 3aa3943View commit details -
Configuration menu - View commit details
-
Copy full SHA for 24bd023 - Browse repository at this point
Copy the full SHA 24bd023View commit details -
Configuration menu - View commit details
-
Copy full SHA for 940a224 - Browse repository at this point
Copy the full SHA 940a224View commit details -
But only on the first 4 FMU outputs, as the next ones conflict with px4io serial dma (UART8_RX) RX DMA is disabled on the GPS port as well (conflicts with TIM1).
Configuration menu - View commit details
-
Copy full SHA for e9cd447 - Browse repository at this point
Copy the full SHA e9cd447View commit details -
parameters: defer auto-saving to after disarming for flash-based params
This is especially important for DShot, that does not update when the CPU stalls.
Configuration menu - View commit details
-
Copy full SHA for 6b191aa - Browse repository at this point
Copy the full SHA 6b191aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69a5561 - Browse repository at this point
Copy the full SHA 69a5561View commit details