Skip to content

Commit

Permalink
Merge pull request #29 from IvanArkhipov1999/crates
Browse files Browse the repository at this point in the history
Using martos from crates.io
  • Loading branch information
IvanArkhipov1999 authored Mar 30, 2024
2 parents ca9cd90 + a09f8a1 commit 968c98d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ Developers have the flexibility to write software for Martos using either Rust (

In its current version, Martos features a basic task manager and timer counter.

See Martos releases on [crates.io](https://crates.io/crates/martos).

## Programming in Rust
To develop software in Rust, you have the option to incorporate the Martos as a dependency:
```
[dependencies]
martos = { git = "https://github.com/IvanArkhipov1999/Martos" }
martos = "0.1.0"
```

You can explore a variety of Rust examples showcasing different architectures in the ['examples/rust-examples'](https://github.com/IvanArkhipov1999/Martos/tree/main/examples/rust-examples) directory.
Expand Down
3 changes: 2 additions & 1 deletion c-library/xtensa-esp32/Cargo.lock

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

3 changes: 1 addition & 2 deletions c-library/xtensa-esp32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ crate-type = ["staticlib"]
debug = true

[dependencies]
# TODO: path should be from git, then from crates.io
martos = { git = "https://github.com/IvanArkhipov1999/Martos", features = ["c-library"] }
martos = { version = "0.1.0", features = ["c-library"] }
esp32-hal = "0.18.0"
esp-backtrace = { version = "0.11.0", features = ["esp32", "panic-handler", "exception-handler", "println"] }
esp-println = { version = "0.9.0", features = ["esp32"] }
Expand Down
3 changes: 1 addition & 2 deletions examples/rust-examples/xtensa-esp32/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ edition = "2021"
debug = true

[dependencies]
# TODO: path should be from git, then from crates.io
martos = { git = "https://github.com/IvanArkhipov1999/Martos" }
martos = "0.1.0"
esp32-hal = "0.18.0"
esp-backtrace = { version = "0.11.0", features = ["esp32", "panic-handler", "exception-handler", "println"] }
esp-println = { version = "0.9.0", features = ["esp32"] }
Expand Down

0 comments on commit 968c98d

Please sign in to comment.