| 1234567891011121314151617181920212223 |
- /*
- * Copyright (c) 2006-2021, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2022-02-12 19813 the first version
- */
- #ifndef APPLICATIONS_IAP_IAP_H_
- #define APPLICATIONS_IAP_IAP_H_
- uint8_t copy_app_to_bak(uint8_t bak_num);
- uint8_t write_app_from_bak(uint8_t bak_num);
- void HexStrToByte(const char *source, int sourceLen,uint8_t datalen);
- void rt_kprintf_spi_flash(uint32_t addr,uint16_t lenght);
- void rt_kprintf_onchip_flash(uint32_t addr, uint16_t lenght);
- uint8_t ucMCU_FlashWrite_WithAddr(uint32_t FlashAddr, uint8_t *pSrcAddr, uint16_t uiDataLen);
- void MyErase_page(uint32_t pageaddr, uint32_t num);
- #endif /* APPLICATIONS_IAP_IAP_H_ */
|