-
-
Notifications
You must be signed in to change notification settings - Fork 345
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
chores(flysky): separate AFHDS2A and AFHDS3 into 2 different module type #3783
Conversation
e4337b4
to
b9b084c
Compare
@philmoz @richardclli may I outsource separating the @elecpower may I also outsource the Companion changes to you? I believe the focus is probably on the YAML conversion here. The conversion is basically from |
@pfeerick should we add the |
Accepted. After I finish merging pots and sliders config into pots config with all the necessary conversions for old and new settings which I am about half way thru fixing. |
Yup, sounds like a good time to do it... want me to add/swap the bits to build_gh and actions? This probably also makes life a bit easier with Companion as then we can start supporting the AFHDS2A and AFHDS3 specific options, which lines up nicely with my "want" for EL18 to get Companion support this cycle :) |
I think that's all the "generic" bits. I also made a slight change to the order of tests - as I've found the x9dp2019 is the most likely B&W radio to implode if something goes wrong (partly as it probably has the most stuff turned on / hence also the least free space), so moved it to the top so it either passes or fails quicker. TX16S is probably the most representational horizontal LCD, and then the nl14/el18 for portrait LCD... I don't really think we need to do both for the tests post this PR, but probably should do until it's finished, since the tests will break the builds quicker? |
Companion base work done. Will move on to testing NV14 by comparing with its libsim. |
There is zero support for EL18 in Companion at present, hence my earlier comment. Working on #3247 is on my 2.10 wish-list 😁 Can 100% drop any bin import for EL18 as it is post yml, and I'm 99% sure of the top of my head NV14 is also, so it's probably something from the flysky fork of NV14 which we don't support migrating from anyway, so IMO it can all go bye bye and make life simplier. |
What no grovel 😉 |
It was implied 🤣 |
The nv14 libsim crashes in:
Does not crash in main branch so will wait for it to be fixed before mirroring the ui in Companion. |
@elecpower potentially this was caused by |
@raphaelcoeffic that fixed the crash, thanks |
854af38
to
699d406
Compare
Tested with #3807 |
I started working on the firmware UI changes. NV14 working ok; but I'm a bit stuck without companion support for EL18. |
Let me take a look first, work on the same branch with you? |
PR #3861 separates the UI settings pages for AFHDS2A and AFHDS3. |
Fix 'Channel Range' layout on portrait LCD.
c90ba32
to
dd5c968
Compare
Let me know your thoughts on this one @philmoz :) |
It seems ok to me. I've used this when building for EL18 and the radio binds and works with the AFHDS3 receiver. Can't test the NV14 / AFHDS2A side though. |
Thanks. I'll try the NV14 side out then, and just give the EL18 a look over. |
NV14 seems to be working both prior to and post this PR with no major issues - receiver still working fine, settings read and wrote fine on radio, and settings also survived Companion sync unscathed. I was going to try the FRM303 with TX16S but it wouldn't cooperate on 2.9.0 (or this PR) so I need to see why the mod to support the module isn't working. |
Fixes #836
This should allow to remove some of the hacks added earlier.