Add support for recursive data copy into FAT image
Some checks failed
Builds / XTchain (full, windows) (push) Failing after 14s
Builds / XTchain (minimal, linux) (push) Successful in 1m56s
Builds / XTchain (full, linux) (push) Has been cancelled
Builds / XTchain (minimal, windows) (push) Has been cancelled

This commit is contained in:
2025-09-29 19:06:26 +02:00
parent 3fff3b487b
commit 50dbda6ccc
2 changed files with 130 additions and 4 deletions

View File

@@ -7,13 +7,23 @@
* Rafal Kupiec <belliash@codingworkshop.eu.org>
*/
#include <dirent.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
#ifdef _WIN32
#include <windows.h>
#define PATH_SEP '\\'
#else
#define PATH_SEP '/'
#endif
#define SECTOR_SIZE 512
#define _T(x) x