初始提交
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#ifndef YMODEM_H
|
||||
#define YMODEM_H
|
||||
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
/* Exported types ------------------------------------------------------------*/
|
||||
|
||||
|
||||
/**
|
||||
* @brief Comm status structures definition
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
COM_OK = 0x00,
|
||||
COM_ERROR = 0x01,
|
||||
COM_ABORT = 0x02,
|
||||
COM_TIMEOUT = 0x03,
|
||||
COM_DATA = 0x04,
|
||||
COM_LIMIT = 0x05
|
||||
} COM_StatusTypeDef;
|
||||
|
||||
|
||||
/* Exported functions ------------------------------------------------------- */
|
||||
COM_StatusTypeDef Ymodem_Receive ( uint32_t *p_size, char *aFileName );
|
||||
|
||||
int checkApp(void);
|
||||
void appJump(void);
|
||||
|
||||
#endif // YMODEM_H
|
||||
Reference in New Issue
Block a user