-
- Downloads
major update to examples
Showing
- .cargo/config 28 additions, 0 deletions.cargo/config
- Cargo.lock 270 additions, 0 deletionsCargo.lock
- Cargo.toml 24 additions, 15 deletionsCargo.toml
- README.md 28 additions, 3 deletionsREADME.md
- build.rs 18 additions, 0 deletionsbuild.rs
- examples/assume_assert.rs 80 additions, 0 deletionsexamples/assume_assert.rs
- examples/cortex_m_test1.rs 108 additions, 0 deletionsexamples/cortex_m_test1.rs
- examples/cortex_m_test2.rs 0 additions, 27 deletionsexamples/cortex_m_test2.rs
- examples/cortex_m_test_nightly.rs 58 additions, 42 deletionsexamples/cortex_m_test_nightly.rs
- examples/f401_minimal.rs 31 additions, 0 deletionsexamples/f401_minimal.rs
- examples/klee_init.rs 0 additions, 52 deletionsexamples/klee_init.rs
- examples/paths.rs 89 additions, 3 deletionsexamples/paths.rs
- examples/rtfm_init.rs_todo 0 additions, 0 deletionsexamples/rtfm_init.rs_todo
- memory.x 34 additions, 0 deletionsmemory.x
- openocd.cfg 15 additions, 0 deletionsopenocd.cfg
- openocd.gdb 40 additions, 0 deletionsopenocd.gdb
.cargo/config
0 → 100644
Cargo.lock
0 → 100644
... | ... | @@ -9,12 +9,20 @@ panic-halt = "0.2.0" |
vcell = "0.1.2" | ||
volatile-register = "0.2.0" | ||
cortex-m-rt = "0.6.11" | ||
[dependencies.cortex-m-rt] | ||
version = "0.6.11" | ||
optional = true | ||
[dependencies.lm3s6965] | ||
version = "0.1.3" | ||
optional = true | ||
[dependencies.stm32f4] | ||
version = "0.9.0" | ||
features = ["stm32f401", "rt"] | ||
optional = true | ||
[dependencies.cortex-m-semihosting] | ||
version = "0.3.5" | ||
optional = true | ||
... | ... | @@ -27,39 +35,40 @@ version = "0.1.0" |
git = "https://gitlab.henriktjader.com/pln/klee-sys.git" | ||
version = "0.1.0" | ||
[dependencies.cortex-m-rtfm] | ||
path = "../cortex-m-rtpro" | ||
optional = true | ||
# [dependencies.cortex-m-rtfm] | ||
# path = "../cortex-m-rtpro" | ||
# optional = true | ||
[dependencies.cortex-m] | ||
version = "0.6.1" | ||
optional = true | ||
# #features = ["inline-asm", "klee-analysis"] | ||
[patch.crates-io] | ||
vcell = { git = "https://github.com/perlindgren/vcell.git", branch = "trustit" } | ||
#vcell = { path = "../vcell" } | ||
cortex-m = { git = "https://github.com/perlindgren/cortex-m.git", branch = "trustit" } | ||
#cortex-m = { path = "../cortex-m" } | ||
# cortex-m = { path = "../cortex-m" } | ||
#cortex-m-rt = { git = "https://github.com/perlindgren/cortex-m-rt.git", branch = "trustit" } | ||
cortex-m-rt = { path = "../cortex-m-rt" } | ||
cortex-m-rt = { git = "https://github.com/perlindgren/cortex-m-rt.git", branch = "trustit" } | ||
# cortex-m-rt = { path = "../cortex-m-rt" } | ||
[features] | ||
klee-analysis = [ | ||
"vcell/klee-analysis", | ||
"cortex-m/klee-analysis", | ||
"cortex-m-rt/klee-analysis" | ||
] | ||
"vcell/klee-analysis", | ||
"cortex-m/klee-analysis", | ||
"cortex-m-rt/klee-analysis" | ||
] | ||
inline-asm = ["cortex-m/inline-asm"] | ||
rtpro = [ "cortex-m-rtfm/klee-analysis", "cortex-m-rt/rtpro", "lm3s6965" ] | ||
# rtpro = [ "cortex-m-rtfm/klee-analysis", "cortex-m-rt/rtpro", "lm3s6965" ] | ||
f4 = ["stm32f4/stm32f401", "stm32f4/rt", "cortex-m-semihosting", "cortex-m-rt"] | ||
[profile.dev] | ||
panic = "abort" | ||
# incremental = false | ||
# incremental = false # used to be required due to bug in rust toolchain | ||
lto = true | ||
# codegen-units = 1 | ||
# codegen-units = 1 # used to be required due to bug in rust toolchain | ||
[profile.release] | ||
debug = true | ||
... | ... |
build.rs
0 → 100644
examples/assume_assert.rs
0 → 100644
examples/cortex_m_test1.rs
0 → 100644
examples/cortex_m_test2.rs
deleted
100644 → 0
examples/f401_minimal.rs
0 → 100644
examples/klee_init.rs
deleted
100644 → 0
File moved
memory.x
0 → 100644
openocd.cfg
0 → 100644
openocd.gdb
0 → 100644
Please register or sign in to comment