dev_boot.h 287 B

123456789101112131415161718
  1. #ifndef __BOOTLOADER_H
  2. #define __BOOTLOADER_H
  3. #include <stm32f4xx.h>
  4. typedef enum
  5. {
  6. INVALID = 0,
  7. VALID = !INVALID
  8. } validity_status;
  9. typedef void (*pFunction)(void);
  10. void run_app(void);
  11. uint8_t check_addr_sp(uint32_t addr);
  12. uint8_t check_addr_pc(uint32_t addr);
  13. #endif