diff options
author | 2017-05-30 10:23:23 -0500 | |
---|---|---|
committer | 2017-05-30 10:23:23 -0500 | |
commit | 2cdc916e5732821803f8d0c9790458202ca5e219 (patch) | |
tree | 82cb2cb9c2016b0cdb7af6652fdccd8ab23da9bb /src/lib.rs | |
parent | d9278c60fa179b8f54e98c1febbdccb16f7de24d (diff) | |
download | cortex-m-2cdc916e5732821803f8d0c9790458202ca5e219.tar.gz cortex-m-2cdc916e5732821803f8d0c9790458202ca5e219.tar.zst cortex-m-2cdc916e5732821803f8d0c9790458202ca5e219.zip |
add `itm::write_aligned` for writing 4-byte aligned buffers to an ITM port
LLVM can optimize this better and, for example, unroll the loop into a series of
32-bit writes to the ITM port
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -16,6 +16,7 @@ #![feature(naked_functions)] #![no_std] +extern crate aligned; pub extern crate cortex_m_semihosting as semihosting; extern crate volatile_register; |