https://github.com/pyocd/cmsis-pack-manager
A Rust and Python module for handling CMSIS Pack files
https://github.com/pyocd/cmsis-pack-manager
arm cmsis python rust-crate
Last synced: about 1 year ago
JSON representation
A Rust and Python module for handling CMSIS Pack files
- Host: GitHub
- URL: https://github.com/pyocd/cmsis-pack-manager
- Owner: pyocd
- License: apache-2.0
- Created: 2016-06-02T16:29:02.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T02:10:35.000Z (about 1 year ago)
- Last Synced: 2025-05-06T12:13:12.729Z (about 1 year ago)
- Topics: arm, cmsis, python, rust-crate
- Language: Rust
- Homepage:
- Size: 801 KB
- Stars: 30
- Watchers: 60
- Forks: 38
- Open Issues: 31
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmsis-pack-manager
cmsis-pack-manager is a python module, Rust crate and command line utility for managing current device information that is stored in many CMSIS PACKs. Users of cmsis-pack-manager may query for information such as processor type, flash algorithm and memory layout information in a python program or through the command line utility, `pack-manager`, provided as part of this module.
# CI Status
[](https://ci.appveyor.com/project/theotherjimmy/cmsis-pack-manager) [](https://travis-ci.org/ARMmbed/cmsis-pack-manager)
## Wheels
The last step of CI uploads binary wheels to [this S3 bucket.](http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/cmsis-pack-manager/dist/)
# DOCS!
They live here: https://pyocd.github.io/cmsis-pack-manager/
# Building
To build cmsis-pack-manager locally, Install a stable rust compiler.
See https://rustup.rs/ for details on installing `rustup`, the rust
toolchain updater. Afterwards, run `rustup update stable` to get the
most recent stable rust toolchain and build system.
After installing the rust toolchain and downloading a stable compiler,
run `python2 setup.py bdist_wheel` from the root of this repo to
generate a binary wheel (`.whl` file) in the same way as we release.
For testing purposes, there is a CLI written in Rust within the rust
workspace as the package `cmsis-cli`. For example From the `rust`
directory, `cargo run -p cmsis-cli -- update` builds this testing
CLI and runs the update command, for example.