Go to file
2023-09-07 21:05:02 +01:00
.github/workflows Support for packed firmware. 2023-09-05 22:39:54 +01:00
app Renamed GetRegister for consistency. 2023-09-07 20:15:32 +01:00
bsp/dp32g030 Added missing AES driver. 2023-09-01 13:43:38 +01:00
driver Renamed GetRegister for consistency. 2023-09-07 20:15:32 +01:00
external
hardware/dp32g030 Added AES definition file. 2023-09-01 20:21:28 +01:00
helper Some fixes and improvements. 2023-09-04 01:15:42 +01:00
ui Renamed Index to Code. 2023-09-07 19:49:01 +01:00
.gitattributes Added .gitattributes file. 2023-08-23 00:37:35 +01:00
.gitignore
.gitmodules
audio.c Renamed GetRegister for consistency. 2023-09-07 20:15:32 +01:00
audio.h Fixed some missing beeps. 2023-09-02 16:57:57 +01:00
bitmaps.c Renamed a few FM things. 2023-08-28 01:07:07 +01:00
bitmaps.h Renamed a few FM things. 2023-08-28 01:07:07 +01:00
board.c Fixed mic sensitivity tuning. 2023-09-07 18:45:02 +01:00
board.h Added BOARD_FactoryReset. 2023-09-01 12:35:28 +01:00
compile-with-docker.sh
dcs.c Renamed Index to Code. 2023-09-07 19:49:01 +01:00
dcs.h Renamed Index to Code. 2023-09-07 19:49:01 +01:00
Dockerfile
dp32g030.cfg Fixed OpenOCD script to not trash the bootloader. 2023-09-01 14:44:11 +01:00
firmware.ld Revamped the overlay link with Manuel's help. 2023-09-01 19:20:08 +01:00
font.c Added missing 11th small digit. 2023-08-29 02:16:51 +01:00
font.h Added missing 11th small digit. 2023-08-29 02:16:51 +01:00
frequencies.c More cleanups. 2023-09-07 18:40:33 +01:00
frequencies.h Use signed values to fix the TX power bug. 2023-08-30 11:11:35 +01:00
functions.c Renamed CSS variables. 2023-09-07 19:57:40 +01:00
functions.h A few more renames. 2023-09-04 23:56:12 +01:00
fw-pack.py Support for packed firmware. 2023-09-05 22:39:54 +01:00
init.c Optimised BSS_Init. 2023-09-01 19:41:53 +01:00
LICENSE
main.c Some fixes and improvements. 2023-09-04 01:15:42 +01:00
Makefile Try python before python3. 2023-09-05 23:13:46 +01:00
misc.c Some more renames. 2023-09-07 13:34:13 +01:00
misc.h Some more renames. 2023-09-07 13:34:13 +01:00
printf_config.h
radio.c Renamed GetRegister for consistency. 2023-09-07 20:15:32 +01:00
radio.h Renamed CSS variables. 2023-09-07 19:57:40 +01:00
README.md Updated README. 2023-09-07 19:12:43 +01:00
scheduler.c Some more renames. 2023-09-07 13:34:13 +01:00
settings.c Deleted incorrect comment. 2023-09-07 21:05:02 +01:00
settings.h Renamed a bunch of FM variables. 2023-08-31 00:33:14 +01:00
sram-overlay.c Workaround for arm-none-eabi-gcc 12.3. 2023-09-01 19:40:10 +01:00
sram-overlay.h Revamped the overlay link with Manuel's help. 2023-09-01 19:20:08 +01:00
start.S Revamped the overlay link with Manuel's help. 2023-09-01 19:20:08 +01:00
version.c Show version over UART and boot. 2023-09-02 23:02:42 +01:00
version.h Show version over UART and boot. 2023-09-02 23:02:42 +01:00

Open reimplementation of the Quan Sheng UV K5 v2.1.27 firmware

This repository is a preservation project of the UV K5 v2.1.27 firmware. It is dedicated to understanding how the radio works and help developers making their own customisations/fixes/etc. It is by no means fully understood or has all variables/functions properly named, as this is best effort only. As a result, this repository will not include any customisations or improvements over the original firmware.

You can find such firmware at the following repositories:

Compiler

arm-none-eabi GCC version 10.3.1 is recommended, which is the current version on Ubuntu 22.04.03 LTS. Other versions may generate a flash file that is too big. You can get an appropriate version from: https://developer.arm.com/downloads/-/gnu-rm

Building

To build the firmware, you need to fetch the submodules and then run make:

git submodule update --init --recursive --depth=1
make

Credits

Many thanks to various people on Telegram for putting up with me during this effort and helping:

License

Copyright 2023 Dual Tachyon https://github.com/DualTachyon

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.