Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-11-25 | Merge #362 | 1 | -0/+3 | ||
362: add note r=jonathanpallant a=gnxlxnxx the same note as in https://github.com/rust-embedded/riscv/pull/87 Co-authored-by: gnxlxnxx <roman@kretschmer.email> | |||||
2021-11-21 | dwt, itm, tpiu: derive common traits for structs/enums | 3 | -10/+11 | ||
As per Rust API guidelines: <https://rust-lang.github.io/api-guidelines/interoperability.html#c-common-traits>. | |||||
2021-11-21 | tpiu: improve TYPE field documentation | 1 | -1/+1 | ||
2021-11-21 | tpiu: use bitfield for SPPR | 1 | -2/+41 | ||
2021-11-21 | itm: properly document ITMSettings | 1 | -1/+1 | ||
2021-11-21 | dwt: mark ComparatorFunction, DwtError as non-exhaustive | 1 | -0/+2 | ||
A DWT unit can do much more than just comparing addresses. PC comparison, for example, which is only possible with the first DWT unit. | |||||
2021-11-21 | dwt: DWTError -> DwtError for in-crate consistency | 1 | -2/+2 | ||
2021-11-21 | tpiu: remove get_ prefix, as per Rust API guidelines | 1 | -1/+1 | ||
2021-11-21 | dwt: refactor out unnecessary explicit panic | 1 | -28/+24 | ||
2021-11-21 | dwt: don't inline Comparator::configure | 1 | -2/+2 | ||
The function is a bit too large to warrant inlining. | |||||
2021-11-21 | dwt: improve EmitOption docstring | 1 | -1/+2 | ||
2021-11-21 | dwt: fix clippy::bool_comparison | 1 | -4/+4 | ||
2021-11-21 | dwt, itm, tpiu: remove get_ prefix, as per Rust API guidelines | 3 | -28/+28 | ||
2021-11-20 | scb: derive serde, Hash, PartialOrd for VectActive behind gates | 1 | -0/+6 | ||
Exposes two new feature gates for VectActive serde::{Serialize, Deserialize} (via "serde") and Hash, PartialOrd (via "std-map") for use on host-side ITM tracing programs. While the struct itself is not received directly over ITM, its use greatly simplifies the implementation by allowing VectActive as keys in map collections and file/socket {,de}serialization to forward the structure elsewhere. These features are not enabled by default. Before this patch, serde functionality could be realized via [0], but this does not propagate down a dependency chain (i.e. if realized for crate B, which crate A depends on, serde functionality is not exposed in crate A unless VectActive is wrapped in a type from crate B). I am not aware of any method to realize PartialOrd, Hash derivation for a downstream crate. [0] https://serde.rs/remote-derive.html | |||||
2021-11-12 | add note | 1 | -0/+3 | ||
the same note as in https://github.com/rust-embedded/riscv/pull/87 | |||||
2021-10-27 | Merge branch 'master' into feat/tracing | 6 | -18/+314 | ||
2021-09-24 | allow clippy::upper_case_acronyms | 1 | -0/+14 | ||
2021-09-24 | itm: remove useless conversion | 1 | -1/+1 | ||
2021-09-24 | itm: fix field spelling | 1 | -2/+2 | ||
2021-09-24 | dwt: feature gate trace and PC samples out of armv6m | 1 | -4/+4 | ||
2021-09-23 | Merge #348 | 1 | -1/+3 | ||
348: Fix slightly misleading examples. r=adamgreig a=newAM This is a bit of a nitpick; the examples provided for the peripherals use the cycle counter as an example, but it is not properly enabled, which is slightly misleading. The examples only do `peripherals.DWT.enable_cycle_counter`, but this write may be ignored because tracing needs to be enabled first. Co-authored-by: Alex Martens <alexmgit@protonmail.com> | |||||
2021-09-23 | Merge #352 | 2 | -0/+124 | ||
352: Add the Cortex-M7 TCM and cache access control registers. r=adamgreig a=rcls Add the Cortex-M7 TCM and cache access control registers. These are documented in the Cortex-M7 generic user guide (ARM DUI 0646C). I'm not sure what feature gate these should be on - should I add a new one for Cortex-M7? Currently I have them on `not(armv6m)` - they do not appear to be in the ARMv7M architecture documentation, so I presume they are M7 specific. Co-authored-by: Ralph Loader <ralph1loader@gmail.com> | |||||
2021-09-06 | Add the Cortex-M7 TCM and cache access control registers. | 2 | -0/+124 | ||
These registers appear to specific to the Cortex-M7, so add a feature gate "cm7". | |||||
2021-09-05 | Merge #339 | 1 | -1/+1 | ||
339: Fix AIRCR PRIGROUP mask r=thejpster a=msamsonoff Closes #338 Co-authored-by: Matthew W. Samsonoff <matt.samsonoff@gmail.com> | |||||
2021-08-30 | Replace URL-relative doc links with intra-doc links | 2 | -2/+2 | ||
2021-08-29 | remove deprecated impl for Nr trait | 1 | -10/+1 | ||
2021-08-14 | Add DWT.set_cycle_count | 1 | -0/+7 | ||
2021-08-14 | Deprecate get_cycle_count in favor of cycle_count | 2 | -2/+13 | ||
This follows the rust C-GETTER API guidelines. | |||||
2021-08-08 | Add support for additional DWT counters | 1 | -1/+154 | ||
This adds support for these counters: * CPI counter * Exception overhead counter * LSU counter * Folded-instruction counter | |||||
2021-08-05 | Fix slightly misleading examples. | 1 | -1/+3 | ||
2021-07-25 | Add pre-requisites for enabling the cycle counter to docs | 1 | -0/+7 | ||
2021-06-12 | Update src/delay.rs | 1 | -0/+1 | ||
Co-authored-by: Vadim Kaushan <admin@disasm.info> | |||||
2021-06-12 | Use from instead of as | 1 | -5/+5 | ||
2021-06-12 | remove inline on delay_us, and made u32 conversion syntax consistent | 1 | -5/+4 | ||
2021-06-12 | Use . syntax instead of :: on delay_ms | 1 | -4/+4 | ||
2021-06-12 | Use overflow-workaround on delay_ms | 1 | -7/+9 | ||
2021-06-12 | Remove dependence on embedded-hal for Delay | 1 | -10/+16 | ||
2021-05-05 | itm, dwt: limit some bitfields to u8 | 2 | -4/+4 | ||
2021-05-05 | tpiu: fix flipped SWOSupports field, reimplement with bitfield | 1 | -11/+30 | ||
2021-05-05 | itm: impl functions related to trace generation | 1 | -1/+123 | ||
2021-05-05 | dwt: reimplement with bitfield | 1 | -76/+65 | ||
2021-04-30 | dcb: add note about vendor-specific trace options | 1 | -0/+4 | ||
2021-04-30 | dwt: add missing #[inline] | 1 | -0/+1 | ||
2021-04-30 | dwt: configure address comparison using struct | 1 | -0/+143 | ||
2021-04-30 | tpiu: fix always-zero field-comparison | 1 | -3/+3 | ||
2021-04-28 | dwt: impl functions related to trace generation | 1 | -0/+28 | ||
2021-04-28 | tpiu: impl functions related to trace data output | 1 | -0/+70 | ||
2021-04-25 | Update warning about linker-plugin-lto not working with -Os/-Oz | 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. | |||||
2021-04-19 | Fix AIRCR PRIGROUP mask | 1 | -1/+1 | ||
2021-03-19 | Compile the `mpu::RegisterBlock` struct on all targets | 1 | -1/+1 | ||
closes https://github.com/rust-embedded/cortex-m/issues/336 |