esp32c3-usb_serial/main/public.h

55 lines
1.1 KiB
C

#ifndef PUBLIC_H
#define PUBLIC_H
#include <stdio.h>
#include <string.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "driver/usb_serial_jtag.h"
#include "sdkconfig.h"
#include "esp_log.h"
#include "esp_check.h"
#include "freertos/queue.h"
#include "driver/uart.h"
#include "freertos/event_groups.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "nvs_flash.h"
#include "lwip/err.h"
#include "lwip/sockets.h"
#include "lwip/sys.h"
#include <lwip/netdb.h>
#include "esp32_port.h"
#include "esp_loader.h"
#include "flasher_common.h"
#include "driver/uart.h"
#include "driver/gpio.h"
#include "wifi_task.h"
#include "spiffs.h"
#include "bsp_flash.h"
#include "esp_efuse.h"
#include "stream.h"
typedef struct Device_info_
{
uint8_t Device_SN[12];
uint8_t Device_MAC_WIFI[6];
uint8_t Device_MAC_BLE[6];
uint32_t flash_id;
}Device_info_t;
extern Device_info_t off_line_tool;
extern stream_data_t uart_interface_data;
extern void usb_serial2Uart(void *pvParameters);
extern void Read_CMD_task(void *pvParameter);
#endif