-
Notifications
You must be signed in to change notification settings - Fork 14.6k
[Sponsored by Holybro] Support for Kakute H743-Wing #24669
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
Conversation
b801c6f
to
c69eda1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@julianoes Nice!
821db5e
to
59ae5d4
Compare
655e539
to
0eb0e7a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let merge as is to keep risk low.
The CCMR1_PPM define for PPM input on channel 2 was incorrectly set to 2, which was setting bits for channel 1 instead of channel 2. This prevented PPM input from functioning properly on channel 2. Changed CCMR1_PPM for channel 2 from 2 to (1 << 8), which correctly configures the CC2S bits for input capture mode on TI2. This fixes an issue noted in the existing code comment: "FIXME! There is an interaction in the CCMR registers that prevents using Chan 1 as the timer and chan 2 as the PPM" Tested on STM32H743 with PPM input on PC7 (TIM8_CH2).
By setting RC_SERIAL_PORT_SHARED_PPM_PIN_GPIO_RX it is now possible to use the same pin on the STM32 for PPM input as well as serial input.
No flaws found |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do you need to reserve the board ID in https://github.com/PX4/PX4-Bootloader?
That's a good point @dakejahl. I thought it would already be there because the board has been sold for a while, and has ArduPilot support already, so I was assuming it's already there. Let me make sure it'll get added. |
Hmm so Ardupilot is maintaining their own list. Seems like the PX4-Bootloader repo hasn't seen much activity in comparison. |
Given they have so many boards on there, I understand it. However, it would be nice if it was some common/upstream thing. Or at least if there was some mechanism to avoid conflicts. |
Don't forget the docs! |
This adds support for the Holybro Kakute H743-Wing (https://holybro.com/products/kakute-h743-wing).
Current status:
Input captureDepends on #24668.FYI @vincentpoont2