Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCU Workflow example with RP2350 #305

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions examples/mcu-rp2350/Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM quay.io/jumpstarter-dev/jumpstarter:latest

RUN curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/download/v0.27.0/probe-rs-tools-installer.sh | sh

#RUN dnf install -y rustup gcc systemd-devel
#RUN rustup-init -y
#ENV PATH="$PATH:$HOME/.cargo/bin"
#RUN ~/.cargo/bin/rustup target add thumbv8m.main-none-eabihf
#RUN ~/.cargo/bin/cargo install --locked probe-rs-tools
9 changes: 9 additions & 0 deletions examples/mcu-rp2350/Containerfile.devspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM quay.io/jumpstarter-dev/jumpstarter-devspace:latest

USER root
RUN dnf install -y gcc systemd-devel gdb
USER 10001
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or also use dnf as above?

ENV PATH="$PATH:$HOME/.cargo/bin"
RUN ~/.cargo/bin/rustup target add thumbv8m.main-none-eabihf
RUN ~/.cargo/bin/cargo install --locked probe-rs-tools
15 changes: 15 additions & 0 deletions examples/mcu-rp2350/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[project]
name = "jumpstarter-mcu-rp2350"
version = "0.1.0"
description = "Example that uses jumpstarter to debug/develop on a MCU target"
authors = [
{ name = "Miguel Angel Ajo Pelayo", email = "[email protected]" },
{ name = "Kirk Brauer", email = "[email protected]" },
{ name = "Nick Cao", email = "[email protected]" },
]
readme = "README.md"
license = { text = "Apache-2.0" }
requires-python = ">=3.11"
dependencies = [
"jumpstarter-all"
]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ members = ["packages/*", "examples/*"]

[tool.uv.sources]
jumpstarter = { workspace = true }
jumpstarter-all = { workspace = true }
jumpstarter-cli = { workspace = true }
jumpstarter-cli-admin = { workspace = true }
jumpstarter-cli-client = { workspace = true }
Expand Down
36 changes: 35 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.