pub enum VectorPlacement {
Flash,
Separate,
}Expand description
How a remote core’s generated memory.x lays out FLASH relative to its
vector window.
Variants§
Flash
FLASH starts at the vector window and spans it plus the flash window,
so cortex-m-rt links .vector_table at the vector origin; _stext
then keeps .text inside the flash window. The two windows must be
adjacent. Used by the i.MX 9 cores.
Separate
FLASH is exactly the flash window and the vector window is emitted as
its own region. Used by STM32MP2.
Trait Implementations§
Source§impl Clone for VectorPlacement
impl Clone for VectorPlacement
Source§fn clone(&self) -> VectorPlacement
fn clone(&self) -> VectorPlacement
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for VectorPlacement
Source§impl Debug for VectorPlacement
impl Debug for VectorPlacement
Source§impl<'de> Deserialize<'de> for VectorPlacement
impl<'de> Deserialize<'de> for VectorPlacement
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VectorPlacement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VectorPlacement, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VectorPlacement
Source§impl PartialEq for VectorPlacement
impl PartialEq for VectorPlacement
Source§impl Serialize for VectorPlacement
impl Serialize for VectorPlacement
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for VectorPlacement
Auto Trait Implementations§
impl Freeze for VectorPlacement
impl RefUnwindSafe for VectorPlacement
impl Send for VectorPlacement
impl Sync for VectorPlacement
impl Unpin for VectorPlacement
impl UnsafeUnpin for VectorPlacement
impl UnwindSafe for VectorPlacement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.