mirror of
https://git.k-space.ee/arti/vt1200.git
synced 2026-10-31 12:05:05 +02:00
Distils public docs into reference/keyboard-mouse/PROTOCOL.md for the level-1 Keyboard (27) / Mouse (26) device tests: - keyboard: 4800 8N1 RS-423, self-test via FD -> 01 00 00 00 (errors 3D/3E) - mouse: 4800 8O1 RS-232, self-test via 'T' -> 4-byte report (errors 3D/3E, >=0x20 fatal) - separate ports: DUART2 A=keyboard, B=mouse (NOT daisy-chained) MAME already has an LK201 device (src/mame/dec/lk201.cpp/.h) but no DEC mouse.
20 lines
564 B
CMake
20 lines
564 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
set(BOARD esp32c3_devkitm)
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(vtbt)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
target_sources(app PRIVATE src/beeper.c)
|
|
target_sources(app PRIVATE src/bluetooth.c)
|
|
target_sources(app PRIVATE src/leds.c)
|
|
target_sources(app PRIVATE src/uart.c)
|
|
target_sources(app PRIVATE src/metronome.c)
|
|
target_sources(app PRIVATE src/lk201.c)
|
|
target_sources(app PRIVATE src/keyboard.c)
|
|
|
|
target_compile_options(app PRIVATE -Wall -Werror -Wextra)
|