-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
Rationalise module size handling #3624
Conversation
Hi, good idea! radio/src/targets/taranis/hal.h line 1780: think you accidentally removed a character at the end of the comment. PD.0 -> PD.08 |
LemonRX DSMP is indeed only JR Micro only form factor AFAIK. And I only knew of DSM2 modules in same form factor, but I've not actively followed the Nano form factor. A second part of the Nano assumption is that XJT Lite and R9M Lite (I don't know about the R9M Pro) will NOT work with any JR Micro adapter that I know of due to the use of the extra UART pins for ACCESS. I don't know of any Nano to JR Micro adapter that can work with that ;) |
I think all comment so far taken into account |
@3djc do you want me to knock up a Companion side PR? |
That would be really cool, but I think it should really be two options (standard/JR and small) where you can tick none, one or both. If that can help, I can do a complete list of radio with their default |
I assumed the choices would be mutually exclusive and thus the list. Also tick boxes might be a bit confusing to newbies and prone to being changed without understanding consequences. This choice is per radio profile so you can have multiple profiles for say a TX16S with different external modules. Why not a list of None, JR, Small, Custom? IMO Standard implies factory supplied thus why I propose JR without Standard otherwise some may change Small to JR/Standard assuming the default is wrong and then cannot understand why their protocol is missing when configuring a model.
That would be very helpful, thanks. |
A list with none/std/small/both would work too. Yes, like many other choices, that break things when wrong :(. I think 99.9% of users will use default, hence that choice can (should ?) be a bit hidden ;)
Will do the list, and update my PR because this discussion reminds me that no module means HARDWARE_EXTERNALM_MODULE needs to be undefined :) All colorlcd (but EL18 bellow): Standard |
Thanks for the list |
9ce959c
to
dc8813e
Compare
bf78a7b
to
c2788a7
Compare
I just noticed in the list at #3624 (comment) that the x9d+2019 is listed as having a small module, when in fact it has a JR Micro / Standard module bay. Working on the assumption that this was a mistake, I've changed that - just change it back if it was done due to an edge case or something. edit: As a site note, it would be nice to be able to filter the UI list even tighter... i.e. can the TX12MK2 even drive a R9M ACCESS module? Same applies for some other radios/form factors. |
Sorry my bad
Yes it can, it needs a full uart, which it does have, but i'm gonna check how well (or not) it is actually handled |
Handling is right imho : edgetx/radio/src/gui/gui_common.cpp Line 911 in 8325f72
|
This attempt to clean a currently 'unclean' situation regarding external module size : depending on radio and/or module type, the list of available external module varies greatly, sometime without apparent logic.
This is built on the following assumptions:
The modules fall into 3 groups:
A) both : those are the module that exist both in JR or small size, and that are accssed by the radio in the exact same way. Those will appear by default in all radio. This includes:
CRSF/ELRS
MULTI
GHOST
PPM
SBUS
B) those existing only on JR size, and been showed by default only in radio with JR bay
XJT
R9M
R9M ACCESS
DSM2
Lemon DSMP
C) those existing only in small size, and been showed by default only in radio with small bay
XJT Lite
R9M Lite
R9M Pro