| 123456789101112131415161718192021 |
- #ifndef __YMODEM_H
- #define __YMODEM_H
- #include "stm32g0xx_hal.h"
- #include <stdint.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- // 返回值:0 = OK,<0 = 失败
- int32_t Ymodem_ReceiveToW25Qxx(
- uint32_t flashStartAddr,
- uint32_t flashMaxSize,
- uint32_t *pReceivedSize);
- #ifdef __cplusplus
- }
- #endif
- #endif /* __YMODEM_H */
|