14 lines
384 B
C
14 lines
384 B
C
#ifndef F407_BOOT_PORT_H
|
|
#define F407_BOOT_PORT_H
|
|
#include "set_boot.h"
|
|
#define F407_APP_BASE 0x08010000UL
|
|
#define F407_APP_SIZE 0x00070000UL
|
|
#define F407_BOOT_REQUEST 0x1003U
|
|
extern const setp_boot_ops f407_boot_ops;
|
|
bool f407_app_valid(void);
|
|
bool f407_boot_requested(void);
|
|
void f407_request_boot(uint32_t now);
|
|
void f407_reset_poll(uint32_t now);
|
|
void f407_jump_app(void);
|
|
#endif
|