A59 -V1.1版本提交

This commit is contained in:
2024-10-10 17:41:53 +08:00
parent 16b6433a98
commit 5f032cd320
903 changed files with 171909 additions and 22876 deletions

View File

@ -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)
{