aboutsummaryrefslogtreecommitdiff
path: root/src/peripheral/scb.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2020-01-15 20:40:00 +0000
committerGravatar GitHub <noreply@github.com> 2020-01-15 20:40:00 +0000
commit465c64dca26b3fbd8137720b1d24b13d56c5d5d8 (patch)
treec76952cc2aca077d446f87a14e4e509456547745 /src/peripheral/scb.rs
parentb889e4900d0d1fc6ca0a467f1a2ae0680af4953c (diff)
parent1498b1c959aa49879f9347f0e48d2fabd9b2f3f8 (diff)
downloadcortex-m-465c64dca26b3fbd8137720b1d24b13d56c5d5d8.tar.gz
cortex-m-465c64dca26b3fbd8137720b1d24b13d56c5d5d8.tar.zst
cortex-m-465c64dca26b3fbd8137720b1d24b13d56c5d5d8.zip
Merge #190
190: Remove `aligned`, improve ITM code r=adamgreig a=jonas-schievink This does a handful of things: * Removes the dependency on `aligned` (and thus `as-slice` and the 2 versions of `generic-array`), instead providing our own simplified `Aligned` wrapper * Moves the innards of `write_aligned` to its own function, and calls that from `write_all` instead of transmuting `&[u8]` to `&Aligned<A4, [u8]>` (which is likely UB) * Fixes the doc example, which didn't compile anymore * Sinks the `#[allow]` attributes into the functions so they only cover the statements they need to Closes https://github.com/rust-embedded/cortex-m/issues/184 Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
Diffstat (limited to 'src/peripheral/scb.rs')
0 files changed, 0 insertions, 0 deletions