Create a bidirectional dshot lower-half driver, using the flexio block. This driver enables use of DShot protocol for Electronic Speed Controllers (ESCs) typically used in drone motor control. Eight channels of DShot per flexio block are supported in: - Normal mode in all DShot speeds, with telemetry request (uart response needs to be handled outside of this driver) - Bidirectional mode in all DShot speeds, with telemetry request & response - Configurable to use either independent TX timers for each channel, or to use a common TX timer for all channels to synchronize the output - For bidirectional RX, each channel always uses an own timer. In normal mode, the driver operates without any interrupts. In bidirectional mode, the driver reconfigures the FlexIO timers (as needed) and shifters from TX to RX in the interrupt handler, and reads out the raw response packet. Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).
For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.
Getting Started
First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.
Documentation
You can find the current NuttX documentation on the Documentation Page.
Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.
The old NuttX documentation is still available in the Apache wiki.
Supported Boards
NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.
Contributing
If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.
License
The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.
