openwsn-berkeley / lakers

EDHOC implemented in Rust, optimized for microcontrollers, with bindings for C and Python.
https://crates.io/crates/lakers
BSD 3-Clause "New" or "Revised" License
13 stars 10 forks source link

Add plain no std example #24

Closed kaspar030 closed 1 year ago

kaspar030 commented 1 year ago

This PR adds a no_std example with working qemu Cortex-M3 target configuration and runner config. Currently it makes only very limited use of edhoc-rs, but should be a good base for more no_std testing.

This was previously at https://github.com/kaspar030/edhoc-rs-no_std. The workspace level .cargo/config.toml previously prevented correct building from inside this (edhoc-rs) repo, which I didn't realize, so I had put it somewhere else. Without that file (which is IMO not needed there), the example can be moved here.

kaspar030 commented 1 year ago