Skip to content

Instantly share code, notes, and snippets.

@Rutherther
Created June 5, 2023 06:21
Show Gist options
  • Save Rutherther/35c8218c37dca564fa467a57367fe8eb to your computer and use it in GitHub Desktop.
Save Rutherther/35c8218c37dca564fa467a57367fe8eb to your computer and use it in GitHub Desktop.
Cargo lock attached for an issue with msp430 rust crate: https://github.com/cr1901/msp430f5529/issues/1
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "bare-metal"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8fe8f5a8a398345e52358e18ff07cc17a568fbca5c6f73873d3a62056309603"
[[package]]
name = "blinky-rust"
version = "0.1.0"
dependencies = [
"embedded-hal",
"msp430 0.4.1",
"msp430-rt 0.4.0",
"msp430f5529",
"panic-msp430",
]
[[package]]
name = "critical-section"
version = "1.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6548a0ad5d2549e111e1f6a11a6c2e2d00ce6a3dafe22948d67c2b443f775e52"
[[package]]
name = "embedded-hal"
version = "1.0.0-alpha.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f65c4d073f5d91c66e629b216818a4c9747eeda0debedf2deda9a0a947e4e93b"
[[package]]
name = "msp430"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7522ce3502c6c5e36dc31376a1644736f1461f8a15ee55d0eb3196e01b73b17e"
dependencies = [
"bare-metal",
]
[[package]]
name = "msp430"
version = "0.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01a1f453b2c9a9d6a979971cb1d10406046cd5a8ccca3772c08a5b0adc4e3e1d"
dependencies = [
"critical-section",
]
[[package]]
name = "msp430-rt"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b25aa1187e6e9c06d3d6af921dcb7d11690a5f76f6404ce33f836fd4235b63c9"
dependencies = [
"msp430 0.3.0",
"msp430-rt-macros 0.3.1",
]
[[package]]
name = "msp430-rt"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1cc30f2ba29ff74917c683ceb0aec99b033e88b00cee40b7cbe50a15d888c03e"
dependencies = [
"msp430 0.4.1",
"msp430-rt-macros 0.4.0",
]
[[package]]
name = "msp430-rt-macros"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d37ca4b1694e5aecb3bfdd43c954e3939019571fd7dc19243f2b4717be6c9e1d"
dependencies = [
"proc-macro2",
"quote",
"rand",
"rand_xoshiro",
"syn",
]
[[package]]
name = "msp430-rt-macros"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d2b9559b880515bc8078e017bf49bb0dae911814b67963d629e7e0cc5f58db"
dependencies = [
"proc-macro2",
"quote",
"rand",
"rand_xoshiro",
"syn",
]
[[package]]
name = "msp430f5529"
version = "0.4.0"
dependencies = [
"critical-section",
"msp430 0.4.1",
"msp430-rt 0.3.1",
"vcell",
]
[[package]]
name = "panic-msp430"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "844d31aa4e573c848b5ced61fac451272658085c39e6032932cfdbc9593f3c97"
dependencies = [
"msp430 0.4.1",
]
[[package]]
name = "proc-macro2"
version = "1.0.59"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b"
dependencies = [
"unicode-ident",
]
[[package]]
name = "quote"
version = "1.0.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rand"
version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
dependencies = [
"rand_core",
]
[[package]]
name = "rand_core"
version = "0.6.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
[[package]]
name = "rand_xoshiro"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
dependencies = [
"rand_core",
]
[[package]]
name = "syn"
version = "1.0.109"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
dependencies = [
"proc-macro2",
"quote",
"unicode-ident",
]
[[package]]
name = "unicode-ident"
version = "1.0.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"
[[package]]
name = "vcell"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77439c1b53d2303b20d9459b1ade71a83c716e3f9c34f3228c00e6f185d6c002"
[[patch.unused]]
name = "fixed-macro"
version = "1.1.1"
source = "git+https://github.com/kvinwang/fixed-macro#fe688ef1dbb350c67d4be00bb808f726439289dd"
[package]
authors = ["ruther"]
edition = "2018"
readme = "README.md"
name = "blinky-rust"
version = "0.1.0"
[dependencies]
embedded-hal = "1.0.0-alpha.10"
msp430 = { version = "0.4.0", features = ["critical-section-single-core"] }
msp430-rt = "0.4.0"
panic-msp430 = "0.4.0"
[patch.crates-io.fixed-macro]
git = "https://github.com/kvinwang/fixed-macro"
version = "1.1.1"
# Use an existing PAC to ensure examples and the crate itself compiles. If
# targeting a different device, you may need to change the version of your
# crate. Your PAC must be generated with svd2rust version v0.20.0 or later.
[dependencies.msp430f5529]
version = "0.4.0"
features = ["rt", "critical-section"]
path = "/home/ruther/Documents/git_cloned/msp430f5529"
# Required for `cargo fix` to work!
[[bin]]
name = "blinky-rust"
test = false
bench = false
[profile.release]
opt-level = "s" # Size is more important than performance on MSP430.
codegen-units = 1 # Better size optimization.
lto = "fat" # _Much_ better size optimization.
# debug = true # Debug _can_ slightly increase size of .text segment.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment