From d2ac2380acd00095032ee81e0a46b63a13b3704a Mon Sep 17 00:00:00 2001 From: Nathen Drees <761005+nadrees@users.noreply.github.com> Date: Sun, 30 Nov 2025 15:19:52 -0600 Subject: [PATCH 1/2] Configure VSCode to recommend extensions for working on this project. --- .vscode/extensions.json | 9 +++++++++ README.md | 6 +----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .vscode/extensions.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..280ee94 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,9 @@ +{ + "recommendations": [ + "rust-lang.rust-analyzer", + "ZixuanWang.linkerscript", + "tamasfe.even-better-toml", + "fill-labs.dependi", + "vadimcn.vscode-lldb", + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 496b166..e0e783d 100644 --- a/README.md +++ b/README.md @@ -40,11 +40,7 @@ See https://github.com/rust-embedded/cargo-binutils#readme for details ## Recommended VSCode Extensions -* rust-analyzer: https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer -* LinkerScript: https://marketplace.visualstudio.com/items?itemName=ZixuanWang.linkerscript -* Even Better TOML: https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml -* Dependi: https://marketplace.visualstudio.com/items?itemName=fill-labs.dependi -* CodeLLDB: https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb +We have configured VSCode to automatically recommend the needed extensions for this project. You should install all when prompted. # Rust Embedded Assembly From cb2153215f2242c2033f19013a79bd1a0b1fe49f Mon Sep 17 00:00:00 2001 From: Nathen Drees <761005+nadrees@users.noreply.github.com> Date: Sun, 30 Nov 2025 15:29:54 -0600 Subject: [PATCH 2/2] Initial start of github actions to build project --- .github/workflows/rust.yaml | 23 +++++++++++++++++++++++ .vscode/extensions.json | 1 + 2 files changed, 24 insertions(+) create mode 100644 .github/workflows/rust.yaml diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml new file mode 100644 index 0000000..d8c8130 --- /dev/null +++ b/.github/workflows/rust.yaml @@ -0,0 +1,23 @@ +name: Rust + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - name: Install Rust toolchain + uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + targets: riscv64gc-unknown-none-elf + - name: Build project + run: cargo build \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 280ee94..33b9975 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -5,5 +5,6 @@ "tamasfe.even-better-toml", "fill-labs.dependi", "vadimcn.vscode-lldb", + "github.vscode-github-actions" ] } \ No newline at end of file