some small tools for the Quansheng UV-K5 that some devs may find usefull
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],
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 for the spectrum mod
should be a full FW in the future. Right now it only checks if extracted code compiles
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.