fat_io_lib finally works, implement virtual partition devices, manage devices via string keys
All checks were successful
Build documentation / build-and-deploy (push) Successful in 3m35s

This commit is contained in:
2026-03-01 00:00:27 +01:00
parent baa13fb695
commit 0533c2705d
37 changed files with 619 additions and 139 deletions

View File

@@ -1,12 +1,12 @@
#include <devices.h>
#include <kb.h>
#include <kb_device.h>
#include <status.h>
#include <stdint.h>
#include <system.h>
int kb_read_key (void) {
char ch = 0;
int r = device_do (KB_DEVICE, KB_READ_KEY, &ch, NULL, NULL, NULL);
int r = device_do ("KB", KB_READ_KEY, &ch, NULL, NULL, NULL);
if (r == ST_OK)
return (int)ch;

View File

@@ -1,7 +1,7 @@
#ifndef _LIBKB_KB_H
#define _LIBKB_KB_H
#include <kb_device.h>
#include <devices.h>
#include <stdint.h>
/* \brief Read key from keyboard