#!/usr/bin/env bash dtc -I dts -O dtb -o jh7110.dtb jh7110.dts svd-generator -f jh7110.dtb -o jh7110.svd mkdir -p out svd2rust -i jh7110.svd --target=riscv -o out form -i out/lib.rs -o src cargo fmt rm -rf out