From 20850e7e730d63d34634f05a7910c10d1bcef75d Mon Sep 17 00:00:00 2001 From: Sepehr Ganji Date: Sun, 29 Jun 2025 11:48:49 -0600 Subject: [PATCH] libfs/fatfs: Add rtems-README file The rtems-README file contains the process for importing the source, and the hash and changelog of the current version. --- cpukit/libfs/src/fatfs/rtems-README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 cpukit/libfs/src/fatfs/rtems-README.md diff --git a/cpukit/libfs/src/fatfs/rtems-README.md b/cpukit/libfs/src/fatfs/rtems-README.md new file mode 100644 index 0000000000..49d07a7f37 --- /dev/null +++ b/cpukit/libfs/src/fatfs/rtems-README.md @@ -0,0 +1,23 @@ +# rtems-README + +This file contains the import process of the FatFS source code from the original upstream. We follow the RTEMS [Third-Party Source Code](https://docs.rtems.org/docs/main/eng/coding-conventions.html#third-party-source-code) manual here. + +The import is made by extracting the archive from the [FatFS](https://elm-chan.org/fsw/ff/archives.html) project, putting the source directory here, and adding the checksum with any changelogs on this README file. Here's how the checksum should be calculated (to exclude any file starting with `rtems-` prefix): + +``` +$ find . -type f ! -name 'rtems-*' -exec sha256sum {} + | sort | sha256sum +``` + +Any new file added must have `rtems-` prefix, and any changes made to the imported files should have rtems guards added, e.g. `#ifdef __rtems__`. + +______________________________________________________________________ + +## [R0.15b] - 2025-06-21 + +### Hash + +02e3ec67aa7721810dc9164a58ea6a9a7780e50021d8583119895c367a6f9fe1 + +### Added + +- Initial FatFS source code