pull/16/head
Piotr Lewandowski 2023-07-04 01:59:36 +02:00
rodzic 66aa453bc0
commit 78e9310105
3 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -9,6 +9,11 @@ mod for printing rx signal level (RSSI) in numerical format, also includes small
Please, consider paying tribute to the two fallen Quashengs that were bricked during the development process. Their sacrifice played a crucial role in shaping this project. To show your appreciation and support for our ongoing work, you can make a [donation](https://paypal.me/sq9p).
## src/pong ![auto release build](https://github.com/piotr022/UV_K5_playground/actions/workflows/c-cpp.yml/badge.svg)
![rssi printer](./docs/pong_game.gif)
this is usless, buggy and funny xD
* download mod [uv_k5_01_26_pong_game_encoded.bin](https://github.com/piotr022/UV_K5_playground/releases/latest)
## flash masking and memory layout
Chinese mcu DP32G030 has feature called flash masking, here is how it works:
![original_memory layout](./docs/memory-map-original-fw.png)

BIN
docs/pong_game.gif 100644

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 3.1 MiB

Wyświetl plik

@ -26,7 +26,7 @@ void MultiIrq_Handler(unsigned int u32IrqSource)
}
static unsigned int u32StupidCounter = 1;
if((!(u32StupidCounter++ % 5) && u32StupidCounter > 200))
if((!(u32StupidCounter++ % 2) && u32StupidCounter > 200))
{
Pong.Handle();
}