Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manujedi/UV_K5-Tools
https://github.com/manujedi/UV_K5-Tools
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/manujedi/UV_K5-Tools
- Owner: manujedi
- Created: 2023-07-19T09:47:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-06T19:28:10.000Z (over 1 year ago)
- Last Synced: 2024-08-01T19:33:58.072Z (3 months ago)
- Language: C
- Size: 21.9 MB
- Stars: 23
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UV_K5-Tools
some small tools for the Quansheng UV-K5 that some devs may find usefull
## ImageToCppHeader
converts a png (should also work with other formats) to a cpp header.
The screen buffer format is (where [x][y] are the coordinates on the screen):
- Byte 0 [0][0] to [0][7],
- Byte 1 [1][0] to [1][7]
- ...
- Byte 127 [127][0] to [127][7],
- Byte 128 [0][8] to [0][15],## Screenmirror
copies the frame buffer using openocd and displays it using pygame. Reaches about 10fps, so more than enough
Saves every frame to an image, so it can be converted to a video
Thanks to [@fagci](https://github.com/fagci) for the spectrum mod
![screenmirror_demo.mp4](media/screenrecording.gif)
![screenmirror_demo.mp4](media/screenmirror_demo.gif)## CustomFW
should be a full FW in the future. Right now it only checks if extracted code compiles
## FwPatcher
compiles, links and patches the original FW with the extracted code. Also it saves symbols ;)
This means that an extracted function _F_ can be relocated if all functions which call _F_ are extracted as well.# DO NOT FLASH without manually checking... It currently bricked my bootloader