furi_hal_switch

Function furi_hal_switch 

Source
pub unsafe extern "C" fn furi_hal_switch(address: *mut c_void)
Expand description

Jump to the void*

Allow your code to transfer control to another firmware.

This code doesn’t reset system before jump. Call it only from main thread, no kernel should be running. Ensure that no peripheral blocks active and no interrupts are pending.

§Arguments

  • address - The System Vector address(start of your new firmware)