Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Error code E0775

Note: this error code is no longer emitted by the compiler.

#[cmse_nonsecure_entry] is only valid for targets with the TrustZone-M extension.

Erroneous code example:

#![feature(cmse_nonsecure_entry)] pub extern "cmse-nonsecure-entry" fn entry_function() {}

To fix this error, compile your code for a Rust target that supports the TrustZone-M extension. The current possible targets are:

  • thumbv8m.main-none-eabi
  • thumbv8m.main-none-eabihf
  • thumbv8m.base-none-eabi