From 346b9dcfdf2a1c5d3339b4f3821080210316e6a9 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sun, 16 Feb 2025 09:13:37 +0100 Subject: [PATCH] Add a toolchain description --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 993678e..90455c8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ 7digital sells digital music but they can't handle files with non-English names. -7digital.rb takes 2 arguments, a zip archive with audio files and a target +`bin/7digital.rb` takes 2 arguments, a zip archive with audio files and a target directory. It extracts the archive into the directory and renames its contents according to the meta information saved in the audio files. The audio files are expected to be in 2 directories, the artist and album directories. These @@ -10,8 +10,8 @@ directories are also renamed. ## mock\_server.rb -mock\_server.rb takes some JSON on its STDIN and starts a simple HTTP server that -slowly (in chunks) answers all requests with the given input. +`bin/mock\_server.rb` takes some JSON on its STDIN and starts a simple HTTP server +that slowly (in chunks) answers all requests with the given input. For example: @@ -27,7 +27,7 @@ curl localhost:8082 ## read\_logs.rb -read\_logs.rb looks in the `log/` directory for files ending with `.log`, +`bin/read\_logs.rb` looks in the `log/` directory for files ending with `.log`, `.log.1`, `.log.2.gz`, `.log.3.gz` and so forth. It filters out lines starting with a timestamp, `yyyy-mm-ddThh:mm:ss`, followed by random characters and a custom string provided as the only command line parameter. Finally @@ -52,4 +52,9 @@ will print: ## cross\_toolchain.rb +`bin/cross_toolchain.rb` builds a cross toolchain for 32-bit RISC-V (G). The +script should work on Mac OS with preinstalled GNU tools and case-sensitive file +system and Linux. The resulting GCC is to be found in +`./tmp/rootfs/bin/riscv32-unknown-linux-gnu-*`. + ## tea-cleaner