| | |
| | | uint8_t __attribute__ ((aligned (4))) FlashWrBuf[512] = {0}; |
| | | |
| | | #define IAP_UPDATA_FLAG (0x12345678) |
| | | #define IAP_BSDIFF_LZMA_UPDATA_FLAG (0x87654321) |
| | | |
| | | /*Ô¶³ÌÉý¼¶È«²¿Ð£Ñé³É¹¦Èí¼þ¸´Î»*/ |
| | | void OTA_UpdataResetHandler(void) |
| | |
| | | { |
| | | bootload_para_g.boot_update_flag = IAP_UPDATA_FLAG;//УÑéͨ¹ý±êÖ¾ |
| | | }else if(lzma_flag == 1){ |
| | | bootload_para_g.boot_update_flag = 0x87654321; |
| | | bootload_para_g.boot_update_flag = IAP_BSDIFF_LZMA_UPDATA_FLAG; |
| | | // lzma_flag = 0; |
| | | }else{ |
| | | bootload_para_g.boot_update_flag = 0x55555555; // Õâ¸ö²»Ó¦¸Ã·¢Éú |