正在显示
73 个修改的文件
包含
1253 行增加
和
1635 行删除
| @@ -46,6 +46,10 @@ | @@ -46,6 +46,10 @@ | ||
| 46 | "jzsdk_smt_code.h": "c", | 46 | "jzsdk_smt_code.h": "c", |
| 47 | "serialmat_inandout.h": "c", | 47 | "serialmat_inandout.h": "c", |
| 48 | "activatemat_usedfuntion.h": "c", | 48 | "activatemat_usedfuntion.h": "c", |
| 49 | - "activatemat.h": "c" | 49 | + "activatemat.h": "c", |
| 50 | + "ui_control.h": "c", | ||
| 51 | + "jz_searchlighttemp_calculation.h": "c", | ||
| 52 | + "searchlighttemcontrol.h": "c", | ||
| 53 | + "taskmanagement.h": "c" | ||
| 50 | } | 54 | } |
| 51 | } | 55 | } |
| @@ -24,7 +24,7 @@ set(CMAKE_EXE_LINKER_FLAGS "-pthread") | @@ -24,7 +24,7 @@ set(CMAKE_EXE_LINKER_FLAGS "-pthread") | ||
| 24 | set(filtering_type high_pass_filtering) | 24 | set(filtering_type high_pass_filtering) |
| 25 | 25 | ||
| 26 | # 海外版本 27行不能改动 | 26 | # 海外版本 27行不能改动 |
| 27 | -set(firewarm_origin DOMESTIC_VERSION) | 27 | +set(firewarm_origin OVERSEAS_VERSION) |
| 28 | 28 | ||
| 29 | # 添加Cedar库 30行不能改动 | 29 | # 添加Cedar库 30行不能改动 |
| 30 | set(CedarxLib VERSION_SWITCH_OFF) | 30 | set(CedarxLib VERSION_SWITCH_OFF) |
| 1 | #include <stdio.h> | 1 | #include <stdio.h> |
| 2 | #include "JZsdkLib.h" | 2 | #include "JZsdkLib.h" |
| 3 | +#include "./JZsdk_TaskManagement/TaskManagement.h" | ||
| 3 | 4 | ||
| 4 | //初始化sdk | 5 | //初始化sdk |
| 5 | T_JZsdkReturnCode JZsdk_LibInit() | 6 | T_JZsdkReturnCode JZsdk_LibInit() |
| 6 | { | 7 | { |
| 7 | //1、初始化log | 8 | //1、初始化log |
| 8 | JZsdk_LoggerInit(); | 9 | JZsdk_LoggerInit(); |
| 10 | + | ||
| 11 | + //2、任务管理系统初始化 | ||
| 12 | + TaskManagement_Init(); | ||
| 9 | } | 13 | } |
| @@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
| 9 | /******************************************************/ | 9 | /******************************************************/ |
| 10 | int JZsdk_GetFrameTemplate(int InsCode ,char *str, int *str_len) | 10 | int JZsdk_GetFrameTemplate(int InsCode ,char *str, int *str_len) |
| 11 | { | 11 | { |
| 12 | - printf("JZsdk_GetFrameTemplate:获取0x%x帧模板\n",InsCode); | 12 | + //printf("JZsdk_GetFrameTemplate:获取0x%x帧模板\n",InsCode); //该打印可能会对 要求快速控制的地方变慢,请不要随意开启 |
| 13 | switch (InsCode) | 13 | switch (InsCode) |
| 14 | { | 14 | { |
| 15 | /******************************************************************************************************************************************************** | 15 | /******************************************************************************************************************************************************** |
JZsdk/JZsdk_TaskManagement/TaskManagement.c
0 → 100644
| 1 | +/****************************** | ||
| 2 | + * | ||
| 3 | + * JZsdk的任务管理模块 | ||
| 4 | + * | ||
| 5 | + * | ||
| 6 | + * ***************************/ | ||
| 7 | +#include <stdio.h> | ||
| 8 | +#include <stdlib.h> | ||
| 9 | +#include <pthread.h> | ||
| 10 | +#include <unistd.h> | ||
| 11 | + | ||
| 12 | +#include "./TaskManagement.h" | ||
| 13 | +#include <JZsdkLib.h> | ||
| 14 | + | ||
| 15 | +#define THREAD_POOL_SIZE 4 // 线程池大小 | ||
| 16 | + | ||
| 17 | +typedef struct { | ||
| 18 | + void (*task_function)(void*); //任务函数指针,用于指定 执行的任务 | ||
| 19 | + void* data; // 任务参数 //任务参数的地址 用于输入任务内容 | ||
| 20 | +} t_JZsdk_TaskMgmt_TaskInput; | ||
| 21 | + | ||
| 22 | +typedef struct { | ||
| 23 | + pthread_t thread; // 线程 //调用的线程 | ||
| 24 | + int is_busy; // 标识线程是否忙碌 | ||
| 25 | + t_JZsdk_TaskMgmt_TaskInput* task; // 线程执行的任务 | ||
| 26 | + pthread_mutex_t lock; // 互斥锁 | ||
| 27 | + pthread_cond_t condition; // 条件变量 | ||
| 28 | +} t_ThreadPool; | ||
| 29 | + | ||
| 30 | +t_ThreadPool TaskPool[THREAD_POOL_SIZE]; //任务池子 | ||
| 31 | + | ||
| 32 | +static void* TaskManagement_ThreadFunction(void* arg); | ||
| 33 | + | ||
| 34 | + | ||
| 35 | +/************** | ||
| 36 | + * | ||
| 37 | + * 任务管理模块的初始化 | ||
| 38 | + * | ||
| 39 | + * ***************/ | ||
| 40 | +T_JZsdkReturnCode TaskManagement_Init() | ||
| 41 | +{ | ||
| 42 | + //1、创建任务池子 | ||
| 43 | + for (int i = 0; i < THREAD_POOL_SIZE; i++) | ||
| 44 | + { | ||
| 45 | + TaskPool[i].is_busy = 0; | ||
| 46 | + pthread_mutex_init(&TaskPool[i].lock, NULL); | ||
| 47 | + pthread_cond_init(&TaskPool[i].condition, NULL); | ||
| 48 | + pthread_create(&TaskPool[i].thread, NULL, TaskManagement_ThreadFunction, &TaskPool[i]); | ||
| 49 | + } | ||
| 50 | +} | ||
| 51 | + | ||
| 52 | +/************** | ||
| 53 | + * | ||
| 54 | + * 任务的输入 | ||
| 55 | + * | ||
| 56 | + * ***************/ | ||
| 57 | +T_JZsdkReturnCode TaskManagement_SubmitTask(void (*task_function)(void*), void* data) | ||
| 58 | +{ | ||
| 59 | + //检阅是否有空余的任务线程 | ||
| 60 | + int i = 0; | ||
| 61 | + for ( ; i < THREAD_POOL_SIZE; i++) | ||
| 62 | + { | ||
| 63 | + if (!TaskPool[i].is_busy) | ||
| 64 | + { | ||
| 65 | + //检测到有空余的线程 | ||
| 66 | + break; | ||
| 67 | + } | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + //没有多余的任务线程,退出该发送任务 | ||
| 71 | + if (i >= THREAD_POOL_SIZE) | ||
| 72 | + { | ||
| 73 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + t_JZsdk_TaskMgmt_TaskInput *task = (t_JZsdk_TaskMgmt_TaskInput*)malloc(sizeof(t_JZsdk_TaskMgmt_TaskInput)); | ||
| 77 | + if (task == NULL) | ||
| 78 | + { | ||
| 79 | + // 处理内存分配失败的情况 | ||
| 80 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + task->task_function = task_function; | ||
| 84 | + task->data = data; | ||
| 85 | + | ||
| 86 | + //将发送内容放入任务 | ||
| 87 | + TaskPool[i].task = task; | ||
| 88 | + TaskPool[i].is_busy = 1; | ||
| 89 | + pthread_cond_signal(&TaskPool[i].condition); | ||
| 90 | + | ||
| 91 | + return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS; | ||
| 92 | +} | ||
| 93 | + | ||
| 94 | + | ||
| 95 | +//执行函数 | ||
| 96 | +static void* TaskManagement_ThreadFunction(void* arg) | ||
| 97 | +{ | ||
| 98 | + t_ThreadPool* pool = (t_ThreadPool*)arg; | ||
| 99 | + while (1) | ||
| 100 | + { | ||
| 101 | + pthread_mutex_lock(&pool->lock); | ||
| 102 | + while (!pool->is_busy) | ||
| 103 | + { | ||
| 104 | + pthread_cond_wait(&pool->condition, &pool->lock); | ||
| 105 | + } | ||
| 106 | + | ||
| 107 | + // 执行任务 | ||
| 108 | + pthread_mutex_unlock(&pool->lock); | ||
| 109 | + | ||
| 110 | + if (pool->task->task_function != NULL) | ||
| 111 | + { | ||
| 112 | + pool->task->task_function(pool->task->data); | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + // 执行完成,将状态置为未忙碌 | ||
| 116 | + pthread_mutex_lock(&pool->lock); | ||
| 117 | + if (pool->task != NULL) | ||
| 118 | + { | ||
| 119 | + free(pool->task); | ||
| 120 | + pool->task = NULL; | ||
| 121 | + } | ||
| 122 | + pool->is_busy = 0; | ||
| 123 | + pthread_mutex_unlock(&pool->lock); | ||
| 124 | + } | ||
| 125 | + return NULL; | ||
| 126 | +} |
JZsdk/JZsdk_TaskManagement/TaskManagement.h
0 → 100644
| 1 | +/** | ||
| 2 | + ******************************************************************** | ||
| 3 | + * @file TaskManagement.h | ||
| 4 | + * | ||
| 5 | + * | ||
| 6 | + ********************************************************************* | ||
| 7 | + */ | ||
| 8 | + | ||
| 9 | +/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/ | ||
| 10 | +#ifndef JZSDK_TASK_MANAGEMENT_H | ||
| 11 | +#define JZSDK_TASK_MANAGEMENT_H | ||
| 12 | + | ||
| 13 | +/* Includes ------------------------------------------------------------------*/ | ||
| 14 | + | ||
| 15 | +#ifdef __cplusplus | ||
| 16 | +extern "C" { | ||
| 17 | +#endif | ||
| 18 | + | ||
| 19 | +/* Exported constants --------------------------------------------------------*/ | ||
| 20 | +/* 常亮定义*/ | ||
| 21 | +#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h" | ||
| 22 | + | ||
| 23 | + | ||
| 24 | +/* Exported types ------------------------------------------------------------*/ | ||
| 25 | + | ||
| 26 | +/* Exported functions --------------------------------------------------------*/ | ||
| 27 | +T_JZsdkReturnCode TaskManagement_Init(); | ||
| 28 | +T_JZsdkReturnCode TaskManagement_SubmitTask(void (*task_function)(void*), void* data); | ||
| 29 | + | ||
| 30 | +#ifdef __cplusplus | ||
| 31 | +} | ||
| 32 | +#endif | ||
| 33 | + | ||
| 34 | +#endif |
JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c
0 → 100644
| 1 | +#include <stdio.h> | ||
| 2 | +#include <stdlib.h> | ||
| 3 | +#include <pthread.h> | ||
| 4 | +#include <unistd.h> | ||
| 5 | + | ||
| 6 | +#include "./TaskManagement.h" | ||
| 7 | +#include <JZsdkLib.h> | ||
| 8 | + | ||
| 9 | +typedef struct { | ||
| 10 | + char* str; | ||
| 11 | + int num; | ||
| 12 | +} TaskData; | ||
| 13 | + | ||
| 14 | + | ||
| 15 | +static void TaskMgmt_sample_funtion(void *data) | ||
| 16 | +{ | ||
| 17 | + TaskData* taskData = (TaskData*)data; | ||
| 18 | + printf("Sending data to serial: %s, %d\n", taskData->str, taskData->num); | ||
| 19 | + | ||
| 20 | + free(taskData); | ||
| 21 | + taskData = NULL; | ||
| 22 | +} | ||
| 23 | + | ||
| 24 | + | ||
| 25 | + | ||
| 26 | +//记得先初始化 | ||
| 27 | +static T_JZsdkReturnCode TaskMgmt_sample() | ||
| 28 | +{ | ||
| 29 | + TaskData* data = (TaskData*)malloc(sizeof(TaskData)); | ||
| 30 | + if (data == NULL) | ||
| 31 | + { | ||
| 32 | + //内存注册失败 | ||
| 33 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + data->num = 1; | ||
| 37 | + data->str = "A"; | ||
| 38 | + | ||
| 39 | + T_JZsdkReturnCode ret = TaskManagement_SubmitTask(TaskMgmt_sample_funtion, data); | ||
| 40 | + if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) | ||
| 41 | + { | ||
| 42 | + free(data); | ||
| 43 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS; | ||
| 47 | +} |
| @@ -166,7 +166,7 @@ int JZsdk_Uart_SecondInit(int UART_DEV_NAME, int BitRate) | @@ -166,7 +166,7 @@ int JZsdk_Uart_SecondInit(int UART_DEV_NAME, int BitRate) | ||
| 166 | * ******************/ | 166 | * ******************/ |
| 167 | int JZsdk_Uart_Send_CustomOrder(int UartPort, char *frame, int frame_len) | 167 | int JZsdk_Uart_Send_CustomOrder(int UartPort, char *frame, int frame_len) |
| 168 | { | 168 | { |
| 169 | - JZsdk_Uart_SendDeal_SendOreder(UartPort, frame, frame_len); | 169 | + JZsdk_Uart_UartSend(UartPort, frame, frame_len); |
| 170 | } | 170 | } |
| 171 | 171 | ||
| 172 | /***************** | 172 | /***************** |
| @@ -12,6 +12,7 @@ | @@ -12,6 +12,7 @@ | ||
| 12 | #include "Gimbal_InAndOut.h" | 12 | #include "Gimbal_InAndOut.h" |
| 13 | #include "Uart_Config.h" | 13 | #include "Uart_Config.h" |
| 14 | #include "JZsdk_Uart_Send/JZsdk_Uart_Send.h" | 14 | #include "JZsdk_Uart_Send/JZsdk_Uart_Send.h" |
| 15 | +#include "SerialMAT_InAndOut.h" | ||
| 15 | 16 | ||
| 16 | #include "UI_control.h" | 17 | #include "UI_control.h" |
| 17 | #include "JZsdkLib.h" | 18 | #include "JZsdkLib.h" |
| @@ -20,6 +21,23 @@ static int SecondaryDeviceName = 0x00; // 从设备名,用于多设备相连 | @@ -20,6 +21,23 @@ static int SecondaryDeviceName = 0x00; // 从设备名,用于多设备相连 | ||
| 20 | 21 | ||
| 21 | /********** | 22 | /********** |
| 22 | * | 23 | * |
| 24 | + * 激活状态判断 | ||
| 25 | + * 输入串口设备和帧类型标识 | ||
| 26 | + * *********/ | ||
| 27 | +T_JZsdkReturnCode JZsdk_Uart_ActivateStatusCheck(int flag) | ||
| 28 | +{ | ||
| 29 | + //如果不是激活帧,也不是已激活状态,返回失败,并且发出错误帧 | ||
| 30 | + if( SerialMAT_Get_SerialNumberStatus() != 0x01) | ||
| 31 | + { | ||
| 32 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 33 | + } | ||
| 34 | + | ||
| 35 | + return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | + | ||
| 39 | +/********** | ||
| 40 | + * | ||
| 23 | * 电源状态设置 | 41 | * 电源状态设置 |
| 24 | * | 42 | * |
| 25 | * *********/ | 43 | * *********/ |
| @@ -28,6 +28,7 @@ extern "C" { | @@ -28,6 +28,7 @@ extern "C" { | ||
| 28 | /* Exported functions --------------------------------------------------------*/ | 28 | /* Exported functions --------------------------------------------------------*/ |
| 29 | int JZsdk_Uart_Init(int UART_DEV_NAME); | 29 | int JZsdk_Uart_Init(int UART_DEV_NAME); |
| 30 | int JZsdk_Get_UartDev_UseFlag(int UART_DEV_NAME); | 30 | int JZsdk_Get_UartDev_UseFlag(int UART_DEV_NAME); |
| 31 | +T_JZsdkReturnCode JZsdk_Uart_ActivateStatusCheck(int flag); | ||
| 31 | 32 | ||
| 32 | T_JZsdkReturnCode JZsdk_Uart_Set_PowerStatus(int DeviceName, int status); | 33 | T_JZsdkReturnCode JZsdk_Uart_Set_PowerStatus(int DeviceName, int status); |
| 33 | T_JZsdkReturnCode JZsdl_Uart_ObtainConnectFrame(char *getbuf, int value); | 34 | T_JZsdkReturnCode JZsdl_Uart_ObtainConnectFrame(char *getbuf, int value); |
| @@ -2762,7 +2762,22 @@ int Uart_4G_RecvDeal_RecvDeal(int Receive_mode, unsigned char *getdata, int len) | @@ -2762,7 +2762,22 @@ int Uart_4G_RecvDeal_RecvDeal(int Receive_mode, unsigned char *getdata, int len) | ||
| 2762 | ********* ********| | 2762 | ********* ********| |
| 2763 | ********* ********| | 2763 | ********* ********| |
| 2764 | *********************************************************************************************************/ | 2764 | *********************************************************************************************************/ |
| 2765 | +static T_JZsdkReturnCode Uart_4G_RecvDeal_ActivateStatusCheck(unsigned char *getbuf, int len, int flag) | ||
| 2766 | +{ | ||
| 2767 | + T_JZsdkReturnCode ret; | ||
| 2768 | + | ||
| 2769 | + int FrameSequence = JZsdk_Get_FrameSequence(getbuf); | ||
| 2770 | + | ||
| 2771 | + ret = JZsdk_Uart_ActivateStatusCheck(flag); | ||
| 2772 | + | ||
| 2773 | + //回复操作失败 | ||
| 2774 | + if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 2775 | + { | ||
| 2776 | + JZsdk_Uart_SendDeal_Reply_Failure(UART_4G, FrameSequence); | ||
| 2777 | + } | ||
| 2765 | 2778 | ||
| 2779 | + return ret; | ||
| 2780 | +} | ||
| 2766 | 2781 | ||
| 2767 | /******************************************************************************************************** | 2782 | /******************************************************************************************************** |
| 2768 | ********* ********| | 2783 | ********* ********| |
| @@ -2785,7 +2800,13 @@ int JZsdk_Uart_RecvDeal_CharmDeal_Uart_4G(unsigned char *getbuf, int len) | @@ -2785,7 +2800,13 @@ int JZsdk_Uart_RecvDeal_CharmDeal_Uart_4G(unsigned char *getbuf, int len) | ||
| 2785 | //1、进行指令帧对比,确认该帧的功能 | 2800 | //1、进行指令帧对比,确认该帧的功能 |
| 2786 | int flag = JZsdk_FrameComparsion(getbuf, len); | 2801 | int flag = JZsdk_FrameComparsion(getbuf, len); |
| 2787 | 2802 | ||
| 2788 | - //2、如果传过来的是正常帧 | 2803 | + //2、设备激活对比,未激活,也不是激活帧,就退出判断 |
| 2804 | + if (Uart_4G_RecvDeal_ActivateStatusCheck(getbuf,len,flag) == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 2805 | + { | ||
| 2806 | + return 0; | ||
| 2807 | + } | ||
| 2808 | + | ||
| 2809 | + //3、如果传过来的是正常帧 | ||
| 2789 | if (flag != JZ_ERROR_SYSTEM_FRAME_ERROR ) | 2810 | if (flag != JZ_ERROR_SYSTEM_FRAME_ERROR ) |
| 2790 | { | 2811 | { |
| 2791 | Uart_4G_RecvDeal_RecvDeal(flag, getbuf, len); | 2812 | Uart_4G_RecvDeal_RecvDeal(flag, getbuf, len); |
| @@ -2765,7 +2765,22 @@ int Uart_DEV1_RecvDeal_RecvDeal(int Receive_mode, unsigned char *getdata, int le | @@ -2765,7 +2765,22 @@ int Uart_DEV1_RecvDeal_RecvDeal(int Receive_mode, unsigned char *getdata, int le | ||
| 2765 | ********* ********| | 2765 | ********* ********| |
| 2766 | ********* ********| | 2766 | ********* ********| |
| 2767 | *********************************************************************************************************/ | 2767 | *********************************************************************************************************/ |
| 2768 | +static T_JZsdkReturnCode Uart_DEV1_RecvDeal_ActivateStatusCheck(unsigned char *getbuf, int len, int flag) | ||
| 2769 | +{ | ||
| 2770 | + T_JZsdkReturnCode ret; | ||
| 2771 | + | ||
| 2772 | + int FrameSequence = JZsdk_Get_FrameSequence(getbuf); | ||
| 2773 | + | ||
| 2774 | + ret = JZsdk_Uart_ActivateStatusCheck(flag); | ||
| 2775 | + | ||
| 2776 | + //回复操作失败 | ||
| 2777 | + if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 2778 | + { | ||
| 2779 | + JZsdk_Uart_SendDeal_Reply_Failure(UART_DEV_1, FrameSequence); | ||
| 2780 | + } | ||
| 2768 | 2781 | ||
| 2782 | + return ret; | ||
| 2783 | +} | ||
| 2769 | 2784 | ||
| 2770 | /******************************************************************************************************** | 2785 | /******************************************************************************************************** |
| 2771 | ********* ********| | 2786 | ********* ********| |
| @@ -2788,7 +2803,13 @@ int JZsdk_Uart_RecvDeal_CharmDeal_Uart_DEV1(unsigned char *getbuf, int len) | @@ -2788,7 +2803,13 @@ int JZsdk_Uart_RecvDeal_CharmDeal_Uart_DEV1(unsigned char *getbuf, int len) | ||
| 2788 | //1、进行指令帧对比,确认该帧的功能 | 2803 | //1、进行指令帧对比,确认该帧的功能 |
| 2789 | int flag = JZsdk_FrameComparsion(getbuf, len); | 2804 | int flag = JZsdk_FrameComparsion(getbuf, len); |
| 2790 | 2805 | ||
| 2791 | - //2、如果传过来的是正常帧 | 2806 | + //2、设备激活对比,未激活,也不是激活帧,就退出判断 |
| 2807 | + if (Uart_DEV1_RecvDeal_ActivateStatusCheck(getbuf,len,flag) == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 2808 | + { | ||
| 2809 | + return 0; | ||
| 2810 | + } | ||
| 2811 | + | ||
| 2812 | + //3、如果传过来的是正常帧 | ||
| 2792 | if (flag != JZ_ERROR_SYSTEM_FRAME_ERROR ) | 2813 | if (flag != JZ_ERROR_SYSTEM_FRAME_ERROR ) |
| 2793 | { | 2814 | { |
| 2794 | Uart_DEV1_RecvDeal_RecvDeal(flag, getbuf, len); | 2815 | Uart_DEV1_RecvDeal_RecvDeal(flag, getbuf, len); |
| @@ -2762,7 +2762,22 @@ int Uart_DEV2_RecvDeal_RecvDeal(int Receive_mode, unsigned char *getdata, int le | @@ -2762,7 +2762,22 @@ int Uart_DEV2_RecvDeal_RecvDeal(int Receive_mode, unsigned char *getdata, int le | ||
| 2762 | ********* ********| | 2762 | ********* ********| |
| 2763 | ********* ********| | 2763 | ********* ********| |
| 2764 | *********************************************************************************************************/ | 2764 | *********************************************************************************************************/ |
| 2765 | +static T_JZsdkReturnCode Uart_DEV2_RecvDeal_ActivateStatusCheck(unsigned char *getbuf, int len, int flag) | ||
| 2766 | +{ | ||
| 2767 | + T_JZsdkReturnCode ret; | ||
| 2768 | + | ||
| 2769 | + int FrameSequence = JZsdk_Get_FrameSequence(getbuf); | ||
| 2770 | + | ||
| 2771 | + ret = JZsdk_Uart_ActivateStatusCheck(flag); | ||
| 2772 | + | ||
| 2773 | + //回复操作失败 | ||
| 2774 | + if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 2775 | + { | ||
| 2776 | + JZsdk_Uart_SendDeal_Reply_Failure(UART_DEV_2, FrameSequence); | ||
| 2777 | + } | ||
| 2765 | 2778 | ||
| 2779 | + return ret; | ||
| 2780 | +} | ||
| 2766 | 2781 | ||
| 2767 | /******************************************************************************************************** | 2782 | /******************************************************************************************************** |
| 2768 | ********* ********| | 2783 | ********* ********| |
| @@ -2785,7 +2800,13 @@ int JZsdk_Uart_RecvDeal_CharmDeal_Uart_DEV2(unsigned char *getbuf, int len) | @@ -2785,7 +2800,13 @@ int JZsdk_Uart_RecvDeal_CharmDeal_Uart_DEV2(unsigned char *getbuf, int len) | ||
| 2785 | //1、进行指令帧对比,确认该帧的功能 | 2800 | //1、进行指令帧对比,确认该帧的功能 |
| 2786 | int flag = JZsdk_FrameComparsion(getbuf, len); | 2801 | int flag = JZsdk_FrameComparsion(getbuf, len); |
| 2787 | 2802 | ||
| 2788 | - //2、如果传过来的是正常帧 | 2803 | + //2、设备激活对比,未激活,也不是激活帧,就退出判断 |
| 2804 | + if (Uart_DEV2_RecvDeal_ActivateStatusCheck(getbuf,len,flag) == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 2805 | + { | ||
| 2806 | + return 0; | ||
| 2807 | + } | ||
| 2808 | + | ||
| 2809 | + //3、如果传过来的是正常帧 | ||
| 2789 | if (flag != JZ_ERROR_SYSTEM_FRAME_ERROR ) | 2810 | if (flag != JZ_ERROR_SYSTEM_FRAME_ERROR ) |
| 2790 | { | 2811 | { |
| 2791 | Uart_DEV2_RecvDeal_RecvDeal(flag, getbuf, len); | 2812 | Uart_DEV2_RecvDeal_RecvDeal(flag, getbuf, len); |
| @@ -7,29 +7,24 @@ | @@ -7,29 +7,24 @@ | ||
| 7 | #include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h" | 7 | #include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h" |
| 8 | #include "Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion.h" | 8 | #include "Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion.h" |
| 9 | 9 | ||
| 10 | -//发送任务 | ||
| 11 | -int JZsdk_Uart_SendDeal_SendOreder(int UartPort ,char *sendbuf, int len) | ||
| 12 | -{ | ||
| 13 | - JZsdk_Uart_UartSend(UartPort, sendbuf, len); | ||
| 14 | -} | ||
| 15 | 10 | ||
| 16 | //发送主动连接帧 | 11 | //发送主动连接帧 |
| 17 | int JZsdk_Uart_SendDeal_ConnectFrame(int PortNum) | 12 | int JZsdk_Uart_SendDeal_ConnectFrame(int PortNum) |
| 18 | { | 13 | { |
| 19 | - char sendbuf[256]; | 14 | + unsigned char sendbuf[256]; |
| 20 | int send_buf_len; | 15 | int send_buf_len; |
| 21 | 16 | ||
| 22 | //1、获取帧样板 | 17 | //1、获取帧样板 |
| 23 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_ASKFORCONNECT , sendbuf, &send_buf_len); | 18 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_ASKFORCONNECT , sendbuf, &send_buf_len); |
| 24 | 19 | ||
| 25 | //2、发送帧 | 20 | //2、发送帧 |
| 26 | - JZsdk_Uart_SendDeal_SendOreder(PortNum ,sendbuf, send_buf_len); | 21 | + JZsdk_Uart_UartSend(PortNum ,sendbuf, send_buf_len); |
| 27 | } | 22 | } |
| 28 | 23 | ||
| 29 | //回复连接帧 | 24 | //回复连接帧 |
| 30 | int JZsdk_Uart_SendDeal_Send_Connect(int Uartport , int FrameSequence,int Version_flag) | 25 | int JZsdk_Uart_SendDeal_Send_Connect(int Uartport , int FrameSequence,int Version_flag) |
| 31 | { | 26 | { |
| 32 | - char sendbuf[256]; | 27 | + unsigned char sendbuf[256]; |
| 33 | int send_buf_len; | 28 | int send_buf_len; |
| 34 | 29 | ||
| 35 | //1、获取帧样板 | 30 | //1、获取帧样板 |
| @@ -42,13 +37,13 @@ int JZsdk_Uart_SendDeal_Send_Connect(int Uartport , int FrameSequence,int Versio | @@ -42,13 +37,13 @@ int JZsdk_Uart_SendDeal_Send_Connect(int Uartport , int FrameSequence,int Versio | ||
| 42 | sendbuf[6] = FrameSequence; //帧序列 | 37 | sendbuf[6] = FrameSequence; //帧序列 |
| 43 | 38 | ||
| 44 | //3、发送帧 | 39 | //3、发送帧 |
| 45 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 40 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 46 | } | 41 | } |
| 47 | 42 | ||
| 48 | //发送成功帧 | 43 | //发送成功帧 |
| 49 | int JZsdk_Uart_SendDeal_Reply_Sucesss(int Uartport ,int FrameSequence) | 44 | int JZsdk_Uart_SendDeal_Reply_Sucesss(int Uartport ,int FrameSequence) |
| 50 | { | 45 | { |
| 51 | - char sendbuf[256]; | 46 | + unsigned char sendbuf[256]; |
| 52 | int send_buf_len; | 47 | int send_buf_len; |
| 53 | 48 | ||
| 54 | //1、获取帧样板 | 49 | //1、获取帧样板 |
| @@ -58,13 +53,13 @@ int JZsdk_Uart_SendDeal_Reply_Sucesss(int Uartport ,int FrameSequence) | @@ -58,13 +53,13 @@ int JZsdk_Uart_SendDeal_Reply_Sucesss(int Uartport ,int FrameSequence) | ||
| 58 | sendbuf[6] = FrameSequence; //帧序列 | 53 | sendbuf[6] = FrameSequence; //帧序列 |
| 59 | 54 | ||
| 60 | //3、发送帧 | 55 | //3、发送帧 |
| 61 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 56 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 62 | } | 57 | } |
| 63 | 58 | ||
| 64 | //发送失败帧 | 59 | //发送失败帧 |
| 65 | int JZsdk_Uart_SendDeal_Reply_Failure(int Uartport ,int FrameSequence) | 60 | int JZsdk_Uart_SendDeal_Reply_Failure(int Uartport ,int FrameSequence) |
| 66 | { | 61 | { |
| 67 | - char sendbuf[256]; | 62 | + unsigned char sendbuf[256]; |
| 68 | int send_buf_len; | 63 | int send_buf_len; |
| 69 | 64 | ||
| 70 | //1、获取帧样板 | 65 | //1、获取帧样板 |
| @@ -74,13 +69,13 @@ int JZsdk_Uart_SendDeal_Reply_Failure(int Uartport ,int FrameSequence) | @@ -74,13 +69,13 @@ int JZsdk_Uart_SendDeal_Reply_Failure(int Uartport ,int FrameSequence) | ||
| 74 | sendbuf[6] = FrameSequence; //帧序列 | 69 | sendbuf[6] = FrameSequence; //帧序列 |
| 75 | 70 | ||
| 76 | //3、发送帧 | 71 | //3、发送帧 |
| 77 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 72 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 78 | } | 73 | } |
| 79 | 74 | ||
| 80 | //发送当前从设备名 | 75 | //发送当前从设备名 |
| 81 | int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name, int FrameSequence) | 76 | int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name, int FrameSequence) |
| 82 | { | 77 | { |
| 83 | - char sendbuf[256]; | 78 | + unsigned char sendbuf[256]; |
| 84 | int send_buf_len; | 79 | int send_buf_len; |
| 85 | 80 | ||
| 86 | //1、获取帧样板 | 81 | //1、获取帧样板 |
| @@ -91,14 +86,14 @@ int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name | @@ -91,14 +86,14 @@ int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name | ||
| 91 | sendbuf[10] = device_name; | 86 | sendbuf[10] = device_name; |
| 92 | 87 | ||
| 93 | //3、发送帧 | 88 | //3、发送帧 |
| 94 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 89 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 95 | } | 90 | } |
| 96 | 91 | ||
| 97 | 92 | ||
| 98 | //查询当前从设备名 | 93 | //查询当前从设备名 |
| 99 | int JZsdk_Uart_SendDeal_QuerySecondaryDeviceName(int Uartport ,int FrameSequence) | 94 | int JZsdk_Uart_SendDeal_QuerySecondaryDeviceName(int Uartport ,int FrameSequence) |
| 100 | { | 95 | { |
| 101 | - char sendbuf[256]; | 96 | + unsigned char sendbuf[256]; |
| 102 | int send_buf_len; | 97 | int send_buf_len; |
| 103 | 98 | ||
| 104 | //1、获取帧样板 | 99 | //1、获取帧样板 |
| @@ -108,13 +103,13 @@ int JZsdk_Uart_SendDeal_QuerySecondaryDeviceName(int Uartport ,int FrameSequence | @@ -108,13 +103,13 @@ int JZsdk_Uart_SendDeal_QuerySecondaryDeviceName(int Uartport ,int FrameSequence | ||
| 108 | sendbuf[6] = FrameSequence; //帧序列 | 103 | sendbuf[6] = FrameSequence; //帧序列 |
| 109 | 104 | ||
| 110 | //3、发送帧 | 105 | //3、发送帧 |
| 111 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 106 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 112 | } | 107 | } |
| 113 | 108 | ||
| 114 | //发送当前设备序列号 | 109 | //发送当前设备序列号 |
| 115 | int JZsdk_Uart_SendDeal_SerialNumber(int UartPort, int FrameSequence, char *SerialNumber) | 110 | int JZsdk_Uart_SendDeal_SerialNumber(int UartPort, int FrameSequence, char *SerialNumber) |
| 116 | { | 111 | { |
| 117 | - char sendbuf[256]; | 112 | + unsigned char sendbuf[256]; |
| 118 | int send_buf_len; | 113 | int send_buf_len; |
| 119 | 114 | ||
| 120 | //1、获取帧样板 | 115 | //1、获取帧样板 |
| @@ -135,14 +130,14 @@ int JZsdk_Uart_SendDeal_SerialNumber(int UartPort, int FrameSequence, char *Seri | @@ -135,14 +130,14 @@ int JZsdk_Uart_SendDeal_SerialNumber(int UartPort, int FrameSequence, char *Seri | ||
| 135 | send_buf_len = 25; | 130 | send_buf_len = 25; |
| 136 | 131 | ||
| 137 | //3、发送帧 | 132 | //3、发送帧 |
| 138 | - JZsdk_Uart_SendDeal_SendOreder(UartPort ,sendbuf, send_buf_len); | 133 | + JZsdk_Uart_UartSend(UartPort ,sendbuf, send_buf_len); |
| 139 | } | 134 | } |
| 140 | 135 | ||
| 141 | 136 | ||
| 142 | //发送歌曲名字 | 137 | //发送歌曲名字 |
| 143 | int JZsdk_Uart_SendDeal_Reply_Musiclist(int Uartport ,char *music_name, int music_name_length) | 138 | int JZsdk_Uart_SendDeal_Reply_Musiclist(int Uartport ,char *music_name, int music_name_length) |
| 144 | { | 139 | { |
| 145 | - char sendbuf[256]; | 140 | + unsigned char sendbuf[256]; |
| 146 | int send_buf_len; | 141 | int send_buf_len; |
| 147 | 142 | ||
| 148 | //1、获取帧样板 | 143 | //1、获取帧样板 |
| @@ -159,14 +154,14 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist(int Uartport ,char *music_name, int musi | @@ -159,14 +154,14 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist(int Uartport ,char *music_name, int musi | ||
| 159 | sendbuf[4] = len & 0xff; | 154 | sendbuf[4] = len & 0xff; |
| 160 | 155 | ||
| 161 | //3、发送帧 | 156 | //3、发送帧 |
| 162 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, len); | 157 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, len); |
| 163 | } | 158 | } |
| 164 | 159 | ||
| 165 | //发送歌曲列表开始帧 | 160 | //发送歌曲列表开始帧 |
| 166 | int JZsdk_Uart_SendDeal_Reply_Musiclist_start(int Uartport ,int num) | 161 | int JZsdk_Uart_SendDeal_Reply_Musiclist_start(int Uartport ,int num) |
| 167 | { | 162 | { |
| 168 | printf("发送列表开始帧\n"); | 163 | printf("发送列表开始帧\n"); |
| 169 | - char sendbuf[256]; | 164 | + unsigned char sendbuf[256]; |
| 170 | int send_buf_len; | 165 | int send_buf_len; |
| 171 | 166 | ||
| 172 | //1、获取帧样板 | 167 | //1、获取帧样板 |
| @@ -176,7 +171,7 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist_start(int Uartport ,int num) | @@ -176,7 +171,7 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist_start(int Uartport ,int num) | ||
| 176 | sendbuf[9] = num; | 171 | sendbuf[9] = num; |
| 177 | 172 | ||
| 178 | //3、发送帧 | 173 | //3、发送帧 |
| 179 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 174 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 180 | 175 | ||
| 181 | } | 176 | } |
| 182 | 177 | ||
| @@ -185,7 +180,7 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist_end(int Uartport) | @@ -185,7 +180,7 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist_end(int Uartport) | ||
| 185 | { | 180 | { |
| 186 | printf("发送歌曲列表结束帧\n"); | 181 | printf("发送歌曲列表结束帧\n"); |
| 187 | printf("发送歌曲列表结束帧\n"); | 182 | printf("发送歌曲列表结束帧\n"); |
| 188 | - char sendbuf[256]; | 183 | + unsigned char sendbuf[256]; |
| 189 | int send_buf_len; | 184 | int send_buf_len; |
| 190 | 185 | ||
| 191 | //1、获取帧样板 | 186 | //1、获取帧样板 |
| @@ -194,14 +189,14 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist_end(int Uartport) | @@ -194,14 +189,14 @@ int JZsdk_Uart_SendDeal_Reply_Musiclist_end(int Uartport) | ||
| 194 | //2、写入数据 | 189 | //2、写入数据 |
| 195 | 190 | ||
| 196 | //3、发送帧 | 191 | //3、发送帧 |
| 197 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 192 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 198 | } | 193 | } |
| 199 | 194 | ||
| 200 | //发送播放状态结束帧 | 195 | //发送播放状态结束帧 |
| 201 | int JZsdk_Uart_SendDeal_Send_PlayStatus_end(int Uartport) | 196 | int JZsdk_Uart_SendDeal_Send_PlayStatus_end(int Uartport) |
| 202 | { | 197 | { |
| 203 | printf("发送播放状态结束帧\n"); | 198 | printf("发送播放状态结束帧\n"); |
| 204 | - char sendbuf[256]; | 199 | + unsigned char sendbuf[256]; |
| 205 | int send_buf_len; | 200 | int send_buf_len; |
| 206 | 201 | ||
| 207 | //1、获取帧样板 | 202 | //1、获取帧样板 |
| @@ -210,7 +205,7 @@ int JZsdk_Uart_SendDeal_Send_PlayStatus_end(int Uartport) | @@ -210,7 +205,7 @@ int JZsdk_Uart_SendDeal_Send_PlayStatus_end(int Uartport) | ||
| 210 | //2、写入数据 | 205 | //2、写入数据 |
| 211 | 206 | ||
| 212 | //3、发送帧 | 207 | //3、发送帧 |
| 213 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 208 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 214 | } | 209 | } |
| 215 | 210 | ||
| 216 | //发送播放状态帧 | 211 | //发送播放状态帧 |
| @@ -233,7 +228,7 @@ int JZsdk_Uart_SendDeal_Send_PlayStatus(int Uartport ,int num) | @@ -233,7 +228,7 @@ int JZsdk_Uart_SendDeal_Send_PlayStatus(int Uartport ,int num) | ||
| 233 | break; | 228 | break; |
| 234 | } | 229 | } |
| 235 | printf("发送播放状态帧%x\n",num); | 230 | printf("发送播放状态帧%x\n",num); |
| 236 | - char sendbuf[256]; | 231 | + unsigned char sendbuf[256]; |
| 237 | int send_buf_len; | 232 | int send_buf_len; |
| 238 | 233 | ||
| 239 | //1、获取帧样板 | 234 | //1、获取帧样板 |
| @@ -243,14 +238,14 @@ int JZsdk_Uart_SendDeal_Send_PlayStatus(int Uartport ,int num) | @@ -243,14 +238,14 @@ int JZsdk_Uart_SendDeal_Send_PlayStatus(int Uartport ,int num) | ||
| 243 | sendbuf[9] = (char)num; | 238 | sendbuf[9] = (char)num; |
| 244 | 239 | ||
| 245 | //3、发送帧 | 240 | //3、发送帧 |
| 246 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 241 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 247 | } | 242 | } |
| 248 | 243 | ||
| 249 | //回复当前播放的歌曲名字 | 244 | //回复当前播放的歌曲名字 |
| 250 | int JZsdk_Uart_SendDeal_Reply_MusicName(int Uartport ,char *music_name, int music_name_len) | 245 | int JZsdk_Uart_SendDeal_Reply_MusicName(int Uartport ,char *music_name, int music_name_len) |
| 251 | { | 246 | { |
| 252 | printf("发送当前歌曲名字帧"); | 247 | printf("发送当前歌曲名字帧"); |
| 253 | - char sendbuf[256]; | 248 | + unsigned char sendbuf[256]; |
| 254 | int send_buf_len; | 249 | int send_buf_len; |
| 255 | 250 | ||
| 256 | //1、获取帧样板 | 251 | //1、获取帧样板 |
| @@ -267,14 +262,14 @@ int JZsdk_Uart_SendDeal_Reply_MusicName(int Uartport ,char *music_name, int musi | @@ -267,14 +262,14 @@ int JZsdk_Uart_SendDeal_Reply_MusicName(int Uartport ,char *music_name, int musi | ||
| 267 | sendbuf[4] = len & 0xff; | 262 | sendbuf[4] = len & 0xff; |
| 268 | 263 | ||
| 269 | //3、发送帧 | 264 | //3、发送帧 |
| 270 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, len); | 265 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, len); |
| 271 | } | 266 | } |
| 272 | 267 | ||
| 273 | //回复当前音量 | 268 | //回复当前音量 |
| 274 | int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) | 269 | int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) |
| 275 | { | 270 | { |
| 276 | printf("发送播放状态帧\n"); | 271 | printf("发送播放状态帧\n"); |
| 277 | - char sendbuf[256]; | 272 | + unsigned char sendbuf[256]; |
| 278 | int send_buf_len; | 273 | int send_buf_len; |
| 279 | 274 | ||
| 280 | //1、获取帧样板 | 275 | //1、获取帧样板 |
| @@ -284,7 +279,7 @@ int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) | @@ -284,7 +279,7 @@ int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) | ||
| 284 | sendbuf[9] = (char)num; | 279 | sendbuf[9] = (char)num; |
| 285 | 280 | ||
| 286 | //3、发送帧 | 281 | //3、发送帧 |
| 287 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 282 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 288 | 283 | ||
| 289 | } | 284 | } |
| 290 | 285 | ||
| @@ -294,7 +289,7 @@ int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) | @@ -294,7 +289,7 @@ int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) | ||
| 294 | int JZsdk_Uart_SendDeal_Reply_SoftVersion(int Uartport ,char majorVersion, char minorVersion, char modifyVersion, char debugVersion) | 289 | int JZsdk_Uart_SendDeal_Reply_SoftVersion(int Uartport ,char majorVersion, char minorVersion, char modifyVersion, char debugVersion) |
| 295 | { | 290 | { |
| 296 | printf("发送软件版本号帧\n"); | 291 | printf("发送软件版本号帧\n"); |
| 297 | - char sendbuf[256]; | 292 | + unsigned char sendbuf[256]; |
| 298 | int send_buf_len; | 293 | int send_buf_len; |
| 299 | 294 | ||
| 300 | //1、获取帧样板 | 295 | //1、获取帧样板 |
| @@ -307,7 +302,7 @@ int JZsdk_Uart_SendDeal_Reply_SoftVersion(int Uartport ,char majorVersion, char | @@ -307,7 +302,7 @@ int JZsdk_Uart_SendDeal_Reply_SoftVersion(int Uartport ,char majorVersion, char | ||
| 307 | sendbuf[12] = debugVersion; | 302 | sendbuf[12] = debugVersion; |
| 308 | 303 | ||
| 309 | //3、发送帧 | 304 | //3、发送帧 |
| 310 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 305 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 311 | } | 306 | } |
| 312 | 307 | ||
| 313 | //发送循环状态 | 308 | //发送循环状态 |
| @@ -315,7 +310,7 @@ int JZsdk_Uart_SendDeal_Reply_LoopPlayStatus(int Uartport ,int status) | @@ -315,7 +310,7 @@ int JZsdk_Uart_SendDeal_Reply_LoopPlayStatus(int Uartport ,int status) | ||
| 315 | { | 310 | { |
| 316 | printf("发送循环状态帧\n"); | 311 | printf("发送循环状态帧\n"); |
| 317 | 312 | ||
| 318 | - char sendbuf[256]; | 313 | + unsigned char sendbuf[256]; |
| 319 | int send_buf_len; | 314 | int send_buf_len; |
| 320 | 315 | ||
| 321 | //1、获取帧样板 | 316 | //1、获取帧样板 |
| @@ -325,7 +320,7 @@ int JZsdk_Uart_SendDeal_Reply_LoopPlayStatus(int Uartport ,int status) | @@ -325,7 +320,7 @@ int JZsdk_Uart_SendDeal_Reply_LoopPlayStatus(int Uartport ,int status) | ||
| 325 | sendbuf[9] = status; | 320 | sendbuf[9] = status; |
| 326 | 321 | ||
| 327 | //3、发送帧 | 322 | //3、发送帧 |
| 328 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 323 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 329 | 324 | ||
| 330 | } | 325 | } |
| 331 | 326 | ||
| @@ -334,7 +329,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_tone(int Uartport ,int tone) | @@ -334,7 +329,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_tone(int Uartport ,int tone) | ||
| 334 | { | 329 | { |
| 335 | printf("发送音色帧\n"); | 330 | printf("发送音色帧\n"); |
| 336 | 331 | ||
| 337 | - char sendbuf[256]; | 332 | + unsigned char sendbuf[256]; |
| 338 | int send_buf_len; | 333 | int send_buf_len; |
| 339 | 334 | ||
| 340 | //1、获取帧样板 | 335 | //1、获取帧样板 |
| @@ -344,7 +339,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_tone(int Uartport ,int tone) | @@ -344,7 +339,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_tone(int Uartport ,int tone) | ||
| 344 | sendbuf[9] = tone; | 339 | sendbuf[9] = tone; |
| 345 | 340 | ||
| 346 | //3、发送帧 | 341 | //3、发送帧 |
| 347 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 342 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 348 | } | 343 | } |
| 349 | 344 | ||
| 350 | //发送语速 | 345 | //发送语速 |
| @@ -352,7 +347,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_speed(int Uartport ,int speed) | @@ -352,7 +347,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_speed(int Uartport ,int speed) | ||
| 352 | { | 347 | { |
| 353 | printf("发送音色帧\n"); | 348 | printf("发送音色帧\n"); |
| 354 | 349 | ||
| 355 | - char sendbuf[256]; | 350 | + unsigned char sendbuf[256]; |
| 356 | int send_buf_len; | 351 | int send_buf_len; |
| 357 | 352 | ||
| 358 | //1、获取帧样板 | 353 | //1、获取帧样板 |
| @@ -362,7 +357,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_speed(int Uartport ,int speed) | @@ -362,7 +357,7 @@ int JZsdk_Uart_SendDeal_Reply_TTS_speed(int Uartport ,int speed) | ||
| 362 | sendbuf[9] = speed; | 357 | sendbuf[9] = speed; |
| 363 | 358 | ||
| 364 | //3、发送帧 | 359 | //3、发送帧 |
| 365 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 360 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 366 | } | 361 | } |
| 367 | 362 | ||
| 368 | /************* | 363 | /************* |
| @@ -374,7 +369,7 @@ int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | @@ -374,7 +369,7 @@ int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | ||
| 374 | { | 369 | { |
| 375 | printf("发送opus解码状态帧\n"); | 370 | printf("发送opus解码状态帧\n"); |
| 376 | 371 | ||
| 377 | - char sendbuf[256]; | 372 | + unsigned char sendbuf[256]; |
| 378 | int send_buf_len; | 373 | int send_buf_len; |
| 379 | 374 | ||
| 380 | //1、获取帧样板 | 375 | //1、获取帧样板 |
| @@ -384,7 +379,7 @@ int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | @@ -384,7 +379,7 @@ int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | ||
| 384 | sendbuf[9] = value; | 379 | sendbuf[9] = value; |
| 385 | 380 | ||
| 386 | //3、发送帧 | 381 | //3、发送帧 |
| 387 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 382 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 388 | } | 383 | } |
| 389 | 384 | ||
| 390 | /**************************************************************************************************************************************************** | 385 | /**************************************************************************************************************************************************** |
| @@ -397,7 +392,7 @@ int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | @@ -397,7 +392,7 @@ int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | ||
| 397 | int JZsdk_Uart_SendDeal_Reply_GimbalPitchAngle(int Uartport ,int angle) | 392 | int JZsdk_Uart_SendDeal_Reply_GimbalPitchAngle(int Uartport ,int angle) |
| 398 | { | 393 | { |
| 399 | printf("发送当前云台角度帧\n"); | 394 | printf("发送当前云台角度帧\n"); |
| 400 | - char sendbuf[256]; | 395 | + unsigned char sendbuf[256]; |
| 401 | int send_buf_len; | 396 | int send_buf_len; |
| 402 | 397 | ||
| 403 | //1、获取帧样板 | 398 | //1、获取帧样板 |
| @@ -416,21 +411,21 @@ int JZsdk_Uart_SendDeal_Reply_GimbalPitchAngle(int Uartport ,int angle) | @@ -416,21 +411,21 @@ int JZsdk_Uart_SendDeal_Reply_GimbalPitchAngle(int Uartport ,int angle) | ||
| 416 | sendbuf[11] = (char)(angle & 255); | 411 | sendbuf[11] = (char)(angle & 255); |
| 417 | 412 | ||
| 418 | //3、发送帧 | 413 | //3、发送帧 |
| 419 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 414 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 420 | } | 415 | } |
| 421 | 416 | ||
| 422 | //设置当前云台角度 | 417 | //设置当前云台角度 |
| 423 | int JZsdk_Uart_SendDeal_Set_GimbalPitchAngle(int Uartport ,int angle) | 418 | int JZsdk_Uart_SendDeal_Set_GimbalPitchAngle(int Uartport ,int angle) |
| 424 | { | 419 | { |
| 425 | - printf("发送设置云台角度帧 %d\n",angle); | ||
| 426 | - //char sendbuf[256]; | 420 | + //printf("发送设置云台角度帧 %d\n",angle); //该打印可能会造成卡顿 |
| 421 | + unsigned char sendbuf[256]; | ||
| 427 | int send_buf_len; | 422 | int send_buf_len; |
| 428 | 423 | ||
| 429 | //1、获取帧样板 | 424 | //1、获取帧样板 |
| 430 | - //JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_GIMBAL_PITCH_CONTROL, sendbuf, &send_buf_len); | 425 | + JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_GIMBAL_PITCH_CONTROL, sendbuf, &send_buf_len); |
| 431 | 426 | ||
| 432 | - char sendbuf[14] = {0x5A ,0x5A ,0x77 ,0x00 ,0x0E ,0x00 ,0x00 ,0x64 ,0x51 ,0x00 ,0x00 ,0x00 ,0x00 ,0x23}; | ||
| 433 | - send_buf_len = 14; | 427 | + //char sendbuf[14] = {0x5A ,0x5A ,0x77 ,0x00 ,0x0E ,0x00 ,0x00 ,0x64 ,0x51 ,0x00 ,0x00 ,0x00 ,0x00 ,0x23}; |
| 428 | + //send_buf_len = 14; | ||
| 434 | 429 | ||
| 435 | //2、写入数据 | 430 | //2、写入数据 |
| 436 | if (angle < 0) | 431 | if (angle < 0) |
| @@ -447,14 +442,14 @@ int JZsdk_Uart_SendDeal_Set_GimbalPitchAngle(int Uartport ,int angle) | @@ -447,14 +442,14 @@ int JZsdk_Uart_SendDeal_Set_GimbalPitchAngle(int Uartport ,int angle) | ||
| 447 | sendbuf[11] = (angle & 0xff); | 442 | sendbuf[11] = (angle & 0xff); |
| 448 | 443 | ||
| 449 | //3、发送帧 | 444 | //3、发送帧 |
| 450 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 445 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 451 | } | 446 | } |
| 452 | 447 | ||
| 453 | //查询云台角度 | 448 | //查询云台角度 |
| 454 | int JZsdk_Uart_SendDeal_CheckStatus_GimbalAngle(int Uartport ,int FrameSequence) | 449 | int JZsdk_Uart_SendDeal_CheckStatus_GimbalAngle(int Uartport ,int FrameSequence) |
| 455 | { | 450 | { |
| 456 | printf("发送查询云台角度帧\n"); | 451 | printf("发送查询云台角度帧\n"); |
| 457 | - char sendbuf[256]; | 452 | + unsigned char sendbuf[256]; |
| 458 | int send_buf_len; | 453 | int send_buf_len; |
| 459 | 454 | ||
| 460 | //1、获取帧样板 | 455 | //1、获取帧样板 |
| @@ -464,14 +459,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_GimbalAngle(int Uartport ,int FrameSequence) | @@ -464,14 +459,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_GimbalAngle(int Uartport ,int FrameSequence) | ||
| 464 | sendbuf[6] = FrameSequence; | 459 | sendbuf[6] = FrameSequence; |
| 465 | 460 | ||
| 466 | //3、发送帧 | 461 | //3、发送帧 |
| 467 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 462 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 468 | } | 463 | } |
| 469 | 464 | ||
| 470 | //微调云台pitch | 465 | //微调云台pitch |
| 471 | int JZsdk_Uart_SendDeal_Set_GimbalFineTuningPitch(int Uartport, int PitchFineTuning) | 466 | int JZsdk_Uart_SendDeal_Set_GimbalFineTuningPitch(int Uartport, int PitchFineTuning) |
| 472 | { | 467 | { |
| 473 | printf("发送微调云台pitch帧\n"); | 468 | printf("发送微调云台pitch帧\n"); |
| 474 | - char sendbuf[256]; | 469 | + unsigned char sendbuf[256]; |
| 475 | int send_buf_len; | 470 | int send_buf_len; |
| 476 | 471 | ||
| 477 | //1、获取帧样板 | 472 | //1、获取帧样板 |
| @@ -492,14 +487,14 @@ int JZsdk_Uart_SendDeal_Set_GimbalFineTuningPitch(int Uartport, int PitchFineTun | @@ -492,14 +487,14 @@ int JZsdk_Uart_SendDeal_Set_GimbalFineTuningPitch(int Uartport, int PitchFineTun | ||
| 492 | sendbuf[11] = (PitchFineTuning & 0xff); | 487 | sendbuf[11] = (PitchFineTuning & 0xff); |
| 493 | 488 | ||
| 494 | //3、发送帧 | 489 | //3、发送帧 |
| 495 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 490 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 496 | } | 491 | } |
| 497 | 492 | ||
| 498 | //查询云台角度微调值 | 493 | //查询云台角度微调值 |
| 499 | int JZsdk_Uart_SendDeal_CheckStatus_GimbalFineTuningPitch(int Uartport, int FrameSequence) | 494 | int JZsdk_Uart_SendDeal_CheckStatus_GimbalFineTuningPitch(int Uartport, int FrameSequence) |
| 500 | { | 495 | { |
| 501 | printf("发送查询云台角度微调值帧\n"); | 496 | printf("发送查询云台角度微调值帧\n"); |
| 502 | - char sendbuf[256]; | 497 | + unsigned char sendbuf[256]; |
| 503 | int send_buf_len; | 498 | int send_buf_len; |
| 504 | 499 | ||
| 505 | //1、获取帧样板 | 500 | //1、获取帧样板 |
| @@ -509,14 +504,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_GimbalFineTuningPitch(int Uartport, int Fram | @@ -509,14 +504,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_GimbalFineTuningPitch(int Uartport, int Fram | ||
| 509 | sendbuf[6] = FrameSequence; //帧序列 | 504 | sendbuf[6] = FrameSequence; //帧序列 |
| 510 | 505 | ||
| 511 | //3、发送帧 | 506 | //3、发送帧 |
| 512 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 507 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 513 | } | 508 | } |
| 514 | 509 | ||
| 515 | //回复云台pitch微调值 | 510 | //回复云台pitch微调值 |
| 516 | int JZsdk_Uart_SendDeal_Reply_GimbalFineTuningPitch(int Uartport, int FrameSequence, int FineTunigPitch) | 511 | int JZsdk_Uart_SendDeal_Reply_GimbalFineTuningPitch(int Uartport, int FrameSequence, int FineTunigPitch) |
| 517 | { | 512 | { |
| 518 | printf("发送云台pitch微调值\n"); | 513 | printf("发送云台pitch微调值\n"); |
| 519 | - char sendbuf[256]; | 514 | + unsigned char sendbuf[256]; |
| 520 | int send_buf_len; | 515 | int send_buf_len; |
| 521 | 516 | ||
| 522 | //1、获取帧样板 | 517 | //1、获取帧样板 |
| @@ -537,14 +532,14 @@ int JZsdk_Uart_SendDeal_Reply_GimbalFineTuningPitch(int Uartport, int FrameSeque | @@ -537,14 +532,14 @@ int JZsdk_Uart_SendDeal_Reply_GimbalFineTuningPitch(int Uartport, int FrameSeque | ||
| 537 | sendbuf[11] = (FineTunigPitch & 0xff); | 532 | sendbuf[11] = (FineTunigPitch & 0xff); |
| 538 | 533 | ||
| 539 | //3、发送帧 | 534 | //3、发送帧 |
| 540 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 535 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 541 | } | 536 | } |
| 542 | 537 | ||
| 543 | //设置云台联动 | 538 | //设置云台联动 |
| 544 | int JZsdk_Uart_SendDeal_Set_GimbalLinkageControl(int Uartport,int FrameSequence, int value) | 539 | int JZsdk_Uart_SendDeal_Set_GimbalLinkageControl(int Uartport,int FrameSequence, int value) |
| 545 | { | 540 | { |
| 546 | printf("发送设置云台联动帧\n"); | 541 | printf("发送设置云台联动帧\n"); |
| 547 | - char sendbuf[256]; | 542 | + unsigned char sendbuf[256]; |
| 548 | int send_buf_len; | 543 | int send_buf_len; |
| 549 | 544 | ||
| 550 | //1、获取帧样板 | 545 | //1、获取帧样板 |
| @@ -555,14 +550,14 @@ int JZsdk_Uart_SendDeal_Set_GimbalLinkageControl(int Uartport,int FrameSequence, | @@ -555,14 +550,14 @@ int JZsdk_Uart_SendDeal_Set_GimbalLinkageControl(int Uartport,int FrameSequence, | ||
| 555 | sendbuf[10] = value; | 550 | sendbuf[10] = value; |
| 556 | 551 | ||
| 557 | //3、发送帧 | 552 | //3、发送帧 |
| 558 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 553 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 559 | } | 554 | } |
| 560 | 555 | ||
| 561 | //查询云台联动值 | 556 | //查询云台联动值 |
| 562 | int JZsdk_Uart_SendDeal_CheckStatus_GimbalLinkage(int Uartport,int FrameSequence) | 557 | int JZsdk_Uart_SendDeal_CheckStatus_GimbalLinkage(int Uartport,int FrameSequence) |
| 563 | { | 558 | { |
| 564 | printf("发送查询云台联动值帧\n"); | 559 | printf("发送查询云台联动值帧\n"); |
| 565 | - char sendbuf[256]; | 560 | + unsigned char sendbuf[256]; |
| 566 | int send_buf_len; | 561 | int send_buf_len; |
| 567 | 562 | ||
| 568 | //1、获取帧样板 | 563 | //1、获取帧样板 |
| @@ -572,14 +567,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_GimbalLinkage(int Uartport,int FrameSequence | @@ -572,14 +567,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_GimbalLinkage(int Uartport,int FrameSequence | ||
| 572 | sendbuf[6] = FrameSequence; //帧序列 | 567 | sendbuf[6] = FrameSequence; //帧序列 |
| 573 | 568 | ||
| 574 | //3、发送帧 | 569 | //3、发送帧 |
| 575 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 570 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 576 | } | 571 | } |
| 577 | 572 | ||
| 578 | //发送云台联动值 | 573 | //发送云台联动值 |
| 579 | int JZsdk_Uart_SendDeal_GimbalLinkageControl(int Uartport,int FrameSequence,int value) | 574 | int JZsdk_Uart_SendDeal_GimbalLinkageControl(int Uartport,int FrameSequence,int value) |
| 580 | { | 575 | { |
| 581 | printf("发送云台联动值帧\n"); | 576 | printf("发送云台联动值帧\n"); |
| 582 | - char sendbuf[256]; | 577 | + unsigned char sendbuf[256]; |
| 583 | int send_buf_len; | 578 | int send_buf_len; |
| 584 | 579 | ||
| 585 | //1、获取帧样板 | 580 | //1、获取帧样板 |
| @@ -590,14 +585,14 @@ int JZsdk_Uart_SendDeal_GimbalLinkageControl(int Uartport,int FrameSequence,int | @@ -590,14 +585,14 @@ int JZsdk_Uart_SendDeal_GimbalLinkageControl(int Uartport,int FrameSequence,int | ||
| 590 | sendbuf[10] = value; | 585 | sendbuf[10] = value; |
| 591 | 586 | ||
| 592 | //3、发送帧 | 587 | //3、发送帧 |
| 593 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 588 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 594 | } | 589 | } |
| 595 | 590 | ||
| 596 | //发送云台最大最小值帧 | 591 | //发送云台最大最小值帧 |
| 597 | int JZsdk_Uart_SendDeal_SetGimbalRange(int Uartport,int FrameSequence,int value) | 592 | int JZsdk_Uart_SendDeal_SetGimbalRange(int Uartport,int FrameSequence,int value) |
| 598 | { | 593 | { |
| 599 | printf("发送云台最大最小值帧\n"); | 594 | printf("发送云台最大最小值帧\n"); |
| 600 | - char sendbuf[256]; | 595 | + unsigned char sendbuf[256]; |
| 601 | int send_buf_len; | 596 | int send_buf_len; |
| 602 | 597 | ||
| 603 | //1、获取帧样板 | 598 | //1、获取帧样板 |
| @@ -608,7 +603,7 @@ int JZsdk_Uart_SendDeal_SetGimbalRange(int Uartport,int FrameSequence,int value) | @@ -608,7 +603,7 @@ int JZsdk_Uart_SendDeal_SetGimbalRange(int Uartport,int FrameSequence,int value) | ||
| 608 | sendbuf[10] = value; | 603 | sendbuf[10] = value; |
| 609 | 604 | ||
| 610 | //3、发送帧 | 605 | //3、发送帧 |
| 611 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 606 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 612 | } | 607 | } |
| 613 | 608 | ||
| 614 | /**************************************************************************************************************************************************** | 609 | /**************************************************************************************************************************************************** |
| @@ -622,7 +617,7 @@ int JZsdk_Uart_SendDeal_Set_SearchLightFrequency(int Uartport ,int Frequency) | @@ -622,7 +617,7 @@ int JZsdk_Uart_SendDeal_Set_SearchLightFrequency(int Uartport ,int Frequency) | ||
| 622 | { | 617 | { |
| 623 | printf("发送设置爆闪频率帧\n"); | 618 | printf("发送设置爆闪频率帧\n"); |
| 624 | 619 | ||
| 625 | - char sendbuf[256]; | 620 | + unsigned char sendbuf[256]; |
| 626 | int send_buf_len; | 621 | int send_buf_len; |
| 627 | 622 | ||
| 628 | //1、获取帧样板 | 623 | //1、获取帧样板 |
| @@ -632,7 +627,7 @@ int JZsdk_Uart_SendDeal_Set_SearchLightFrequency(int Uartport ,int Frequency) | @@ -632,7 +627,7 @@ int JZsdk_Uart_SendDeal_Set_SearchLightFrequency(int Uartport ,int Frequency) | ||
| 632 | sendbuf[10] = Frequency; | 627 | sendbuf[10] = Frequency; |
| 633 | 628 | ||
| 634 | //3、发送帧 | 629 | //3、发送帧 |
| 635 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 630 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 636 | } | 631 | } |
| 637 | 632 | ||
| 638 | //设置探照灯控制 | 633 | //设置探照灯控制 |
| @@ -640,7 +635,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Control(int Uartport,int mode) | @@ -640,7 +635,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Control(int Uartport,int mode) | ||
| 640 | { | 635 | { |
| 641 | printf("发送探照灯控制\n"); | 636 | printf("发送探照灯控制\n"); |
| 642 | 637 | ||
| 643 | - char sendbuf[256]; | 638 | + unsigned char sendbuf[256]; |
| 644 | int send_buf_len; | 639 | int send_buf_len; |
| 645 | 640 | ||
| 646 | //1、获取帧样板 | 641 | //1、获取帧样板 |
| @@ -650,7 +645,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Control(int Uartport,int mode) | @@ -650,7 +645,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Control(int Uartport,int mode) | ||
| 650 | sendbuf[10] = mode; | 645 | sendbuf[10] = mode; |
| 651 | 646 | ||
| 652 | //3、发送帧 | 647 | //3、发送帧 |
| 653 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 648 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 654 | } | 649 | } |
| 655 | 650 | ||
| 656 | //设置探照灯亮度 | 651 | //设置探照灯亮度 |
| @@ -658,7 +653,7 @@ int JZsdk_Uart_SendDeal_SearchLight_SetLumen(int Uartport, int LeftLumen, int | @@ -658,7 +653,7 @@ int JZsdk_Uart_SendDeal_SearchLight_SetLumen(int Uartport, int LeftLumen, int | ||
| 658 | { | 653 | { |
| 659 | printf("发送设置探照灯亮度\n"); | 654 | printf("发送设置探照灯亮度\n"); |
| 660 | 655 | ||
| 661 | - char sendbuf[256]; | 656 | + unsigned char sendbuf[256]; |
| 662 | int send_buf_len; | 657 | int send_buf_len; |
| 663 | 658 | ||
| 664 | //1、获取帧样板 | 659 | //1、获取帧样板 |
| @@ -669,7 +664,7 @@ int JZsdk_Uart_SendDeal_SearchLight_SetLumen(int Uartport, int LeftLumen, int | @@ -669,7 +664,7 @@ int JZsdk_Uart_SendDeal_SearchLight_SetLumen(int Uartport, int LeftLumen, int | ||
| 669 | sendbuf[10] = RightLumen; | 664 | sendbuf[10] = RightLumen; |
| 670 | 665 | ||
| 671 | //3、发送帧 | 666 | //3、发送帧 |
| 672 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 667 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 673 | } | 668 | } |
| 674 | 669 | ||
| 675 | //发送 | 670 | //发送 |
| @@ -679,14 +674,14 @@ int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Frequency(int Uartport) | @@ -679,14 +674,14 @@ int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Frequency(int Uartport) | ||
| 679 | { | 674 | { |
| 680 | printf("发送查询探照灯频率帧\n"); | 675 | printf("发送查询探照灯频率帧\n"); |
| 681 | 676 | ||
| 682 | - char sendbuf[256]; | 677 | + unsigned char sendbuf[256]; |
| 683 | int send_buf_len; | 678 | int send_buf_len; |
| 684 | 679 | ||
| 685 | //1、获取帧样板 | 680 | //1、获取帧样板 |
| 686 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_FREQUENCY, sendbuf, &send_buf_len); | 681 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_FREQUENCY, sendbuf, &send_buf_len); |
| 687 | 682 | ||
| 688 | //2、发送帧 | 683 | //2、发送帧 |
| 689 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 684 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 690 | } | 685 | } |
| 691 | 686 | ||
| 692 | //查询探照灯亮度 | 687 | //查询探照灯亮度 |
| @@ -694,14 +689,14 @@ int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Lumen(int Uartport) | @@ -694,14 +689,14 @@ int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Lumen(int Uartport) | ||
| 694 | { | 689 | { |
| 695 | printf("发送查询探照灯亮度帧\n"); | 690 | printf("发送查询探照灯亮度帧\n"); |
| 696 | 691 | ||
| 697 | - char sendbuf[256]; | 692 | + unsigned char sendbuf[256]; |
| 698 | int send_buf_len; | 693 | int send_buf_len; |
| 699 | 694 | ||
| 700 | //1、获取帧样板 | 695 | //1、获取帧样板 |
| 701 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_LUMEN, sendbuf, &send_buf_len); | 696 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_LUMEN, sendbuf, &send_buf_len); |
| 702 | 697 | ||
| 703 | //2、发送帧 | 698 | //2、发送帧 |
| 704 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 699 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 705 | } | 700 | } |
| 706 | 701 | ||
| 707 | //查询探照灯模式 | 702 | //查询探照灯模式 |
| @@ -709,14 +704,14 @@ int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Mode(int Uartport) | @@ -709,14 +704,14 @@ int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Mode(int Uartport) | ||
| 709 | { | 704 | { |
| 710 | printf("发送查询探照灯模式帧\n"); | 705 | printf("发送查询探照灯模式帧\n"); |
| 711 | 706 | ||
| 712 | - char sendbuf[256]; | 707 | + unsigned char sendbuf[256]; |
| 713 | int send_buf_len; | 708 | int send_buf_len; |
| 714 | 709 | ||
| 715 | //1、获取帧样板 | 710 | //1、获取帧样板 |
| 716 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_MODE, sendbuf, &send_buf_len); | 711 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_MODE, sendbuf, &send_buf_len); |
| 717 | 712 | ||
| 718 | //2、发送帧 | 713 | //2、发送帧 |
| 719 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 714 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 720 | } | 715 | } |
| 721 | 716 | ||
| 722 | //查询探照灯属性 | 717 | //查询探照灯属性 |
| @@ -724,14 +719,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_LightAttribute(int Uartport) | @@ -724,14 +719,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_LightAttribute(int Uartport) | ||
| 724 | { | 719 | { |
| 725 | printf("发送查询探照灯属性帧\n"); | 720 | printf("发送查询探照灯属性帧\n"); |
| 726 | 721 | ||
| 727 | - char sendbuf[256]; | 722 | + unsigned char sendbuf[256]; |
| 728 | int send_buf_len; | 723 | int send_buf_len; |
| 729 | 724 | ||
| 730 | //1、获取帧样板 | 725 | //1、获取帧样板 |
| 731 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_LIGHTATTRIBUTE, sendbuf, &send_buf_len); | 726 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_LIGHTATTRIBUTE, sendbuf, &send_buf_len); |
| 732 | 727 | ||
| 733 | //2、发送帧 | 728 | //2、发送帧 |
| 734 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 729 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 735 | } | 730 | } |
| 736 | 731 | ||
| 737 | //查询探照灯温度 | 732 | //查询探照灯温度 |
| @@ -739,14 +734,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_SearchLightTemperture(int Uartport) | @@ -739,14 +734,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_SearchLightTemperture(int Uartport) | ||
| 739 | { | 734 | { |
| 740 | printf("发送查询探照灯温度\n"); | 735 | printf("发送查询探照灯温度\n"); |
| 741 | 736 | ||
| 742 | - char sendbuf[256]; | 737 | + unsigned char sendbuf[256]; |
| 743 | int send_buf_len; | 738 | int send_buf_len; |
| 744 | 739 | ||
| 745 | //1、获取帧样板 | 740 | //1、获取帧样板 |
| 746 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_TEMPERATURE, sendbuf, &send_buf_len); | 741 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_TEMPERATURE, sendbuf, &send_buf_len); |
| 747 | 742 | ||
| 748 | //2、发送帧 | 743 | //2、发送帧 |
| 749 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 744 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 750 | } | 745 | } |
| 751 | 746 | ||
| 752 | //开启消息订阅 | 747 | //开启消息订阅 |
| @@ -754,7 +749,7 @@ int JZsdk_Uart_SendDeal_MessageSubcription_Control(int Uartport, int value) | @@ -754,7 +749,7 @@ int JZsdk_Uart_SendDeal_MessageSubcription_Control(int Uartport, int value) | ||
| 754 | { | 749 | { |
| 755 | printf("发送开启消息订阅%d\n",value); | 750 | printf("发送开启消息订阅%d\n",value); |
| 756 | 751 | ||
| 757 | - char sendbuf[256]; | 752 | + unsigned char sendbuf[256]; |
| 758 | int send_buf_len; | 753 | int send_buf_len; |
| 759 | 754 | ||
| 760 | //1、获取帧样板 | 755 | //1、获取帧样板 |
| @@ -764,7 +759,7 @@ int JZsdk_Uart_SendDeal_MessageSubcription_Control(int Uartport, int value) | @@ -764,7 +759,7 @@ int JZsdk_Uart_SendDeal_MessageSubcription_Control(int Uartport, int value) | ||
| 764 | sendbuf[10] = value; | 759 | sendbuf[10] = value; |
| 765 | 760 | ||
| 766 | //3、发送帧 | 761 | //3、发送帧 |
| 767 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 762 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 768 | } | 763 | } |
| 769 | 764 | ||
| 770 | /**************************************************************************************************************************************************** | 765 | /**************************************************************************************************************************************************** |
| @@ -781,7 +776,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Status(int Uartport,int status, int mod | @@ -781,7 +776,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Status(int Uartport,int status, int mod | ||
| 781 | { | 776 | { |
| 782 | printf("发送设置警灯状态\n"); | 777 | printf("发送设置警灯状态\n"); |
| 783 | 778 | ||
| 784 | - char sendbuf[256]; | 779 | + unsigned char sendbuf[256]; |
| 785 | int send_buf_len; | 780 | int send_buf_len; |
| 786 | 781 | ||
| 787 | //1、获取帧样板 | 782 | //1、获取帧样板 |
| @@ -792,7 +787,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Status(int Uartport,int status, int mod | @@ -792,7 +787,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Status(int Uartport,int status, int mod | ||
| 792 | sendbuf[10] = mode; | 787 | sendbuf[10] = mode; |
| 793 | 788 | ||
| 794 | //3、发送帧 | 789 | //3、发送帧 |
| 795 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 790 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 796 | } | 791 | } |
| 797 | 792 | ||
| 798 | /************* | 793 | /************* |
| @@ -804,7 +799,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Color(int Uartport,int color1, int colo | @@ -804,7 +799,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Color(int Uartport,int color1, int colo | ||
| 804 | { | 799 | { |
| 805 | printf("发送设置警灯颜色\n"); | 800 | printf("发送设置警灯颜色\n"); |
| 806 | 801 | ||
| 807 | - char sendbuf[256]; | 802 | + unsigned char sendbuf[256]; |
| 808 | int send_buf_len; | 803 | int send_buf_len; |
| 809 | 804 | ||
| 810 | //1、获取帧样板 | 805 | //1、获取帧样板 |
| @@ -815,7 +810,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Color(int Uartport,int color1, int colo | @@ -815,7 +810,7 @@ int JZsdk_Uart_SendDeal_Set_WarningLight_Color(int Uartport,int color1, int colo | ||
| 815 | sendbuf[10] = color2; | 810 | sendbuf[10] = color2; |
| 816 | 811 | ||
| 817 | //3、发送帧 | 812 | //3、发送帧 |
| 818 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 813 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 819 | } | 814 | } |
| 820 | 815 | ||
| 821 | //查询警灯状态 | 816 | //查询警灯状态 |
| @@ -823,14 +818,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_WarningLightStatus(int Uartport) | @@ -823,14 +818,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_WarningLightStatus(int Uartport) | ||
| 823 | { | 818 | { |
| 824 | printf("发送查询警灯状态\n"); | 819 | printf("发送查询警灯状态\n"); |
| 825 | 820 | ||
| 826 | - char sendbuf[256]; | 821 | + unsigned char sendbuf[256]; |
| 827 | int send_buf_len; | 822 | int send_buf_len; |
| 828 | 823 | ||
| 829 | //1、获取帧样板 | 824 | //1、获取帧样板 |
| 830 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_WARNINGLIGHT_STATUS, sendbuf, &send_buf_len); | 825 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_WARNINGLIGHT_STATUS, sendbuf, &send_buf_len); |
| 831 | 826 | ||
| 832 | //2、发送帧 | 827 | //2、发送帧 |
| 833 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 828 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 834 | } | 829 | } |
| 835 | 830 | ||
| 836 | //查询警灯颜色 | 831 | //查询警灯颜色 |
| @@ -838,14 +833,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_WarningLightColor(int Uartport) | @@ -838,14 +833,14 @@ int JZsdk_Uart_SendDeal_CheckStatus_WarningLightColor(int Uartport) | ||
| 838 | { | 833 | { |
| 839 | printf("发送查询警灯颜色\n"); | 834 | printf("发送查询警灯颜色\n"); |
| 840 | 835 | ||
| 841 | - char sendbuf[256]; | 836 | + unsigned char sendbuf[256]; |
| 842 | int send_buf_len; | 837 | int send_buf_len; |
| 843 | 838 | ||
| 844 | //1、获取帧样板 | 839 | //1、获取帧样板 |
| 845 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_WARNINGLIGHT_COLOR, sendbuf, &send_buf_len); | 840 | JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_WARNINGLIGHT_COLOR, sendbuf, &send_buf_len); |
| 846 | 841 | ||
| 847 | //2、发送帧 | 842 | //2、发送帧 |
| 848 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 843 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 849 | } | 844 | } |
| 850 | 845 | ||
| 851 | /**************************************************************************************************************************************************** | 846 | /**************************************************************************************************************************************************** |
| @@ -862,7 +857,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Frequency(int Uartport, int Frequency) | @@ -862,7 +857,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Frequency(int Uartport, int Frequency) | ||
| 862 | { | 857 | { |
| 863 | printf("发送灯光频率帧\n"); | 858 | printf("发送灯光频率帧\n"); |
| 864 | 859 | ||
| 865 | - char sendbuf[256]; | 860 | + unsigned char sendbuf[256]; |
| 866 | int send_buf_len; | 861 | int send_buf_len; |
| 867 | 862 | ||
| 868 | //1、获取帧样板 | 863 | //1、获取帧样板 |
| @@ -872,7 +867,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Frequency(int Uartport, int Frequency) | @@ -872,7 +867,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Frequency(int Uartport, int Frequency) | ||
| 872 | sendbuf[10] = Frequency; | 867 | sendbuf[10] = Frequency; |
| 873 | 868 | ||
| 874 | //3、发送帧 | 869 | //3、发送帧 |
| 875 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 870 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 876 | } | 871 | } |
| 877 | 872 | ||
| 878 | /************* | 873 | /************* |
| @@ -884,7 +879,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Mode(int Uartport, int mode) | @@ -884,7 +879,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Mode(int Uartport, int mode) | ||
| 884 | { | 879 | { |
| 885 | printf("发送探照灯模式帧\n"); | 880 | printf("发送探照灯模式帧\n"); |
| 886 | 881 | ||
| 887 | - char sendbuf[256]; | 882 | + unsigned char sendbuf[256]; |
| 888 | int send_buf_len; | 883 | int send_buf_len; |
| 889 | 884 | ||
| 890 | //1、获取帧样板 | 885 | //1、获取帧样板 |
| @@ -894,7 +889,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Mode(int Uartport, int mode) | @@ -894,7 +889,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Mode(int Uartport, int mode) | ||
| 894 | sendbuf[10] = mode; | 889 | sendbuf[10] = mode; |
| 895 | 890 | ||
| 896 | //3、发送帧 | 891 | //3、发送帧 |
| 897 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 892 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 898 | } | 893 | } |
| 899 | 894 | ||
| 900 | /************* | 895 | /************* |
| @@ -906,7 +901,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Lumen(int Uartport,int LeftLumen, int RightL | @@ -906,7 +901,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Lumen(int Uartport,int LeftLumen, int RightL | ||
| 906 | { | 901 | { |
| 907 | printf("发送探照灯亮度帧\n"); | 902 | printf("发送探照灯亮度帧\n"); |
| 908 | 903 | ||
| 909 | - char sendbuf[256]; | 904 | + unsigned char sendbuf[256]; |
| 910 | int send_buf_len; | 905 | int send_buf_len; |
| 911 | 906 | ||
| 912 | //1、获取帧样板 | 907 | //1、获取帧样板 |
| @@ -917,7 +912,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Lumen(int Uartport,int LeftLumen, int RightL | @@ -917,7 +912,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Lumen(int Uartport,int LeftLumen, int RightL | ||
| 917 | sendbuf[10] = RightLumen; | 912 | sendbuf[10] = RightLumen; |
| 918 | 913 | ||
| 919 | //3、发送帧 | 914 | //3、发送帧 |
| 920 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 915 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 921 | } | 916 | } |
| 922 | 917 | ||
| 923 | /************* | 918 | /************* |
| @@ -929,7 +924,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Temperature(int Uartport, int LeftTemperatur | @@ -929,7 +924,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Temperature(int Uartport, int LeftTemperatur | ||
| 929 | { | 924 | { |
| 930 | printf("发送探照灯温度帧\n"); | 925 | printf("发送探照灯温度帧\n"); |
| 931 | 926 | ||
| 932 | - char sendbuf[256]; | 927 | + unsigned char sendbuf[256]; |
| 933 | int send_buf_len; | 928 | int send_buf_len; |
| 934 | 929 | ||
| 935 | //1、获取帧样板 | 930 | //1、获取帧样板 |
| @@ -940,7 +935,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Temperature(int Uartport, int LeftTemperatur | @@ -940,7 +935,7 @@ int JZsdk_Uart_SendDeal_SearchLight_Temperature(int Uartport, int LeftTemperatur | ||
| 940 | sendbuf[10] = RightTemperature; | 935 | sendbuf[10] = RightTemperature; |
| 941 | 936 | ||
| 942 | //3、发送帧 | 937 | //3、发送帧 |
| 943 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 938 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 944 | } | 939 | } |
| 945 | 940 | ||
| 946 | 941 | ||
| @@ -953,7 +948,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Status(int Uartport, int status, int mode) | @@ -953,7 +948,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Status(int Uartport, int status, int mode) | ||
| 953 | { | 948 | { |
| 954 | printf("发送警灯状态帧\n"); | 949 | printf("发送警灯状态帧\n"); |
| 955 | 950 | ||
| 956 | - char sendbuf[256]; | 951 | + unsigned char sendbuf[256]; |
| 957 | int send_buf_len; | 952 | int send_buf_len; |
| 958 | 953 | ||
| 959 | //1、获取帧样板 | 954 | //1、获取帧样板 |
| @@ -964,7 +959,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Status(int Uartport, int status, int mode) | @@ -964,7 +959,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Status(int Uartport, int status, int mode) | ||
| 964 | sendbuf[10] = mode; | 959 | sendbuf[10] = mode; |
| 965 | 960 | ||
| 966 | //3、发送帧 | 961 | //3、发送帧 |
| 967 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); } | 962 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); } |
| 968 | 963 | ||
| 969 | /************* | 964 | /************* |
| 970 | * | 965 | * |
| @@ -975,7 +970,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Color(int Uartport, int color1, int color2) | @@ -975,7 +970,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Color(int Uartport, int color1, int color2) | ||
| 975 | { | 970 | { |
| 976 | printf("发送警灯颜色帧\n"); | 971 | printf("发送警灯颜色帧\n"); |
| 977 | 972 | ||
| 978 | - char sendbuf[256]; | 973 | + unsigned char sendbuf[256]; |
| 979 | int send_buf_len; | 974 | int send_buf_len; |
| 980 | 975 | ||
| 981 | //1、获取帧样板 | 976 | //1、获取帧样板 |
| @@ -986,7 +981,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Color(int Uartport, int color1, int color2) | @@ -986,7 +981,7 @@ int JZsdk_Uart_SendDeal_WarningLight_Color(int Uartport, int color1, int color2) | ||
| 986 | sendbuf[10] = color2; | 981 | sendbuf[10] = color2; |
| 987 | 982 | ||
| 988 | //3、发送帧 | 983 | //3、发送帧 |
| 989 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 984 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 990 | } | 985 | } |
| 991 | 986 | ||
| 992 | /************* | 987 | /************* |
| @@ -998,7 +993,7 @@ int JZsdk_Uart_SendDeal_OutputPowerStatus(int Uartport, int FrameSequence, int s | @@ -998,7 +993,7 @@ int JZsdk_Uart_SendDeal_OutputPowerStatus(int Uartport, int FrameSequence, int s | ||
| 998 | { | 993 | { |
| 999 | printf("发送对外电源状态帧\n"); | 994 | printf("发送对外电源状态帧\n"); |
| 1000 | 995 | ||
| 1001 | - char sendbuf[256]; | 996 | + unsigned char sendbuf[256]; |
| 1002 | int send_buf_len; | 997 | int send_buf_len; |
| 1003 | 998 | ||
| 1004 | //1、获取帧样板 | 999 | //1、获取帧样板 |
| @@ -1008,5 +1003,5 @@ int JZsdk_Uart_SendDeal_OutputPowerStatus(int Uartport, int FrameSequence, int s | @@ -1008,5 +1003,5 @@ int JZsdk_Uart_SendDeal_OutputPowerStatus(int Uartport, int FrameSequence, int s | ||
| 1008 | sendbuf[9] = status; | 1003 | sendbuf[9] = status; |
| 1009 | 1004 | ||
| 1010 | //3、发送帧 | 1005 | //3、发送帧 |
| 1011 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | 1006 | + JZsdk_Uart_UartSend(Uartport ,sendbuf, send_buf_len); |
| 1012 | } | 1007 | } |
| 1 | -#include <stdio.h> | ||
| 2 | -#include <string.h> | ||
| 3 | - | ||
| 4 | -#include "JZsdk_Uart_UartDeal.h" | ||
| 5 | -#include "Uart_Config.h" | ||
| 6 | - | ||
| 7 | -#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h" | ||
| 8 | -#include "Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion.h" | ||
| 9 | - | ||
| 10 | -//发送任务 | ||
| 11 | -int JZsdk_Uart_SendDeal_SendOreder(int UartPort ,char *sendbuf, int len) | ||
| 12 | -{ | ||
| 13 | - JZsdk_Uart_UartSend(UartPort, sendbuf, len); | ||
| 14 | -} | ||
| 15 | - | ||
| 16 | -//发送主动连接帧 | ||
| 17 | -int JZsdk_Uart_SendDeal_ConnectFrame(int PortNum) | ||
| 18 | -{ | ||
| 19 | - char sendbuf[256]; | ||
| 20 | - int send_buf_len; | ||
| 21 | - | ||
| 22 | - //1、获取帧样板 | ||
| 23 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_ASKFORCONNECT , sendbuf, &send_buf_len); | ||
| 24 | - | ||
| 25 | - //2、发送帧 | ||
| 26 | - JZsdk_Uart_SendDeal_SendOreder(PortNum ,sendbuf, send_buf_len); | ||
| 27 | -} | ||
| 28 | - | ||
| 29 | -//回复连接帧 | ||
| 30 | -int JZsdk_Uart_SendDeal_Send_Connect(int Uartport ,int Version_flag) | ||
| 31 | -{ | ||
| 32 | - char sendbuf[256]; | ||
| 33 | - int send_buf_len; | ||
| 34 | - | ||
| 35 | - //1、获取帧样板 | ||
| 36 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_INITIATECONNECT , sendbuf, &send_buf_len); | ||
| 37 | - | ||
| 38 | - //2、写入硬件码 | ||
| 39 | - sendbuf[9] = Version_flag; | ||
| 40 | - | ||
| 41 | - //3、发送帧 | ||
| 42 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 43 | -} | ||
| 44 | - | ||
| 45 | -//发送成功帧 | ||
| 46 | -int JZsdk_Uart_SendDeal_Reply_Sucesss(int Uartport ,int FrameSequence) | ||
| 47 | -{ | ||
| 48 | - char sendbuf[256]; | ||
| 49 | - int send_buf_len; | ||
| 50 | - | ||
| 51 | - //1、获取帧样板 | ||
| 52 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_SUCESS , sendbuf, &send_buf_len); | ||
| 53 | - | ||
| 54 | - //2、写入数据 | ||
| 55 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 56 | - | ||
| 57 | - //3、发送帧 | ||
| 58 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 59 | -} | ||
| 60 | - | ||
| 61 | -//发送失败帧 | ||
| 62 | -int JZsdk_Uart_SendDeal_Reply_Failure(int Uartport ,int FrameSequence) | ||
| 63 | -{ | ||
| 64 | - char sendbuf[256]; | ||
| 65 | - int send_buf_len; | ||
| 66 | - | ||
| 67 | - //1、获取帧样板 | ||
| 68 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_DEFEAT , sendbuf, &send_buf_len); | ||
| 69 | - | ||
| 70 | - //2、写入数据 | ||
| 71 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 72 | - | ||
| 73 | - //3、发送帧 | ||
| 74 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 75 | -} | ||
| 76 | - | ||
| 77 | -//发送当前从设备名 | ||
| 78 | -int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name, int FrameSequence) | ||
| 79 | -{ | ||
| 80 | - char sendbuf[256]; | ||
| 81 | - int send_buf_len; | ||
| 82 | - | ||
| 83 | - //1、获取帧样板 | ||
| 84 | - JZsdk_GetFrameTemplate(JZ_INSCODE_6BFRAME_CHECKSTATUS_SECONDARY_DEVICE_NAME , sendbuf, &send_buf_len); | ||
| 85 | - | ||
| 86 | - //2、写入数据 | ||
| 87 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 88 | - sendbuf[10] = device_name; | ||
| 89 | - | ||
| 90 | - //3、发送帧 | ||
| 91 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 92 | -} | ||
| 93 | - | ||
| 94 | - | ||
| 95 | -//查询当前从设备名 | ||
| 96 | -int JZsdk_Uart_SendDeal_QuerySecondaryDeviceName(int Uartport ,int FrameSequence) | ||
| 97 | -{ | ||
| 98 | - char sendbuf[256]; | ||
| 99 | - int send_buf_len; | ||
| 100 | - | ||
| 101 | - //1、获取帧样板 | ||
| 102 | - JZsdk_GetFrameTemplate(JZ_INSCODE_6AFRAME_CHECKSTATUS_SECONDARY_DEVICE_NAME , sendbuf, &send_buf_len); | ||
| 103 | - | ||
| 104 | - //2、写入数据 | ||
| 105 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 106 | - | ||
| 107 | - //3、发送帧 | ||
| 108 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 109 | -} | ||
| 110 | - | ||
| 111 | -//发送当前设备序列号 | ||
| 112 | -int JZsdk_Uart_SendDeal_SerialNumber(int UartPort, int FrameSequence, char *SerialNumber) | ||
| 113 | -{ | ||
| 114 | - char sendbuf[256]; | ||
| 115 | - int send_buf_len; | ||
| 116 | - | ||
| 117 | - //1、获取帧样板 | ||
| 118 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_SERIALNUMBER , sendbuf, &send_buf_len); | ||
| 119 | - | ||
| 120 | - //2、写入数据 | ||
| 121 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 122 | - | ||
| 123 | - for (int i = 0; i < 14; i++) | ||
| 124 | - { | ||
| 125 | - sendbuf[9+i] = SerialNumber[i]; | ||
| 126 | - } | ||
| 127 | - | ||
| 128 | - sendbuf[23] = 0x00; | ||
| 129 | - sendbuf[24] = 0x23; | ||
| 130 | - sendbuf[4] = 0x17; | ||
| 131 | - | ||
| 132 | - send_buf_len = 25; | ||
| 133 | - | ||
| 134 | - //3、发送帧 | ||
| 135 | - JZsdk_Uart_SendDeal_SendOreder(UartPort ,sendbuf, send_buf_len); | ||
| 136 | -} | ||
| 137 | - | ||
| 138 | - | ||
| 139 | -//发送歌曲名字 | ||
| 140 | -int JZsdk_Uart_SendDeal_Reply_Musiclist(int Uartport ,char *music_name, int music_name_length) | ||
| 141 | -{ | ||
| 142 | - char sendbuf[256]; | ||
| 143 | - int send_buf_len; | ||
| 144 | - | ||
| 145 | - //1、获取帧样板 | ||
| 146 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_MUSICLIST_TRANS , sendbuf, &send_buf_len); | ||
| 147 | - | ||
| 148 | - //2、写入数据 | ||
| 149 | - memcpy(&sendbuf[9],music_name,music_name_length); | ||
| 150 | - sendbuf[9+music_name_length]=0x00; | ||
| 151 | - sendbuf[10+music_name_length]=0x23; | ||
| 152 | - | ||
| 153 | - int len = send_buf_len -1 + music_name_length ; | ||
| 154 | - | ||
| 155 | - sendbuf[3] = len >> 8; | ||
| 156 | - sendbuf[4] = len & 0xff; | ||
| 157 | - | ||
| 158 | - //3、发送帧 | ||
| 159 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, len); | ||
| 160 | -} | ||
| 161 | - | ||
| 162 | -//发送歌曲列表开始帧 | ||
| 163 | -int JZsdk_Uart_SendDeal_Reply_Musiclist_start(int Uartport ,int num) | ||
| 164 | -{ | ||
| 165 | - printf("发送列表开始帧\n"); | ||
| 166 | - char sendbuf[256]; | ||
| 167 | - int send_buf_len; | ||
| 168 | - | ||
| 169 | - //1、获取帧样板 | ||
| 170 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_MUSICLIST_START , sendbuf, &send_buf_len); | ||
| 171 | - | ||
| 172 | - //2、写入数据 | ||
| 173 | - sendbuf[9] = num; | ||
| 174 | - | ||
| 175 | - //3、发送帧 | ||
| 176 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 177 | - | ||
| 178 | -} | ||
| 179 | - | ||
| 180 | -//发送歌曲列表结束帧 | ||
| 181 | -int JZsdk_Uart_SendDeal_Reply_Musiclist_end(int Uartport) | ||
| 182 | -{ | ||
| 183 | - printf("发送歌曲列表结束帧\n"); | ||
| 184 | - printf("发送歌曲列表结束帧\n"); | ||
| 185 | - char sendbuf[256]; | ||
| 186 | - int send_buf_len; | ||
| 187 | - | ||
| 188 | - //1、获取帧样板 | ||
| 189 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_MUSICLIST_STOP , sendbuf, &send_buf_len); | ||
| 190 | - | ||
| 191 | - //2、写入数据 | ||
| 192 | - | ||
| 193 | - //3、发送帧 | ||
| 194 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 195 | -} | ||
| 196 | - | ||
| 197 | -//发送播放状态结束帧 | ||
| 198 | -int JZsdk_Uart_SendDeal_Send_PlayStatus_end(int Uartport) | ||
| 199 | -{ | ||
| 200 | - printf("发送播放状态结束帧\n"); | ||
| 201 | - char sendbuf[256]; | ||
| 202 | - int send_buf_len; | ||
| 203 | - | ||
| 204 | - //1、获取帧样板 | ||
| 205 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_AUDIO_PLAYSTATUS_END , sendbuf, &send_buf_len); | ||
| 206 | - | ||
| 207 | - //2、写入数据 | ||
| 208 | - | ||
| 209 | - //3、发送帧 | ||
| 210 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 211 | -} | ||
| 212 | - | ||
| 213 | -//发送播放状态帧 | ||
| 214 | -int JZsdk_Uart_SendDeal_Send_PlayStatus(int Uartport ,int num) | ||
| 215 | -{ | ||
| 216 | - printf("向"); | ||
| 217 | - switch (Uartport) | ||
| 218 | - { | ||
| 219 | - case UART_4G: | ||
| 220 | - printf("4G模块"); | ||
| 221 | - break; | ||
| 222 | - case UART_DEV_1: | ||
| 223 | - printf("串口1设备"); | ||
| 224 | - break; | ||
| 225 | - case UART_DEV_2: | ||
| 226 | - printf("串口2设备"); | ||
| 227 | - break; | ||
| 228 | - | ||
| 229 | - default: | ||
| 230 | - break; | ||
| 231 | - } | ||
| 232 | - printf("发送播放状态帧%x\n",num); | ||
| 233 | - char sendbuf[256]; | ||
| 234 | - int send_buf_len; | ||
| 235 | - | ||
| 236 | - //1、获取帧样板 | ||
| 237 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_AUDIO_PLAYSTATUS , sendbuf, &send_buf_len); | ||
| 238 | - | ||
| 239 | - //2、写入数据 | ||
| 240 | - sendbuf[9] = (char)num; | ||
| 241 | - | ||
| 242 | - //3、发送帧 | ||
| 243 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 244 | -} | ||
| 245 | - | ||
| 246 | -//回复当前播放的歌曲名字 | ||
| 247 | -int JZsdk_Uart_SendDeal_Reply_MusicName(int Uartport ,char *music_name, int music_name_len) | ||
| 248 | -{ | ||
| 249 | - printf("发送当前歌曲名字帧"); | ||
| 250 | - char sendbuf[256]; | ||
| 251 | - int send_buf_len; | ||
| 252 | - | ||
| 253 | - //1、获取帧样板 | ||
| 254 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_AUDIO_PLAYFILENAME , sendbuf, &send_buf_len); | ||
| 255 | - | ||
| 256 | - //2、写入数据 | ||
| 257 | - memcpy(&sendbuf[9],music_name,music_name_len); | ||
| 258 | - sendbuf[9+music_name_len]=0x00; | ||
| 259 | - sendbuf[10+music_name_len]=0x23; | ||
| 260 | - | ||
| 261 | - int len = send_buf_len -1 + music_name_len; | ||
| 262 | - | ||
| 263 | - sendbuf[3] = len >> 8; | ||
| 264 | - sendbuf[4] = len & 0xff; | ||
| 265 | - | ||
| 266 | - //3、发送帧 | ||
| 267 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, len); | ||
| 268 | -} | ||
| 269 | - | ||
| 270 | -//回复当前音量 | ||
| 271 | -int JZsdk_Uart_SendDeal_Reply_Volume(int Uartport ,int num) | ||
| 272 | -{ | ||
| 273 | - printf("发送播放状态帧\n"); | ||
| 274 | - char sendbuf[256]; | ||
| 275 | - int send_buf_len; | ||
| 276 | - | ||
| 277 | - //1、获取帧样板 | ||
| 278 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_VOLUME, sendbuf, &send_buf_len); | ||
| 279 | - | ||
| 280 | - //2、写入数据 | ||
| 281 | - sendbuf[9] = (char)num; | ||
| 282 | - | ||
| 283 | - //3、发送帧 | ||
| 284 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 285 | - | ||
| 286 | -} | ||
| 287 | - | ||
| 288 | - | ||
| 289 | - | ||
| 290 | -//回复软件版本号 | ||
| 291 | -int JZsdk_Uart_SendDeal_Reply_SoftVersion(int Uartport ,char majorVersion, char minorVersion, char modifyVersion, char debugVersion) | ||
| 292 | -{ | ||
| 293 | - printf("发送软件版本号帧\n"); | ||
| 294 | - char sendbuf[256]; | ||
| 295 | - int send_buf_len; | ||
| 296 | - | ||
| 297 | - //1、获取帧样板 | ||
| 298 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_SORTWAREVERSION, sendbuf, &send_buf_len); | ||
| 299 | - | ||
| 300 | - //2、写入数据 | ||
| 301 | - sendbuf[9] = majorVersion; | ||
| 302 | - sendbuf[10] = minorVersion; | ||
| 303 | - sendbuf[11] = modifyVersion; | ||
| 304 | - sendbuf[12] = debugVersion; | ||
| 305 | - | ||
| 306 | - //3、发送帧 | ||
| 307 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 308 | -} | ||
| 309 | - | ||
| 310 | -//发送循环状态 | ||
| 311 | -int JZsdk_Uart_SendDeal_Reply_LoopPlayStatus(int Uartport ,int status) | ||
| 312 | -{ | ||
| 313 | - printf("发送循环状态帧\n"); | ||
| 314 | - | ||
| 315 | - char sendbuf[256]; | ||
| 316 | - int send_buf_len; | ||
| 317 | - | ||
| 318 | - //1、获取帧样板 | ||
| 319 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_AUDIO_PLAYLOOPSTATUS, sendbuf, &send_buf_len); | ||
| 320 | - | ||
| 321 | - //2、写入数据 | ||
| 322 | - sendbuf[9] = status; | ||
| 323 | - | ||
| 324 | - //3、发送帧 | ||
| 325 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 326 | - | ||
| 327 | -} | ||
| 328 | - | ||
| 329 | -//发送音色 | ||
| 330 | -int JZsdk_Uart_SendDeal_Reply_TTS_tone(int Uartport ,int tone) | ||
| 331 | -{ | ||
| 332 | - printf("发送音色帧\n"); | ||
| 333 | - | ||
| 334 | - char sendbuf[256]; | ||
| 335 | - int send_buf_len; | ||
| 336 | - | ||
| 337 | - //1、获取帧样板 | ||
| 338 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_TTS_TONE, sendbuf, &send_buf_len); | ||
| 339 | - | ||
| 340 | - //2、写入数据 | ||
| 341 | - sendbuf[9] = tone; | ||
| 342 | - | ||
| 343 | - //3、发送帧 | ||
| 344 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 345 | -} | ||
| 346 | - | ||
| 347 | -//发送语速 | ||
| 348 | -int JZsdk_Uart_SendDeal_Reply_TTS_speed(int Uartport ,int speed) | ||
| 349 | -{ | ||
| 350 | - printf("发送音色帧\n"); | ||
| 351 | - | ||
| 352 | - char sendbuf[256]; | ||
| 353 | - int send_buf_len; | ||
| 354 | - | ||
| 355 | - //1、获取帧样板 | ||
| 356 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_TTS_SPEED, sendbuf, &send_buf_len); | ||
| 357 | - | ||
| 358 | - //2、写入数据 | ||
| 359 | - sendbuf[9] = speed; | ||
| 360 | - | ||
| 361 | - //3、发送帧 | ||
| 362 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 363 | -} | ||
| 364 | - | ||
| 365 | -/************* | ||
| 366 | - * | ||
| 367 | - * 发送opus解码状态 | ||
| 368 | - * | ||
| 369 | - * **************/ | ||
| 370 | -int JZsdk_Uart_SendDeal_OpusDecodeStatus(int Uartport,int value) | ||
| 371 | -{ | ||
| 372 | - printf("发送opus解码状态帧\n"); | ||
| 373 | - | ||
| 374 | - char sendbuf[256]; | ||
| 375 | - int send_buf_len; | ||
| 376 | - | ||
| 377 | - //1、获取帧样板 | ||
| 378 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_OPUS_DECODE_STATUS, sendbuf, &send_buf_len); | ||
| 379 | - | ||
| 380 | - //2、写入数据 | ||
| 381 | - sendbuf[9] = value; | ||
| 382 | - | ||
| 383 | - //3、发送帧 | ||
| 384 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 385 | -} | ||
| 386 | - | ||
| 387 | -/**************************************************************************************************************************************************** | ||
| 388 | -* | ||
| 389 | -* 云台部分 | ||
| 390 | -* | ||
| 391 | -****************************************************************************************************************************************************/ | ||
| 392 | - | ||
| 393 | -//回复当前云台角度 | ||
| 394 | -int JZsdk_Uart_SendDeal_Reply_GimbalPitchAngle(int Uartport ,int angle) | ||
| 395 | -{ | ||
| 396 | - printf("发送当前云台角度帧\n"); | ||
| 397 | - char sendbuf[256]; | ||
| 398 | - int send_buf_len; | ||
| 399 | - | ||
| 400 | - //1、获取帧样板 | ||
| 401 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_GIMBAL_PITCH, sendbuf, &send_buf_len); | ||
| 402 | - | ||
| 403 | - //2、写入数据 | ||
| 404 | - char signal = 0x00; | ||
| 405 | - if (angle < 0) | ||
| 406 | - { | ||
| 407 | - signal = 0xff; | ||
| 408 | - angle = -angle; | ||
| 409 | - } | ||
| 410 | - | ||
| 411 | - sendbuf[9] = (char)signal; | ||
| 412 | - sendbuf[10] = (char)(angle >> 8); | ||
| 413 | - sendbuf[11] = (char)(angle & 255); | ||
| 414 | - | ||
| 415 | - //3、发送帧 | ||
| 416 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 417 | -} | ||
| 418 | - | ||
| 419 | -//设置当前云台角度 | ||
| 420 | -int JZsdk_Uart_SendDeal_Set_GimbalPitchAngle(int Uartport ,int angle) | ||
| 421 | -{ | ||
| 422 | - printf("发送设置云台角度帧 %d\n",angle); | ||
| 423 | - char sendbuf[256]; | ||
| 424 | - int send_buf_len; | ||
| 425 | - | ||
| 426 | - //1、获取帧样板 | ||
| 427 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_GIMBAL_PITCH_CONTROL, sendbuf, &send_buf_len); | ||
| 428 | - | ||
| 429 | - //2、写入数据 | ||
| 430 | - if (angle < 0) | ||
| 431 | - { | ||
| 432 | - angle = -angle; | ||
| 433 | - sendbuf[9] = 0xff; | ||
| 434 | - } | ||
| 435 | - else | ||
| 436 | - { | ||
| 437 | - sendbuf[9] = 0x00; | ||
| 438 | - } | ||
| 439 | - | ||
| 440 | - sendbuf[10] = ((angle>>8) & 0xff); | ||
| 441 | - sendbuf[11] = (angle & 0xff); | ||
| 442 | - | ||
| 443 | - //3、发送帧 | ||
| 444 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 445 | -} | ||
| 446 | - | ||
| 447 | -//查询云台角度 | ||
| 448 | -int JZsdk_Uart_SendDeal_CheckStatus_GimbalAngle(int Uartport ,int FrameSequence) | ||
| 449 | -{ | ||
| 450 | - printf("发送查询云台角度帧\n"); | ||
| 451 | - char sendbuf[256]; | ||
| 452 | - int send_buf_len; | ||
| 453 | - | ||
| 454 | - //1、获取帧样板 | ||
| 455 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_GIMBAL, sendbuf, &send_buf_len); | ||
| 456 | - | ||
| 457 | - //2、写入帧序列 | ||
| 458 | - sendbuf[6] = FrameSequence; | ||
| 459 | - | ||
| 460 | - //3、发送帧 | ||
| 461 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 462 | -} | ||
| 463 | - | ||
| 464 | -//微调云台pitch | ||
| 465 | -int JZsdk_Uart_SendDeal_Set_GimbalFineTuningPitch(int Uartport, int PitchFineTuning) | ||
| 466 | -{ | ||
| 467 | - printf("发送微调云台pitch帧\n"); | ||
| 468 | - char sendbuf[256]; | ||
| 469 | - int send_buf_len; | ||
| 470 | - | ||
| 471 | - //1、获取帧样板 | ||
| 472 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_GIMBAL_PITCH_FINETUNING_CONTROL, sendbuf, &send_buf_len); | ||
| 473 | - | ||
| 474 | - //2、写入数据 | ||
| 475 | - if (PitchFineTuning < 0) | ||
| 476 | - { | ||
| 477 | - PitchFineTuning = -PitchFineTuning; | ||
| 478 | - sendbuf[9] = 0xff; | ||
| 479 | - } | ||
| 480 | - else | ||
| 481 | - { | ||
| 482 | - sendbuf[9] = 0x00; | ||
| 483 | - } | ||
| 484 | - | ||
| 485 | - sendbuf[10] = ((PitchFineTuning>>8) & 0xff); | ||
| 486 | - sendbuf[11] = (PitchFineTuning & 0xff); | ||
| 487 | - | ||
| 488 | - //3、发送帧 | ||
| 489 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 490 | -} | ||
| 491 | - | ||
| 492 | -//查询云台角度微调值 | ||
| 493 | -int JZsdk_Uart_SendDeal_CheckStatus_GimbalFineTuningPitch(int Uartport, int FrameSequence) | ||
| 494 | -{ | ||
| 495 | - printf("发送查询云台角度微调值帧\n"); | ||
| 496 | - char sendbuf[256]; | ||
| 497 | - int send_buf_len; | ||
| 498 | - | ||
| 499 | - //1、获取帧样板 | ||
| 500 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_GIMBAL_FINETUNING, sendbuf, &send_buf_len); | ||
| 501 | - | ||
| 502 | - //2、写入数据 | ||
| 503 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 504 | - | ||
| 505 | - //3、发送帧 | ||
| 506 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 507 | -} | ||
| 508 | - | ||
| 509 | -//回复云台pitch微调值 | ||
| 510 | -int JZsdk_Uart_SendDeal_Reply_GimbalFineTuningPitch(int Uartport, int FrameSequence, int FineTunigPitch) | ||
| 511 | -{ | ||
| 512 | - printf("发送云台pitch微调值\n"); | ||
| 513 | - char sendbuf[256]; | ||
| 514 | - int send_buf_len; | ||
| 515 | - | ||
| 516 | - //1、获取帧样板 | ||
| 517 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_GIMBAL_PITCH_FINETUNING, sendbuf, &send_buf_len); | ||
| 518 | - | ||
| 519 | - //2、写入数据 | ||
| 520 | - if (FineTunigPitch < 0) | ||
| 521 | - { | ||
| 522 | - FineTunigPitch = -FineTunigPitch; | ||
| 523 | - sendbuf[9] = 0xff; | ||
| 524 | - } | ||
| 525 | - else | ||
| 526 | - { | ||
| 527 | - sendbuf[9] = 0x00; | ||
| 528 | - } | ||
| 529 | - | ||
| 530 | - sendbuf[10] = ((FineTunigPitch>>8) & 0xff); | ||
| 531 | - sendbuf[11] = (FineTunigPitch & 0xff); | ||
| 532 | - | ||
| 533 | - //3、发送帧 | ||
| 534 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 535 | -} | ||
| 536 | - | ||
| 537 | -//设置云台联动 | ||
| 538 | -int JZsdk_Uart_SendDeal_Set_GimbalLinkageControl(int Uartport,int FrameSequence, int value) | ||
| 539 | -{ | ||
| 540 | - printf("发送设置云台联动帧\n"); | ||
| 541 | - char sendbuf[256]; | ||
| 542 | - int send_buf_len; | ||
| 543 | - | ||
| 544 | - //1、获取帧样板 | ||
| 545 | - JZsdk_GetFrameTemplate(JZ_INSCODE_6AFRAME_GIMBAL_LINKAGE_CONTROL, sendbuf, &send_buf_len); | ||
| 546 | - | ||
| 547 | - //2、写入数据 | ||
| 548 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 549 | - sendbuf[10] = value; | ||
| 550 | - | ||
| 551 | - //3、发送帧 | ||
| 552 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 553 | -} | ||
| 554 | - | ||
| 555 | -//查询云台联动值 | ||
| 556 | -int JZsdk_Uart_SendDeal_CheckStatus_GimbalLinkage(int Uartport,int FrameSequence) | ||
| 557 | -{ | ||
| 558 | - printf("发送查询云台联动值帧\n"); | ||
| 559 | - char sendbuf[256]; | ||
| 560 | - int send_buf_len; | ||
| 561 | - | ||
| 562 | - //1、获取帧样板 | ||
| 563 | - JZsdk_GetFrameTemplate(JZ_INSCODE_6AFRAME_CHECKSTATUS_GIMBAL_LINKAGE, sendbuf, &send_buf_len); | ||
| 564 | - | ||
| 565 | - //2、写入数据 | ||
| 566 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 567 | - | ||
| 568 | - //3、发送帧 | ||
| 569 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 570 | -} | ||
| 571 | - | ||
| 572 | -//发送云台联动值 | ||
| 573 | -int JZsdk_Uart_SendDeal_GimbalLinkageControl(int Uartport,int FrameSequence,int value) | ||
| 574 | -{ | ||
| 575 | - printf("发送云台联动值帧\n"); | ||
| 576 | - char sendbuf[256]; | ||
| 577 | - int send_buf_len; | ||
| 578 | - | ||
| 579 | - //1、获取帧样板 | ||
| 580 | - JZsdk_GetFrameTemplate(JZ_INSCODE_6BFRAME_CHECKSTATUS_GIMBAL_LINKAGE, sendbuf, &send_buf_len); | ||
| 581 | - | ||
| 582 | - //2、写入数据 | ||
| 583 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 584 | - sendbuf[10] = value; | ||
| 585 | - | ||
| 586 | - //3、发送帧 | ||
| 587 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 588 | -} | ||
| 589 | - | ||
| 590 | -//发送云台最大最小值帧 | ||
| 591 | -int JZsdk_Uart_SendDeal_SetGimbalRange(int Uartport,int FrameSequence,int value) | ||
| 592 | -{ | ||
| 593 | - printf("发送云台最大最小值帧\n"); | ||
| 594 | - char sendbuf[256]; | ||
| 595 | - int send_buf_len; | ||
| 596 | - | ||
| 597 | - //1、获取帧样板 | ||
| 598 | - JZsdk_GetFrameTemplate(JZ_INSCODE_6AFRAME_SET_GIMBAL_MAXMIN_RANGE, sendbuf, &send_buf_len); | ||
| 599 | - | ||
| 600 | - //2、写入数据 | ||
| 601 | - sendbuf[6] = FrameSequence; //帧序列 | ||
| 602 | - sendbuf[10] = value; | ||
| 603 | - | ||
| 604 | - //3、发送帧 | ||
| 605 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 606 | -} | ||
| 607 | - | ||
| 608 | -/**************************************************************************************************************************************************** | ||
| 609 | -* | ||
| 610 | -* 探照灯部分 | ||
| 611 | -* | ||
| 612 | -****************************************************************************************************************************************************/ | ||
| 613 | - | ||
| 614 | -//发送设置探照灯爆闪频率 | ||
| 615 | -int JZsdk_Uart_SendDeal_Set_SearchLightFrequency(int Uartport ,int Frequency) | ||
| 616 | -{ | ||
| 617 | - printf("发送设置爆闪频率帧\n"); | ||
| 618 | - | ||
| 619 | - char sendbuf[256]; | ||
| 620 | - int send_buf_len; | ||
| 621 | - | ||
| 622 | - //1、获取帧样板 | ||
| 623 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_SEARCHLIGHT_SET_FREQUENCY, sendbuf, &send_buf_len); | ||
| 624 | - | ||
| 625 | - //2、写入数据 | ||
| 626 | - sendbuf[10] = Frequency; | ||
| 627 | - | ||
| 628 | - //3、发送帧 | ||
| 629 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 630 | -} | ||
| 631 | - | ||
| 632 | -//设置探照灯控制 | ||
| 633 | -int JZsdk_Uart_SendDeal_SearchLight_Control(int Uartport,int mode) | ||
| 634 | -{ | ||
| 635 | - printf("发送探照灯控制\n"); | ||
| 636 | - | ||
| 637 | - char sendbuf[256]; | ||
| 638 | - int send_buf_len; | ||
| 639 | - | ||
| 640 | - //1、获取帧样板 | ||
| 641 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_SEARCHLIGHT_CONTROL, sendbuf, &send_buf_len); | ||
| 642 | - | ||
| 643 | - //2、写入数据 | ||
| 644 | - sendbuf[10] = mode; | ||
| 645 | - | ||
| 646 | - //3、发送帧 | ||
| 647 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 648 | -} | ||
| 649 | - | ||
| 650 | -//设置探照灯亮度 | ||
| 651 | -int JZsdk_Uart_SendDeal_SearchLight_SetLumen(int Uartport, int LeftLumen, int RightLumen) | ||
| 652 | -{ | ||
| 653 | - printf("发送设置探照灯亮度\n"); | ||
| 654 | - | ||
| 655 | - char sendbuf[256]; | ||
| 656 | - int send_buf_len; | ||
| 657 | - | ||
| 658 | - //1、获取帧样板 | ||
| 659 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_SEARCHLIGHT_SET_LUMEN, sendbuf, &send_buf_len); | ||
| 660 | - | ||
| 661 | - //2、写入数据 | ||
| 662 | - sendbuf[9] = LeftLumen; | ||
| 663 | - sendbuf[10] = RightLumen; | ||
| 664 | - | ||
| 665 | - //3、发送帧 | ||
| 666 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 667 | -} | ||
| 668 | - | ||
| 669 | -//发送 | ||
| 670 | - | ||
| 671 | -//查询探照灯频率 | ||
| 672 | -int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Frequency(int Uartport) | ||
| 673 | -{ | ||
| 674 | - printf("发送查询探照灯频率帧\n"); | ||
| 675 | - | ||
| 676 | - char sendbuf[256]; | ||
| 677 | - int send_buf_len; | ||
| 678 | - | ||
| 679 | - //1、获取帧样板 | ||
| 680 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_FREQUENCY, sendbuf, &send_buf_len); | ||
| 681 | - | ||
| 682 | - //2、发送帧 | ||
| 683 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 684 | -} | ||
| 685 | - | ||
| 686 | -//查询探照灯亮度 | ||
| 687 | -int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Lumen(int Uartport) | ||
| 688 | -{ | ||
| 689 | - printf("发送查询探照灯亮度帧\n"); | ||
| 690 | - | ||
| 691 | - char sendbuf[256]; | ||
| 692 | - int send_buf_len; | ||
| 693 | - | ||
| 694 | - //1、获取帧样板 | ||
| 695 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_LUMEN, sendbuf, &send_buf_len); | ||
| 696 | - | ||
| 697 | - //2、发送帧 | ||
| 698 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 699 | -} | ||
| 700 | - | ||
| 701 | -//查询探照灯模式 | ||
| 702 | -int JZsdk_Uart_SendDeal_Set_SearchLight_CheckStatus_Mode(int Uartport) | ||
| 703 | -{ | ||
| 704 | - printf("发送查询探照灯模式帧\n"); | ||
| 705 | - | ||
| 706 | - char sendbuf[256]; | ||
| 707 | - int send_buf_len; | ||
| 708 | - | ||
| 709 | - //1、获取帧样板 | ||
| 710 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_MODE, sendbuf, &send_buf_len); | ||
| 711 | - | ||
| 712 | - //2、发送帧 | ||
| 713 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 714 | -} | ||
| 715 | - | ||
| 716 | -//查询探照灯属性 | ||
| 717 | -int JZsdk_Uart_SendDeal_CheckStatus_LightAttribute(int Uartport) | ||
| 718 | -{ | ||
| 719 | - printf("发送查询探照灯属性帧\n"); | ||
| 720 | - | ||
| 721 | - char sendbuf[256]; | ||
| 722 | - int send_buf_len; | ||
| 723 | - | ||
| 724 | - //1、获取帧样板 | ||
| 725 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_LIGHTATTRIBUTE, sendbuf, &send_buf_len); | ||
| 726 | - | ||
| 727 | - //2、发送帧 | ||
| 728 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 729 | -} | ||
| 730 | - | ||
| 731 | -//查询探照灯温度 | ||
| 732 | -int JZsdk_Uart_SendDeal_CheckStatus_SearchLightTemperture(int Uartport) | ||
| 733 | -{ | ||
| 734 | - printf("发送查询探照灯温度\n"); | ||
| 735 | - | ||
| 736 | - char sendbuf[256]; | ||
| 737 | - int send_buf_len; | ||
| 738 | - | ||
| 739 | - //1、获取帧样板 | ||
| 740 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_SEARCHLIGHT_TEMPERATURE, sendbuf, &send_buf_len); | ||
| 741 | - | ||
| 742 | - //2、发送帧 | ||
| 743 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 744 | -} | ||
| 745 | - | ||
| 746 | -//开启消息订阅 | ||
| 747 | -int JZsdk_Uart_SendDeal_MessageSubcription_Control(int Uartport, int value) | ||
| 748 | -{ | ||
| 749 | - printf("发送开启消息订阅%d\n",value); | ||
| 750 | - | ||
| 751 | - char sendbuf[256]; | ||
| 752 | - int send_buf_len; | ||
| 753 | - | ||
| 754 | - //1、获取帧样板 | ||
| 755 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_SEARCHLIGHT_MESSAGE_SUBSCRIPTION_CONTROL, sendbuf, &send_buf_len); | ||
| 756 | - | ||
| 757 | - //2、写入数据 | ||
| 758 | - sendbuf[10] = value; | ||
| 759 | - | ||
| 760 | - //3、发送帧 | ||
| 761 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 762 | -} | ||
| 763 | - | ||
| 764 | -/**************************************************************************************************************************************************** | ||
| 765 | -* | ||
| 766 | -* 警灯部分 | ||
| 767 | -* | ||
| 768 | -****************************************************************************************************************************************************/ | ||
| 769 | -/************* | ||
| 770 | - * | ||
| 771 | - * 设置警灯状态 | ||
| 772 | - * | ||
| 773 | - * **************/ | ||
| 774 | -int JZsdk_Uart_SendDeal_Set_WarningLight_Status(int Uartport,int status, int mode) | ||
| 775 | -{ | ||
| 776 | - printf("发送设置警灯状态\n"); | ||
| 777 | - | ||
| 778 | - char sendbuf[256]; | ||
| 779 | - int send_buf_len; | ||
| 780 | - | ||
| 781 | - //1、获取帧样板 | ||
| 782 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_WARNINGLIGHT_CONTROL, sendbuf, &send_buf_len); | ||
| 783 | - | ||
| 784 | - //2、写入数据 | ||
| 785 | - sendbuf[9] = status; | ||
| 786 | - sendbuf[10] = mode; | ||
| 787 | - | ||
| 788 | - //3、发送帧 | ||
| 789 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 790 | -} | ||
| 791 | - | ||
| 792 | -/************* | ||
| 793 | - * | ||
| 794 | - * 设置警灯颜色 | ||
| 795 | - * | ||
| 796 | - * **************/ | ||
| 797 | -int JZsdk_Uart_SendDeal_Set_WarningLight_Color(int Uartport,int color1, int color2) | ||
| 798 | -{ | ||
| 799 | - printf("发送设置警灯颜色\n"); | ||
| 800 | - | ||
| 801 | - char sendbuf[256]; | ||
| 802 | - int send_buf_len; | ||
| 803 | - | ||
| 804 | - //1、获取帧样板 | ||
| 805 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_WARNINGLIGHT_COLOUR, sendbuf, &send_buf_len); | ||
| 806 | - | ||
| 807 | - //2、写入数据 | ||
| 808 | - sendbuf[9] = color1; | ||
| 809 | - sendbuf[10] = color2; | ||
| 810 | - | ||
| 811 | - //3、发送帧 | ||
| 812 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 813 | -} | ||
| 814 | - | ||
| 815 | -//查询警灯状态 | ||
| 816 | -int JZsdk_Uart_SendDeal_CheckStatus_WarningLightStatus(int Uartport) | ||
| 817 | -{ | ||
| 818 | - printf("发送查询警灯状态\n"); | ||
| 819 | - | ||
| 820 | - char sendbuf[256]; | ||
| 821 | - int send_buf_len; | ||
| 822 | - | ||
| 823 | - //1、获取帧样板 | ||
| 824 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_WARNINGLIGHT_STATUS, sendbuf, &send_buf_len); | ||
| 825 | - | ||
| 826 | - //2、发送帧 | ||
| 827 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 828 | -} | ||
| 829 | - | ||
| 830 | -//查询警灯颜色 | ||
| 831 | -int JZsdk_Uart_SendDeal_CheckStatus_WarningLightColor(int Uartport) | ||
| 832 | -{ | ||
| 833 | - printf("发送查询警灯颜色\n"); | ||
| 834 | - | ||
| 835 | - char sendbuf[256]; | ||
| 836 | - int send_buf_len; | ||
| 837 | - | ||
| 838 | - //1、获取帧样板 | ||
| 839 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5AFRAME_CHECKSTATUS_WARNINGLIGHT_COLOR, sendbuf, &send_buf_len); | ||
| 840 | - | ||
| 841 | - //2、发送帧 | ||
| 842 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 843 | -} | ||
| 844 | - | ||
| 845 | -/**************************************************************************************************************************************************** | ||
| 846 | -* | ||
| 847 | -* 5B类帧 | ||
| 848 | -* | ||
| 849 | -****************************************************************************************************************************************************/ | ||
| 850 | -/************* | ||
| 851 | - * | ||
| 852 | - * 发送探照灯爆闪频率 | ||
| 853 | - * | ||
| 854 | - * **************/ | ||
| 855 | -int JZsdk_Uart_SendDeal_SearchLight_Frequency(int Uartport, int Frequency) | ||
| 856 | -{ | ||
| 857 | - printf("发送灯光频率帧\n"); | ||
| 858 | - | ||
| 859 | - char sendbuf[256]; | ||
| 860 | - int send_buf_len; | ||
| 861 | - | ||
| 862 | - //1、获取帧样板 | ||
| 863 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_SEARCHLIGHT_FREQUENCY, sendbuf, &send_buf_len); | ||
| 864 | - | ||
| 865 | - //2、写入数据 | ||
| 866 | - sendbuf[10] = Frequency; | ||
| 867 | - | ||
| 868 | - //3、发送帧 | ||
| 869 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 870 | -} | ||
| 871 | - | ||
| 872 | -/************* | ||
| 873 | - * | ||
| 874 | - * 发送探照灯模式 | ||
| 875 | - * | ||
| 876 | - * **************/ | ||
| 877 | -int JZsdk_Uart_SendDeal_SearchLight_Mode(int Uartport, int mode) | ||
| 878 | -{ | ||
| 879 | - printf("发送探照灯模式帧\n"); | ||
| 880 | - | ||
| 881 | - char sendbuf[256]; | ||
| 882 | - int send_buf_len; | ||
| 883 | - | ||
| 884 | - //1、获取帧样板 | ||
| 885 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_SEARCHLIGHT_MODE, sendbuf, &send_buf_len); | ||
| 886 | - | ||
| 887 | - //2、写入数据 | ||
| 888 | - sendbuf[10] = mode; | ||
| 889 | - | ||
| 890 | - //3、发送帧 | ||
| 891 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 892 | -} | ||
| 893 | - | ||
| 894 | -/************* | ||
| 895 | - * | ||
| 896 | - * 发送探照灯亮度 | ||
| 897 | - * | ||
| 898 | - * **************/ | ||
| 899 | -int JZsdk_Uart_SendDeal_SearchLight_Lumen(int Uartport,int LeftLumen, int RightLumen) | ||
| 900 | -{ | ||
| 901 | - printf("发送探照灯亮度帧\n"); | ||
| 902 | - | ||
| 903 | - char sendbuf[256]; | ||
| 904 | - int send_buf_len; | ||
| 905 | - | ||
| 906 | - //1、获取帧样板 | ||
| 907 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_SEARCHLIGHT_LUMEN, sendbuf, &send_buf_len); | ||
| 908 | - | ||
| 909 | - //2、写入数据 | ||
| 910 | - sendbuf[9] = LeftLumen; | ||
| 911 | - sendbuf[10] = RightLumen; | ||
| 912 | - | ||
| 913 | - //3、发送帧 | ||
| 914 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 915 | -} | ||
| 916 | - | ||
| 917 | -/************* | ||
| 918 | - * | ||
| 919 | - * 发送探照灯温度 | ||
| 920 | - * | ||
| 921 | - * **************/ | ||
| 922 | -int JZsdk_Uart_SendDeal_SearchLight_Temperature(int Uartport, int LeftTemperature, int RightTemperature) | ||
| 923 | -{ | ||
| 924 | - printf("发送探照灯温度帧\n"); | ||
| 925 | - | ||
| 926 | - char sendbuf[256]; | ||
| 927 | - int send_buf_len; | ||
| 928 | - | ||
| 929 | - //1、获取帧样板 | ||
| 930 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_SEARCHLIGHT_TEMPERATURE, sendbuf, &send_buf_len); | ||
| 931 | - | ||
| 932 | - //2、写入数据 | ||
| 933 | - sendbuf[9] = LeftTemperature; | ||
| 934 | - sendbuf[10] = RightTemperature; | ||
| 935 | - | ||
| 936 | - //3、发送帧 | ||
| 937 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 938 | -} | ||
| 939 | - | ||
| 940 | - | ||
| 941 | -/************* | ||
| 942 | - * | ||
| 943 | - * 发送警灯状态 | ||
| 944 | - * | ||
| 945 | - * **************/ | ||
| 946 | -int JZsdk_Uart_SendDeal_WarningLight_Status(int Uartport, int status, int mode) | ||
| 947 | -{ | ||
| 948 | - printf("发送警灯状态帧\n"); | ||
| 949 | - | ||
| 950 | - char sendbuf[256]; | ||
| 951 | - int send_buf_len; | ||
| 952 | - | ||
| 953 | - //1、获取帧样板 | ||
| 954 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_WARNINGLIGHT_STATUS, sendbuf, &send_buf_len); | ||
| 955 | - | ||
| 956 | - //2、写入数据 | ||
| 957 | - sendbuf[9] = status; | ||
| 958 | - sendbuf[10] = mode; | ||
| 959 | - | ||
| 960 | - //3、发送帧 | ||
| 961 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); } | ||
| 962 | - | ||
| 963 | -/************* | ||
| 964 | - * | ||
| 965 | - * 发送警灯颜色 | ||
| 966 | - * | ||
| 967 | - * **************/ | ||
| 968 | -int JZsdk_Uart_SendDeal_WarningLight_Color(int Uartport, int color1, int color2) | ||
| 969 | -{ | ||
| 970 | - printf("发送警灯颜色帧\n"); | ||
| 971 | - | ||
| 972 | - char sendbuf[256]; | ||
| 973 | - int send_buf_len; | ||
| 974 | - | ||
| 975 | - //1、获取帧样板 | ||
| 976 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_WARNINGLIGHT_COLOR, sendbuf, &send_buf_len); | ||
| 977 | - | ||
| 978 | - //2、写入数据 | ||
| 979 | - sendbuf[9] = color1; | ||
| 980 | - sendbuf[10] = color2; | ||
| 981 | - | ||
| 982 | - //3、发送帧 | ||
| 983 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 984 | -} | ||
| 985 | - | ||
| 986 | -/************* | ||
| 987 | - * | ||
| 988 | - * 发送对外电源状态 | ||
| 989 | - * | ||
| 990 | - * **************/ | ||
| 991 | -int JZsdk_Uart_SendDeal_OutputPowerStatus(int Uartport, int FrameSequence, int status) | ||
| 992 | -{ | ||
| 993 | - printf("发送对外电源状态帧\n"); | ||
| 994 | - | ||
| 995 | - char sendbuf[256]; | ||
| 996 | - int send_buf_len; | ||
| 997 | - | ||
| 998 | - //1、获取帧样板 | ||
| 999 | - JZsdk_GetFrameTemplate(JZ_INSCODE_5BFRAME_CHECKSTATUS_OUTPUTPOWER, sendbuf, &send_buf_len); | ||
| 1000 | - | ||
| 1001 | - //2、写入数据 | ||
| 1002 | - sendbuf[9] = status; | ||
| 1003 | - | ||
| 1004 | - //3、发送帧 | ||
| 1005 | - JZsdk_Uart_SendDeal_SendOreder(Uartport ,sendbuf, send_buf_len); | ||
| 1006 | -} |
| @@ -22,7 +22,6 @@ extern "C" { | @@ -22,7 +22,6 @@ extern "C" { | ||
| 22 | 22 | ||
| 23 | /* Exported types ------------------------------------------------------------*/ | 23 | /* Exported types ------------------------------------------------------------*/ |
| 24 | int JZsdk_Uart_SendDeal_Send_Connect(int Uartport , int FrameSequence,int Version_flag); | 24 | int JZsdk_Uart_SendDeal_Send_Connect(int Uartport , int FrameSequence,int Version_flag); |
| 25 | -int JZsdk_Uart_SendDeal_SendOreder(int UartPort ,char *sendbuf, int len); | ||
| 26 | int JZsdk_Uart_SendDeal_ConnectFrame(int PortNum); | 25 | int JZsdk_Uart_SendDeal_ConnectFrame(int PortNum); |
| 27 | 26 | ||
| 28 | int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name, int FrameSequence); | 27 | int JZsdk_Uart_SendDeal_Reply_SecondaryDeviceName(int Uartport , int device_name, int FrameSequence); |
| 1 | -#include <stdio.h> | ||
| 2 | -#include <string.h> | ||
| 3 | -#include <pthread.h> | ||
| 4 | -#include <stdlib.h> | ||
| 5 | - | ||
| 6 | -#include <fcntl.h> | ||
| 7 | -#include <unistd.h> | ||
| 8 | -#include <termios.h> | ||
| 9 | -#include <sys/time.h> | ||
| 10 | - | ||
| 11 | -#include "JZsdk_Uart_UartDeal.h" | ||
| 12 | -/*********************************** | ||
| 13 | - * | ||
| 14 | - * | ||
| 15 | - * 暂时未启用该c文件的多线程串口发送功能 | ||
| 16 | - * | ||
| 17 | - * | ||
| 18 | - * ***********************************8*/ | ||
| 19 | - | ||
| 20 | - | ||
| 21 | -// 定义任务队列结构体 | ||
| 22 | -struct task_queue { | ||
| 23 | - struct t_JZsdk_UartSend_Struct** tasks; // 任务数组 | ||
| 24 | - int size; // 任务队列的大小 | ||
| 25 | - int head; // 任务队列的头索引 | ||
| 26 | - int tail; // 任务队列的尾索引 | ||
| 27 | - int count; // 任务队列中的任务数量 | ||
| 28 | - pthread_mutex_t lock; // 互斥锁 | ||
| 29 | - pthread_cond_t not_full; // 条件变量:队列未满 | ||
| 30 | - pthread_cond_t not_empty; // 条件变量:队列非空 | ||
| 31 | -}; | ||
| 32 | - | ||
| 33 | -// 定义线程池结构体 | ||
| 34 | -struct JZsdk_Uart_SendDeal_thread_pool { | ||
| 35 | - int num_threads; // 线程池中的线程数量 | ||
| 36 | - pthread_t* threads; // 线程数组 | ||
| 37 | - struct task_queue* queue; // 任务队列 | ||
| 38 | - int is_shutdown; // 线程池是否关闭 | ||
| 39 | -}; | ||
| 40 | - | ||
| 41 | -struct t_JZsdk_UartSend_Struct | ||
| 42 | -{ | ||
| 43 | - char SendData[1024]; //发送的数据 | ||
| 44 | - int SendDataLength; //发送的数据长度 | ||
| 45 | - int UartPort; //发送的端口 | ||
| 46 | -}; | ||
| 47 | - | ||
| 48 | -// 定义全局静态变量线程池 | ||
| 49 | -static struct JZsdk_Uart_SendDeal_thread_pool JZsdk_Uart_SendDeal_SendDataPool; | ||
| 50 | - | ||
| 51 | -//发送任务 | ||
| 52 | -static int JZsdk_Uart_SendDeal_SendOreder(struct t_JZsdk_UartSend_Struct SendData) | ||
| 53 | -{ | ||
| 54 | - JZsdk_Uart_UartSend(SendData.UartPort, SendData.SendData, SendData.SendDataLength); | ||
| 55 | -} | ||
| 56 | - | ||
| 57 | - | ||
| 58 | -// 向任务队列添加任务 | ||
| 59 | -static void JZsdk_Uart_SendDeal_SendDataTask_QueuePush(struct task_queue* queue, struct t_JZsdk_UartSend_Struct* task) | ||
| 60 | -{ | ||
| 61 | - pthread_mutex_lock(&(queue->lock)); | ||
| 62 | - // 等待任务队列非满的条件 | ||
| 63 | - while (queue->count == queue->size) { | ||
| 64 | - pthread_cond_wait(&(queue->not_full), &(queue->lock)); | ||
| 65 | - } | ||
| 66 | - | ||
| 67 | - queue->tasks[queue->tail] = task; | ||
| 68 | - queue->tail = (queue->tail + 1) % queue->size; | ||
| 69 | - queue->count++; | ||
| 70 | - | ||
| 71 | - // 通知任务队列非空 | ||
| 72 | - pthread_cond_signal(&(queue->not_empty)); | ||
| 73 | - pthread_mutex_unlock(&(queue->lock)); | ||
| 74 | -} | ||
| 75 | - | ||
| 76 | -// 从任务队列中取出任务 | ||
| 77 | -static struct t_JZsdk_UartSend_Struct* JZsdk_Uart_SendDeal_SendDataTask_QueuePop(struct task_queue* queue) { | ||
| 78 | - pthread_mutex_lock(&(queue->lock)); | ||
| 79 | - // 等待任务队列非空的条件 | ||
| 80 | - while (queue->count == 0) { | ||
| 81 | - pthread_cond_wait(&(queue->not_empty), &(queue->lock)); | ||
| 82 | - } | ||
| 83 | - | ||
| 84 | - struct t_JZsdk_UartSend_Struct* task = queue->tasks[queue->head]; | ||
| 85 | - queue->head = (queue->head + 1) % queue->size; | ||
| 86 | - queue->count--; | ||
| 87 | - | ||
| 88 | - // 通知任务队列非满 | ||
| 89 | - pthread_cond_signal(&(queue->not_full)); | ||
| 90 | - pthread_mutex_unlock(&(queue->lock)); | ||
| 91 | - | ||
| 92 | - return task; | ||
| 93 | -} | ||
| 94 | - | ||
| 95 | -// 定义任务处理函数 | ||
| 96 | -static void* JZsdk_Uart_SendDeal_SendDataTask_DealFuntion(void* arg) { | ||
| 97 | - // 将传入的参数强制转换为线程池结构体 | ||
| 98 | - struct JZsdk_Uart_SendDeal_thread_pool* pool = (struct JZsdk_Uart_SendDeal_thread_pool*)arg; | ||
| 99 | - | ||
| 100 | - while (1) { | ||
| 101 | - // 从任务队列中取出任务 | ||
| 102 | - struct t_JZsdk_UartSend_Struct* task = JZsdk_Uart_SendDeal_SendDataTask_QueuePop(pool->queue); | ||
| 103 | - | ||
| 104 | - // TODO: 在这里编写具体的任务处理逻辑 | ||
| 105 | - JZsdk_Uart_SendDeal_SendOreder(*task); | ||
| 106 | - | ||
| 107 | - // 任务处理完成后,释放资源 | ||
| 108 | - free(task); | ||
| 109 | - } | ||
| 110 | - | ||
| 111 | - return NULL; | ||
| 112 | -} | ||
| 113 | - | ||
| 114 | - | ||
| 115 | - | ||
| 116 | -// 向线程池的任务队列提交任务 | ||
| 117 | -static void JZsdk_Uart_SendDeal_SendDataTask_submit(struct JZsdk_Uart_SendDeal_thread_pool pool, struct t_JZsdk_UartSend_Struct task) | ||
| 118 | -{ | ||
| 119 | - struct t_JZsdk_UartSend_Struct* new_task = malloc(sizeof(struct t_JZsdk_UartSend_Struct)); | ||
| 120 | - *new_task = task; | ||
| 121 | - JZsdk_Uart_SendDeal_SendDataTask_QueuePush(pool.queue, new_task); | ||
| 122 | -} | ||
| 123 | - | ||
| 124 | -int JZsdk_Uart_SendDeal_SendDataTask_Init() | ||
| 125 | -{ | ||
| 126 | - // 初始化线程池 | ||
| 127 | - | ||
| 128 | - //1、线程池参数 | ||
| 129 | - int num_threads = 5; | ||
| 130 | - int queue_size = 10; | ||
| 131 | - JZsdk_Uart_SendDeal_SendDataPool.num_threads = num_threads; | ||
| 132 | - JZsdk_Uart_SendDeal_SendDataPool.threads = malloc(num_threads * sizeof(pthread_t)); | ||
| 133 | - JZsdk_Uart_SendDeal_SendDataPool.queue = malloc(sizeof(struct task_queue)); | ||
| 134 | - JZsdk_Uart_SendDeal_SendDataPool.is_shutdown = 0; | ||
| 135 | - | ||
| 136 | - //2、注册线程池队列,并初始化 | ||
| 137 | - JZsdk_Uart_SendDeal_SendDataPool.queue->size = queue_size; | ||
| 138 | - JZsdk_Uart_SendDeal_SendDataPool.queue->head = 0; | ||
| 139 | - JZsdk_Uart_SendDeal_SendDataPool.queue->tail = 0; | ||
| 140 | - JZsdk_Uart_SendDeal_SendDataPool.queue->count = 0; | ||
| 141 | - JZsdk_Uart_SendDeal_SendDataPool.queue->tasks = malloc(queue_size * sizeof(struct t_JZsdk_UartSend_Struct*)); | ||
| 142 | - pthread_mutex_init(&(JZsdk_Uart_SendDeal_SendDataPool.queue->lock), NULL); | ||
| 143 | - pthread_cond_init(&(JZsdk_Uart_SendDeal_SendDataPool.queue->not_full), NULL); | ||
| 144 | - pthread_cond_init(&(JZsdk_Uart_SendDeal_SendDataPool.queue->not_empty), NULL); | ||
| 145 | - | ||
| 146 | - //3、创建线程池线程 | ||
| 147 | - for (int i = 0; i < num_threads; i++) { | ||
| 148 | - pthread_create(&(JZsdk_Uart_SendDeal_SendDataPool.threads[i]), NULL, JZsdk_Uart_SendDeal_SendDataTask_DealFuntion, &JZsdk_Uart_SendDeal_SendDataPool); | ||
| 149 | - } | ||
| 150 | -} | ||
| 151 | - | ||
| 152 | - | ||
| 153 | -int JZsdk_Uart_SendDeal_SendDataTask_DeInit() | ||
| 154 | -{ | ||
| 155 | - JZsdk_Uart_SendDeal_SendDataPool.is_shutdown = 1; | ||
| 156 | - | ||
| 157 | - // 等待所有任务被处理完 | ||
| 158 | - while (JZsdk_Uart_SendDeal_SendDataPool.queue->count > 0) { | ||
| 159 | - usleep(1000); | ||
| 160 | - } | ||
| 161 | - | ||
| 162 | - // 销毁任务队列 | ||
| 163 | - free(JZsdk_Uart_SendDeal_SendDataPool.queue->tasks); | ||
| 164 | - pthread_mutex_destroy(&(JZsdk_Uart_SendDeal_SendDataPool.queue->lock)); | ||
| 165 | - pthread_cond_destroy(&(JZsdk_Uart_SendDeal_SendDataPool.queue->not_full)); | ||
| 166 | - pthread_cond_destroy(&(JZsdk_Uart_SendDeal_SendDataPool.queue->not_empty)); | ||
| 167 | - | ||
| 168 | - // 唤醒所有线程并等待线程退出 | ||
| 169 | - for (int i = 0; i < JZsdk_Uart_SendDeal_SendDataPool.num_threads; i++) { | ||
| 170 | - printf("退出任务线程:%d\n",i); | ||
| 171 | - pthread_cancel(JZsdk_Uart_SendDeal_SendDataPool.threads[i]); | ||
| 172 | - pthread_join(JZsdk_Uart_SendDeal_SendDataPool.threads[i], NULL); | ||
| 173 | - } | ||
| 174 | - | ||
| 175 | - // 释放资源 | ||
| 176 | - free(JZsdk_Uart_SendDeal_SendDataPool.threads); | ||
| 177 | - free(JZsdk_Uart_SendDeal_SendDataPool.queue); | ||
| 178 | -} | ||
| 179 | - | ||
| 180 | -/* | ||
| 181 | - | ||
| 182 | - 创建发送线程 | ||
| 183 | - sengddata 发送的数据 | ||
| 184 | - | ||
| 185 | -*/ | ||
| 186 | -int JZsdk_Uart_SendDealInterface(int UartPort ,char *sendbuf, int len) | ||
| 187 | -{ | ||
| 188 | - struct t_JZsdk_UartSend_Struct Senddata; | ||
| 189 | - Senddata.UartPort = UartPort; | ||
| 190 | - memcpy(Senddata.SendData, sendbuf, len); | ||
| 191 | - Senddata.SendDataLength = len; | ||
| 192 | - | ||
| 193 | - JZsdk_Uart_SendDeal_SendDataTask_submit(JZsdk_Uart_SendDeal_SendDataPool, Senddata); | ||
| 194 | -} |
| @@ -11,6 +11,7 @@ | @@ -11,6 +11,7 @@ | ||
| 11 | #include "JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal.h" | 11 | #include "JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal.h" |
| 12 | #include "JZsdkLib.h" | 12 | #include "JZsdkLib.h" |
| 13 | #include "JZsdk_Uart_Input.h" | 13 | #include "JZsdk_Uart_Input.h" |
| 14 | +#include "JZsdk_TaskManagement/TaskManagement.h" | ||
| 14 | 15 | ||
| 15 | // 串口参数结构体 | 16 | // 串口参数结构体 |
| 16 | typedef struct | 17 | typedef struct |
| @@ -601,32 +602,76 @@ static int UartDeal_Recv_interface(int Uart_fd, unsigned char *getbuf, int getbu | @@ -601,32 +602,76 @@ static int UartDeal_Recv_interface(int Uart_fd, unsigned char *getbuf, int getbu | ||
| 601 | } | 602 | } |
| 602 | 603 | ||
| 603 | 604 | ||
| 604 | -/**************** | ||
| 605 | - * | 605 | +typedef struct { |
| 606 | + char* str; | ||
| 607 | + int str_lenth; | ||
| 608 | + int Uart_name; | ||
| 609 | +} UartSendData; | ||
| 610 | + | ||
| 611 | +/********** | ||
| 606 | * | 612 | * |
| 607 | - * 发送函数 | 613 | + * 发送任务函数 |
| 608 | * | 614 | * |
| 609 | - * ****************/ | ||
| 610 | -int JZsdk_Uart_UartSend(int UartPort, unsigned char *send, int num) | 615 | + * ***********/ |
| 616 | +static void JZsdk_Uart_UartSend_Task(void *data) | ||
| 611 | { | 617 | { |
| 612 | - if (UartPort == UART_4G) | 618 | + UartSendData* taskData = (UartSendData*)data; |
| 619 | + | ||
| 620 | + if (taskData->Uart_name == UART_4G) | ||
| 613 | { | 621 | { |
| 614 | printf("向4G设备发送\n"); | 622 | printf("向4G设备发送\n"); |
| 615 | - write(Uart_4G_fd, send, num); | ||
| 616 | - return 0; | 623 | + write(Uart_4G_fd, taskData->str, taskData->str_lenth); |
| 617 | } | 624 | } |
| 618 | - else if (UartPort == UART_DEV_1) | 625 | + else if (taskData->Uart_name == UART_DEV_1) |
| 619 | { | 626 | { |
| 620 | printf("向串口1号设备发送\n"); | 627 | printf("向串口1号设备发送\n"); |
| 621 | - write(Uart_DEV1_fd, send, num); | ||
| 622 | - return 0; | 628 | + write(Uart_DEV1_fd, taskData->str, taskData->str_lenth); |
| 623 | } | 629 | } |
| 624 | - else if (UartPort == UART_DEV_2) | 630 | + else if (taskData->Uart_name == UART_DEV_2) |
| 625 | { | 631 | { |
| 626 | printf("向串口2号设备发送\n"); | 632 | printf("向串口2号设备发送\n"); |
| 627 | - write(Uart_DEV2_fd, send, num); | ||
| 628 | - return 0; | 633 | + write(Uart_DEV2_fd, taskData->str, taskData->str_lenth); |
| 629 | } | 634 | } |
| 635 | + | ||
| 636 | + free(taskData); | ||
| 637 | + taskData = NULL; | ||
| 638 | +} | ||
| 639 | + | ||
| 640 | +/**************** | ||
| 641 | + * | ||
| 642 | + * | ||
| 643 | + * 发送函数 | ||
| 644 | + * | ||
| 645 | + * ****************/ | ||
| 646 | +T_JZsdkReturnCode JZsdk_Uart_UartSend(int UartPort, unsigned char *send, int num) | ||
| 647 | +{ | ||
| 648 | + UartSendData *senddata = (UartSendData*)malloc(sizeof(UartSendData)); | ||
| 649 | + if (senddata == NULL) { | ||
| 650 | + // 处理内存分配失败的情况 | ||
| 651 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 652 | + } | ||
| 653 | + | ||
| 654 | + | ||
| 655 | + senddata->str = (unsigned char*)malloc(num + 1); // 分配足够的内存用于保存字符串 | ||
| 656 | + if (senddata->str == NULL) { | ||
| 657 | + // 处理内存分配失败的情况 | ||
| 658 | + free(senddata); // 释放之前分配的内存 | ||
| 659 | + return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE; | ||
| 660 | + } | ||
| 661 | + | ||
| 662 | + senddata->str_lenth = num; | ||
| 663 | + senddata->Uart_name = UartPort; | ||
| 664 | + memcpy(senddata->str, send, num); | ||
| 665 | + | ||
| 666 | + T_JZsdkReturnCode ret = TaskManagement_SubmitTask(JZsdk_Uart_UartSend_Task, (void *)senddata); | ||
| 667 | + if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE) | ||
| 668 | + { | ||
| 669 | + free(senddata->str); | ||
| 670 | + free(senddata); | ||
| 671 | + return ret; | ||
| 672 | + } | ||
| 673 | + | ||
| 674 | + return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS; | ||
| 630 | } | 675 | } |
| 631 | 676 | ||
| 632 | 677 |
| @@ -18,11 +18,12 @@ extern "C" { | @@ -18,11 +18,12 @@ extern "C" { | ||
| 18 | 18 | ||
| 19 | /* Exported constants --------------------------------------------------------*/ | 19 | /* Exported constants --------------------------------------------------------*/ |
| 20 | /* 常亮定义*/ | 20 | /* 常亮定义*/ |
| 21 | +#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h" | ||
| 21 | 22 | ||
| 22 | /* Exported types ------------------------------------------------------------*/ | 23 | /* Exported types ------------------------------------------------------------*/ |
| 23 | 24 | ||
| 24 | /* Exported functions --------------------------------------------------------*/ | 25 | /* Exported functions --------------------------------------------------------*/ |
| 25 | -int JZsdk_Uart_UartSend(int UartPort ,unsigned char *send, int num); | 26 | +T_JZsdkReturnCode JZsdk_Uart_UartSend(int UartPort ,unsigned char *send, int num); |
| 26 | int JZsdk_Uart_UartDeal_Receive(int Uart_fd, int Uart_Dev_name); | 27 | int JZsdk_Uart_UartDeal_Receive(int Uart_fd, int Uart_Dev_name); |
| 27 | int JZsdk_Uart_CloseUartFd(int UartPort); | 28 | int JZsdk_Uart_CloseUartFd(int UartPort); |
| 28 | int JZsdk_Uart_CloseUartThead(int UartPort, int BitRate); | 29 | int JZsdk_Uart_CloseUartThead(int UartPort, int BitRate); |
| @@ -110,7 +110,6 @@ T_JZsdkReturnCode Gimbal_Set_PitchAngle(int angle) | @@ -110,7 +110,6 @@ T_JZsdkReturnCode Gimbal_Set_PitchAngle(int angle) | ||
| 110 | printf("H150s/H150t的云台俯仰输入值范围出错:%d\n", angle); | 110 | printf("H150s/H150t的云台俯仰输入值范围出错:%d\n", angle); |
| 111 | return JZ_ERRORCODE_GIMBAL_INVALID_PITCH; | 111 | return JZ_ERRORCODE_GIMBAL_INVALID_PITCH; |
| 112 | } | 112 | } |
| 113 | - | ||
| 114 | } | 113 | } |
| 115 | else if (DEVICE_VERSION == JZ_H10) | 114 | else if (DEVICE_VERSION == JZ_H10) |
| 116 | { | 115 | { |
| @@ -641,12 +640,6 @@ int Gimbal_ReplyPitchToUAVScale(int angle) | @@ -641,12 +640,6 @@ int Gimbal_ReplyPitchToUAVScale(int angle) | ||
| 641 | } | 640 | } |
| 642 | 641 | ||
| 643 | 642 | ||
| 644 | - | ||
| 645 | - | ||
| 646 | - | ||
| 647 | - | ||
| 648 | - | ||
| 649 | - | ||
| 650 | //设置云台俯仰角度 | 643 | //设置云台俯仰角度 |
| 651 | static T_JZsdkReturnCode Gimbal_Set_RealPitchAngle(int angle) | 644 | static T_JZsdkReturnCode Gimbal_Set_RealPitchAngle(int angle) |
| 652 | { | 645 | { |
| @@ -812,37 +805,6 @@ static T_JZsdkReturnCode Gimbal_Set_RealPitchAngle(int angle) | @@ -812,37 +805,6 @@ static T_JZsdkReturnCode Gimbal_Set_RealPitchAngle(int angle) | ||
| 812 | } | 805 | } |
| 813 | 806 | ||
| 814 | 807 | ||
| 815 | -//发送电机pwm值 线程 | ||
| 816 | -static void *Task_Gimbal_SetAngle_task(void *arg) | ||
| 817 | -{ | ||
| 818 | - int angle = *(int*)arg; | ||
| 819 | - Gimbal_Set_RealPitchAngle(angle); | ||
| 820 | - free(arg); // 在线程函数中释放动态内存 | ||
| 821 | -} | ||
| 822 | - | ||
| 823 | -//设置角度 | ||
| 824 | -int Task_Gimbal_SetAngle(int angle) | ||
| 825 | -{ | ||
| 826 | - pthread_t MOTOR_task; | ||
| 827 | - pthread_attr_t task_attribute; //线程属性 | ||
| 828 | - pthread_attr_init(&task_attribute); //初始化线程属性 | ||
| 829 | - pthread_attr_setdetachstate(&task_attribute, PTHREAD_CREATE_DETACHED); //设置线程属性 | ||
| 830 | - | ||
| 831 | - int *arg = (int*) malloc(sizeof(int)); // 分配动态内存 | ||
| 832 | - *arg = angle; // 将参数值保存到动态内存中 | ||
| 833 | - | ||
| 834 | - //printf("创建发送角度\n"); | ||
| 835 | - | ||
| 836 | - int angle_ret = pthread_create(&MOTOR_task,&task_attribute, Task_Gimbal_SetAngle_task,arg); //TTS mobie | ||
| 837 | - if(angle_ret != 0) | ||
| 838 | - { | ||
| 839 | - printf("创建motor线程失败!\n"); | ||
| 840 | - return -1; | ||
| 841 | - } | ||
| 842 | - | ||
| 843 | - return 0; | ||
| 844 | -} | ||
| 845 | - | ||
| 846 | /************************** | 808 | /************************** |
| 847 | * | 809 | * |
| 848 | * | 810 | * |
| @@ -862,7 +824,6 @@ static void *Gimbal_SendAngleTask(void *arg) | @@ -862,7 +824,6 @@ static void *Gimbal_SendAngleTask(void *arg) | ||
| 862 | 824 | ||
| 863 | while (1) | 825 | while (1) |
| 864 | { | 826 | { |
| 865 | - //JZSDK_LOG_DEBUG("GTime"); | ||
| 866 | if (Gimbal_PitchAngle != angle //云台角度发生了变化 | 827 | if (Gimbal_PitchAngle != angle //云台角度发生了变化 |
| 867 | || Gimbal_UavSelfPitch != UAV_self_angle //飞机自身角度发生了变化 | 828 | || Gimbal_UavSelfPitch != UAV_self_angle //飞机自身角度发生了变化 |
| 868 | || Gimbal_PitchFineTuning != PitchFineTuning //微调角度发生了变化 | 829 | || Gimbal_PitchFineTuning != PitchFineTuning //微调角度发生了变化 |
| @@ -871,36 +832,11 @@ static void *Gimbal_SendAngleTask(void *arg) | @@ -871,36 +832,11 @@ static void *Gimbal_SendAngleTask(void *arg) | ||
| 871 | angle = Gimbal_PitchAngle; | 832 | angle = Gimbal_PitchAngle; |
| 872 | UAV_self_angle = Gimbal_UavSelfPitch; | 833 | UAV_self_angle = Gimbal_UavSelfPitch; |
| 873 | PitchFineTuning = Gimbal_PitchFineTuning; | 834 | PitchFineTuning = Gimbal_PitchFineTuning; |
| 874 | - Task_Gimbal_SetAngle(angle); | 835 | + Gimbal_Set_RealPitchAngle(angle); |
| 875 | } | 836 | } |
| 876 | - //JZSDK_LOG_WARN("GimbalTime"); | ||
| 877 | - delayMs(3); | ||
| 878 | - | ||
| 879 | - // if (test_value == 0) | ||
| 880 | - // { | ||
| 881 | - // angle+=5; | ||
| 882 | - // } | ||
| 883 | 837 | ||
| 884 | - // if (test_value == 1) | ||
| 885 | - // { | ||
| 886 | - // angle-=5; | ||
| 887 | - // } | ||
| 888 | - | ||
| 889 | - // if(angle >= 0) | ||
| 890 | - // { | ||
| 891 | - // angle = 0; | ||
| 892 | - // test_value = 1; | ||
| 893 | - // } | ||
| 894 | - // else if (angle <= -900) | ||
| 895 | - // { | ||
| 896 | - // angle = -900; | ||
| 897 | - // test_value = 0; | ||
| 898 | - // } | ||
| 899 | - | ||
| 900 | - // Task_Gimbal_SetAngle(angle); | ||
| 901 | - // delayMs(3); | 838 | + delayMs(6); |
| 902 | } | 839 | } |
| 903 | - | ||
| 904 | } | 840 | } |
| 905 | 841 | ||
| 906 | static int Gimbal_SendAngleTask_Init() | 842 | static int Gimbal_SendAngleTask_Init() |
| @@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
| 12 | 12 | ||
| 13 | #include "./JZ_SearchLightTemp_calculation.h" | 13 | #include "./JZ_SearchLightTemp_calculation.h" |
| 14 | #include "./SearchLightTemControl.h" | 14 | #include "./SearchLightTemControl.h" |
| 15 | - | 15 | +#include "Lighting_InAndOut.h" |
| 16 | 16 | ||
| 17 | static int g_InputTemp = 0; //全局输入温度 | 17 | static int g_InputTemp = 0; //全局输入温度 |
| 18 | static int g_InputLumen = 0; //全局输入亮度 | 18 | static int g_InputLumen = 0; //全局输入亮度 |
| @@ -27,7 +27,6 @@ T_JZsdkReturnCode SearchLightTemControl_Set_g_InputTemp(int temp) | @@ -27,7 +27,6 @@ T_JZsdkReturnCode SearchLightTemControl_Set_g_InputTemp(int temp) | ||
| 27 | g_InputTemp = temp; | 27 | g_InputTemp = temp; |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | - | ||
| 31 | //刷新亮度函数 | 30 | //刷新亮度函数 |
| 32 | T_JZsdkReturnCode JZsdk_SearchLightTemControl_FlushLumen(int InputLumen) | 31 | T_JZsdkReturnCode JZsdk_SearchLightTemControl_FlushLumen(int InputLumen) |
| 33 | { | 32 | { |
| @@ -50,44 +50,6 @@ int Megaphone_Init() | @@ -50,44 +50,6 @@ int Megaphone_Init() | ||
| 50 | //初始化之后,标志完成 | 50 | //初始化之后,标志完成 |
| 51 | MegaphoneStatusFlag = JZ_FLAGCODE_ON; | 51 | MegaphoneStatusFlag = JZ_FLAGCODE_ON; |
| 52 | 52 | ||
| 53 | -#if FIRMWARE_ORIGIN == DOMESTIC_VERSION //国内版才有方言 | ||
| 54 | - | ||
| 55 | - //播放喊话器启动中 | ||
| 56 | - | ||
| 57 | - if (APP_VERSION == APP_PSDK) | ||
| 58 | - { | ||
| 59 | - //播放喊话器启动中 | ||
| 60 | - //Megaphone_TTS_Play(strlen("喊话器启动中"),"喊话器启动中", 0); | ||
| 61 | - } | ||
| 62 | - | ||
| 63 | - else if (APP_VERSION == APP_UART) | ||
| 64 | - { | ||
| 65 | - if (SPECIAL_VERSION == SPECIAL_DAOTONG) | ||
| 66 | - { | ||
| 67 | - //设置语音为英文 | ||
| 68 | - //Megaphone_TTS_SetTone(0x11); | ||
| 69 | - | ||
| 70 | - //播放喊话器启动中 | ||
| 71 | - //Megaphone_TTS_Play(strlen("The direct connection mode of the speaker is being activated"),"The direct connection mode of the speaker is being activated", 0); | ||
| 72 | - } | ||
| 73 | - else | ||
| 74 | - { | ||
| 75 | - //播放喊话器启动中 | ||
| 76 | - Megaphone_TTS_Play(strlen("喊话器直连模式启动中"),"喊话器直连模式启动中", 0); | ||
| 77 | - } | ||
| 78 | - } | ||
| 79 | - | ||
| 80 | - | ||
| 81 | -#elif FIRMWARE_ORIGIN == OVERSEAS_VERSION //海外版才有其他国家的语音 | ||
| 82 | - | ||
| 83 | - //设置语音为英文 | ||
| 84 | - Megaphone_TTS_SetTone(0x11); | ||
| 85 | - | ||
| 86 | - //播放喊话器启动中 | ||
| 87 | - Megaphone_TTS_Play(strlen("The direct connection mode of the speaker is being activated"),"The direct connection mode of the speaker is being activated", 0); | ||
| 88 | - | ||
| 89 | -#endif | ||
| 90 | - | ||
| 91 | printf("喊话器初始化完毕\n"); | 53 | printf("喊话器初始化完毕\n"); |
| 92 | } | 54 | } |
| 93 | 55 |
| @@ -750,7 +750,7 @@ T_JZsdkReturnCode UIcontrol_Set_GimbalPitchAngle(int DeviceName,int value) | @@ -750,7 +750,7 @@ T_JZsdkReturnCode UIcontrol_Set_GimbalPitchAngle(int DeviceName,int value) | ||
| 750 | return ret; | 750 | return ret; |
| 751 | } | 751 | } |
| 752 | 752 | ||
| 753 | - delayMs(10); | 753 | + //delayMs(10); |
| 754 | 754 | ||
| 755 | //获取当前云台俯仰角度 | 755 | //获取当前云台俯仰角度 |
| 756 | int GimbalPitchAngle = Gimbal_Get_PitchAngle(); | 756 | int GimbalPitchAngle = Gimbal_Get_PitchAngle(); |
| @@ -769,7 +769,7 @@ T_JZsdkReturnCode UIcontrol_Set_GimbalPitchAngle(int DeviceName,int value) | @@ -769,7 +769,7 @@ T_JZsdkReturnCode UIcontrol_Set_GimbalPitchAngle(int DeviceName,int value) | ||
| 769 | //如果设备2有启动 | 769 | //如果设备2有启动 |
| 770 | if ( (JZsdk_Get_UartDev_UseFlag(UART_DEV_2) == JZ_FLAGCODE_ON) && (DeviceName != UART_DEV_2) ) | 770 | if ( (JZsdk_Get_UartDev_UseFlag(UART_DEV_2) == JZ_FLAGCODE_ON) && (DeviceName != UART_DEV_2) ) |
| 771 | { | 771 | { |
| 772 | - JZsdk_Uart_Reply_GimbalPitchAngle(UART_DEV_2, GimbalPitchAngle); | 772 | + //JZsdk_Uart_Reply_GimbalPitchAngle(UART_DEV_2, GimbalPitchAngle); |
| 773 | } | 773 | } |
| 774 | //如果psdk接口已经使用 | 774 | //如果psdk接口已经使用 |
| 775 | if ( (JZsdk_Get_Psdk_UIcontrol_UseFlag() == JZ_FLAGCODE_ON) && DeviceName != DEVICE_PSDK ) | 775 | if ( (JZsdk_Get_Psdk_UIcontrol_UseFlag() == JZ_FLAGCODE_ON) && DeviceName != DEVICE_PSDK ) |
Upgrade_Package/JZ_H1E_V00.00.01.07.bin
已删除
100644 → 0
不能预览此文件类型
Upgrade_Package/JZ_U3_V00.00.01.08.bin
0 → 100644
不能预览此文件类型
不能预览此文件类型
| 1 | #1、输入设备名字,程序模式,硬件号,版本号 | 1 | #1、输入设备名字,程序模式,硬件号,版本号 |
| 2 | -payload_name="JZ_H1E" | 2 | +payload_name="JZ_U3" |
| 3 | payload_mode="APP_UART" # APP_PSDK 或者 APP_UART APP_TEST | 3 | payload_mode="APP_UART" # APP_PSDK 或者 APP_UART APP_TEST |
| 4 | payload_platform="PLATFORM_V3S" | 4 | payload_platform="PLATFORM_V3S" |
| 5 | -payload_version="V00.00.01.07" | ||
| 6 | -payload_origin="DOMESTIC_VERSION" # 国内版DOMESTIC_VERSION 海外版OVERSEAS_VERSION | ||
| 7 | -payload_special="SPECIAL_DAOTONG" # 特殊固件注释 | 5 | +payload_version="V00.00.01.08" |
| 6 | +payload_origin="OVERSEAS_VERSION" # 国内版 DOMESTIC_VERSION 海外版 OVERSEAS_VERSION | ||
| 7 | +payload_special="SPECIAL_NORMAL" # 特殊固件注释 | ||
| 8 | # 目前已有的特殊版本类型 | 8 | # 目前已有的特殊版本类型 |
| 9 | # SPECIAL_NORMAL 普通版本 | 9 | # SPECIAL_NORMAL 普通版本 |
| 10 | # SPECIAL_DAOTONG 道通版本 | 10 | # SPECIAL_DAOTONG 道通版本 |
| @@ -17,7 +17,12 @@ | @@ -17,7 +17,12 @@ | ||
| 17 | #include "Dji_Control/DJI_WidgetControl.h" | 17 | #include "Dji_Control/DJI_WidgetControl.h" |
| 18 | #include "Lighting_InAndOut.h" | 18 | #include "Lighting_InAndOut.h" |
| 19 | #include "Camera_InAndOut.h" | 19 | #include "Camera_InAndOut.h" |
| 20 | -// #include "fc_subscription/test_fc_subscription.h" | 20 | + |
| 21 | +#include "JZsdk_TaskManagement/TaskManagement.h" | ||
| 22 | + | ||
| 23 | +#if APP_VERSION == APP_PSDK | ||
| 24 | +#include "fc_subscription/test_fc_subscription.h" | ||
| 25 | +#endif | ||
| 21 | #include "./SerialMAT_InAndOut.h" | 26 | #include "./SerialMAT_InAndOut.h" |
| 22 | 27 | ||
| 23 | 28 | ||
| @@ -64,7 +69,7 @@ int Main_APP_Psdk() | @@ -64,7 +69,7 @@ int Main_APP_Psdk() | ||
| 64 | { | 69 | { |
| 65 | JZsdk_LibInit(); | 70 | JZsdk_LibInit(); |
| 66 | 71 | ||
| 67 | - JZSDK_LOG_INFO("%x,UartVersion%x.%x.%x.%x\n",DEVICE_VERSION,MAJOR_VERSION, MINOR_VERSION, MODIFY_VERSION, DEBUG_VERSION); | 72 | + JZSDK_LOG_INFO("%x,PsdkVersion%x.%x.%x.%x\n",DEVICE_VERSION,MAJOR_VERSION, MINOR_VERSION, MODIFY_VERSION, DEBUG_VERSION); |
| 68 | 73 | ||
| 69 | //引脚初始化 | 74 | //引脚初始化 |
| 70 | Ircut_Init(); | 75 | Ircut_Init(); |
| @@ -72,6 +77,9 @@ int Main_APP_Psdk() | @@ -72,6 +77,9 @@ int Main_APP_Psdk() | ||
| 72 | //序列号初始化 | 77 | //序列号初始化 |
| 73 | SerialMAT_Init(); | 78 | SerialMAT_Init(); |
| 74 | 79 | ||
| 80 | + //工作模式设置函数,用于超时,及播放启动语音等 | ||
| 81 | + Main_WorkMode(); | ||
| 82 | + | ||
| 75 | if (DEVICE_VERSION == TF_A1) | 83 | if (DEVICE_VERSION == TF_A1) |
| 76 | { | 84 | { |
| 77 | //串口设备1初始化 | 85 | //串口设备1初始化 |
| @@ -208,6 +216,7 @@ int Main_APP_Psdk() | @@ -208,6 +216,7 @@ int Main_APP_Psdk() | ||
| 208 | 216 | ||
| 209 | int Main_APP_Uart() | 217 | int Main_APP_Uart() |
| 210 | { | 218 | { |
| 219 | + //lib库初始化 | ||
| 211 | JZsdk_LibInit(); | 220 | JZsdk_LibInit(); |
| 212 | 221 | ||
| 213 | JZSDK_LOG_INFO("%x,UartVersion%x.%x.%x.%x\n",DEVICE_VERSION,MAJOR_VERSION, MINOR_VERSION, MODIFY_VERSION, DEBUG_VERSION); | 222 | JZSDK_LOG_INFO("%x,UartVersion%x.%x.%x.%x\n",DEVICE_VERSION,MAJOR_VERSION, MINOR_VERSION, MODIFY_VERSION, DEBUG_VERSION); |
| @@ -218,7 +227,7 @@ int Main_APP_Uart() | @@ -218,7 +227,7 @@ int Main_APP_Uart() | ||
| 218 | //序列号初始化 | 227 | //序列号初始化 |
| 219 | SerialMAT_Init(); | 228 | SerialMAT_Init(); |
| 220 | 229 | ||
| 221 | - //串口程序计时开始(用于连接上就跑串口程序,没连上就退出 继续跑psdk) | 230 | + //工作模式设置函数,用于超时,及播放启动语音等 |
| 222 | Main_WorkMode(); | 231 | Main_WorkMode(); |
| 223 | 232 | ||
| 224 | if (DEVICE_VERSION == JZ_H1E) | 233 | if (DEVICE_VERSION == JZ_H1E) |
| @@ -315,7 +324,7 @@ int Main_APP_Uart() | @@ -315,7 +324,7 @@ int Main_APP_Uart() | ||
| 315 | 324 | ||
| 316 | 325 | ||
| 317 | 326 | ||
| 318 | - if (DEBUG_VERSION == TF_A1) | 327 | + if (DEVICE_VERSION == TF_A1) |
| 319 | { | 328 | { |
| 320 | //串口设备1初始化 | 329 | //串口设备1初始化 |
| 321 | JZsdk_Uart_Init(UART_DEV_1); | 330 | JZsdk_Uart_Init(UART_DEV_1); |
| @@ -364,12 +373,18 @@ static int Main_WorkMode() | @@ -364,12 +373,18 @@ static int Main_WorkMode() | ||
| 364 | 373 | ||
| 365 | static T_JZsdkReturnCode Start_up_and_broadcast_voice() | 374 | static T_JZsdkReturnCode Start_up_and_broadcast_voice() |
| 366 | { | 375 | { |
| 367 | -#if FIRMWARE_ORIGIN == DOMESTIC_VERSION //国内版才有方言 | ||
| 368 | - | ||
| 369 | if (APP_VERSION == APP_PSDK) | 376 | if (APP_VERSION == APP_PSDK) |
| 370 | { | 377 | { |
| 378 | +#if FIRMWARE_ORIGIN == DOMESTIC_VERSION //国内版才有方言 | ||
| 371 | //播放喊话器启动中 | 379 | //播放喊话器启动中 |
| 372 | Megaphone_TTS_Play(strlen("喊话器准备就绪"), "喊话器准备就绪", 0); | 380 | Megaphone_TTS_Play(strlen("喊话器准备就绪"), "喊话器准备就绪", 0); |
| 381 | +#elif FIRMWARE_ORIGIN == OVERSEAS_VERSION //海外版才有其他国家的语音 | ||
| 382 | + //设置语音为英文 | ||
| 383 | + Megaphone_TTS_SetTone(0x11); | ||
| 384 | + | ||
| 385 | + //播放喊话器启动中 | ||
| 386 | + Megaphone_TTS_Play(strlen("The direct connection mode of the speaker is being activated"),"The direct connection mode of the speaker is being activated", 0); | ||
| 387 | +#endif | ||
| 373 | } | 388 | } |
| 374 | 389 | ||
| 375 | else if (APP_VERSION == APP_UART) | 390 | else if (APP_VERSION == APP_UART) |
| @@ -389,21 +404,18 @@ static T_JZsdkReturnCode Start_up_and_broadcast_voice() | @@ -389,21 +404,18 @@ static T_JZsdkReturnCode Start_up_and_broadcast_voice() | ||
| 389 | } | 404 | } |
| 390 | else | 405 | else |
| 391 | { | 406 | { |
| 407 | +#if FIRMWARE_ORIGIN == DOMESTIC_VERSION //国内版才有方言 | ||
| 392 | //播放喊话器启动中 | 408 | //播放喊话器启动中 |
| 393 | Megaphone_TTS_Play(strlen("喊话器直连模式准备就绪"), "喊话器直连模式准备就绪", 0); | 409 | Megaphone_TTS_Play(strlen("喊话器直连模式准备就绪"), "喊话器直连模式准备就绪", 0); |
| 394 | - } | ||
| 395 | - } | ||
| 396 | - | ||
| 397 | - | ||
| 398 | #elif FIRMWARE_ORIGIN == OVERSEAS_VERSION //海外版才有其他国家的语音 | 410 | #elif FIRMWARE_ORIGIN == OVERSEAS_VERSION //海外版才有其他国家的语音 |
| 399 | - | ||
| 400 | //设置语音为英文 | 411 | //设置语音为英文 |
| 401 | Megaphone_TTS_SetTone(0x11); | 412 | Megaphone_TTS_SetTone(0x11); |
| 402 | 413 | ||
| 403 | //播放喊话器启动中 | 414 | //播放喊话器启动中 |
| 404 | Megaphone_TTS_Play(strlen("Speaker Direct Mode Ready"),"Speaker Direct Mode Ready", 0); | 415 | Megaphone_TTS_Play(strlen("Speaker Direct Mode Ready"),"Speaker Direct Mode Ready", 0); |
| 405 | - | ||
| 406 | #endif | 416 | #endif |
| 417 | + } | ||
| 418 | + } | ||
| 407 | } | 419 | } |
| 408 | 420 | ||
| 409 | static void *Main_WorkModeTask(void *arg) | 421 | static void *Main_WorkModeTask(void *arg) |
| @@ -412,6 +424,7 @@ static void *Main_WorkModeTask(void *arg) | @@ -412,6 +424,7 @@ static void *Main_WorkModeTask(void *arg) | ||
| 412 | int i=0; | 424 | int i=0; |
| 413 | printf("进入串口等待函数\n"); | 425 | printf("进入串口等待函数\n"); |
| 414 | 426 | ||
| 427 | +#if APP_VERSION == APP_UART | ||
| 415 | for (i = 0; i < 60; i++) | 428 | for (i = 0; i < 60; i++) |
| 416 | { | 429 | { |
| 417 | delayMs(1000);//延迟一秒钟 | 430 | delayMs(1000);//延迟一秒钟 |
| @@ -431,6 +444,9 @@ static void *Main_WorkModeTask(void *arg) | @@ -431,6 +444,9 @@ static void *Main_WorkModeTask(void *arg) | ||
| 431 | printf("串口连接超时,回到连接psdk"); | 444 | printf("串口连接超时,回到连接psdk"); |
| 432 | exit(0); | 445 | exit(0); |
| 433 | } | 446 | } |
| 447 | +#elif APP_VERSION == APP_PSDK | ||
| 448 | + | ||
| 449 | +#endif | ||
| 434 | 450 | ||
| 435 | while (1) | 451 | while (1) |
| 436 | { | 452 | { |
application/BaseConfig.c.bak
0 → 100644
| 1 | +#include <stdio.h> | ||
| 2 | +#include <stdlib.h> | ||
| 3 | +#include <pthread.h> | ||
| 4 | +#include <string.h> | ||
| 5 | + | ||
| 6 | +#include "JZsdkLib.h" | ||
| 7 | + | ||
| 8 | +#include "version_choose.h" | ||
| 9 | +#include "ircut.h" | ||
| 10 | +#include "Megaphone_InputAndOutput.h" | ||
| 11 | +#include "Gimbal_InAndOut.h" | ||
| 12 | + | ||
| 13 | +#include "JZsdk_Uart_Input.h" | ||
| 14 | +#include "BaseConfig.h" | ||
| 15 | +#include "Psdk_UI_io.h" | ||
| 16 | + | ||
| 17 | +#include "Dji_Control/DJI_WidgetControl.h" | ||
| 18 | +#include "Lighting_InAndOut.h" | ||
| 19 | +#include "Camera_InAndOut.h" | ||
| 20 | +#include "fc_subscription/test_fc_subscription.h" | ||
| 21 | +#include "./SerialMAT_InAndOut.h" | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + | ||
| 25 | +static int Main_WorkMode(); | ||
| 26 | +static void *Main_WorkModeTask(void *arg); | ||
| 27 | +static int WorkMode = JZ_FLAGCODE_OFF; | ||
| 28 | + | ||
| 29 | +extern int MegaphoneStatusFlag; | ||
| 30 | + | ||
| 31 | +/*** ************************* ************************* | ||
| 32 | + * | ||
| 33 | + * 判断设备是否可用 | ||
| 34 | + * return 0 可用 | ||
| 35 | + * return 1 未激活 | ||
| 36 | + * return 2 海外版检测到在国外不可用 | ||
| 37 | + * | ||
| 38 | + * ******************** ******************************/ | ||
| 39 | +int Main_Device_Wheather_Use() | ||
| 40 | +{ | ||
| 41 | + //先判断是否有激活 | ||
| 42 | + if (SerialMAT_Get_SerialNumberStatus() != JZ_FLAGCODE_ON) | ||
| 43 | + { | ||
| 44 | + //未激活 返回1 | ||
| 45 | + return 1; | ||
| 46 | + } | ||
| 47 | + | ||
| 48 | + // //如果是国外版,判断是否在国内 //以后再单独领出一个模块 | ||
| 49 | + if (FIRMWARE_ORIGIN == OVERSEAS_VERSION) | ||
| 50 | + { | ||
| 51 | +#if APP_VERSION == APP_PSDK | ||
| 52 | + //如果处于中国境内 | ||
| 53 | + if (Subscription_WhetherInChina() == 1) | ||
| 54 | + { | ||
| 55 | + return 2; | ||
| 56 | + } | ||
| 57 | +#endif | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + return 0; | ||
| 61 | +} | ||
| 62 | + | ||
| 63 | +int Main_APP_Psdk() | ||
| 64 | +{ | ||
| 65 | + JZsdk_LibInit(); | ||
| 66 | + | ||
| 67 | + JZSDK_LOG_INFO("%x,PsdkVersion%x.%x.%x.%x\n",DEVICE_VERSION,MAJOR_VERSION, MINOR_VERSION, MODIFY_VERSION, DEBUG_VERSION); | ||
| 68 | + | ||
| 69 | + //引脚初始化 | ||
| 70 | + Ircut_Init(); | ||
| 71 | + | ||
| 72 | + //序列号初始化 | ||
| 73 | + SerialMAT_Init(); | ||
| 74 | + | ||
| 75 | + //工作模式设置函数,用于超时,及播放启动语音等 | ||
| 76 | + Main_WorkMode(); | ||
| 77 | + | ||
| 78 | + if (DEVICE_VERSION == TF_A1) | ||
| 79 | + { | ||
| 80 | + //串口设备1初始化 | ||
| 81 | + //JZsdk_Uart_Init(UART_DEV_1); | ||
| 82 | + | ||
| 83 | + //串口设备2初始化 | ||
| 84 | + JZsdk_Uart_Init(UART_DEV_2); | ||
| 85 | + | ||
| 86 | + //喊话器初始化 | ||
| 87 | + Megaphone_Init(); | ||
| 88 | + | ||
| 89 | + //云台初始化 | ||
| 90 | + Gimbal_Init(); | ||
| 91 | + | ||
| 92 | + //灯类初始化 | ||
| 93 | + Lighting_Init(); | ||
| 94 | + | ||
| 95 | + delayMs(1000); | ||
| 96 | + | ||
| 97 | + //消息订阅初始化 | ||
| 98 | + JZsdk_Uart_Send_MessageSubcription_Control(UART_DEV_2, JZ_FLAGCODE_ON); | ||
| 99 | + } | ||
| 100 | + | ||
| 101 | + else if (DEVICE_VERSION == JZ_H1E) | ||
| 102 | + { | ||
| 103 | + //串口设备1初始化 | ||
| 104 | + //JZsdk_Uart_Init(UART_DEV_1); | ||
| 105 | + | ||
| 106 | + //喊话器初始化 | ||
| 107 | + Megaphone_Init(); | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + else if (DEVICE_VERSION == JZ_H1T) | ||
| 111 | + { | ||
| 112 | + //串口设备1初始化 | ||
| 113 | + //JZsdk_Uart_Init(UART_DEV_1); | ||
| 114 | + | ||
| 115 | + //4g设备初始化 | ||
| 116 | + JZsdk_Uart_Init(UART_4G); | ||
| 117 | + | ||
| 118 | + //喊话器初始化 | ||
| 119 | + Megaphone_Init(); | ||
| 120 | + | ||
| 121 | + //云台初始化 | ||
| 122 | + Gimbal_Init(); | ||
| 123 | + } | ||
| 124 | + | ||
| 125 | + else if (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T) | ||
| 126 | + { | ||
| 127 | + //串口设备1初始化 | ||
| 128 | + // JZsdk_Uart_Init(UART_DEV_1); | ||
| 129 | + | ||
| 130 | + if (DEVICE_VERSION == JZ_H150T) | ||
| 131 | + { | ||
| 132 | + //4g设备初始化 | ||
| 133 | + JZsdk_Uart_Init(UART_4G); | ||
| 134 | + } | ||
| 135 | + | ||
| 136 | + //喊话器初始化 | ||
| 137 | + Megaphone_Init(); | ||
| 138 | + | ||
| 139 | + //云台初始化 | ||
| 140 | + Gimbal_Init(); | ||
| 141 | + | ||
| 142 | + //相机初始化 | ||
| 143 | + JZsdk_CameraMuduleInit(); | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + else if (DEVICE_VERSION == JZ_H10) | ||
| 147 | + { | ||
| 148 | + //串口设备1初始化 | ||
| 149 | + // JZsdk_Uart_Init(UART_DEV_1); | ||
| 150 | + | ||
| 151 | + //喊话器初始化 | ||
| 152 | + Megaphone_Init(); | ||
| 153 | + | ||
| 154 | + //云台初始化 | ||
| 155 | + Gimbal_Init(); | ||
| 156 | + } | ||
| 157 | + | ||
| 158 | + else if (DEVICE_VERSION == JZ_H10T) | ||
| 159 | + { | ||
| 160 | + //串口设备1初始化 | ||
| 161 | + //JZsdk_Uart_Init(UART_DEV_1); | ||
| 162 | + | ||
| 163 | + //4g设备初始化 | ||
| 164 | + JZsdk_Uart_Init(UART_4G); | ||
| 165 | + | ||
| 166 | + //喊话器初始化 | ||
| 167 | + Megaphone_Init(); | ||
| 168 | + | ||
| 169 | + //云台初始化 | ||
| 170 | + Gimbal_Init(); | ||
| 171 | + } | ||
| 172 | + | ||
| 173 | + else if (DEVICE_VERSION == JZ_U3) | ||
| 174 | + { | ||
| 175 | + //串口设备1初始化 | ||
| 176 | + //JZsdk_Uart_Init(UART_DEV_1); | ||
| 177 | + | ||
| 178 | + //串口设备2初始化 | ||
| 179 | + JZsdk_Uart_Init(UART_DEV_2); | ||
| 180 | + | ||
| 181 | + //喊话器初始化 | ||
| 182 | + Megaphone_Init(); | ||
| 183 | + | ||
| 184 | + //云台初始化 | ||
| 185 | + Gimbal_Init(); | ||
| 186 | + | ||
| 187 | + //灯类初始化 | ||
| 188 | + Lighting_Init(); | ||
| 189 | + | ||
| 190 | + delayMs(1000); | ||
| 191 | + | ||
| 192 | + //消息订阅初始化 | ||
| 193 | + JZsdk_Uart_Send_MessageSubcription_Control(UART_DEV_2, JZ_FLAGCODE_ON); | ||
| 194 | + | ||
| 195 | +#if ALLWINNER_CEDAR == VERSION_SWITCH_ON | ||
| 196 | + CameraCedarX_Test(); | ||
| 197 | +#endif | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + //初始化dji控件 | ||
| 201 | + DJI_WidgetControlInit(); | ||
| 202 | + | ||
| 203 | + //初始化app模式 | ||
| 204 | + JZsdk_Set_Psdk_UIcontrol_UseFlag(1); | ||
| 205 | + | ||
| 206 | + Main_WorkModeSet(JZ_FLAGCODE_ON); | ||
| 207 | + | ||
| 208 | +} | ||
| 209 | + | ||
| 210 | + | ||
| 211 | + | ||
| 212 | +int Main_APP_Uart() | ||
| 213 | +{ | ||
| 214 | + JZsdk_LibInit(); | ||
| 215 | + | ||
| 216 | + JZSDK_LOG_INFO("%x,UartVersion%x.%x.%x.%x\n",DEVICE_VERSION,MAJOR_VERSION, MINOR_VERSION, MODIFY_VERSION, DEBUG_VERSION); | ||
| 217 | + | ||
| 218 | + //引脚初始化 | ||
| 219 | + Ircut_Init(); | ||
| 220 | + | ||
| 221 | + //序列号初始化 | ||
| 222 | + SerialMAT_Init(); | ||
| 223 | + | ||
| 224 | + //工作模式设置函数,用于超时,及播放启动语音等 | ||
| 225 | + Main_WorkMode(); | ||
| 226 | + | ||
| 227 | + if (DEVICE_VERSION == JZ_H1E) | ||
| 228 | + { | ||
| 229 | + //串口设备1初始化 | ||
| 230 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 231 | + | ||
| 232 | + //喊话器初始化 | ||
| 233 | + Megaphone_Init(); | ||
| 234 | + } | ||
| 235 | + | ||
| 236 | + if (DEVICE_VERSION == JZ_H1T) | ||
| 237 | + { | ||
| 238 | + //串口设备1初始化 | ||
| 239 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 240 | + | ||
| 241 | + //4g设备初始化 | ||
| 242 | + JZsdk_Uart_Init(UART_4G); | ||
| 243 | + | ||
| 244 | + //喊话器初始化 | ||
| 245 | + Megaphone_Init(); | ||
| 246 | + | ||
| 247 | + //云台初始化 | ||
| 248 | + Gimbal_Init(); | ||
| 249 | + } | ||
| 250 | + | ||
| 251 | + if (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T) | ||
| 252 | + { | ||
| 253 | + //串口设备1初始化 | ||
| 254 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 255 | + | ||
| 256 | + if (DEVICE_VERSION == JZ_H150T) | ||
| 257 | + { | ||
| 258 | + //4g设备初始化 | ||
| 259 | + JZsdk_Uart_Init(UART_4G); | ||
| 260 | + } | ||
| 261 | + | ||
| 262 | + //喊话器初始化 | ||
| 263 | + Megaphone_Init(); | ||
| 264 | + | ||
| 265 | + //云台初始化 | ||
| 266 | + Gimbal_Init(); | ||
| 267 | + } | ||
| 268 | + | ||
| 269 | + if (DEVICE_VERSION == JZ_H10) | ||
| 270 | + { | ||
| 271 | + //串口设备1初始化 | ||
| 272 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 273 | + | ||
| 274 | + //喊话器初始化 | ||
| 275 | + Megaphone_Init(); | ||
| 276 | + | ||
| 277 | + //云台初始化 | ||
| 278 | + Gimbal_Init(); | ||
| 279 | + } | ||
| 280 | + | ||
| 281 | + if (DEVICE_VERSION == JZ_H10T) | ||
| 282 | + { | ||
| 283 | + //串口设备1初始化 | ||
| 284 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 285 | + | ||
| 286 | + //4g设备初始化 | ||
| 287 | + JZsdk_Uart_Init(UART_4G); | ||
| 288 | + | ||
| 289 | + //喊话器初始化 | ||
| 290 | + Megaphone_Init(); | ||
| 291 | + | ||
| 292 | + //云台初始化 | ||
| 293 | + Gimbal_Init(); | ||
| 294 | + } | ||
| 295 | + | ||
| 296 | + if (DEVICE_VERSION == JZ_U3) | ||
| 297 | + { | ||
| 298 | + //串口设备1初始化 | ||
| 299 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 300 | + | ||
| 301 | + //串口设备2初始化 | ||
| 302 | + JZsdk_Uart_Init(UART_DEV_2); | ||
| 303 | + | ||
| 304 | + //喊话器初始化 | ||
| 305 | + Megaphone_Init(); | ||
| 306 | + | ||
| 307 | + //云台初始化 | ||
| 308 | + Gimbal_Init(); | ||
| 309 | + | ||
| 310 | + //消息订阅初始化 | ||
| 311 | + JZsdk_Uart_Send_MessageSubcription_Control(UART_DEV_2, JZ_FLAGCODE_ON); | ||
| 312 | + | ||
| 313 | + #if ALLWINNER_CEDAR == VERSION_SWITCH_ON | ||
| 314 | + CameraCedarX_Test(); | ||
| 315 | + #endif | ||
| 316 | + | ||
| 317 | + } | ||
| 318 | + | ||
| 319 | + | ||
| 320 | + | ||
| 321 | + if (DEBUG_VERSION == TF_A1) | ||
| 322 | + { | ||
| 323 | + //串口设备1初始化 | ||
| 324 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 325 | + | ||
| 326 | + //串口设备2初始化 | ||
| 327 | + JZsdk_Uart_Init(UART_DEV_2); | ||
| 328 | + | ||
| 329 | + //喊话器初始化 | ||
| 330 | + Megaphone_Init(); | ||
| 331 | + | ||
| 332 | + //云台初始化 | ||
| 333 | + Gimbal_Init(); | ||
| 334 | + | ||
| 335 | + //消息订阅初始化 | ||
| 336 | + JZsdk_Uart_Send_MessageSubcription_Control(UART_DEV_2, JZ_FLAGCODE_ON); | ||
| 337 | + } | ||
| 338 | + | ||
| 339 | +} | ||
| 340 | + | ||
| 341 | +int Main_TestAPP() | ||
| 342 | +{ | ||
| 343 | + //串口设备1初始化 | ||
| 344 | + JZsdk_Uart_Init(UART_DEV_1); | ||
| 345 | + | ||
| 346 | + | ||
| 347 | +} | ||
| 348 | + | ||
| 349 | +int Main_WorkModeSet(int mode) | ||
| 350 | +{ | ||
| 351 | + WorkMode = mode; | ||
| 352 | +} | ||
| 353 | + | ||
| 354 | + | ||
| 355 | +static int Main_WorkMode() | ||
| 356 | +{ | ||
| 357 | + pthread_t work_mode_task; | ||
| 358 | + pthread_attr_t task_attribute; //线程属性 | ||
| 359 | + pthread_attr_init(&task_attribute); //初始化线程属性 | ||
| 360 | + pthread_attr_setdetachstate(&task_attribute, PTHREAD_CREATE_DETACHED); //设置线程属性 | ||
| 361 | + int timer = pthread_create(&work_mode_task,&task_attribute,Main_WorkModeTask,NULL); //线程 | ||
| 362 | + if(timer != 0) | ||
| 363 | + { | ||
| 364 | + printf("创建计时线程失败!\n"); | ||
| 365 | + } | ||
| 366 | +} | ||
| 367 | + | ||
| 368 | +static T_JZsdkReturnCode Start_up_and_broadcast_voice() | ||
| 369 | +{ | ||
| 370 | + if (APP_VERSION == APP_PSDK) | ||
| 371 | + { | ||
| 372 | +#if FIRMWARE_ORIGIN == DOMESTIC_VERSION //国内版才有方言 | ||
| 373 | + //播放喊话器启动中 | ||
| 374 | + Megaphone_TTS_Play(strlen("喊话器准备就绪"), "喊话器准备就绪", 0); | ||
| 375 | +#elif FIRMWARE_ORIGIN == OVERSEAS_VERSION //海外版才有其他国家的语音 | ||
| 376 | + //设置语音为英文 | ||
| 377 | + Megaphone_TTS_SetTone(0x11); | ||
| 378 | + | ||
| 379 | + //播放喊话器启动中 | ||
| 380 | + Megaphone_TTS_Play(strlen("The direct connection mode of the speaker is being activated"),"The direct connection mode of the speaker is being activated", 0); | ||
| 381 | +#endif | ||
| 382 | + } | ||
| 383 | + | ||
| 384 | + else if (APP_VERSION == APP_UART) | ||
| 385 | + { | ||
| 386 | + if (SPECIAL_VERSION == SPECIAL_DAOTONG) | ||
| 387 | + { | ||
| 388 | + //设置语音为英文 | ||
| 389 | + Megaphone_TTS_SetTone(0x11); | ||
| 390 | + | ||
| 391 | + //播放喊话器启动中 | ||
| 392 | + Megaphone_TTS_Play(strlen("Speaker Direct Mode Ready"),"Speaker Direct Mode Ready", 0); | ||
| 393 | + | ||
| 394 | + delayMs(1000); | ||
| 395 | + | ||
| 396 | + //设置语音为中文 | ||
| 397 | + Megaphone_TTS_SetTone(0x01); | ||
| 398 | + } | ||
| 399 | + else | ||
| 400 | + { | ||
| 401 | +#if FIRMWARE_ORIGIN == DOMESTIC_VERSION //国内版才有方言 | ||
| 402 | + //播放喊话器启动中 | ||
| 403 | + Megaphone_TTS_Play(strlen("喊话器直连模式准备就绪"), "喊话器直连模式准备就绪", 0); | ||
| 404 | +#elif FIRMWARE_ORIGIN == OVERSEAS_VERSION //海外版才有其他国家的语音 | ||
| 405 | + //设置语音为英文 | ||
| 406 | + Megaphone_TTS_SetTone(0x11); | ||
| 407 | + | ||
| 408 | + //播放喊话器启动中 | ||
| 409 | + Megaphone_TTS_Play(strlen("Speaker Direct Mode Ready"),"Speaker Direct Mode Ready", 0); | ||
| 410 | +#endif | ||
| 411 | + } | ||
| 412 | + } | ||
| 413 | +} | ||
| 414 | + | ||
| 415 | +static void *Main_WorkModeTask(void *arg) | ||
| 416 | +{ | ||
| 417 | + //计时flag | ||
| 418 | + int i=0; | ||
| 419 | + printf("进入串口等待函数\n"); | ||
| 420 | + | ||
| 421 | +#if APP_VERSION == APP_UART | ||
| 422 | + for (i = 0; i < 60; i++) | ||
| 423 | + { | ||
| 424 | + delayMs(1000);//延迟一秒钟 | ||
| 425 | + printf("计数%d\n",i); | ||
| 426 | + | ||
| 427 | + if (WorkMode == JZ_FLAGCODE_ON) | ||
| 428 | + { | ||
| 429 | + printf("串口连接成功,进入串口模式\n"); | ||
| 430 | + printf("连接花费时间%i秒\n",i); | ||
| 431 | + i = 0; | ||
| 432 | + break; | ||
| 433 | + } | ||
| 434 | + } | ||
| 435 | + | ||
| 436 | + if(i==60 && WorkMode == JZ_FLAGCODE_OFF && CONNECTION_TIMED_OUT == VERSION_SWITCH_ON) | ||
| 437 | + { | ||
| 438 | + printf("串口连接超时,回到连接psdk"); | ||
| 439 | + exit(0); | ||
| 440 | + } | ||
| 441 | +#elif APP_VERSION == APP_PSDK | ||
| 442 | + | ||
| 443 | +#endif | ||
| 444 | + | ||
| 445 | + while (1) | ||
| 446 | + { | ||
| 447 | + //如果开启工作模式已经打开,且喊话模块已经初始化完毕,播报启动完成 | ||
| 448 | + if (WorkMode == JZ_FLAGCODE_ON && MegaphoneStatusFlag == JZ_FLAGCODE_ON) | ||
| 449 | + { | ||
| 450 | + Start_up_and_broadcast_voice(); | ||
| 451 | + break; | ||
| 452 | + } | ||
| 453 | + | ||
| 454 | + delayMs(100); | ||
| 455 | + } | ||
| 456 | +} | ||
| 457 | + |
| @@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
| 7 | #define VERSION_CHOOSE_H | 7 | #define VERSION_CHOOSE_H |
| 8 | 8 | ||
| 9 | //1~10行 除了D可以修改版本选择 禁止动任何东西 | 9 | //1~10行 除了D可以修改版本选择 禁止动任何东西 |
| 10 | -#define DEVICE_VERSION JZ_H1E | 10 | +#define DEVICE_VERSION JZ_U3 |
| 11 | 11 | ||
| 12 | //禁止修改行 选择是串口程序 还是 psdk程序 | 12 | //禁止修改行 选择是串口程序 还是 psdk程序 |
| 13 | #define APP_VERSION APP_UART | 13 | #define APP_VERSION APP_UART |
| @@ -19,22 +19,22 @@ | @@ -19,22 +19,22 @@ | ||
| 19 | #define MAJOR_VERSION 0x00 | 19 | #define MAJOR_VERSION 0x00 |
| 20 | #define MINOR_VERSION 0x00 | 20 | #define MINOR_VERSION 0x00 |
| 21 | #define MODIFY_VERSION 0x01 | 21 | #define MODIFY_VERSION 0x01 |
| 22 | -#define DEBUG_VERSION 0x07 | 22 | +#define DEBUG_VERSION 0x08 |
| 23 | 23 | ||
| 24 | //禁止修改行 滤波方式 | 24 | //禁止修改行 滤波方式 |
| 25 | #define FILTERING_TYPE HIGH_PASS_FILTERING | 25 | #define FILTERING_TYPE HIGH_PASS_FILTERING |
| 26 | 26 | ||
| 27 | //禁止修改行固件属地 目前 国内版/海外版 | 27 | //禁止修改行固件属地 目前 国内版/海外版 |
| 28 | -#define FIRMWARE_ORIGIN DOMESTIC_VERSION | 28 | +#define FIRMWARE_ORIGIN OVERSEAS_VERSION |
| 29 | 29 | ||
| 30 | //禁止修改行指定特殊固件 | 30 | //禁止修改行指定特殊固件 |
| 31 | -#define SPECIAL_VERSION SPECIAL_DAOTONG | 31 | +#define SPECIAL_VERSION SPECIAL_NORMAL |
| 32 | 32 | ||
| 33 | //禁止修改行 全志编解码库 | 33 | //禁止修改行 全志编解码库 |
| 34 | #define ALLWINNER_CEDAR VERSION_SWITCH_OFF | 34 | #define ALLWINNER_CEDAR VERSION_SWITCH_OFF |
| 35 | 35 | ||
| 36 | //禁止修改行 是否开启连接超时 | 36 | //禁止修改行 是否开启连接超时 |
| 37 | -#define CONNECTION_TIMED_OUT VERSION_SWITCH_OFF | 37 | +#define CONNECTION_TIMED_OUT VERSION_SWITCH_ON |
| 38 | 38 | ||
| 39 | //特殊版本号 | 39 | //特殊版本号 |
| 40 | #define SPECIAL_NORMAL 0x01 | 40 | #define SPECIAL_NORMAL 0x01 |
| @@ -28,18 +28,18 @@ The CXX compiler identification is GNU, found in "/mnt/hgfs/share/展架程序/b | @@ -28,18 +28,18 @@ The CXX compiler identification is GNU, found in "/mnt/hgfs/share/展架程序/b | ||
| 28 | Detecting C compiler ABI info compiled with the following output: | 28 | Detecting C compiler ABI info compiled with the following output: |
| 29 | Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp | 29 | Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp |
| 30 | 30 | ||
| 31 | -Run Build Command(s):/usr/bin/make -f Makefile cmTC_226ee/fast && /usr/bin/make -f CMakeFiles/cmTC_226ee.dir/build.make CMakeFiles/cmTC_226ee.dir/build | 31 | +Run Build Command(s):/usr/bin/make -f Makefile cmTC_00447/fast && /usr/bin/make -f CMakeFiles/cmTC_00447.dir/build.make CMakeFiles/cmTC_00447.dir/build |
| 32 | make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' | 32 | make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' |
| 33 | -Building C object CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o | ||
| 34 | -/usr/bin/cc -v -o CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c | 33 | +Building C object CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o |
| 34 | +/usr/bin/cc -v -o CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c | ||
| 35 | Using built-in specs. | 35 | Using built-in specs. |
| 36 | COLLECT_GCC=/usr/bin/cc | 36 | COLLECT_GCC=/usr/bin/cc |
| 37 | Target: x86_64-linux-gnu | 37 | Target: x86_64-linux-gnu |
| 38 | Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | 38 | Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu |
| 39 | Thread model: posix | 39 | Thread model: posix |
| 40 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) | 40 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) |
| 41 | -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' | ||
| 42 | - /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccjGVUK1.s | 41 | +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' |
| 42 | + /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccIxyOM6.s | ||
| 43 | GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu) | 43 | GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu) |
| 44 | compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 | 44 | compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 |
| 45 | warning: GMP header version 6.1.0 differs from library version 6.1.2. | 45 | warning: GMP header version 6.1.0 differs from library version 6.1.2. |
| @@ -59,15 +59,15 @@ GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gn | @@ -59,15 +59,15 @@ GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gn | ||
| 59 | warning: GMP header version 6.1.0 differs from library version 6.1.2. | 59 | warning: GMP header version 6.1.0 differs from library version 6.1.2. |
| 60 | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | 60 | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 |
| 61 | Compiler executable checksum: 8087146d2ee737d238113fb57fabb1f2 | 61 | Compiler executable checksum: 8087146d2ee737d238113fb57fabb1f2 |
| 62 | -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' | ||
| 63 | - as -v --64 -o CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o /tmp/ccjGVUK1.s | 62 | +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' |
| 63 | + as -v --64 -o CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o /tmp/ccIxyOM6.s | ||
| 64 | GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1 | 64 | GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1 |
| 65 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ | 65 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ |
| 66 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ | 66 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ |
| 67 | -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' | ||
| 68 | -Linking C executable cmTC_226ee | ||
| 69 | -/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_226ee.dir/link.txt --verbose=1 | ||
| 70 | -/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -o cmTC_226ee | 67 | +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' |
| 68 | +Linking C executable cmTC_00447 | ||
| 69 | +/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_00447.dir/link.txt --verbose=1 | ||
| 70 | +/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -o cmTC_00447 | ||
| 71 | Using built-in specs. | 71 | Using built-in specs. |
| 72 | COLLECT_GCC=/usr/bin/cc | 72 | COLLECT_GCC=/usr/bin/cc |
| 73 | COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper | 73 | COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper |
| @@ -77,8 +77,8 @@ Thread model: posix | @@ -77,8 +77,8 @@ Thread model: posix | ||
| 77 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) | 77 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) |
| 78 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ | 78 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ |
| 79 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ | 79 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ |
| 80 | -COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_226ee' '-mtune=generic' '-march=x86-64' | ||
| 81 | - /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccHSorW0.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_226ee /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o | 80 | +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_00447' '-mtune=generic' '-march=x86-64' |
| 81 | + /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccEoXNga.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_00447 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o | ||
| 82 | make[1]: Leaving directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' | 82 | make[1]: Leaving directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' |
| 83 | 83 | ||
| 84 | 84 | ||
| @@ -104,18 +104,18 @@ Parsed C implicit link information from above output: | @@ -104,18 +104,18 @@ Parsed C implicit link information from above output: | ||
| 104 | link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] | 104 | link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] |
| 105 | ignore line: [Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp] | 105 | ignore line: [Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp] |
| 106 | ignore line: [] | 106 | ignore line: [] |
| 107 | - ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_226ee/fast && /usr/bin/make -f CMakeFiles/cmTC_226ee.dir/build.make CMakeFiles/cmTC_226ee.dir/build] | 107 | + ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_00447/fast && /usr/bin/make -f CMakeFiles/cmTC_00447.dir/build.make CMakeFiles/cmTC_00447.dir/build] |
| 108 | ignore line: [make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp'] | 108 | ignore line: [make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp'] |
| 109 | - ignore line: [Building C object CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o] | ||
| 110 | - ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c] | 109 | + ignore line: [Building C object CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o] |
| 110 | + ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -c /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c] | ||
| 111 | ignore line: [Using built-in specs.] | 111 | ignore line: [Using built-in specs.] |
| 112 | ignore line: [COLLECT_GCC=/usr/bin/cc] | 112 | ignore line: [COLLECT_GCC=/usr/bin/cc] |
| 113 | ignore line: [Target: x86_64-linux-gnu] | 113 | ignore line: [Target: x86_64-linux-gnu] |
| 114 | ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c ada c++ java go d fortran objc obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] | 114 | ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c ada c++ java go d fortran objc obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] |
| 115 | ignore line: [Thread model: posix] | 115 | ignore line: [Thread model: posix] |
| 116 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] | 116 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] |
| 117 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] | ||
| 118 | - ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccjGVUK1.s] | 117 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] |
| 118 | + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/5/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/local/share/cmake-3.24/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccIxyOM6.s] | ||
| 119 | ignore line: [GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu)] | 119 | ignore line: [GNU C11 (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu)] |
| 120 | ignore line: [ compiled by GNU C version 5.4.0 20160609 GMP version 6.1.0 MPFR version 3.1.4 MPC version 1.0.3] | 120 | ignore line: [ compiled by GNU C version 5.4.0 20160609 GMP version 6.1.0 MPFR version 3.1.4 MPC version 1.0.3] |
| 121 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] | 121 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] |
| @@ -135,15 +135,15 @@ Parsed C implicit link information from above output: | @@ -135,15 +135,15 @@ Parsed C implicit link information from above output: | ||
| 135 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] | 135 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] |
| 136 | ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] | 136 | ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] |
| 137 | ignore line: [Compiler executable checksum: 8087146d2ee737d238113fb57fabb1f2] | 137 | ignore line: [Compiler executable checksum: 8087146d2ee737d238113fb57fabb1f2] |
| 138 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] | ||
| 139 | - ignore line: [ as -v --64 -o CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o /tmp/ccjGVUK1.s] | 138 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] |
| 139 | + ignore line: [ as -v --64 -o CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o /tmp/ccIxyOM6.s] | ||
| 140 | ignore line: [GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1] | 140 | ignore line: [GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1] |
| 141 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] | 141 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] |
| 142 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] | 142 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] |
| 143 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] | ||
| 144 | - ignore line: [Linking C executable cmTC_226ee] | ||
| 145 | - ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_226ee.dir/link.txt --verbose=1] | ||
| 146 | - ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -o cmTC_226ee ] | 143 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'] |
| 144 | + ignore line: [Linking C executable cmTC_00447] | ||
| 145 | + ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_00447.dir/link.txt --verbose=1] | ||
| 146 | + ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -o cmTC_00447 ] | ||
| 147 | ignore line: [Using built-in specs.] | 147 | ignore line: [Using built-in specs.] |
| 148 | ignore line: [COLLECT_GCC=/usr/bin/cc] | 148 | ignore line: [COLLECT_GCC=/usr/bin/cc] |
| 149 | ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] | 149 | ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] |
| @@ -153,13 +153,13 @@ Parsed C implicit link information from above output: | @@ -153,13 +153,13 @@ Parsed C implicit link information from above output: | ||
| 153 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] | 153 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] |
| 154 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] | 154 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] |
| 155 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] | 155 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] |
| 156 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_226ee' '-mtune=generic' '-march=x86-64'] | ||
| 157 | - link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccHSorW0.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_226ee /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] | 156 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_00447' '-mtune=generic' '-march=x86-64'] |
| 157 | + link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccEoXNga.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_00447 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] | ||
| 158 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore | 158 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore |
| 159 | arg [-plugin] ==> ignore | 159 | arg [-plugin] ==> ignore |
| 160 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore | 160 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore |
| 161 | arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore | 161 | arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore |
| 162 | - arg [-plugin-opt=-fresolution=/tmp/ccHSorW0.res] ==> ignore | 162 | + arg [-plugin-opt=-fresolution=/tmp/ccEoXNga.res] ==> ignore |
| 163 | arg [-plugin-opt=-pass-through=-lgcc] ==> ignore | 163 | arg [-plugin-opt=-pass-through=-lgcc] ==> ignore |
| 164 | arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore | 164 | arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore |
| 165 | arg [-plugin-opt=-pass-through=-lc] ==> ignore | 165 | arg [-plugin-opt=-pass-through=-lc] ==> ignore |
| @@ -177,7 +177,7 @@ Parsed C implicit link information from above output: | @@ -177,7 +177,7 @@ Parsed C implicit link information from above output: | ||
| 177 | arg [/lib64/ld-linux-x86-64.so.2] ==> ignore | 177 | arg [/lib64/ld-linux-x86-64.so.2] ==> ignore |
| 178 | arg [-zrelro] ==> ignore | 178 | arg [-zrelro] ==> ignore |
| 179 | arg [-o] ==> ignore | 179 | arg [-o] ==> ignore |
| 180 | - arg [cmTC_226ee] ==> ignore | 180 | + arg [cmTC_00447] ==> ignore |
| 181 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] | 181 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] |
| 182 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] | 182 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] |
| 183 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] | 183 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] |
| @@ -189,7 +189,7 @@ Parsed C implicit link information from above output: | @@ -189,7 +189,7 @@ Parsed C implicit link information from above output: | ||
| 189 | arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] | 189 | arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] |
| 190 | arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] | 190 | arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] |
| 191 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] | 191 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] |
| 192 | - arg [CMakeFiles/cmTC_226ee.dir/CMakeCCompilerABI.c.o] ==> ignore | 192 | + arg [CMakeFiles/cmTC_00447.dir/CMakeCCompilerABI.c.o] ==> ignore |
| 193 | arg [-lgcc] ==> lib [gcc] | 193 | arg [-lgcc] ==> lib [gcc] |
| 194 | arg [--as-needed] ==> ignore | 194 | arg [--as-needed] ==> ignore |
| 195 | arg [-lgcc_s] ==> lib [gcc_s] | 195 | arg [-lgcc_s] ==> lib [gcc_s] |
| @@ -221,18 +221,18 @@ Parsed C implicit link information from above output: | @@ -221,18 +221,18 @@ Parsed C implicit link information from above output: | ||
| 221 | Detecting CXX compiler ABI info compiled with the following output: | 221 | Detecting CXX compiler ABI info compiled with the following output: |
| 222 | Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp | 222 | Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp |
| 223 | 223 | ||
| 224 | -Run Build Command(s):/usr/bin/make -f Makefile cmTC_e84ec/fast && /usr/bin/make -f CMakeFiles/cmTC_e84ec.dir/build.make CMakeFiles/cmTC_e84ec.dir/build | 224 | +Run Build Command(s):/usr/bin/make -f Makefile cmTC_4d967/fast && /usr/bin/make -f CMakeFiles/cmTC_4d967.dir/build.make CMakeFiles/cmTC_4d967.dir/build |
| 225 | make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' | 225 | make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' |
| 226 | -Building CXX object CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o | ||
| 227 | -/usr/bin/c++ -v -o CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp | 226 | +Building CXX object CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o |
| 227 | +/usr/bin/c++ -v -o CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp | ||
| 228 | Using built-in specs. | 228 | Using built-in specs. |
| 229 | COLLECT_GCC=/usr/bin/c++ | 229 | COLLECT_GCC=/usr/bin/c++ |
| 230 | Target: x86_64-linux-gnu | 230 | Target: x86_64-linux-gnu |
| 231 | Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu | 231 | Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu |
| 232 | Thread model: posix | 232 | Thread model: posix |
| 233 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) | 233 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) |
| 234 | -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' | ||
| 235 | - /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cceICs3b.s | 234 | +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' |
| 235 | + /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccAN8kvg.s | ||
| 236 | GNU C++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu) | 236 | GNU C++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu) |
| 237 | compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 | 237 | compiled by GNU C version 5.4.0 20160609, GMP version 6.1.0, MPFR version 3.1.4, MPC version 1.0.3 |
| 238 | warning: GMP header version 6.1.0 differs from library version 6.1.2. | 238 | warning: GMP header version 6.1.0 differs from library version 6.1.2. |
| @@ -256,15 +256,15 @@ GNU C++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gn | @@ -256,15 +256,15 @@ GNU C++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gn | ||
| 256 | warning: GMP header version 6.1.0 differs from library version 6.1.2. | 256 | warning: GMP header version 6.1.0 differs from library version 6.1.2. |
| 257 | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 | 257 | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 |
| 258 | Compiler executable checksum: 85af4995304287cdd19cfa43cf5d6cf1 | 258 | Compiler executable checksum: 85af4995304287cdd19cfa43cf5d6cf1 |
| 259 | -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' | ||
| 260 | - as -v --64 -o CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o /tmp/cceICs3b.s | 259 | +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' |
| 260 | + as -v --64 -o CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccAN8kvg.s | ||
| 261 | GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1 | 261 | GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1 |
| 262 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ | 262 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ |
| 263 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ | 263 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ |
| 264 | -COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' | ||
| 265 | -Linking CXX executable cmTC_e84ec | ||
| 266 | -/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e84ec.dir/link.txt --verbose=1 | ||
| 267 | -/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_e84ec | 264 | +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' |
| 265 | +Linking CXX executable cmTC_4d967 | ||
| 266 | +/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4d967.dir/link.txt --verbose=1 | ||
| 267 | +/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4d967 | ||
| 268 | Using built-in specs. | 268 | Using built-in specs. |
| 269 | COLLECT_GCC=/usr/bin/c++ | 269 | COLLECT_GCC=/usr/bin/c++ |
| 270 | COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper | 270 | COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper |
| @@ -274,8 +274,8 @@ Thread model: posix | @@ -274,8 +274,8 @@ Thread model: posix | ||
| 274 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) | 274 | gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) |
| 275 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ | 275 | COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/ |
| 276 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ | 276 | LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/ |
| 277 | -COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_e84ec' '-shared-libgcc' '-mtune=generic' '-march=x86-64' | ||
| 278 | - /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccXa8NW9.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_e84ec /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o | 277 | +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_4d967' '-shared-libgcc' '-mtune=generic' '-march=x86-64' |
| 278 | + /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cc112s3j.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_4d967 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o | ||
| 279 | make[1]: Leaving directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' | 279 | make[1]: Leaving directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp' |
| 280 | 280 | ||
| 281 | 281 | ||
| @@ -307,18 +307,18 @@ Parsed CXX implicit link information from above output: | @@ -307,18 +307,18 @@ Parsed CXX implicit link information from above output: | ||
| 307 | link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] | 307 | link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] |
| 308 | ignore line: [Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp] | 308 | ignore line: [Change Dir: /mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp] |
| 309 | ignore line: [] | 309 | ignore line: [] |
| 310 | - ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_e84ec/fast && /usr/bin/make -f CMakeFiles/cmTC_e84ec.dir/build.make CMakeFiles/cmTC_e84ec.dir/build] | 310 | + ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_4d967/fast && /usr/bin/make -f CMakeFiles/cmTC_4d967.dir/build.make CMakeFiles/cmTC_4d967.dir/build] |
| 311 | ignore line: [make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp'] | 311 | ignore line: [make[1]: Entering directory '/mnt/hgfs/share/展架程序/build/CMakeFiles/CMakeTmp'] |
| 312 | - ignore line: [Building CXX object CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o] | ||
| 313 | - ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp] | 312 | + ignore line: [Building CXX object CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o] |
| 313 | + ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp] | ||
| 314 | ignore line: [Using built-in specs.] | 314 | ignore line: [Using built-in specs.] |
| 315 | ignore line: [COLLECT_GCC=/usr/bin/c++] | 315 | ignore line: [COLLECT_GCC=/usr/bin/c++] |
| 316 | ignore line: [Target: x86_64-linux-gnu] | 316 | ignore line: [Target: x86_64-linux-gnu] |
| 317 | ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c ada c++ java go d fortran objc obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] | 317 | ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.12' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c ada c++ java go d fortran objc obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] |
| 318 | ignore line: [Thread model: posix] | 318 | ignore line: [Thread model: posix] |
| 319 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] | 319 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] |
| 320 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] | ||
| 321 | - ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cceICs3b.s] | 320 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] |
| 321 | + ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/5/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/local/share/cmake-3.24/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccAN8kvg.s] | ||
| 322 | ignore line: [GNU C++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu)] | 322 | ignore line: [GNU C++ (Ubuntu 5.4.0-6ubuntu1~16.04.12) version 5.4.0 20160609 (x86_64-linux-gnu)] |
| 323 | ignore line: [ compiled by GNU C version 5.4.0 20160609 GMP version 6.1.0 MPFR version 3.1.4 MPC version 1.0.3] | 323 | ignore line: [ compiled by GNU C version 5.4.0 20160609 GMP version 6.1.0 MPFR version 3.1.4 MPC version 1.0.3] |
| 324 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] | 324 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] |
| @@ -342,15 +342,15 @@ Parsed CXX implicit link information from above output: | @@ -342,15 +342,15 @@ Parsed CXX implicit link information from above output: | ||
| 342 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] | 342 | ignore line: [warning: GMP header version 6.1.0 differs from library version 6.1.2.] |
| 343 | ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] | 343 | ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] |
| 344 | ignore line: [Compiler executable checksum: 85af4995304287cdd19cfa43cf5d6cf1] | 344 | ignore line: [Compiler executable checksum: 85af4995304287cdd19cfa43cf5d6cf1] |
| 345 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] | ||
| 346 | - ignore line: [ as -v --64 -o CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o /tmp/cceICs3b.s] | 345 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] |
| 346 | + ignore line: [ as -v --64 -o CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccAN8kvg.s] | ||
| 347 | ignore line: [GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1] | 347 | ignore line: [GNU assembler version 2.26.1 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.26.1] |
| 348 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] | 348 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] |
| 349 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] | 349 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] |
| 350 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] | ||
| 351 | - ignore line: [Linking CXX executable cmTC_e84ec] | ||
| 352 | - ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e84ec.dir/link.txt --verbose=1] | ||
| 353 | - ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_e84ec ] | 350 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] |
| 351 | + ignore line: [Linking CXX executable cmTC_4d967] | ||
| 352 | + ignore line: [/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_4d967.dir/link.txt --verbose=1] | ||
| 353 | + ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4d967 ] | ||
| 354 | ignore line: [Using built-in specs.] | 354 | ignore line: [Using built-in specs.] |
| 355 | ignore line: [COLLECT_GCC=/usr/bin/c++] | 355 | ignore line: [COLLECT_GCC=/usr/bin/c++] |
| 356 | ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] | 356 | ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] |
| @@ -360,13 +360,13 @@ Parsed CXX implicit link information from above output: | @@ -360,13 +360,13 @@ Parsed CXX implicit link information from above output: | ||
| 360 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] | 360 | ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ] |
| 361 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] | 361 | ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/] |
| 362 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] | 362 | ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/5/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/5/../../../:/lib/:/usr/lib/] |
| 363 | - ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_e84ec' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] | ||
| 364 | - link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/ccXa8NW9.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_e84ec /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] | 363 | + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_4d967' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] |
| 364 | + link line: [ /usr/lib/gcc/x86_64-linux-gnu/5/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper -plugin-opt=-fresolution=/tmp/cc112s3j.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o cmTC_4d967 /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crtn.o] | ||
| 365 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore | 365 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore |
| 366 | arg [-plugin] ==> ignore | 366 | arg [-plugin] ==> ignore |
| 367 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore | 367 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore |
| 368 | arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore | 368 | arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore |
| 369 | - arg [-plugin-opt=-fresolution=/tmp/ccXa8NW9.res] ==> ignore | 369 | + arg [-plugin-opt=-fresolution=/tmp/cc112s3j.res] ==> ignore |
| 370 | arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore | 370 | arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore |
| 371 | arg [-plugin-opt=-pass-through=-lgcc] ==> ignore | 371 | arg [-plugin-opt=-pass-through=-lgcc] ==> ignore |
| 372 | arg [-plugin-opt=-pass-through=-lc] ==> ignore | 372 | arg [-plugin-opt=-pass-through=-lc] ==> ignore |
| @@ -384,7 +384,7 @@ Parsed CXX implicit link information from above output: | @@ -384,7 +384,7 @@ Parsed CXX implicit link information from above output: | ||
| 384 | arg [/lib64/ld-linux-x86-64.so.2] ==> ignore | 384 | arg [/lib64/ld-linux-x86-64.so.2] ==> ignore |
| 385 | arg [-zrelro] ==> ignore | 385 | arg [-zrelro] ==> ignore |
| 386 | arg [-o] ==> ignore | 386 | arg [-o] ==> ignore |
| 387 | - arg [cmTC_e84ec] ==> ignore | 387 | + arg [cmTC_4d967] ==> ignore |
| 388 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] | 388 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] |
| 389 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] | 389 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] |
| 390 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] | 390 | arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] |
| @@ -396,7 +396,7 @@ Parsed CXX implicit link information from above output: | @@ -396,7 +396,7 @@ Parsed CXX implicit link information from above output: | ||
| 396 | arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] | 396 | arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] |
| 397 | arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] | 397 | arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] |
| 398 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] | 398 | arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..] |
| 399 | - arg [CMakeFiles/cmTC_e84ec.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore | 399 | + arg [CMakeFiles/cmTC_4d967.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore |
| 400 | arg [-lstdc++] ==> lib [stdc++] | 400 | arg [-lstdc++] ==> lib [stdc++] |
| 401 | arg [-lm] ==> lib [m] | 401 | arg [-lm] ==> lib [m] |
| 402 | arg [-lgcc_s] ==> lib [gcc_s] | 402 | arg [-lgcc_s] ==> lib [gcc_s] |
| @@ -20,13 +20,14 @@ set(CMAKE_DEPENDS_DEPENDENCY_FILES | @@ -20,13 +20,14 @@ set(CMAKE_DEPENDS_DEPENDENCY_FILES | ||
| 20 | "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o.d" | 20 | "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o.d" |
| 21 | "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o.d" | 21 | "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o.d" |
| 22 | "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o.d" | 22 | "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o.d" |
| 23 | + "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_TaskManagement/TaskManagement.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o.d" | ||
| 24 | + "/mnt/hgfs/share/展架程序/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o.d" | ||
| 23 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Input.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o.d" | 25 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Input.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o.d" |
| 24 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Output.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o.d" | 26 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Output.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o.d" |
| 25 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c.o.d" | 27 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c.o.d" |
| 26 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c.o.d" | 28 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c.o.d" |
| 27 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o.d" | 29 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o.d" |
| 28 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o.d" | 30 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o.d" |
| 29 | - "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o.d" | ||
| 30 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_UartDeal.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o.d" | 31 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_UartDeal.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o.d" |
| 31 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/UartConnection/UartConnection.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o.d" | 32 | "/mnt/hgfs/share/展架程序/JZsdk_Uart/UartConnection/UartConnection.c" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o.d" |
| 32 | "/mnt/hgfs/share/展架程序/Module/Camera/CameraFeatures/CameraFeatures.c" "CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/CameraFeatures.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/CameraFeatures.c.o.d" | 33 | "/mnt/hgfs/share/展架程序/Module/Camera/CameraFeatures/CameraFeatures.c" "CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/CameraFeatures.c.o" "gcc" "CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/CameraFeatures.c.o.d" |
| @@ -33,4 +33,5 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdkLib.c.o: \ | @@ -33,4 +33,5 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdkLib.c.o: \ | ||
| 33 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ | 33 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ |
| 34 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | 34 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ |
| 35 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdkCommonFuntion.h \ | 35 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdkCommonFuntion.h \ |
| 36 | - /mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h | 36 | + /mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h \ |
| 37 | + /mnt/hgfs/share/展架程序/JZsdk/./JZsdk_TaskManagement/TaskManagement.h |
不能预览此文件类型
| @@ -16,6 +16,8 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c | @@ -16,6 +16,8 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c | ||
| 16 | /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdarg.h \ | 16 | /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdarg.h \ |
| 17 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdio_lim.h \ | 17 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdio_lim.h \ |
| 18 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sys_errlist.h \ | 18 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sys_errlist.h \ |
| 19 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/string.h \ | ||
| 20 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/xlocale.h \ | ||
| 19 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h \ | 21 | /mnt/hgfs/share/展架程序/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h \ |
| 20 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | 22 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ |
| 21 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_InsCode.h \ | 23 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_InsCode.h \ |
不能预览此文件类型
| 1 | -CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o: \ | ||
| 2 | - /mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c \ | 1 | +CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o: \ |
| 2 | + /mnt/hgfs/share/展架程序/JZsdk/JZsdk_TaskManagement/TaskManagement.c \ | ||
| 3 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdc-predef.h \ | 3 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdc-predef.h \ |
| 4 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdio.h \ | 4 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdio.h \ |
| 5 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/features.h \ | 5 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/features.h \ |
| @@ -16,40 +16,49 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o: \ | @@ -16,40 +16,49 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o: \ | ||
| 16 | /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdarg.h \ | 16 | /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdarg.h \ |
| 17 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdio_lim.h \ | 17 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdio_lim.h \ |
| 18 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sys_errlist.h \ | 18 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sys_errlist.h \ |
| 19 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/string.h \ | ||
| 20 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/xlocale.h \ | ||
| 21 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/pthread.h \ | 19 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdlib.h \ |
| 20 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/waitflags.h \ | ||
| 21 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/waitstatus.h \ | ||
| 22 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/endian.h \ | 22 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/endian.h \ |
| 23 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/endian.h \ | 23 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/endian.h \ |
| 24 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/byteswap.h \ | 24 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/byteswap.h \ |
| 25 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/byteswap-16.h \ | 25 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/byteswap-16.h \ |
| 26 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sched.h \ | ||
| 27 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/time.h \ | ||
| 28 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sched.h \ | ||
| 29 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/time.h \ | ||
| 30 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/pthreadtypes.h \ | ||
| 31 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/setjmp.h \ | ||
| 32 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdlib.h \ | ||
| 33 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/waitflags.h \ | ||
| 34 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/waitstatus.h \ | ||
| 35 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/types.h \ | 26 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/types.h \ |
| 27 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/time.h \ | ||
| 36 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/select.h \ | 28 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/select.h \ |
| 37 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/select.h \ | 29 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/select.h \ |
| 38 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sigset.h \ | 30 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sigset.h \ |
| 31 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/time.h \ | ||
| 39 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/sysmacros.h \ | 32 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/sysmacros.h \ |
| 33 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/pthreadtypes.h \ | ||
| 40 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/alloca.h \ | 34 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/alloca.h \ |
| 41 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdlib-float.h \ | 35 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdlib-float.h \ |
| 42 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/fcntl.h \ | ||
| 43 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/fcntl.h \ | ||
| 44 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/fcntl-linux.h \ | ||
| 45 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stat.h \ | 36 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/pthread.h \ |
| 37 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sched.h \ | ||
| 38 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sched.h \ | ||
| 39 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/xlocale.h \ | ||
| 40 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/setjmp.h \ | ||
| 46 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/unistd.h \ | 41 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/unistd.h \ |
| 47 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/posix_opt.h \ | 42 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/posix_opt.h \ |
| 48 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/environments.h \ | 43 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/environments.h \ |
| 49 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/confname.h \ | 44 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/confname.h \ |
| 50 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/getopt.h \ | 45 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/getopt.h \ |
| 51 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/termios.h \ | ||
| 52 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/termios.h \ | ||
| 53 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/ttydefaults.h \ | ||
| 54 | - /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/time.h \ | ||
| 55 | - /mnt/hgfs/share/展架程序/./JZsdk_Uart/JZsdk_Uart_UartDeal.h | 46 | + /mnt/hgfs/share/展架程序/JZsdk/JZsdk_TaskManagement/./TaskManagement.h \ |
| 47 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | ||
| 48 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_InsCode.h \ | ||
| 49 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ | ||
| 50 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode.h \ | ||
| 51 | + /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdint.h \ | ||
| 52 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdint.h \ | ||
| 53 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/wchar.h \ | ||
| 54 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ErrorCode.h \ | ||
| 55 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdkLib.h \ | ||
| 56 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdkBase.h \ | ||
| 57 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.h \ | ||
| 58 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.h \ | ||
| 59 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Osal/../JZsdk_Code/JZsdk_Code.h \ | ||
| 60 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Delay/JZsdk_Delay.h \ | ||
| 61 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ | ||
| 62 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | ||
| 63 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdkCommonFuntion.h \ | ||
| 64 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h |
不能预览此文件类型
| 1 | +CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o: \ | ||
| 2 | + /mnt/hgfs/share/展架程序/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c \ | ||
| 3 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdc-predef.h \ | ||
| 4 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdio.h \ | ||
| 5 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/features.h \ | ||
| 6 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/cdefs.h \ | ||
| 7 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/wordsize.h \ | ||
| 8 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/gnu/stubs.h \ | ||
| 9 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/gnu/stubs-hard.h \ | ||
| 10 | + /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stddef.h \ | ||
| 11 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/types.h \ | ||
| 12 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/typesizes.h \ | ||
| 13 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/libio.h \ | ||
| 14 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/_G_config.h \ | ||
| 15 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/wchar.h \ | ||
| 16 | + /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdarg.h \ | ||
| 17 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdio_lim.h \ | ||
| 18 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sys_errlist.h \ | ||
| 19 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdlib.h \ | ||
| 20 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/waitflags.h \ | ||
| 21 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/waitstatus.h \ | ||
| 22 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/endian.h \ | ||
| 23 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/endian.h \ | ||
| 24 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/byteswap.h \ | ||
| 25 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/byteswap-16.h \ | ||
| 26 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/types.h \ | ||
| 27 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/time.h \ | ||
| 28 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/select.h \ | ||
| 29 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/select.h \ | ||
| 30 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sigset.h \ | ||
| 31 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/time.h \ | ||
| 32 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sys/sysmacros.h \ | ||
| 33 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/pthreadtypes.h \ | ||
| 34 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/alloca.h \ | ||
| 35 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/stdlib-float.h \ | ||
| 36 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/pthread.h \ | ||
| 37 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/sched.h \ | ||
| 38 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/sched.h \ | ||
| 39 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/xlocale.h \ | ||
| 40 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/setjmp.h \ | ||
| 41 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/unistd.h \ | ||
| 42 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/posix_opt.h \ | ||
| 43 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/environments.h \ | ||
| 44 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/confname.h \ | ||
| 45 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/getopt.h \ | ||
| 46 | + /mnt/hgfs/share/展架程序/JZsdk/JZsdk_TaskManagement/./TaskManagement.h \ | ||
| 47 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | ||
| 48 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_InsCode.h \ | ||
| 49 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ | ||
| 50 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode.h \ | ||
| 51 | + /usr/local/arm/4.9.3/lib/gcc/arm-cortexa9-linux-gnueabihf/4.9.3/include/stdint.h \ | ||
| 52 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdint.h \ | ||
| 53 | + /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/wchar.h \ | ||
| 54 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ErrorCode.h \ | ||
| 55 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdkLib.h \ | ||
| 56 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdkBase.h \ | ||
| 57 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.h \ | ||
| 58 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.h \ | ||
| 59 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Osal/../JZsdk_Code/JZsdk_Code.h \ | ||
| 60 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Delay/JZsdk_Delay.h \ | ||
| 61 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ | ||
| 62 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | ||
| 63 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdkCommonFuntion.h \ | ||
| 64 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h |
| @@ -53,6 +53,7 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o: \ | @@ -53,6 +53,7 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o: \ | ||
| 53 | /mnt/hgfs/share/展架程序/./Module/Gimbal/Gimbal_InAndOut.h \ | 53 | /mnt/hgfs/share/展架程序/./Module/Gimbal/Gimbal_InAndOut.h \ |
| 54 | /mnt/hgfs/share/展架程序/JZsdk_Uart/Uart_Config.h \ | 54 | /mnt/hgfs/share/展架程序/JZsdk_Uart/Uart_Config.h \ |
| 55 | /mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.h \ | 55 | /mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.h \ |
| 56 | + /mnt/hgfs/share/展架程序/./Module/SerialManagement/SerialMAT_InAndOut.h \ | ||
| 56 | /mnt/hgfs/share/展架程序/./Module/UI_control/UI_control.h \ | 57 | /mnt/hgfs/share/展架程序/./Module/UI_control/UI_control.h \ |
| 57 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdkLib.h \ | 58 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdkLib.h \ |
| 58 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdkBase.h \ | 59 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdkBase.h \ |
| @@ -19,9 +19,6 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o: \ | @@ -19,9 +19,6 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o: \ | ||
| 19 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/string.h \ | 19 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/string.h \ |
| 20 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/xlocale.h \ | 20 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/xlocale.h \ |
| 21 | /mnt/hgfs/share/展架程序/./JZsdk_Uart/JZsdk_Uart_UartDeal.h \ | 21 | /mnt/hgfs/share/展架程序/./JZsdk_Uart/JZsdk_Uart_UartDeal.h \ |
| 22 | - /mnt/hgfs/share/展架程序/./JZsdk_Uart/Uart_Config.h \ | ||
| 23 | - /mnt/hgfs/share/展架程序/./application/BaseConfig.h \ | ||
| 24 | - /mnt/hgfs/share/展架程序/./application/version_choose.h \ | ||
| 25 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | 22 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ |
| 26 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_InsCode.h \ | 23 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_InsCode.h \ |
| 27 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ | 24 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_FLagCode.h \ |
| @@ -30,6 +27,9 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o: \ | @@ -30,6 +27,9 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o: \ | ||
| 30 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdint.h \ | 27 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/stdint.h \ |
| 31 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/wchar.h \ | 28 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/wchar.h \ |
| 32 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ErrorCode.h \ | 29 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ErrorCode.h \ |
| 30 | + /mnt/hgfs/share/展架程序/./JZsdk_Uart/Uart_Config.h \ | ||
| 31 | + /mnt/hgfs/share/展架程序/./application/BaseConfig.h \ | ||
| 32 | + /mnt/hgfs/share/展架程序/./application/version_choose.h \ | ||
| 33 | /mnt/hgfs/share/展架程序/./JZsdk/Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion.h \ | 33 | /mnt/hgfs/share/展架程序/./JZsdk/Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion.h \ |
| 34 | /mnt/hgfs/share/展架程序/./JZsdk/Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.h \ | 34 | /mnt/hgfs/share/展架程序/./JZsdk/Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.h \ |
| 35 | /mnt/hgfs/share/展架程序/./JZsdk/Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.h \ | 35 | /mnt/hgfs/share/展架程序/./JZsdk/Jzsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.h \ |
不能预览此文件类型
| @@ -74,4 +74,5 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o: \ | @@ -74,4 +74,5 @@ CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o: \ | ||
| 74 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ | 74 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_Code.h \ |
| 75 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdkCommonFuntion.h \ | 75 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdkCommonFuntion.h \ |
| 76 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h \ | 76 | /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.h \ |
| 77 | - /mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Input.h | 77 | + /mnt/hgfs/share/展架程序/JZsdk_Uart/JZsdk_Uart_Input.h \ |
| 78 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_TaskManagement/TaskManagement.h |
| @@ -59,4 +59,5 @@ CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLightTemControl/Sea | @@ -59,4 +59,5 @@ CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLightTemControl/Sea | ||
| 59 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/pthreadtypes.h \ | 59 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/pthreadtypes.h \ |
| 60 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/setjmp.h \ | 60 | /usr/local/arm/4.9.3/arm-cortexa9-linux-gnueabihf/sys-root/usr/include/bits/setjmp.h \ |
| 61 | /mnt/hgfs/share/展架程序/Module/Lighting/SearchLight/SearchLightTemControl/./JZ_SearchLightTemp_calculation.h \ | 61 | /mnt/hgfs/share/展架程序/Module/Lighting/SearchLight/SearchLightTemControl/./JZ_SearchLightTemp_calculation.h \ |
| 62 | - /mnt/hgfs/share/展架程序/Module/Lighting/SearchLight/SearchLightTemControl/./SearchLightTemControl.h | 62 | + /mnt/hgfs/share/展架程序/Module/Lighting/SearchLight/SearchLightTemControl/./SearchLightTemControl.h \ |
| 63 | + /mnt/hgfs/share/展架程序/./Module/Lighting/Lighting_InAndOut.h |
| @@ -67,4 +67,5 @@ CMakeFiles/JZ_UART_APP.dir/application/BaseConfig.c.o: \ | @@ -67,4 +67,5 @@ CMakeFiles/JZ_UART_APP.dir/application/BaseConfig.c.o: \ | ||
| 67 | /mnt/hgfs/share/展架程序/./Module/UI_control/Dji_Control/DJI_WidgetControl.h \ | 67 | /mnt/hgfs/share/展架程序/./Module/UI_control/Dji_Control/DJI_WidgetControl.h \ |
| 68 | /mnt/hgfs/share/展架程序/./Module/Lighting/Lighting_InAndOut.h \ | 68 | /mnt/hgfs/share/展架程序/./Module/Lighting/Lighting_InAndOut.h \ |
| 69 | /mnt/hgfs/share/展架程序/./Module/Camera/Camera_InAndOut.h \ | 69 | /mnt/hgfs/share/展架程序/./Module/Camera/Camera_InAndOut.h \ |
| 70 | + /mnt/hgfs/share/展架程序/./JZsdk/JZsdk_TaskManagement/TaskManagement.h \ | ||
| 70 | /mnt/hgfs/share/展架程序/./Module/SerialManagement/./SerialMAT_InAndOut.h | 71 | /mnt/hgfs/share/展架程序/./Module/SerialManagement/./SerialMAT_InAndOut.h |
此 diff 太大无法显示。
| @@ -23,6 +23,10 @@ file(REMOVE_RECURSE | @@ -23,6 +23,10 @@ file(REMOVE_RECURSE | ||
| 23 | "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o.d" | 23 | "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o.d" |
| 24 | "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o" | 24 | "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o" |
| 25 | "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o.d" | 25 | "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o.d" |
| 26 | + "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o" | ||
| 27 | + "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o.d" | ||
| 28 | + "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o" | ||
| 29 | + "CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o.d" | ||
| 26 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o" | 30 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o" |
| 27 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o.d" | 31 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o.d" |
| 28 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o" | 32 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o" |
| @@ -35,8 +39,6 @@ file(REMOVE_RECURSE | @@ -35,8 +39,6 @@ file(REMOVE_RECURSE | ||
| 35 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o.d" | 39 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o.d" |
| 36 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o" | 40 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o" |
| 37 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o.d" | 41 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o.d" |
| 38 | - "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o" | ||
| 39 | - "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o.d" | ||
| 40 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o" | 42 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o" |
| 41 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o.d" | 43 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o.d" |
| 42 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o" | 44 | "CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o" |
| 1 | -/usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-g++ -pthread -rdynamic CMakeFiles/JZ_UART_APP.dir/application/BaseConfig.c.o CMakeFiles/JZ_UART_APP.dir/application/main.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdkLib.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Delay/JZsdk_Delay.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComParsion.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Aframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/AudioFile/Megaphone_AudioFile.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Megaphone_InputAndOutput.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/Megaphone_Music.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/RealTimeMP2/10.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/RealTimeMP2/10t.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/RealTimeMP2/Megaphone_RealTimeMP2.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/TTS/Intl_tts/Intl_tts.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/TTS/Megaphone_TTS.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/TTS/cn_tts/cn_tts.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/opus/RealTimeVoice/Megaphone_RealTimeVoice.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/opus/RecordVoice/Megaphone_RecordVoice.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/H3_ircut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/Ircut_H3_H10/Ircut_H3_H10.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/boardtype_friendlyelec.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/drcSerial.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/max31855.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/max5322.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23008.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23016.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23017.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23s08.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23s17.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp3002.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp3004.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp3422.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp4802.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/pcf8574.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/pcf8591.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/piHiPri.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/piThread.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/sn3218.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/softPwm.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/softServo.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/softTone.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/sr595.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringPi.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringPiI2C.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringPiSPI.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringSerial.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringShift.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/V3s_ircut/V3s_ircut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/ircut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_H3/Gimbal_H3_H10/Gimbal_H3_H10.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_H3/Gimbal_H3_H150ST/Gimbal_H3_H150ST.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_H3/Gimbal_H3_H150ST/Gimbal_H3_H150ST_UartDeal.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_H10T/Gimbal_V3S_H10T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_H1T/Gimbal_V3S_H1T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_TFA1/Gimbal_V3S_TFA1.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_U3/Gimbal_V3S_U3.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/Dji_Control/DJI_VideoDeal.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/Dji_Control/DJI_WidgetControl.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/Psdk_UI_io.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/UI_control.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/Lighting_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o CMakeFiles/JZ_UART_APP.dir/Module/PowerManager/PowerManager_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/CameraFeatures.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/RecordVideo.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/ShootPhoto.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/Camera_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/V4L2/V4L2_CameraParameterSetting.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/V4L2/V4L2_Record.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/ALLWINER_CedarX/CedarX_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/ALLWINER_CedarX/cedarX_vdec/cedarX_vdec.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/ALLWINER_CedarX/cedarX_venc/cedarX_venc.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/FFMPEG/ffmpeg_VideoTranscode.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/VideoTranscode.c.o CMakeFiles/JZ_UART_APP.dir/Module/TestAPP/TestAPP_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/TestAPP/TestMegaphone/TestMegaphone.c.o CMakeFiles/JZ_UART_APP.dir/Module/SerialManagement/ActivateMAT/ActivateMAT.c.o CMakeFiles/JZ_UART_APP.dir/Module/SerialManagement/FirewareOriginMAT/FirewareOriginMAT.c.o CMakeFiles/JZ_UART_APP.dir/Module/SerialManagement/SerialMAT_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/ImageProcessing/ImageProcessing_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/ImageProcessing/LightSpot/center_get.cpp.o -o JZ_UART_APP -L/mnt/hgfs/share/展架程序/ModuleLib/TTS -Wl,-rpath,/mnt/hgfs/share/展架程序/ModuleLib/music/high_pass_filtering:/mnt/hgfs/share/展架程序/ModuleLib/TTS:/mnt/hgfs/share/展架程序/ModuleLib/opus /mnt/hgfs/share/展架程序/ModuleLib/music/high_pass_filtering/libAudioPlayer.so -lmsc /mnt/hgfs/share/展架程序/ModuleLib/opus/libopus.so | 1 | +/usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-g++ -pthread -rdynamic CMakeFiles/JZ_UART_APP.dir/application/BaseConfig.c.o CMakeFiles/JZ_UART_APP.dir/application/main.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdkLib.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Delay/JZsdk_Delay.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComParsion.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Aframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Input.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Output.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_4G.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV1.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Recv/JZsdk_Uart_RecvDeal_DEV2.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_UartDeal.c.o CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/UartConnection/UartConnection.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/AudioFile/Megaphone_AudioFile.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Megaphone_InputAndOutput.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/Megaphone_Music.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/RealTimeMP2/10.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/RealTimeMP2/10t.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/Music/RealTimeMP2/Megaphone_RealTimeMP2.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/TTS/Intl_tts/Intl_tts.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/TTS/Megaphone_TTS.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/TTS/cn_tts/cn_tts.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/opus/RealTimeVoice/Megaphone_RealTimeVoice.c.o CMakeFiles/JZ_UART_APP.dir/Module/Megaphone/opus/RecordVoice/Megaphone_RecordVoice.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/H3_ircut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/Ircut_H3_H10/Ircut_H3_H10.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/boardtype_friendlyelec.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/drcSerial.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/max31855.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/max5322.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23008.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23016.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23017.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23s08.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp23s17.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp3002.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp3004.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp3422.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/mcp4802.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/pcf8574.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/pcf8591.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/piHiPri.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/piThread.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/sn3218.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/softPwm.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/softServo.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/softTone.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/sr595.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringPi.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringPiI2C.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringPiSPI.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringSerial.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/H3_ircut/wiringPi/wiringShift.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/V3s_ircut/V3s_ircut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Ircut/ircut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_H3/Gimbal_H3_H10/Gimbal_H3_H10.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_H3/Gimbal_H3_H150ST/Gimbal_H3_H150ST.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_H3/Gimbal_H3_H150ST/Gimbal_H3_H150ST_UartDeal.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_H10T/Gimbal_V3S_H10T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_H1T/Gimbal_V3S_H1T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_TFA1/Gimbal_V3S_TFA1.c.o CMakeFiles/JZ_UART_APP.dir/Module/Gimbal/Gimbal_V3S/Gimbal_V3S_U3/Gimbal_V3S_U3.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/Dji_Control/DJI_VideoDeal.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/Dji_Control/DJI_WidgetControl.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/Psdk_UI_io.c.o CMakeFiles/JZ_UART_APP.dir/Module/UI_control/UI_control.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/Lighting_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o CMakeFiles/JZ_UART_APP.dir/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o CMakeFiles/JZ_UART_APP.dir/Module/PowerManager/PowerManager_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/CameraFeatures.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/RecordVideo.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/CameraFeatures/ShootPhoto.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/Camera_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/V4L2/V4L2_CameraParameterSetting.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/V4L2/V4L2_Record.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/ALLWINER_CedarX/CedarX_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/ALLWINER_CedarX/cedarX_vdec/cedarX_vdec.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/ALLWINER_CedarX/cedarX_venc/cedarX_venc.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/FFMPEG/ffmpeg_VideoTranscode.c.o CMakeFiles/JZ_UART_APP.dir/Module/Camera/VideoTranscode/VideoTranscode.c.o CMakeFiles/JZ_UART_APP.dir/Module/TestAPP/TestAPP_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/TestAPP/TestMegaphone/TestMegaphone.c.o CMakeFiles/JZ_UART_APP.dir/Module/SerialManagement/ActivateMAT/ActivateMAT.c.o CMakeFiles/JZ_UART_APP.dir/Module/SerialManagement/FirewareOriginMAT/FirewareOriginMAT.c.o CMakeFiles/JZ_UART_APP.dir/Module/SerialManagement/SerialMAT_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/ImageProcessing/ImageProcessing_InAndOut.c.o CMakeFiles/JZ_UART_APP.dir/Module/ImageProcessing/LightSpot/center_get.cpp.o -o JZ_UART_APP -L/mnt/hgfs/share/展架程序/ModuleLib/TTS -Wl,-rpath,/mnt/hgfs/share/展架程序/ModuleLib/music/high_pass_filtering:/mnt/hgfs/share/展架程序/ModuleLib/TTS/intl_tts:/mnt/hgfs/share/展架程序/ModuleLib/TTS:/mnt/hgfs/share/展架程序/ModuleLib/opus /mnt/hgfs/share/展架程序/ModuleLib/music/high_pass_filtering/libAudioPlayer.so /mnt/hgfs/share/展架程序/ModuleLib/TTS/intl_tts/libportaudio.so.2 /mnt/hgfs/share/展架程序/ModuleLib/TTS/intl_tts/libTTS_Player.so -lmsc /mnt/hgfs/share/展架程序/ModuleLib/opus/libopus.so |
| @@ -15,11 +15,11 @@ CMAKE_PROGRESS_14 = 13 | @@ -15,11 +15,11 @@ CMAKE_PROGRESS_14 = 13 | ||
| 15 | CMAKE_PROGRESS_15 = 14 | 15 | CMAKE_PROGRESS_15 = 14 |
| 16 | CMAKE_PROGRESS_16 = 15 | 16 | CMAKE_PROGRESS_16 = 15 |
| 17 | CMAKE_PROGRESS_17 = 16 | 17 | CMAKE_PROGRESS_17 = 16 |
| 18 | -CMAKE_PROGRESS_18 = 17 | ||
| 19 | -CMAKE_PROGRESS_19 = 18 | ||
| 20 | -CMAKE_PROGRESS_20 = 19 | ||
| 21 | -CMAKE_PROGRESS_21 = 20 | ||
| 22 | -CMAKE_PROGRESS_22 = | 18 | +CMAKE_PROGRESS_18 = |
| 19 | +CMAKE_PROGRESS_19 = 17 | ||
| 20 | +CMAKE_PROGRESS_20 = 18 | ||
| 21 | +CMAKE_PROGRESS_21 = 19 | ||
| 22 | +CMAKE_PROGRESS_22 = 20 | ||
| 23 | CMAKE_PROGRESS_23 = 21 | 23 | CMAKE_PROGRESS_23 = 21 |
| 24 | CMAKE_PROGRESS_24 = 22 | 24 | CMAKE_PROGRESS_24 = 22 |
| 25 | CMAKE_PROGRESS_25 = 23 | 25 | CMAKE_PROGRESS_25 = 23 |
| @@ -33,14 +33,14 @@ CMAKE_PROGRESS_32 = 30 | @@ -33,14 +33,14 @@ CMAKE_PROGRESS_32 = 30 | ||
| 33 | CMAKE_PROGRESS_33 = 31 | 33 | CMAKE_PROGRESS_33 = 31 |
| 34 | CMAKE_PROGRESS_34 = 32 | 34 | CMAKE_PROGRESS_34 = 32 |
| 35 | CMAKE_PROGRESS_35 = 33 | 35 | CMAKE_PROGRESS_35 = 33 |
| 36 | -CMAKE_PROGRESS_36 = 34 | ||
| 37 | -CMAKE_PROGRESS_37 = 35 | ||
| 38 | -CMAKE_PROGRESS_38 = 36 | ||
| 39 | -CMAKE_PROGRESS_39 = 37 | ||
| 40 | -CMAKE_PROGRESS_40 = 38 | ||
| 41 | -CMAKE_PROGRESS_41 = 39 | ||
| 42 | -CMAKE_PROGRESS_42 = 40 | ||
| 43 | -CMAKE_PROGRESS_43 = | 36 | +CMAKE_PROGRESS_36 = |
| 37 | +CMAKE_PROGRESS_37 = 34 | ||
| 38 | +CMAKE_PROGRESS_38 = 35 | ||
| 39 | +CMAKE_PROGRESS_39 = 36 | ||
| 40 | +CMAKE_PROGRESS_40 = 37 | ||
| 41 | +CMAKE_PROGRESS_41 = 38 | ||
| 42 | +CMAKE_PROGRESS_42 = 39 | ||
| 43 | +CMAKE_PROGRESS_43 = 40 | ||
| 44 | CMAKE_PROGRESS_44 = 41 | 44 | CMAKE_PROGRESS_44 = 41 |
| 45 | CMAKE_PROGRESS_45 = 42 | 45 | CMAKE_PROGRESS_45 = 42 |
| 46 | CMAKE_PROGRESS_46 = 43 | 46 | CMAKE_PROGRESS_46 = 43 |
| @@ -51,56 +51,57 @@ CMAKE_PROGRESS_50 = 47 | @@ -51,56 +51,57 @@ CMAKE_PROGRESS_50 = 47 | ||
| 51 | CMAKE_PROGRESS_51 = 48 | 51 | CMAKE_PROGRESS_51 = 48 |
| 52 | CMAKE_PROGRESS_52 = 49 | 52 | CMAKE_PROGRESS_52 = 49 |
| 53 | CMAKE_PROGRESS_53 = 50 | 53 | CMAKE_PROGRESS_53 = 50 |
| 54 | -CMAKE_PROGRESS_54 = 51 | ||
| 55 | -CMAKE_PROGRESS_55 = 52 | ||
| 56 | -CMAKE_PROGRESS_56 = 53 | ||
| 57 | -CMAKE_PROGRESS_57 = 54 | ||
| 58 | -CMAKE_PROGRESS_58 = 55 | ||
| 59 | -CMAKE_PROGRESS_59 = 56 | ||
| 60 | -CMAKE_PROGRESS_60 = 57 | ||
| 61 | -CMAKE_PROGRESS_61 = 58 | ||
| 62 | -CMAKE_PROGRESS_62 = 59 | ||
| 63 | -CMAKE_PROGRESS_63 = 60 | ||
| 64 | -CMAKE_PROGRESS_64 = | 54 | +CMAKE_PROGRESS_54 = |
| 55 | +CMAKE_PROGRESS_55 = 51 | ||
| 56 | +CMAKE_PROGRESS_56 = 52 | ||
| 57 | +CMAKE_PROGRESS_57 = 53 | ||
| 58 | +CMAKE_PROGRESS_58 = 54 | ||
| 59 | +CMAKE_PROGRESS_59 = 55 | ||
| 60 | +CMAKE_PROGRESS_60 = 56 | ||
| 61 | +CMAKE_PROGRESS_61 = 57 | ||
| 62 | +CMAKE_PROGRESS_62 = 58 | ||
| 63 | +CMAKE_PROGRESS_63 = 59 | ||
| 64 | +CMAKE_PROGRESS_64 = 60 | ||
| 65 | CMAKE_PROGRESS_65 = 61 | 65 | CMAKE_PROGRESS_65 = 61 |
| 66 | CMAKE_PROGRESS_66 = 62 | 66 | CMAKE_PROGRESS_66 = 62 |
| 67 | CMAKE_PROGRESS_67 = 63 | 67 | CMAKE_PROGRESS_67 = 63 |
| 68 | CMAKE_PROGRESS_68 = 64 | 68 | CMAKE_PROGRESS_68 = 64 |
| 69 | CMAKE_PROGRESS_69 = 65 | 69 | CMAKE_PROGRESS_69 = 65 |
| 70 | CMAKE_PROGRESS_70 = 66 | 70 | CMAKE_PROGRESS_70 = 66 |
| 71 | -CMAKE_PROGRESS_71 = 67 | ||
| 72 | -CMAKE_PROGRESS_72 = 68 | ||
| 73 | -CMAKE_PROGRESS_73 = 69 | ||
| 74 | -CMAKE_PROGRESS_74 = 70 | ||
| 75 | -CMAKE_PROGRESS_75 = 71 | ||
| 76 | -CMAKE_PROGRESS_76 = 72 | ||
| 77 | -CMAKE_PROGRESS_77 = 73 | ||
| 78 | -CMAKE_PROGRESS_78 = 74 | ||
| 79 | -CMAKE_PROGRESS_79 = 75 | ||
| 80 | -CMAKE_PROGRESS_80 = 76 | ||
| 81 | -CMAKE_PROGRESS_81 = 77 | ||
| 82 | -CMAKE_PROGRESS_82 = 78 | ||
| 83 | -CMAKE_PROGRESS_83 = 79 | ||
| 84 | -CMAKE_PROGRESS_84 = 80 | ||
| 85 | -CMAKE_PROGRESS_85 = | 71 | +CMAKE_PROGRESS_71 = |
| 72 | +CMAKE_PROGRESS_72 = 67 | ||
| 73 | +CMAKE_PROGRESS_73 = 68 | ||
| 74 | +CMAKE_PROGRESS_74 = 69 | ||
| 75 | +CMAKE_PROGRESS_75 = 70 | ||
| 76 | +CMAKE_PROGRESS_76 = 71 | ||
| 77 | +CMAKE_PROGRESS_77 = 72 | ||
| 78 | +CMAKE_PROGRESS_78 = 73 | ||
| 79 | +CMAKE_PROGRESS_79 = 74 | ||
| 80 | +CMAKE_PROGRESS_80 = 75 | ||
| 81 | +CMAKE_PROGRESS_81 = 76 | ||
| 82 | +CMAKE_PROGRESS_82 = 77 | ||
| 83 | +CMAKE_PROGRESS_83 = 78 | ||
| 84 | +CMAKE_PROGRESS_84 = 79 | ||
| 85 | +CMAKE_PROGRESS_85 = 80 | ||
| 86 | CMAKE_PROGRESS_86 = 81 | 86 | CMAKE_PROGRESS_86 = 81 |
| 87 | CMAKE_PROGRESS_87 = 82 | 87 | CMAKE_PROGRESS_87 = 82 |
| 88 | CMAKE_PROGRESS_88 = 83 | 88 | CMAKE_PROGRESS_88 = 83 |
| 89 | -CMAKE_PROGRESS_89 = 84 | ||
| 90 | -CMAKE_PROGRESS_90 = 85 | ||
| 91 | -CMAKE_PROGRESS_91 = 86 | ||
| 92 | -CMAKE_PROGRESS_92 = 87 | ||
| 93 | -CMAKE_PROGRESS_93 = 88 | ||
| 94 | -CMAKE_PROGRESS_94 = 89 | ||
| 95 | -CMAKE_PROGRESS_95 = 90 | ||
| 96 | -CMAKE_PROGRESS_96 = 91 | ||
| 97 | -CMAKE_PROGRESS_97 = 92 | ||
| 98 | -CMAKE_PROGRESS_98 = 93 | ||
| 99 | -CMAKE_PROGRESS_99 = 94 | ||
| 100 | -CMAKE_PROGRESS_100 = 95 | ||
| 101 | -CMAKE_PROGRESS_101 = 96 | ||
| 102 | -CMAKE_PROGRESS_102 = 97 | ||
| 103 | -CMAKE_PROGRESS_103 = 98 | ||
| 104 | -CMAKE_PROGRESS_104 = 99 | ||
| 105 | -CMAKE_PROGRESS_105 = 100 | 89 | +CMAKE_PROGRESS_89 = |
| 90 | +CMAKE_PROGRESS_90 = 84 | ||
| 91 | +CMAKE_PROGRESS_91 = 85 | ||
| 92 | +CMAKE_PROGRESS_92 = 86 | ||
| 93 | +CMAKE_PROGRESS_93 = 87 | ||
| 94 | +CMAKE_PROGRESS_94 = 88 | ||
| 95 | +CMAKE_PROGRESS_95 = 89 | ||
| 96 | +CMAKE_PROGRESS_96 = 90 | ||
| 97 | +CMAKE_PROGRESS_97 = 91 | ||
| 98 | +CMAKE_PROGRESS_98 = 92 | ||
| 99 | +CMAKE_PROGRESS_99 = 93 | ||
| 100 | +CMAKE_PROGRESS_100 = 94 | ||
| 101 | +CMAKE_PROGRESS_101 = 95 | ||
| 102 | +CMAKE_PROGRESS_102 = 96 | ||
| 103 | +CMAKE_PROGRESS_103 = 97 | ||
| 104 | +CMAKE_PROGRESS_104 = 98 | ||
| 105 | +CMAKE_PROGRESS_105 = 99 | ||
| 106 | +CMAKE_PROGRESS_106 = 100 | ||
| 106 | 107 |
build/JZ_UART_APP
已删除
100644 → 0
不能预览此文件类型
| @@ -417,6 +417,54 @@ JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.s: | @@ -417,6 +417,54 @@ JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.s: | ||
| 417 | $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.s | 417 | $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.s |
| 418 | .PHONY : JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.s | 418 | .PHONY : JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.s |
| 419 | 419 | ||
| 420 | +JZsdk/JZsdk_TaskManagement/TaskManagement.o: JZsdk/JZsdk_TaskManagement/TaskManagement.c.o | ||
| 421 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskManagement.o | ||
| 422 | + | ||
| 423 | +# target to build an object file | ||
| 424 | +JZsdk/JZsdk_TaskManagement/TaskManagement.c.o: | ||
| 425 | + $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.o | ||
| 426 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskManagement.c.o | ||
| 427 | + | ||
| 428 | +JZsdk/JZsdk_TaskManagement/TaskManagement.i: JZsdk/JZsdk_TaskManagement/TaskManagement.c.i | ||
| 429 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskManagement.i | ||
| 430 | + | ||
| 431 | +# target to preprocess a source file | ||
| 432 | +JZsdk/JZsdk_TaskManagement/TaskManagement.c.i: | ||
| 433 | + $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.i | ||
| 434 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskManagement.c.i | ||
| 435 | + | ||
| 436 | +JZsdk/JZsdk_TaskManagement/TaskManagement.s: JZsdk/JZsdk_TaskManagement/TaskManagement.c.s | ||
| 437 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskManagement.s | ||
| 438 | + | ||
| 439 | +# target to generate assembly for a file | ||
| 440 | +JZsdk/JZsdk_TaskManagement/TaskManagement.c.s: | ||
| 441 | + $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskManagement.c.s | ||
| 442 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskManagement.c.s | ||
| 443 | + | ||
| 444 | +JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.o: JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o | ||
| 445 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.o | ||
| 446 | + | ||
| 447 | +# target to build an object file | ||
| 448 | +JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o: | ||
| 449 | + $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o | ||
| 450 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.o | ||
| 451 | + | ||
| 452 | +JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.i: JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.i | ||
| 453 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.i | ||
| 454 | + | ||
| 455 | +# target to preprocess a source file | ||
| 456 | +JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.i: | ||
| 457 | + $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.i | ||
| 458 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.i | ||
| 459 | + | ||
| 460 | +JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.s: JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.s | ||
| 461 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.s | ||
| 462 | + | ||
| 463 | +# target to generate assembly for a file | ||
| 464 | +JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.s: | ||
| 465 | + $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.s | ||
| 466 | +.PHONY : JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.c.s | ||
| 467 | + | ||
| 420 | JZsdk_Uart/JZsdk_Uart_Input.o: JZsdk_Uart/JZsdk_Uart_Input.c.o | 468 | JZsdk_Uart/JZsdk_Uart_Input.o: JZsdk_Uart/JZsdk_Uart_Input.c.o |
| 421 | .PHONY : JZsdk_Uart/JZsdk_Uart_Input.o | 469 | .PHONY : JZsdk_Uart/JZsdk_Uart_Input.o |
| 422 | 470 | ||
| @@ -561,30 +609,6 @@ JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.s: | @@ -561,30 +609,6 @@ JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.s: | ||
| 561 | $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.s | 609 | $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.s |
| 562 | .PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.s | 610 | .PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.c.s |
| 563 | 611 | ||
| 564 | -JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.o: JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o | ||
| 565 | -.PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.o | ||
| 566 | - | ||
| 567 | -# target to build an object file | ||
| 568 | -JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o: | ||
| 569 | - $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o | ||
| 570 | -.PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.o | ||
| 571 | - | ||
| 572 | -JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.i: JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.i | ||
| 573 | -.PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.i | ||
| 574 | - | ||
| 575 | -# target to preprocess a source file | ||
| 576 | -JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.i: | ||
| 577 | - $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.i | ||
| 578 | -.PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.i | ||
| 579 | - | ||
| 580 | -JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.s: JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.s | ||
| 581 | -.PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.s | ||
| 582 | - | ||
| 583 | -# target to generate assembly for a file | ||
| 584 | -JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.s: | ||
| 585 | - $(MAKE) $(MAKESILENT) -f CMakeFiles/JZ_UART_APP.dir/build.make CMakeFiles/JZ_UART_APP.dir/JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.s | ||
| 586 | -.PHONY : JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.c.s | ||
| 587 | - | ||
| 588 | JZsdk_Uart/JZsdk_Uart_UartDeal.o: JZsdk_Uart/JZsdk_Uart_UartDeal.c.o | 612 | JZsdk_Uart/JZsdk_Uart_UartDeal.o: JZsdk_Uart/JZsdk_Uart_UartDeal.c.o |
| 589 | .PHONY : JZsdk_Uart/JZsdk_Uart_UartDeal.o | 613 | .PHONY : JZsdk_Uart/JZsdk_Uart_UartDeal.o |
| 590 | 614 | ||
| @@ -2670,6 +2694,12 @@ help: | @@ -2670,6 +2694,12 @@ help: | ||
| 2670 | @echo "... JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.o" | 2694 | @echo "... JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.o" |
| 2671 | @echo "... JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.i" | 2695 | @echo "... JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.i" |
| 2672 | @echo "... JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.s" | 2696 | @echo "... JZsdk/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.s" |
| 2697 | + @echo "... JZsdk/JZsdk_TaskManagement/TaskManagement.o" | ||
| 2698 | + @echo "... JZsdk/JZsdk_TaskManagement/TaskManagement.i" | ||
| 2699 | + @echo "... JZsdk/JZsdk_TaskManagement/TaskManagement.s" | ||
| 2700 | + @echo "... JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.o" | ||
| 2701 | + @echo "... JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.i" | ||
| 2702 | + @echo "... JZsdk/JZsdk_TaskManagement/TaskMgmt_sample.s" | ||
| 2673 | @echo "... JZsdk_Uart/JZsdk_Uart_Input.o" | 2703 | @echo "... JZsdk_Uart/JZsdk_Uart_Input.o" |
| 2674 | @echo "... JZsdk_Uart/JZsdk_Uart_Input.i" | 2704 | @echo "... JZsdk_Uart/JZsdk_Uart_Input.i" |
| 2675 | @echo "... JZsdk_Uart/JZsdk_Uart_Input.s" | 2705 | @echo "... JZsdk_Uart/JZsdk_Uart_Input.s" |
| @@ -2688,9 +2718,6 @@ help: | @@ -2688,9 +2718,6 @@ help: | ||
| 2688 | @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.o" | 2718 | @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.o" |
| 2689 | @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.i" | 2719 | @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.i" |
| 2690 | @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.s" | 2720 | @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_Send.s" |
| 2691 | - @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.o" | ||
| 2692 | - @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.i" | ||
| 2693 | - @echo "... JZsdk_Uart/JZsdk_Uart_Send/JZsdk_Uart_SendDeal.s" | ||
| 2694 | @echo "... JZsdk_Uart/JZsdk_Uart_UartDeal.o" | 2721 | @echo "... JZsdk_Uart/JZsdk_Uart_UartDeal.o" |
| 2695 | @echo "... JZsdk_Uart/JZsdk_Uart_UartDeal.i" | 2722 | @echo "... JZsdk_Uart/JZsdk_Uart_UartDeal.i" |
| 2696 | @echo "... JZsdk_Uart/JZsdk_Uart_UartDeal.s" | 2723 | @echo "... JZsdk_Uart/JZsdk_Uart_UartDeal.s" |
-
请 注册 或 登录 后发表评论