diff --git a/Cargo.toml b/Cargo.toml index f405894..3157649 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,10 +11,20 @@ version = "0.2.4" [dependencies] cortex-m = "0.4.0" cortex-m-semihosting = "0.2.0" +# alloc-cortex-m release doesn't use linked_list_allocator v0.5.0 yet. +# Uncomment for the allocator example. +#alloc-cortex-m = { git = "https://github.com/japaric/alloc-cortex-m.git" } + [dependencies.cortex-m-rt] -features = ["abort-on-panic"] version = "0.3.12" +# Comment for the panic example. +features = ["abort-on-panic"] + +# Uncomment for the device example. +# [dependencies.stm32f103xx] +# features = ["rt"] +# version = "0.8.0" # disable both incremental compilation and parallel codegen to reduce the chances of running into # rust-lang/rust#47074 diff --git a/Xargo.toml b/Xargo.toml index 89ad4cd..27f7b2d 100644 --- a/Xargo.toml +++ b/Xargo.toml @@ -1,6 +1,9 @@ [dependencies.core] stage = 0 +# [dependencies.alloc] # Uncomment for the alloc example. +# stage = 0 + [dependencies.compiler_builtins] features = ["mem"] -stage = 1 \ No newline at end of file +stage = 1