Skip to content
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

Ghost MSP support #11242

Merged
merged 1 commit into from Sep 2, 2022
Merged

Ghost MSP support #11242

merged 1 commit into from Sep 2, 2022

Conversation

daleckystepan
Copy link
Member

@daleckystepan daleckystepan commented Jan 7, 2022

Add MSP support for Ghost

Need new Ghost FW v1.0.6.0+

ETX: EdgeTX/edgetx#1377
LUA: betaflight/betaflight-tx-lua-scripts#419

Thanks to @klutvott123 for helping me
FYI: @TheIsotopes @tonycake

@TheIsotopes
Copy link
Contributor

@daleckystepan The only thing i missing is the public beta of Ghost FW 1.0.6.0 and also the support for OpenTX, then I could test this too.

@TheIsotopes
Copy link
Contributor

TheIsotopes commented Jan 11, 2022

deleted -> all clarified on discord.

@TheIsotopes
Copy link
Contributor

@daleckystepan am not up to date. is there anything new or is this pr still up to date?
today i was flying again, used rc3 with this pr and everything is going great.

@daleckystepan
Copy link
Member Author

@TheIsotopes nothing new. Only rebase.

@blckmn
Copy link
Member

blckmn commented Apr 21, 2022

AUTOMERGE: (FAIL)

  • github identifies PR as mergeable -> FAIL
  • assigned to a milestone -> PASS
  • cooling off period lapsed -> PASS
  • commit count less or equal to three -> PASS
  • Don't merge label NOT found -> PASS
  • at least one RN: label found -> PASS
  • Tested label found -> FAIL
  • assigned to an approver -> PASS
  • approver count at least three -> PASS

@TheIsotopes
Copy link
Contributor

@daleckystepan Didn't think it would take so long with the 4.3 release.
It would have been nice if the Ghost modifications had been included.

@TheIsotopes
Copy link
Contributor

@daleckystepan @tonycake Any news when this PR will merged?

@sugaarK
Copy link
Member

sugaarK commented Jul 11, 2022

@daleckystepan @tonycake Any news when this PR will merged?

When we get some testing direction from @tonycake

@daleckystepan
Copy link
Member Author

I am waiting for green light from Tony.

@TheIsotopes
Copy link
Contributor

TheIsotopes commented Jul 21, 2022

@daleckystepan @tonycake has anything new come up?
it would be nice if it was merged.

@github-actions

This comment has been minimized.

@TheIsotopes
Copy link
Contributor

again two weeks have passed. :-(

@tonycake @daleckystepan Something new?
it would be nice if this finally got merged.

@sugaarK
Copy link
Member

sugaarK commented Aug 6, 2022

again two weeks have passed. :-(

@tonycake @daleckystepan Something new? it would be nice if this finally got merged.

Happy to merge it when @tonycake gives us the green light.. hunt him down and see what’s up

@github-actions
Copy link

Do you want to test this code? Here you have an automated build:
Assets
WARNING: It may be unstable. Use only for testing! See: https://www.youtube.com/watch?v=I1uN9CN30gw for instructions for unified targets!

@daleckystepan
Copy link
Member Author

daleckystepan commented Aug 15, 2022

We have a green light from @tonycake after additional testing. So please retest, review and we are ready to go if there are no issues.

If you are experiencing any issue, please fill:

  • ETX version
  • Ghost TX, RX and their FW version
  • BF version (hopefully this PR CI builds)

sbufWriteU8(dst, GHST_PAYLOAD_SIZE + GHST_FRAME_LENGTH_CRC + GHST_FRAME_LENGTH_TYPE); // lenght
sbufWriteU8(dst, GHST_DL_MSP_RESP); // type
sbufWriteData(dst, payload, payloadSize); // payload
for(int i = 0; i < GHST_PAYLOAD_SIZE - payloadSize; ++i) { // payload fill zeroes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
for(int i = 0; i < GHST_PAYLOAD_SIZE - payloadSize; ++i) { // payload fill zeroes
for (int i = 0; i < GHST_PAYLOAD_SIZE - payloadSize; ++i) { // payload fill zeroes

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daleckystepan please fix as we like to merge this PR.

Copy link
Contributor

@TheIsotopes TheIsotopes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works just as well as it did a few months ago. ready to merge.

Copy link
Contributor

@howels howels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this has been tested extensively and we have the ok from Ghost vendor now. Suggest merging before this becomes stale.

@haslinghuis haslinghuis moved this from Firmware to Ready to merge in Finalizing Firmware 4.4 Release Aug 31, 2022
sbufWriteU8(dst, GHST_PAYLOAD_SIZE + GHST_FRAME_LENGTH_CRC + GHST_FRAME_LENGTH_TYPE); // lenght
sbufWriteU8(dst, GHST_DL_MSP_RESP); // type
sbufWriteData(dst, payload, payloadSize); // payload
for(int i = 0; i < GHST_PAYLOAD_SIZE - payloadSize; ++i) { // payload fill zeroes
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@daleckystepan please fix as we like to merge this PR.

Copy link
Member

@haslinghuis haslinghuis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can fix the missing space later

@TheIsotopes
Copy link
Contributor

Please remember to merge the betaflight/betaflight-tx-lua-scripts#419 with it at the same time.

@haslinghuis haslinghuis merged commit 0cab176 into betaflight:master Sep 2, 2022
Finalizing Firmware 4.4 Release automation moved this from Ready to merge to Closed Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

9 participants