26 lines
702 B
C
26 lines
702 B
C
//
|
|
// Created by xemon on 02.11.22.
|
|
//
|
|
|
|
#ifndef UVEOS_ON_NATION_BOOTLOADER_FILE_H
|
|
#define UVEOS_ON_NATION_BOOTLOADER_FILE_H
|
|
|
|
#include "XfcProtProcessorUtilDefines.h"
|
|
#include "FirmwareLoader.h"
|
|
|
|
//typedef struct {
|
|
// uint32_t fw_current_offset;
|
|
//
|
|
//} tXfcProtFileContext;
|
|
|
|
uint8_t XfcProtMethod_FileTable(tXfcArray *request, tXfcArray *response, void *args);
|
|
|
|
uint8_t XfcProtMethod_FileInit(tXfcArray *request, tXfcArray *response, tFirmwareLoader *env);
|
|
|
|
uint8_t XfcProtMethod_FileWriteBlock(tXfcArray *request, tXfcArray *response, tFirmwareLoader *env);
|
|
|
|
uint8_t XfcProtMethod_FileDone(tXfcArray *request, tXfcArray *response, tFirmwareLoader *env);
|
|
|
|
|
|
#endif //UVEOS_ON_NATION_BOOTLOADER_FILE_H
|