初始提交

This commit is contained in:
2026-08-24 15:49:57 +08:00
commit 4569284de2
181 changed files with 246421 additions and 0 deletions
+30
View File
@@ -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