A59 -V1.1版本提交
This commit is contained in:
@ -833,7 +833,7 @@ static int uup_rx_data_len = 0;
|
||||
#if DEVICE_TYPE_SELECT != EMMC_FLASH
|
||||
#include "ff_sfdisk.h"
|
||||
#endif
|
||||
|
||||
/*
|
||||
typedef enum {
|
||||
UART_FRAME_START,
|
||||
UART_FRAME_FILEINFO,
|
||||
@ -855,8 +855,8 @@ typedef enum {
|
||||
#define UUP_MAX_FILE_SIZE 0x1000000
|
||||
#define UUP_RX_FRAME_NUM 16
|
||||
#define UUP_MAX_LOADER_SIZE STEPLDR_MAX_SIZE//0x10000
|
||||
|
||||
static int uup_status = UUP_STATE_IDLE;
|
||||
*/
|
||||
// static int uup_status = UUP_STATE_IDLE;
|
||||
static int uup_file_type = 0;
|
||||
static int uup_file_size = 0;
|
||||
static int uup_packet_num = 0;
|
||||
@ -877,7 +877,7 @@ static void uup_send_ack(UartPort_t *uap, int type, int ret)
|
||||
|
||||
iUartWrite(uap, buf, 7, pdMS_TO_TICKS(100));
|
||||
}
|
||||
|
||||
#if 0
|
||||
void uup_ota_update(UartPort_t *uap, uint8_t *framebuf, size_t len)
|
||||
{
|
||||
int frametype = framebuf[0];
|
||||
@ -1009,6 +1009,9 @@ void uup_ota_update(UartPort_t *uap, uint8_t *framebuf, size_t len)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#else
|
||||
static void uart_tx_demo_thread(void *param)
|
||||
{
|
||||
|
Reference in New Issue
Block a user