Skip to content

Commit f81edbe

Browse files
committed
riscv-virt-rt 0.2.0 — the version that ships the project template
0.2.0 adds templates/blinky, so `mcpp new <name> --template riscv-virt-rt` produces a firmware project that builds, boots and tests unmodified. The template ships with the package rather than with mcpp, whose builtin registry is frozen at `bin`; `mcpp new` writes the dependency line at the version it resolved, so the two cannot drift. 0.1.0 stays listed: a version that has been published is a version someone may have pinned.
1 parent 539d49e commit f81edbe

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

pkgs/r/riscv-virt-rt.lua

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ package = {
2525
repo = "https://github.com/mcpplibs/riscv-virt-rt",
2626
type = "package",
2727

28+
-- 0.2.0 adds the project template (`mcpp new <name> --template
29+
-- riscv-virt-rt`); 0.1.0 stays listed because a version that has been
30+
-- published is a version someone may have pinned.
2831
xpm = {
2932
linux = {
3033
deps = { "xim:picolibc-riscv@1.8.12", "xim:qemu-riscv@9.2.4-1" },
@@ -35,6 +38,13 @@ package = {
3538
},
3639
sha256 = "8afb5ff2e9593b59f1f90029f57d577df454c78cdeff80760894c72aac7e5168",
3740
},
41+
["0.2.0"] = {
42+
url = {
43+
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.2.0.tar.gz",
44+
CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.2.0/riscv-virt-rt-0.2.0.tar.gz",
45+
},
46+
sha256 = "79f1dc4415a59ba828048eb8706322957723f8a6fd84bde3faba6a377e48242b",
47+
},
3848
},
3949
macosx = {
4050
deps = { "xim:picolibc-riscv@1.8.12", "xim:qemu-riscv@9.2.4-1" },
@@ -45,6 +55,13 @@ package = {
4555
},
4656
sha256 = "8afb5ff2e9593b59f1f90029f57d577df454c78cdeff80760894c72aac7e5168",
4757
},
58+
["0.2.0"] = {
59+
url = {
60+
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.2.0.tar.gz",
61+
CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.2.0/riscv-virt-rt-0.2.0.tar.gz",
62+
},
63+
sha256 = "79f1dc4415a59ba828048eb8706322957723f8a6fd84bde3faba6a377e48242b",
64+
},
4865
},
4966
windows = {
5067
deps = { "xim:picolibc-riscv@1.8.12", "xim:qemu-riscv@9.2.4-1" },
@@ -55,6 +72,13 @@ package = {
5572
},
5673
sha256 = "8afb5ff2e9593b59f1f90029f57d577df454c78cdeff80760894c72aac7e5168",
5774
},
75+
["0.2.0"] = {
76+
url = {
77+
GLOBAL = "https://github.com/mcpplibs/riscv-virt-rt/archive/refs/tags/0.2.0.tar.gz",
78+
CN = "https://gitcode.com/mcpp-res/riscv-virt-rt/releases/download/0.2.0/riscv-virt-rt-0.2.0.tar.gz",
79+
},
80+
sha256 = "79f1dc4415a59ba828048eb8706322957723f8a6fd84bde3faba6a377e48242b",
81+
},
5882
},
5983
},
6084

0 commit comments

Comments
 (0)