#ifndef __FIRMWARE_UPGRADE_H__
#define __FIRMWARE_UPGRADE_H__

 
//#include "hc32_ll_aos.h"
//#include "hc32_ll_fcg.h"
//#include "hc32_ll_gpio.h"
//#include "hc32_ll_adc.h"
//#include "hc32_ll_dma.h"
//#include "hc32_ll_aos.h" 
//#include "hc32_ll_interrupts.h" 

#include "stdint.h"


#define APPLICATION_A_ADDR   0x8000
#define APPLICATION_SIZE     0x1a000
#define APPLICATION_B_ADDR   0x22000
#define BOOTLOADER_INFO_ADDR 0x3c000
//typedef struct
//{
//	uint16_t default_init;/*ˇرԶӧʨ׃ӎ˽*/
//	uint16_t is_ota_flag; /*OTAʽܶҪ־*/
//	uint16_t is_can_write_flag; /*CANˢдҪ־*/
//	uint32_t destination_address;/*ĿҪַ֘*/
//}sys_paratemer_info_t;

void firmware_upgrade_task(void *pvParameters);


 
#endif

