forked from lobaro/FreeRTOS-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (29 loc) · 1006 Bytes
/
Cargo.toml
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
33
34
35
36
[package]
name = "freertos-rust-examples"
version = "0.1.1"
authors = ["Tobias Kaupat <[email protected]>"]
edition = "2018"
description = """
Create to use FreeRTOS in rust projects. It contains binaries for demos on some architecutres.
"""
keywords = ["FreeRTOS", "embedded", "demo", "examples"]
repository = "https://github.com/lobaro/FreeRTOS-rust"
[dependencies]
freertos-rust = {path = "../freertos-rust"}
[target.'cfg(target_arch = "arm")'.dependencies]
cortex-m = "0.6.0"
cortex-m-rt = {version = "0.6.12"}
nrf9160-pac = "0.2.1"
# Example: stm32-cortex-m3
[target.thumbv7m-none-eabi.dependencies]
panic-halt = "0.2.0"
stm32l1xx-hal = {version = "0.1.0", features = ["stm32l151"], default-features = false}
# Example: nrf9160
[target.thumbv8m.main-none-eabihf.dependencies]
nrf9160-pac = "0.2.1"
# Example: win
[target.x86_64-pc-windows-gnu.dependencies]
# Example: linux
[target.x86_64-unknown-linux-gnu.dependencies]
[build-dependencies]
freertos-cargo-build = {path = "../freertos-cargo-build"}