Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
actions/checkout: 3 -> 4
|
|
This is the same thing but updated from nodejs 16 to 20.
|
|
Hardfault trampoline is now optional
|
|
|
|
|
|
|
|
error anymore
|
|
|
|
Fix word in comment
|
|
Swap to GHMQ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
474: Upgrade syn to version 2.0 r=adamgreig a=jannic
Co-authored-by: Jan Niehusmann <jan@gondor.com>
|
|
|
|
472: nvic: do not require `&mut self` for `request`. r=adamgreig a=Dirbaio
It's not needed, the register write is stateless/atomic.
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
|
|
|
|
455: Add zero-init-ram feature r=adamgreig a=inorick
Add the 'zero-init-ram' feature that initializes the RAM with zeros during startup. This is normally
not necessary but might be required on custom hardware. If this step is skipped on such hardware,
reading from memory that was never written to will cause a hard-fault.
Co-authored-by: Norbert Fabritius <norbert.fabritius@esrlabs.com>
Co-authored-by: Adam Greig <adam@adamgreig.com>
|
|
occurs before
|
|
|
|
|
|
|
|
|
|
Add the 'zero-init-ram' feature that initializes the RAM with zeros during startup. This is normally
not necessary but might be required on custom hardware. If this step is skipped on such hardware,
reading from memory that was never written to will cause a hard-fault.
|
|
470: Prepare for cortex-m-rt v0.7.3 r=thalesfragoso a=adamgreig
This fixes the miscompilation in #467, so I'd like to release it as soon as possible.
Co-authored-by: Adam Greig <adam@adamgreig.com>
|
|
|
|
467: cortex-m-rt: Remove LR push, to ensure the stack is 8-byte aligned. r=adamgreig a=Dirbaio
This was causing incorrect execution of code optimized with the assumption the stack is 8-byte aligned.
Alternate version of #463
- Remove instead of fix the sentinel/fake frame.
- Remove code initializing LR, since it's now clobbered by the `bl main` anyway.
- ~~Remove the .cfi directives, since Reset now has no correct CFI info. I think this is the "correct" thing to do here.~~
- ~~Initialize the frame pointer in R7 (suggestion from `@jamesmunns)~~`
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
|
|
This was causing incorrect execution of code optimized with the assumption the stack is 8-byte aligned.
|
|
465: Enforce 8-byte initial stack pointer alignment r=adamgreig a=adamgreig
After #463 we discovered that adding a second linker script via another compiler flag could be used to override `_stack_start` without triggering the assert in the main linker script. By masking the value, we force alignment even when the assert doesn't otherwise trigger.
Co-authored-by: Adam Greig <adam@adamgreig.com>
|
|
|
|
464: cortex-m-rt: assert in linker script that stack_start is 8-byte aligned. r=adamgreig a=Dirbaio
If the user sets RAM length to something that's not multiple of 8, the stack won't be 8-byte aligned. This'll trigger the same horrible symptoms as #463 .
This PR adds an assert to the linker script that enforces alignment.
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
|
|
|
|
462: panic-itm: update crate config so docs aren't empty r=newAM a=tgross35
The docs are currently empty since the module is disabled https://docs.rs/panic-itm/0.4.2/panic_itm/index.html
Co-authored-by: Trevor Gross <tmgross@umich.edu>
|
|
|
|
422: Add ITNS field to NVIC peripheral r=adamgreig a=sphw
This PR adds the ITNS (Interrupt Target Non-secure) field to the NIVC peripheral. This field is required to write a boot loader for TrustZone-M devices, since it allows the user to use interrupts from non-secure states.
I believe I have maintained the correct padding for the next fields, but I have not tested these changes on a non M33 device. So a close review and test would be appreciated.
Co-authored-by: Sascha Wise <me@saschawise.com>
|
|
454: Prepare for cortex-m-rt 0.7.2 r=therealprof a=adamgreig
It's been about a year since the last release so may as well get the couple of bug fixes and new assembly out, I think. This also adds the new set-vtor and set-sp features.
Co-authored-by: Adam Greig <adam@adamgreig.com>
|
|
|
|
451: Small critical-section-related fixes. r=adamgreig a=Dirbaio
See individual commit messages.
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
|
|
|
|
This avoids having to do `#[doc(hidden)] pub mod critical_section` which is a bit strange.
|
|
|
|
447: Add implementation for critical-section 1.0 r=adamgreig a=Dirbaio
Picking up #433 since it seems stalled. Changes from #433 are:
- Update to `critical-section 1.0.0-alpha.2`
- Use `bool` restore token
- Name Cargo feature `critical-section-single-core`.
TODO before merging:
- [x] Wait for `critical-section 1.0` release https://github.com/rust-embedded/critical-section/pull/19
Co-Authored-By: Markus Reiter `@reitermarkus`
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
|
|
450: Fix CI compiletest breakage due to Rust 1.63 r=adamgreig a=Dirbaio
Co-authored-by: Dario Nieuwenhuis <dirbaio@dirbaio.net>
|
|
|