- #ifndef JUMP_TO_APP_H
- #define JUMP_TO_APP_H
- #include <stdint.h>
- #include "boot_layout.h"
- /* APP 向量表合法性检查(MSP/Reset_Handler/Thumb)。1=合法 */
- uint8_t app_vector_ok(void);
- /* 写 boot reason 后跳转到 APP(不返回)。BL 侧调用前须保证 app_vector_ok() */
- void jump_to_app(boot_reason_t reason);
- #endif /* JUMP_TO_APP_H */
|