Logo white

zhang / BootLoader

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • BootLoader
  • IAP
  • iap.h
  • modfly the driver
    0e00ed59
    NightIsDark authored
    2019-06-26 18:07:23 +0800  
    Browse Code »
iap.h 388 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef __IAP_H__
#define __IAP_H__
#include "dev.h"  

#define		WAIT_TIME							5	//秒
 
typedef  	void (*iapfun)(void);					//定义一个函数类型的参数. 


void 	Run_Flash_App(uint32_t appxaddr);			//跳转到APP程序执行

//void 	Local_Update(void);
void 	Detection_Update(void);



#define LOCAL_BOOT_FROM_UART5 		2
#define LOCAL_BOOT_FROM_USART1 		1
#define LOCAL_BOOT_NONE						0

#endif