aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-10-16Move cortex-m crate into cortex-m directoryGravatar Adam Greig 1-79/+0
2022-08-22Document critical-section-single-core feature.Gravatar Dario Nieuwenhuis 1-0/+10
2022-08-22Use a `mod _export` for macro reexports.Gravatar Dario Nieuwenhuis 1-4/+10
This avoids having to do `#[doc(hidden)] pub mod critical_section` which is a bit strange.
2022-08-11Add implementation for critical-section 1.0Gravatar Dario Nieuwenhuis 1-3/+4
Co-Authored-By: Markus Reiter <me@reitermark.us>
2022-03-10Remove prelude.Gravatar Dario Nieuwenhuis 1-1/+0
2022-02-24Remove outlined asm, replace with stable inline asm.Gravatar Adam Greig 1-39/+1
2022-01-23Bump MSRV from 1.40 to 1.42, fix clippy::match_like_matches_macroGravatar Alex Martens 1-1/+1
2021-12-16asm: silence warning about asm being stableGravatar Robert Jördens 1-0/+2
2021-11-27bump MSRVGravatar Viktor Sonesten 1-1/+1
Required to support the #[non_exhaustive] attribute.
2021-04-25Update warning about linker-plugin-lto not working with -Os/-OzGravatar Rahix 1-2/+2
This was fixed in rust 1.49 already, fortunately. But as the MSRV is still 1.38 we cannot drop the warning entirely yet.
2020-08-31Update documented MSRVGravatar Jonas Schievink 1-1/+1
2020-08-29Merge asm implementationsGravatar Jonas Schievink 1-3/+4
2020-08-27Move feature docs to lib.rs and improve themGravatar Jonas Schievink 1-0/+26
2020-08-24Add preludeGravatar Vadim Kaushan 1-0/+1
2020-08-23Provide a delay driver based on SysTickGravatar Vadim Kaushan 1-0/+1
2020-05-05Use #!cfg_attr for inline_asmGravatar Stian Eklund 1-2/+1
This fixes the previous commit where the #![feature()] flag was used by mistake.
2020-04-28Use llmv_asm! macro for inline assemblyGravatar Stian Eklund 1-1/+2
\ fixes #204 the `asm!` macro will soon be deprecated. This changes all of the `asm!` calls to `llvm_asm!` To my knowledge doing a direct replacement should be fine.
2020-04-10Update cfg gates with Armv8-MGravatar Hugues de Valon 1-1/+1
Update cfg attributes and code documentation to take into consideration the new Armv8-M architecture profiles. Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-03-14Allow clippy::match_single_bindingGravatar Hugues de Valon 1-0/+2
Clippy complains that the match expressions used for cfg gating could be rewritten as a let statement, this is a false positive. Also adds inline on two functions. Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-03-02Initial Rust CMSE supportGravatar Hugues de Valon 1-0/+2
Armv8-M and Armv8.1-M architecture profiles have an optional Security Extension which provides a set of Security features. This patch adds initial support of the Cortex-M Security Extensions but providing support for the TT intrinsics and helper functions on top of it in the newly added cmse module of this crate. The code is a Rust idiomatic implementation of the C requirements described in this document: https://developer.arm.com/docs/ecm0359818/latest Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2020-01-15Remove `aligned`, improve ITM codeGravatar Jonas Schievink 1-1/+0
2019-11-26Add explanation about clippy::missing_inline_in_public_items lint.Gravatar Mara Bos 1-0/+14
2019-10-29Enable the missing_inline_in_public_items clippy lint.Gravatar Mara Bos 1-0/+1
2019-10-29Make clippy happy, again.Gravatar Mara Bos 1-0/+1
2019-10-09Make Clippy happy.Gravatar Mara Bos 1-0/+1
2019-07-29Update for 2018 editionGravatar Adam Greig 1-1/+1
2019-07-24Define MSRV to be 1.31.0 and unconditionally use const-fnGravatar Adam Greig 1-4/+3
2018-10-26deny warnings only on nightlyGravatar Jorge Aparicio 1-1/+0
lints have changed between nightly and stable
2018-08-27v0.5.5Gravatar Jorge Aparicio 1-8/+1
2018-05-13add a "const-fn" featureGravatar Jorge Aparicio 1-0/+6
2018-05-11simplify #[cfg]sGravatar Jorge Aparicio 1-2/+1
2018-05-11stable by default, remove exception module, add SCB.vect_active, ..Gravatar Jorge Aparicio 1-8/+27
tweak Exception enum to match CMSIS names, document the parts of the API that require opting into `"inline-asm"`.
2018-04-26make singleton! work on stableGravatar Jorge Aparicio 1-2/+0
2018-04-26make compilable on stableGravatar Jorge Aparicio 1-3/+5
2018-01-23initialize singletons at runtimeGravatar Jorge Aparicio 1-0/+2
2018-01-16reexport Peripherals at the root for convenienceGravatar Jorge Aparicio 1-0/+2
2018-01-15fixes and make sure the whole documentation is visible on docs.rsGravatar Jorge Aparicio 1-0/+2
2017-07-07v0.3.0v0.3.0Gravatar Jorge Aparicio 1-1/+0
2017-07-06mcu -> bare-metalGravatar Jorge Aparicio 1-1/+1
2017-07-04move non Cortex-M specific bits into a crateGravatar Jorge Aparicio 1-0/+1
closes #50
2017-07-04remove re-export of cortex-m-semihostingGravatar Jorge Aparicio 1-1/+0
the functionality is not fundamental and can be easily added to a program by directly depending on cortex-m-semihosting
2017-06-30drop unused feature gates, rename StackedRegisters to StackFrameGravatar Jorge Aparicio 1-3/+0
2017-06-30revamp the exception registration mechanismGravatar Jorge Aparicio 1-10/+2
[breaking-change]
2017-05-30add `itm::write_aligned` for writing 4-byte aligned buffers to an ITM portGravatar Jorge Aparicio 1-0/+1
LLVM can optimize this better and, for example, unroll the loop into a series of 32-bit writes to the ITM port
2017-03-10remove macro_reexport feature gateGravatar Jorge Aparicio 1-1/+0
2017-03-08remove the semihosting Cargo featureGravatar Jorge Aparicio 1-2/+1
make the semihosting macros always available
2017-03-08add macros for writing to an ITM portGravatar Jorge Aparicio 1-0/+1
2017-03-07revamp for memory safetyGravatar Jorge Aparicio 1-81/+5
2017-03-04review safety of the existing API, make the register API type safeGravatar Jorge Aparicio 1-1/+1
2017-02-28changes to better integrate with svd2rustGravatar Jorge Aparicio 1-8/+21