feat: add lab-rv32i-c-interrupts card

This commit is contained in:
user
2026-07-21 19:14:20 +02:00
commit 8820c2a22e
23 changed files with 4433 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env sh
set -eu
script_dir=$(CDPATH= cd "$(dirname "$0")" && pwd)
repo_root=$(CDPATH= cd "$script_dir/.." && pwd)
layouts_root=$repo_root/../../../tools/card-layouts
python3 "$layouts_root/tools/build_kr_c_card.py" "$repo_root"
exec python3 "$layouts_root/tools/render_card.py" "$repo_root" "$@"
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env sh
set -eu
script_dir=$(CDPATH= cd "$(dirname "$0")" && pwd)
repo_root=$(CDPATH= cd "$script_dir/.." && pwd)
layouts_root=$repo_root/../../../tools/card-layouts
if ! git -C "$repo_root" rev-parse --verify HEAD >/dev/null 2>&1; then
export GITEA_SHA=0000000000000000000000000000000000000000
fi
exec "$layouts_root/tools/render_card_pdf_preserving.sh" "$repo_root"