-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjustfile
More file actions
32 lines (22 loc) · 734 Bytes
/
justfile
File metadata and controls
32 lines (22 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
mod device 'device'
mod host 'host'
# Remove build artifacts and disk image
@clean: device::clean host::clean
# Check formatting and linting
@check: device::check host::check
# Sort dependencies
@sort: device::sort host::sort
# Update dependencies
@update: device::update host::update
# Check for outdated dependencies
@outdated: device::outdated host::outdated
# Release build all components
@release: device::release host::release
# Debug build all components
@debug: device::debug host::debug
@flash binary:
cd device && cargo run --bin {{binary}}
@attach binary:
probe-rs attach --chip RP2040 device/target/thumbv6m-none-eabi/debug/{{binary}}
@run binary:
cd host && RUST_LOG=info cargo run --bin {{binary}}