Bug #11392
closedAdd IJV 3.x module for Quansheng UV K5
0%
Description
Hello,
I'm on nixos: can you add the attached module from https://www.universirius.com/preppers/quansheng-uv-k5-manuale-del-firmware-ijv_v3/ to be able to program the Quansheng UV K5 ?
Files
Updated by Matteo Fabbroni 5 months ago
- File uvk5_IJV_vX3_48.py uvk5_IJV_vX3_48.py added
Updated by Dan Smith 5 months ago
- Status changed from New to Rejected
Hi,
No, we can't just include that module. CHIRP already supports the UV-K5 with multiple firmware variants. That module just duplicates almost all of the existing driver, does not contain fixes and changes that have been made since it forked off, and does not follow the coding style conventions of the rest of the code. Just including it creates a maintenance nightmare for this project.
Someone interested in having that variant supported natively in CHIRP is welcome to subclass the existing base driver and create a variant that avoids the duplication. Example here:
https://github.com/kk7ds/chirp/blob/master/chirp/drivers/uvk5_egzumer.py
I will be glad to help and review such an effort, but that's the only path forward.