mirror of
https://github.com/retroSoC/retroSoC.git
synced 2026-11-04 22:32:36 +00:00
feat: add PS2 interface support and refactor related components
- Updated the PS2 interface in the APB wrapper to include RX and TX FIFO depths. - Replaced the kdb_model with ps2_device_model in the testbench for better PS2 handling. - Added new PS2 source files and headers for keyboard and mouse functionality. - Refactored GPIO alternate functions to support PS2 clock and data signals. - Implemented PS2 decoder tests for keyboard and mouse in the runtime tests. - Updated the software makefile to include new PS2 source files and headers. - Modified the topology tests to validate PS2 GPIO assignments.
This commit is contained in:
21 files changed
+623
-318
No files matched your search
@@ -25,6 +25,9 @@ TEST_SOURCES = (
|
||||
"crt/src/hal/ws2812_math.c",
|
||||
"crt/src/hal/uart_math.c",
|
||||
"crt/src/hal/timer_math.c",
|
||||
"rtl/managed/clusterip/ps2/sw/src/ps2.c",
|
||||
"rtl/managed/clusterip/ps2/sw/src/ps2_keyboard.c",
|
||||
"rtl/managed/clusterip/ps2/sw/src/ps2_mouse.c",
|
||||
"app/media/src/video_player.c",
|
||||
"app/media/src/wav_audio.c",
|
||||
"tests/c/test_runtime.c",
|
||||
@@ -81,6 +84,8 @@ def main() -> int:
|
||||
"-I",
|
||||
str(user_extensions_root / "include"),
|
||||
"-I",
|
||||
str(root / "rtl/managed/clusterip/ps2/sw/include"),
|
||||
"-I",
|
||||
str(root / "crt/include"),
|
||||
"-I",
|
||||
str(root / "app/media/include"),
|
||||
|
||||
Reference in new issue
Block a user