作者 ookk303

219保存,具体修改下次上报

正在显示 102 个修改的文件 包含 2085 行增加1713 行删除
... ... @@ -136,8 +136,11 @@
"dji_platform.h": "c",
"util_misc.h": "c",
"jzsdk_smt_code.h": "c",
"volume.h": "c"
"volume.h": "c",
"jzsdk_data_transmisson.h": "c",
"jzsdk_monitor.h": "c"
},
"Codegeex.GenerationPreference": "automatic",
"C_Cpp.dimInactiveRegions": false
"C_Cpp.dimInactiveRegions": false,
"Codegeex.RepoIndex": true
}
\ No newline at end of file
... ...
# 编译链的配置
#1、编译链与设备类型的选择
set(DEVICE_NAME JZ_H150T)
set(DEVICE_NAME JZ_H1E)
#上一行为禁止修改行
message("**************************JZSDK构建编译开始***************************\n")
... ... @@ -30,6 +30,8 @@ elseif("${DEVICE_NAME}" STREQUAL "TF_A1")
set(MAKE_COMPILER ARM_CORTEXA9_LINUX)
elseif("${DEVICE_NAME}" STREQUAL "JZ_C1")
set(MAKE_COMPILER ARM_X86_64_ARRCH64)
elseif("${DEVICE_NAME}" STREQUAL "JZ_ST")
set(MAKE_COMPILER ARM_X86_64_ARRCH64)
endif()
if(${MAKE_COMPILER} STREQUAL "ARM_CORTEXA9_LINUX")
... ...
... ... @@ -11,6 +11,7 @@ set(LIB_RK_MMP VERSION_SWITCH_OFF)
set(LIB_RK_RGB VERSION_SWITCH_OFF)
set(LIB_USB VERSION_SWITCH_OFF)
set(LIB_KT_IRC VERSION_SWITCH_OFF)
set(LIB_SAT_IRC VERSION_SWITCH_OFF)
add_definitions(-D COMPILE_MODE_MODULE) #设置代码为编译模式
... ... @@ -95,11 +96,18 @@ if(${MEDIA_PROC_MODULE} STREQUAL "VERSION_SWITCH_ON")
message("加载USB模块")
set(LIB_USB VERSION_SWITCH_ON)
if(${IRC_MODULE} STREQUAL "VERSION_SWITCH_ON")
if(${LIB_KT_MODULE} STREQUAL "VERSION_SWITCH_ON")
message("加载昆腾红外相机模块")
set(LIB_KT_IRC VERSION_SWITCH_ON)
endif()
if(${LIB_SATIRC_MODULE} STREQUAL "VERSION_SWITCH_ON")
message("加载飒特红外相机模块")
set(LIB_SAT_IRC VERSION_SWITCH_ON)
endif()
endif()
endif()
... ...
... ... @@ -52,6 +52,12 @@ set(WIRINGPI_MODULE VERSION_SWITCH_OFF)
# OpenCV库
set(IMAGEPROCESSING_MODULE VERSION_SWITCH_OFF)
# 鲲腾库
set(LIB_KT_MODULE VERSION_SWITCH_OFF)
# 飒特库
set(LIB_SATIRC_MODULE VERSION_SWITCH_OFF)
########################## 通用库加载 ###########################################
# 添加信息模块
... ... @@ -358,6 +364,29 @@ elseif("${DEVICE_NAME}" STREQUAL "JZ_C1")
message("C1基础配置完毕\n")
elseif("${DEVICE_NAME}" STREQUAL "JZ_ST")
# 添加Gimbal 云台处理模块
set(GIMBAL_MODULE VERSION_SWITCH_ON)
# 添加IRCUT 引脚处理模块
set(IRCUT_MODULE VERSION_SWITCH_ON)
# 添加MediaProc 媒体管理模块
set(MEDIA_PROC_MODULE VERSION_SWITCH_ON)
# 添加红外相机模块
set(IRC_MODULE VERSION_SWITCH_ON)
# 添加飒特模块
set(LIB_SATIRC_MODULE VERSION_SWITCH_ON)
#设备独立配置源文件
file(GLOB_RECURSE DEVICE_CONFOG_SRC ${ROOT_DIRS}JZsdk_Config/DeviceSample/JZ_ST/*.c)
list(APPEND ALL_SRC_FILES ${DEVICE_CONFOG_SRC})
message("ST基础配置完毕\n")
endif()
message("***********************模组模块配置完毕*********************************\n")
\ No newline at end of file
... ...
... ... @@ -189,4 +189,18 @@ if(${LIB_KT_IRC} STREQUAL "VERSION_SWITCH_ON")
endif()
#飒特 IRC库
if(${LIB_SAT_IRC} STREQUAL "VERSION_SWITCH_ON")
add_definitions(-DMACRO_SATIRC_MODULE)
message("STIRC库已加载\n")
include_directories(${ROOT_DIRS}/ThirdParty/SatIrcLib/include)
target_link_libraries(
${PROJECT_NAME}
${ROOT_DIRS}/ThirdParty/SatIrcLib/aarch64-none-linux-gnu/lib/libsatir.so
)
endif()
message("**************************动态库加载完毕***************************\n")
\ No newline at end of file
... ...
... ... @@ -46,7 +46,7 @@
#define TF_A1 0x1010
#define JZ_C1 0x1011
#define JZ_ST 0x1012
/***********************************
*
... ...
... ... @@ -24,6 +24,15 @@ extern "C" {
/* Exported types ------------------------------------------------------------*/
//时间结构体
typedef struct {
U16_t year;
U8_t month;
U8_t day;
U8_t hour;
U8_t minute;
U8_t second;
}t_JZdateTime;
//GPS时间
... ...
... ... @@ -38,6 +38,11 @@ typedef uint16_t U16_t;
typedef uint32_t U32_t;
typedef uint64_t U64_t;
#define JZ_U8 U8_t
#define JZ_U16 U16_t
#define JZ_U32 U32_t
#define JZ_U64 U64_t
// typedef unsigned long T_JZsdkReturnCode;
// typedef unsigned char U8_t;
// typedef unsigned short U16_t;
... ... @@ -47,6 +52,9 @@ typedef uint64_t U64_t;
typedef double F64_t;
typedef float F32_t;
#define JZ_F64 F64_t
#define JZ_F32 F32_t
#define JZSDK_SINGLE_THREAD 0 //jz单线程
#define JZSDK_MULTI_THREAD 1 //jz多线程
... ...
/* 头文件 ------------------------------------------------------------------*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <stdio.h>
#include "JZsdk_Logger.h"
#include <time.h>
#include "JZsdk_logger.h"
#include "JZsdkLib.h"
#include <pthread.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <unistd.h>
#include <sys/types.h>
#define JZSDK_LOG_NAME "JZLOG"
#define JZSDK_LOG_INDEX_FILE_NAME "/root/sdcard/JZLOG/thelast"
#define JZSDK_LOG_PATH "/root/sdcard/JZLOG/"
#define JZSDK_LOG_MAX_COUNT 20
static char logFilePath[128];
#include <stdarg.h>
#define LOG_GRADE JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO
static T_JZsdkLoggerConsole *UserLogPrintConsole = NULL; //用户日志输出控制台
static T_JZsdkLoggerConsole *UserLogRecordConsole = NULL; //用户日志输出控制台
/* 全局变量 ------------------------------------------------------------------*/
static struct timeval g_start_time;
static FILE *logFile = NULL;
static FILE *logFileCnt = NULL;
static int Logger_init_flag = JZ_FLAGCODE_OFF;
/* 函数声明 ------------------------------------------------------------------*/
long long get_total_ram() {
FILE *file;
char line[128];
long long total_ram = 0;
file = fopen("/proc/meminfo", "r");
if (!file) {
perror("Error opening /proc/meminfo");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "MemTotal:", 9) == 0) {
sscanf(line, "MemTotal: %lld kB", &total_ram);
break;
}
}
fclose(file);
return total_ram;
}
long long get_current_rss(pid_t pid) {
FILE *file;
char line[128];
long long vmrss = 0;
char path[64];
snprintf(path, sizeof(path), "/proc/%d/status", pid);
file = fopen(path, "r");
if (!file) {
perror("Error opening /proc/[pid]/status");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "VmRSS:", 6) == 0) {
sscanf(line, "VmRSS: %lld kB", &vmrss);
break;
}
}
fclose(file);
return vmrss;
}
static void *MonitorTask(void *arg)
{
//获取程序的pid号
pid_t pid = getpid(); // 获取当前进程的 PID
long long total_ram; //最大ram内存
long long current_rss; //RSS内存
double memory_percentage; //内存百分比
// 获取系统总 RAM
total_ram = get_total_ram();
while (1)
{
printf("当前进程pid号%d\n",pid);
// 获取当前进程的内存使用量
current_rss = get_current_rss(pid);
// 计算内存百分比
if (total_ram > 0)
{
memory_percentage = (double)current_rss / total_ram * 100;
} else {
memory_percentage = 0;
}
// 打印结果
printf("Program current memory usage: %lld KB\n", current_rss);
JZSDK_LOG_INFO("Monitor:(%.2f%% of total RAM)", memory_percentage);
delayS(10);
}
}
static int Log_Monitor()
{
pthread_t work_mode_task;
pthread_attr_t task_attribute; //线程属性
pthread_attr_init(&task_attribute); //初始化线程属性
pthread_attr_setdetachstate(&task_attribute, PTHREAD_CREATE_DETACHED); //设置线程属性
int timer = pthread_create(&work_mode_task,&task_attribute,MonitorTask,NULL); //线程
if(timer != 0)
{
printf("创建计时线程失败!\n");
}
}
T_JZsdkReturnCode createJZLOGFolder()
{
const char *path = "/root/sdcard/JZLOG";
// 使用系统命令检测路径是否存在
if(JZsdk_check_directory_exists_posix(path) == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
else
{
JZsdk_Osal_Mkdir(path);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
}
int ReadLogNumFromFile()
{
const char *path = JZSDK_LOG_INDEX_FILE_NAME;
int logNum = 0;
FILE *file = fopen(path, "r");
if (file == NULL)
{
// 如果文件不存在,则创建并设置LogNum为0
file = fopen(path, "w");
fprintf(file, "%d", logNum);
}
else
{
// 从文件中读取LogNum,并自增1
fscanf(file, "%d", &logNum);
logNum++;
fclose(file);
// 将新的LogNum写回文件中
file = fopen(path, "w");
fprintf(file, "%d", logNum);
}
fclose(file);
return logNum;
}
T_JZsdkReturnCode JZsdk_LoggerInit()
T_JZsdkReturnCode JZsdk_Logger_AddPrintConsole(T_JZsdkLoggerConsole *console)
{
int ret;
unsigned int logFileIndex = 0;
unsigned int currentLogFileIndex;
JZsdk_Osal_Mkdir(JZSDK_LOG_PATH);
char systemCmd[64]; // 用于存储系统命令
char folderName[JZSDK_FILE_NAME_SIZE_MAX];
time_t currentTime = time(NULL);
struct tm *localTime = localtime(&currentTime);
if (localTime == NULL) {
printf("Get local time error.\r\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
if (access(JZSDK_LOG_NAME, F_OK) != 0) {
sprintf(folderName, "mkdir %s", JZSDK_LOG_NAME);
ret = system(folderName);
if (ret != 0) {
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "rb+");
if (logFileCnt == NULL)
if (console == NULL)
{
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "wb+");
if (logFileCnt == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
else
{
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0)
{
printf("Seek log count file error, ret: %d\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fread((uint16_t *) &logFileIndex, 1, sizeof(uint16_t), logFileCnt);
if (ret != sizeof(uint16_t))
{
printf("Read log file index error.\r\n");
}
printf("JZsdk_Logger_AddPrintConsole: Invalid parameter\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
currentLogFileIndex = logFileIndex;
logFileIndex++;
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0)
{
printf("Seek log file error, ret: %d\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fwrite((unsigned int *) &logFileIndex, 1, sizeof(unsigned int), logFileCnt);
if (ret != sizeof(unsigned int))
{
printf("Write log file index error.\r\n");
fclose(logFileCnt);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
fclose(logFileCnt);
//filePath : /root/sdcard/Logs/_%04d_%04d%02d%02d_%02d-%02d-%02d.log
sprintf(logFilePath, "%s%04d_%04d%02d%02d_%02d-%02d-%02d.log", JZSDK_LOG_PATH, currentLogFileIndex,
localTime->tm_year + 1900, localTime->tm_mon + 1, localTime->tm_mday,
localTime->tm_hour, localTime->tm_min, localTime->tm_sec);
logFile = fopen(logFilePath, "wb+");
if (logFile == NULL)
{
printf("Open filepath time error.");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
if (logFileIndex >= JZSDK_LOG_MAX_COUNT)
{
sprintf(systemCmd, "rm -rf %s_%04d*.log", JZSDK_LOG_PATH, currentLogFileIndex - JZSDK_LOG_MAX_COUNT);
ret = system(systemCmd);
if (ret != 0) {
printf("Remove file error, ret:%d.\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
sprintf(systemCmd, "ln -sfrv %s " JZSDK_LOG_NAME "/latest.log", logFilePath);
system(systemCmd);
//打开初始化完成的flag
Logger_init_flag = JZ_FLAGCODE_ON;
//设立监控
Log_Monitor();
JZSDK_LOG_INFO("%s", logFilePath);
JZSDK_LOG_INFO("log初始化完成");
UserLogPrintConsole = (T_JZsdkLoggerConsole *)malloc(sizeof(T_JZsdkLoggerConsole));
memcpy(UserLogPrintConsole, console, sizeof(T_JZsdkLoggerConsole));
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZsdk_LoggerDeInit()
{
if (logFile != NULL)
{
fclose(logFile);
}
}
T_JZsdkReturnCode writeToLogFile(const char *data)
T_JZsdkReturnCode JZsdk_Logger_AddRecordConsole(T_JZsdkLoggerConsole *console)
{
if (logFile == NULL)
if (console == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
printf("JZsdk_Logger_AddRecordConsole: Invalid parameter\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
fprintf(logFile, "%s", data); // 写入新的数据
fflush(logFile);
}
T_JZsdkReturnCode HexToLogFile(const char *data)
{
if (logFile == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
fprintf(logFile, "%x ", data[0]); // 写入新的数据
fflush(logFile);
UserLogRecordConsole = (T_JZsdkLoggerConsole *)malloc(sizeof(T_JZsdkLoggerConsole));
memcpy(UserLogRecordConsole, console, sizeof(T_JZsdkLoggerConsole));
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
{
// 将日志级别转换为相应的字符串
const char *JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "";
... ... @@ -333,79 +55,73 @@ void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
default:
break;
}
// 使用可变参数处理传入的格式化字符串和可变参数
va_list args;
va_start(args, fmt);
//格式化日志消息
char logMessage[512];
JZ_U8 logMessage[256];
memset(logMessage, 0, sizeof(logMessage));
vsnprintf(logMessage, sizeof(logMessage), fmt, args);
va_end(args);
struct timeval current_time;
gettimeofday(&current_time, 0);
//获取当前的时间
JZ_U64 current_time = 0;
T_JZsdkOsalHandler *osalHandle = JZsdk_Platform_GetOsalHandler();
if (osalHandle != NULL)
{
osalHandle->GetTimeUs(&current_time);
}
long seconds = current_time.tv_sec - g_start_time.tv_sec;
long microseconds = current_time.tv_usec - g_start_time.tv_usec;
double elapsed = seconds + microseconds*1e-6;
JZ_F64 elapsed = current_time / 1000000.0;
// 执行具体的日志输出操作
char finalLogMessage[612];
JZ_U8 finalLogMessage[300];
memset(finalLogMessage, 0, sizeof(finalLogMessage));
snprintf(finalLogMessage, 612, "[%s][%.4f]%s\n", JZSDK_LOGGER_CONSOLE_LOG_LEVEL, elapsed, logMessage);
printf("%s",finalLogMessage);
snprintf(finalLogMessage, 300, "[%s][%.4f]%s\n", JZSDK_LOGGER_CONSOLE_LOG_LEVEL, elapsed, logMessage);
if (UserLogPrintConsole != NULL)
{
if (level <= UserLogPrintConsole->consoleLevel && UserLogPrintConsole->func != NULL)
{
UserLogPrintConsole->func(finalLogMessage, strlen(finalLogMessage));
}
}
else
{
printf("%s",finalLogMessage);
}
//写入日志
if (Logger_init_flag == JZ_FLAGCODE_ON && level <= LOG_GRADE)
if (UserLogRecordConsole != NULL)
{
writeToLogFile(finalLogMessage);
}
if(level <= UserLogRecordConsole->consoleLevel && UserLogRecordConsole->func != NULL)
{
UserLogRecordConsole->func(finalLogMessage, strlen(finalLogMessage));
}
}
return;
}
void JZsdk_User_OutputHex(E_JZsdkConsoleLogLevel level, const char *fmt, ...)
{
// 将日志级别转换为相应的字符串
const char *JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "";
switch (level) {
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_DEBUG:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "DEBUG";
break;
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "INFO";
break;
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_WARN:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "WARNING";
break;
case JZSDK_LOGGER_CONSOLE_LOG_LEVEL_ERROR:
JZSDK_LOGGER_CONSOLE_LOG_LEVEL = "ERROR";
break;
default:
break;
}
// 使用可变参数处理传入的格式化字符串和可变参数
va_list args;
va_start(args, fmt);
//格式化日志消息
char logMessage[10];
memset(logMessage, 0, sizeof(logMessage));
vsnprintf(logMessage, sizeof(logMessage), fmt, args);
va_end(args);
// 执行具体的日志输出操作
char finalLogMessage[512];
memset(finalLogMessage, 0, sizeof(finalLogMessage));
snprintf(finalLogMessage, 612, "%s", logMessage);
printf("%x ",finalLogMessage[0]);
//写入日志
HexToLogFile(finalLogMessage);
}
\ No newline at end of file
... ...
/**
********************************************************************
* @file JZsdk_Logger.h
* 用于给h150s logger显示文件
*
*
*********************************************************************
*/
... ... @@ -17,8 +17,9 @@
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
typedef enum {
... ... @@ -39,13 +40,30 @@ typedef enum {
method is lower than this level, the level interface will not be
printed successfully. */
} E_JZsdkConsoleLogLevel;
/* Exported types ------------------------------------------------------------*/
/**
* @brief The console method that needs to be registered.
* @note Before registering the console method, you need to test the methods that need to be registered to ensure
* that they can be used normally.
*/
typedef T_JZsdkReturnCode (*JZsdk_ConsoleFunc)(const JZ_U8 *data, JZ_U16 dataLen);
/**
* @brief Logger console content.
*/
typedef struct {
JZsdk_ConsoleFunc func;
JZ_U8 consoleLevel;
bool isSupportColor;
} T_JZsdkLoggerConsole;
/* Exported functions --------------------------------------------------------*/
void JZsdk_UserLogOutput(E_JZsdkConsoleLogLevel level, const char *fmt, ...);
T_JZsdkReturnCode JZsdk_LoggerInit();
void JZsdk_User_OutputHex(E_JZsdkConsoleLogLevel level, const char *fmt, ...);
T_JZsdkReturnCode JZsdk_Logger_AddPrintConsole(T_JZsdkLoggerConsole *console);
T_JZsdkReturnCode JZsdk_Logger_AddRecordConsole(T_JZsdkLoggerConsole *console);
T_JZsdkReturnCode JZsdk_LoggerInit();
/* Exported constants --------------------------------------------------------*/
#define JZSDK_LOG_DEBUG(fmt, ...) \
... ... @@ -59,7 +77,6 @@ void JZsdk_User_OutputHex(E_JZsdkConsoleLogLevel level, const char *fmt, ...);
#define JZSDK_LOG_OUTPUTHEX(fmt, ...) \
JZsdk_User_OutputHex(JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO, "" fmt , ##__VA_ARGS__)
#ifdef __cplusplus
}
#endif
... ...
#include "JZsdk_Logger.h"
#include "JZsdkLib.h"
#include <unistd.h>
#include <time.h>
#define JZSDK_LOG_PATH "/root/sdcard/JZLOG/" //sd卡存放路径
#define JZSDK_LOG_INDEX_PATH "/root/JZLOG/" //sd卡存放序号文件路径
#define JZSDK_LOG_INDEX_FILE_NAME "/root/JZLOG/thelast" //sd卡存放序号文件路径
#define JZ_LOG_FOLDER_NAME_MAX_SIZE (32)
#define JZ_LOG_MAX_COUNT (10)
#define JZ_SYSTEM_CMD_STR_MAX_SIZE (64)
#define JZSDK_LOG_MAX_COUNT 20
#define LOG_GRADE JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO //日志等级!
/* 全局变量 ------------------------------------------------------------------*/
static struct timeval g_start_time;
static FILE *logFile = NULL;
static FILE *logFileCnt = NULL;
static int Logger_init_flag = JZ_FLAGCODE_OFF;
/* 函数声明 ------------------------------------------------------------------*/
static T_JZsdkReturnCode createJZLOGFolder()
{
// 使用系统命令检测路径是否存在
if(JZsdk_check_directory_exists_posix(JZSDK_LOG_PATH) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZsdk_Osal_Mkdir(JZSDK_LOG_PATH);
}
if(JZsdk_check_directory_exists_posix(JZSDK_LOG_INDEX_PATH) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZsdk_Osal_Mkdir(JZSDK_LOG_INDEX_PATH);
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static T_JZsdkReturnCode JzUser_PrintConsole(const JZ_U8 *data, JZ_U16 dataLen)
{
dataLen = dataLen;
printf("%s", data);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static T_JZsdkReturnCode JzUser_LocalWrite(const JZ_U8 *data, JZ_U16 dataLen)
{
JZ_U32 realLen;
if (logFile == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
realLen = fwrite(data, 1, dataLen, logFile);
fflush(logFile);
if (realLen == dataLen)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
else
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
static T_JZsdkReturnCode JzUser_LocalWriteFsInit(const JZ_U8 *path)
{
JZ_U8 filePath[JZSDK_FILE_PATH_SIZE_MAX];
JZ_U8 systemCmd[JZ_SYSTEM_CMD_STR_MAX_SIZE];
JZ_U8 folderName[JZ_LOG_FOLDER_NAME_MAX_SIZE];
time_t currentTime = time(NULL);
struct tm *localTime = localtime(&currentTime);
uint16_t logFileIndex = 0;
uint16_t currentLogFileIndex;
uint8_t ret;
if (localTime == NULL)
{
printf("Get local time error.\r\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "rb+");
if (logFileCnt == NULL)
{
logFileCnt = fopen(JZSDK_LOG_INDEX_FILE_NAME, "wb+");
if (logFileCnt == NULL)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
else
{
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0)
{
printf("Seek log count file error.\r\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fread((uint16_t *) &logFileIndex, 1, sizeof(uint16_t), logFileCnt);
if (ret != sizeof(uint16_t))
{
printf("Read log file index error.\r\n");
}
}
currentLogFileIndex = logFileIndex;
logFileIndex++;
ret = fseek(logFileCnt, 0, SEEK_SET);
if (ret != 0) {
printf("Seek log file error, ret: %d\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = fwrite((uint16_t *) &logFileIndex, 1, sizeof(uint16_t), logFileCnt);
if (ret != sizeof(uint16_t)) {
printf("Write log file index error.\r\n");
fclose(logFileCnt);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
fclose(logFileCnt);
//移除sd卡的计数文件
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "rm -f %sthelast", JZSDK_LOG_PATH);
ret = system(systemCmd);
if (ret != 0) {
JZSDK_LOG_ERROR("Remove file error, ret:%d.\r\n", ret);
}
//复制日志计数文件到sd卡
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "cp %s %s", JZSDK_LOG_INDEX_FILE_NAME, JZSDK_LOG_PATH);
ret = system(systemCmd);
if (ret != 0) {
JZSDK_LOG_ERROR("Copy file error, ret:%d.\r\n", ret);
}
//开始打开log文件
sprintf(filePath, "%s_%04d_%04d%02d%02d_%02d-%02d-%02d.log", path, currentLogFileIndex,
localTime->tm_year + 1900, localTime->tm_mon + 1, localTime->tm_mday,
localTime->tm_hour, localTime->tm_min, localTime->tm_sec);
logFile = fopen(filePath, "wb+");
if (logFile == NULL) {
JZSDK_LOG_ERROR("Open filepath time error.");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
if (logFileIndex >= JZ_LOG_MAX_COUNT)
{
//把多余的日志删除
sprintf(systemCmd, "rm -rf %s_%04d*.log", path, currentLogFileIndex - JZ_LOG_MAX_COUNT);
ret = system(systemCmd);
if (ret != 0) {
printf("Remove file error, ret:%d.\r\n", ret);
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZsdk_LoggerInit()
{
T_JZsdkReturnCode ReturnCode;
unsigned int logFileIndex = 0;
unsigned int currentLogFileIndex;
T_JZsdkLoggerConsole printfConsole = {
.func = JzUser_PrintConsole,
.consoleLevel = JZSDK_LOGGER_CONSOLE_LOG_LEVEL_DEBUG,
.isSupportColor = true,
};
T_JZsdkLoggerConsole localRecordConsole = {
.func = JzUser_LocalWrite,
.consoleLevel = JZSDK_LOGGER_CONSOLE_LOG_LEVEL_INFO,
.isSupportColor = true,
};
//1、检测日志文件夹是否存在,不存在则创建
ReturnCode = createJZLOGFolder();
if(ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("createJZLOGFolder error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ReturnCode = JzUser_LocalWriteFsInit(JZSDK_LOG_PATH);
if(ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("file system init error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ReturnCode = JZsdk_Logger_AddPrintConsole(&printfConsole);
if (ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("JZsdk Logger AddPrintConsole error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ReturnCode = JZsdk_Logger_AddRecordConsole(&localRecordConsole);
if (ReturnCode != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
printf("JZsdk Logger AddRecordConsole error\n");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
//设立监控
JZsdk_Log_Monitor_Init();
JZSDK_LOG_INFO("Log init success.");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZsdk_LoggerDeInit()
{
if (logFile != NULL)
{
fclose(logFile);
logFile = NULL;
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
\ No newline at end of file
... ...
#include "JZsdkLib.h"
#include "./JZsdk_monitor.h"
#include <pthread.h>
static long long get_total_ram()
{
FILE *file;
char line[128];
long long total_ram = 0;
file = fopen("/proc/meminfo", "r");
if (!file) {
perror("Error opening /proc/meminfo");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "MemTotal:", 9) == 0) {
sscanf(line, "MemTotal: %lld kB", &total_ram);
break;
}
}
fclose(file);
return total_ram;
}
static long long get_current_rss(pid_t pid)
{
FILE *file;
char line[128];
long long vmrss = 0;
char path[64];
snprintf(path, sizeof(path), "/proc/%d/status", pid);
file = fopen(path, "r");
if (!file) {
perror("Error opening /proc/[pid]/status");
return 0;
}
while (fgets(line, sizeof(line), file)) {
if (strncmp(line, "VmRSS:", 6) == 0) {
sscanf(line, "VmRSS: %lld kB", &vmrss);
break;
}
}
fclose(file);
return vmrss;
}
static void *MonitorTask(void *arg)
{
//获取程序的pid号
pid_t pid = getpid(); // 获取当前进程的 PID
long long total_ram; //最大ram内存
long long current_rss; //RSS内存
double memory_percentage; //内存百分比
// 获取系统总 RAM
total_ram = get_total_ram();
while (1)
{
printf("当前进程pid号%d\n",pid);
// 获取当前进程的内存使用量
current_rss = get_current_rss(pid);
// 计算内存百分比
if (total_ram > 0)
{
memory_percentage = (double)current_rss / total_ram * 100;
} else {
memory_percentage = 0;
}
// 打印结果
printf("Program current memory usage: %lld KB\n", current_rss);
JZSDK_LOG_INFO("Monitor:(%.2f%% of total RAM)", memory_percentage);
delayS(10);
}
}
T_JZsdkReturnCode JZsdk_Log_Monitor_Init()
{
pthread_t work_mode_task;
pthread_attr_t task_attribute; //线程属性
pthread_attr_init(&task_attribute); //初始化线程属性
pthread_attr_setdetachstate(&task_attribute, PTHREAD_CREATE_DETACHED); //设置线程属性
int timer = pthread_create(&work_mode_task,&task_attribute,MonitorTask,NULL); //线程
if(timer != 0)
{
printf("创建计时线程失败!\n");
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
... ...
/**
********************************************************************
* @file JZsdk_monitor.h
*
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_MONITOR_H
#define JZSDK_MONITOR_H
/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode JZsdk_Log_Monitor_Init();
/* Exported constants --------------------------------------------------------*/
#ifdef __cplusplus
}
#endif
#endif
/************************ (C) COPYRIGHT JZSDK Innovations *******END OF FILE******/
... ...
... ... @@ -316,6 +316,10 @@ static T_JZsdkReturnCode DeviceSample_init(int mode)
JZC1_Init(mode);
#endif
//萨特相机加载
#if DEVICE_VERSION == JZ_ST
JZ_ST_Init(mode);
#endif
}
... ...
... ... @@ -199,7 +199,24 @@ extern "C" {
#define UART_DEV1_BITRATE (115200)
#define UART_DEV2_NUM NULL
#define UART_DEV2_BITRATE (115200)
#define UART_DEV2_BITRATE (0)
#define COMM_4G_UART_NUM NULL
#define COMM_4G_UART_BITRATE (0)
#define GIMBAL_UART_NUM NULL
#define GIMBAL_UART_BITRATE (0)
#define NET_WORK_IPADDR "192.168.5.3"
#define NET_WORK_TARGET_IPADDR "192.168.5.10"
#define NET_WORK_NETMASK "255.255.255.0"
#elif DEVICE_VERSION == JZ_ST
#define UART_DEV1_NUM "/dev/ttyS6"
#define UART_DEV1_BITRATE (115200)
#define UART_DEV2_NUM NULL
#define UART_DEV2_BITRATE (0)
#define COMM_4G_UART_NUM NULL
#define COMM_4G_UART_BITRATE (0)
... ...
... ... @@ -26,6 +26,7 @@
#include "DeviceSample/JZ_U3_series/JZ_U30/JZ_u30.h"
#include "DeviceSample/JZC1/JZC1.h"
#include "DeviceSample/JZ_ST/JZ_ST.h"
#include "TF_A1/TF_a1.h"
... ...
// #include "JZsdkLib.h"
// #include "BaseConfig.h"
// #include <pthread.h>
// #include <math.h>
#include "JZsdkLib.h"
#include "BaseConfig.h"
#include <pthread.h>
#include <math.h>
// #include "IRCUT/ircut.h"
#include "IRCUT/ircut.h"
// #include "MediaProc/IRC_funtion/SatIrcLibProc/Sat_Irc.h"
#include "MediaProc/IRC_funtion/SatIrcLibProc/Sat_Irc.h"
// #ifdef RTK_MPP_STATUS_ON
// #include "MediaProc/MultProc/RTK_mmp/RTK_mmp.h"
// #include "MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.h"
// #include "MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.h"
// #include "MediaProc/Camera/Camera.h"
#ifdef RTK_MPP_STATUS_ON
#include "MediaProc/MultProc/RTK_mmp/RTK_mmp.h"
#include "MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.h"
#include "MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.h"
#include "MediaProc/Camera/Camera.h"
// #ifdef RTK_RGA_STATUS_ON
#endif
// #include "MediaProc/RgaProc/RK_Rga/RK_Rga.h"
#ifdef RTK_RGA_STATUS_ON
// #endif
#include "MediaProc/RgaProc/RK_Rga/RK_Rga.h"
// #include "MediaProc/MediaProc.h"
// #include "UI_control/UI_control.h"
// #include "CommonMod/PowerManger/PowerManger.h"
#endif
// typedef struct ST_RgaInfo
// {
// //源图像
// RK_RgaImage *src_img;
#include "MediaProc/MediaProc.h"
#include "UI_control/UI_control.h"
#include "CommonMod/PowerManger/PowerManger.h"
// //裁剪图像
// RK_RgaImage *corp_img;
typedef struct ST_RgaInfo
{
//源图像
RK_RgaImage *src_img;
// //目标图像
// RK_RgaImage *dst_img;
//裁剪图像
RK_RgaImage *corp_img;
// //放大倍数
// int scale;
//目标图像
RK_RgaImage *dst_img;
// }ST_RgaInfo;
//放大倍数
int scale;
}ST_RgaInfo;
// typedef struct T_JZST_info
// {
// /*************************************************************/
// //红外相机的编码器信息
// T_rtk_mmp_enc_info *IRC_enc_info;
// //红外相机的rga信息
// ST_RgaInfo *IRC_rga_info;
typedef struct T_JZST_info
{
/*************************************************************/
//红外相机的编码器信息
T_rtk_mmp_enc_info *IRC_enc_info;
// /*************************************************************/
// //光学相机的解码器信息
// T_rtk_mmp_dec_info *Opt_dec_info;
//红外相机的rga信息
ST_RgaInfo *IRC_rga_info;
// //光学相机的编码器信息
// T_rtk_mmp_enc_info *Opt_enc_info;
/*************************************************************/
//光学相机的解码器信息
T_rtk_mmp_dec_info *Opt_dec_info;
// //光学相机的相机信息
// JZsdk_CameraInfo *Opt_Camera_info;
//光学相机的编码器信息
T_rtk_mmp_enc_info *Opt_enc_info;
// //光学相机的rga信息
// ST_RgaInfo *Opt_rga_info;
// /*************************************************************/
// //融合相机的编码器信息
// T_rtk_mmp_enc_info *Fuse_enc_info;
//光学相机的相机信息
JZsdk_CameraInfo *Opt_Camera_info;
// }T_JZST_info;
//光学相机的rga信息
ST_RgaInfo *Opt_rga_info;
/*************************************************************/
//融合相机的编码器信息
T_rtk_mmp_enc_info *Fuse_enc_info;
}T_JZST_info;
// #define JZ__IRC_WIDTH 320
// #define JZ__IRC_HEIGHT 256
// #define JZ__IRC_FRAMERATE 25
// #define JZ__IRC_INDEX VIDEOMGMT_STREAMING_FLOW_INDEX_FIRST
// #define JZ__IRC_BPS 4000000
#define JZ_IRC_WIDTH 320
#define JZ_IRC_HEIGHT 256
#define JZ_IRC_FRAMERATE 25
#define JZ_IRC_INDEX VIDEOMGMT_STREAMING_FLOW_INDEX_FIRST
#define JZ_IRC_BPS 500000
// static T_JZST_info g_JZST_info;
static T_JZST_info g_JZST_info;
// T_JZsdkReturnCode JZST_SetNextFrame_IDR(unsigned int index)
// {
// if (index == JZ__IRC_INDEX)
// {
// RTK_mmp_enc_SetNextFrame_IDR(g_JZST_info.IRC_enc_info);
// }
// // else if (index == JZ_C1_OPT_INDEX)
// // {
// // RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Opt_enc_info);
// // }
// // else if (index == JZ_C1_FUSE_INDEX)
// // {
// // RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Fuse_enc_info);
// // }
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
T_JZsdkReturnCode JZST_SetNextFrame_IDR(unsigned int index)
{
if (index == JZ_IRC_INDEX)
{
RTK_mmp_enc_SetNextFrame_IDR(g_JZST_info.IRC_enc_info);
}
// else if (index == JZ_C1_OPT_INDEX)
// {
// RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Opt_enc_info);
// }
// else if (index == JZ_C1_FUSE_INDEX)
// {
// RTK_mmp_enc_SetNextFrame_IDR(g_JZC1_info.Fuse_enc_info);
// }
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
//数据推送函数
static T_JZsdkReturnCode JZST_PushFrame(int CameraIndex, unsigned char* data, unsigned int data_len)
{
int currentIndex = VideoMgmt_GetVideoStreamFlowIndexNum(); //获取当前视频流索引
//无视频流
if (currentIndex == 0)
{
//不推送视频
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
//红外相机
if (currentIndex == JZ_IRC_INDEX && CameraIndex == JZ_IRC_INDEX)
{
//推送数据到流转模块
VideoMgmt_Single_FrameIn(data, data_len);
}
// //光学相机
// if(CameraIndex == JZ_C1_OPT_INDEX && currentIndex == JZ_C1_OPT_INDEX)
// {
// //推送数据到流转模块
// VideoMgmt_Single_FrameIn(data, data_len);
// }
// //组合视频流
// if (currentIndex == JZ_C1_FUSE_INDEX && CameraIndex == JZ_C1_FUSE_INDEX)
// {
// //推送数据到流转模块
// VideoMgmt_Single_FrameIn(data, data_len);
// }
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static T_JZsdkReturnCode rgb32_to_yuv420sp(uint8_t *rgb32, uint8_t *yuv420sp, int width, int height)
{
int frame_size = width * height;
uint8_t *y_plane = yuv420sp; // Y分量
uint8_t *uv_plane = yuv420sp + frame_size; // UV交错分量(NV12)
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x++) {
// 假设RGB32内存布局为[B,G,R,A](小端序常见)
int idx = (y * width + x) * 4;
uint8_t B = rgb32[idx];
uint8_t G = rgb32[idx + 1];
uint8_t R = rgb32[idx + 2];
// uint8_t A = rgb32[idx + 3]; // Alpha通道忽略
// 计算YUV(BT.601标准)
int Y = 0.257 * R + 0.504 * G + 0.098 * B + 16;
int U = -0.148 * R - 0.291 * G + 0.439 * B + 128;
int V = 0.439 * R - 0.368 * G - 0.071 * B + 128;
// 写入Y分量
y_plane[y * width + x] = (uint8_t)fmin(fmax(Y, 0), 255);
// 仅偶数行和偶数列采样UV分量(420下采样)
if (y % 2 == 0 && x % 2 == 0) {
int uv_idx = (y / 2) * (width / 2) + (x / 2);
uv_plane[uv_idx * 2] = (uint8_t)fmin(fmax(U, 0), 255); // U
uv_plane[uv_idx * 2 + 1] = (uint8_t)fmin(fmax(V, 0), 255); // V
}
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
static void *JZ_ircDataThread(void *args)
{
#ifdef SATIRC_LIB_STATUS_ON
U8_t *buf = NULL;
int PixelNum = JZ_IRC_WIDTH * JZ_IRC_HEIGHT;
buf = (U8_t *)malloc(JZ_IRC_WIDTH * JZ_IRC_HEIGHT * 4);
U8_t *yuv420sp = (U8_t *)malloc(JZ_IRC_WIDTH * JZ_IRC_HEIGHT * 3 / 2);
int test_i = 0;
int color = 0;
JZSDK_LOG_INFO("红外相机线程启动!");
// }
// //数据推送函数
// static T_JZsdkReturnCode JZST_PushFrame(int CameraIndex, unsigned char* data, unsigned int data_len)
// {
// int currentIndex = VideoMgmt_GetVideoStreamFlowIndexNum(); //获取当前视频流索引
// //无视频流
// if (currentIndex == 0)
// {
// //不推送视频
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// //红外相机
// if (currentIndex == JZ__IRC_INDEX && CameraIndex == JZ__IRC_INDEX)
// {
// //推送数据到流转模块
// VideoMgmt_Single_FrameIn(data, data_len);
// }
// // //光学相机
// // if(CameraIndex == JZ_C1_OPT_INDEX && currentIndex == JZ_C1_OPT_INDEX)
// // {
// // //推送数据到流转模块
// // VideoMgmt_Single_FrameIn(data, data_len);
// // }
// // //组合视频流
// // if (currentIndex == JZ_C1_FUSE_INDEX && CameraIndex == JZ_C1_FUSE_INDEX)
// // {
// // //推送数据到流转模块
// // VideoMgmt_Single_FrameIn(data, data_len);
// // }
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// static T_JZsdkReturnCode rgb32_to_yuv420sp(uint8_t *rgb32, uint8_t *yuv420sp, int width, int height)
// {
// int frame_size = width * height;
// uint8_t *y_plane = yuv420sp; // Y分量
// uint8_t *uv_plane = yuv420sp + frame_size; // UV交错分量(NV12)
// for (int y = 0; y < height; y++) {
// for (int x = 0; x < width; x++) {
// // 假设RGB32内存布局为[B,G,R,A](小端序常见)
// int idx = (y * width + x) * 4;
// uint8_t B = rgb32[idx];
// uint8_t G = rgb32[idx + 1];
// uint8_t R = rgb32[idx + 2];
// // uint8_t A = rgb32[idx + 3]; // Alpha通道忽略
// // 计算YUV(BT.601标准)
// int Y = 0.257 * R + 0.504 * G + 0.098 * B + 16;
// int U = -0.148 * R - 0.291 * G + 0.439 * B + 128;
// int V = 0.439 * R - 0.368 * G - 0.071 * B + 128;
// // 写入Y分量
// y_plane[y * width + x] = (uint8_t)fmin(fmax(Y, 0), 255);
// // 仅偶数行和偶数列采样UV分量(420下采样)
// if (y % 2 == 0 && x % 2 == 0) {
// int uv_idx = (y / 2) * (width / 2) + (x / 2);
// uv_plane[uv_idx * 2] = (uint8_t)fmin(fmax(U, 0), 255); // U
// uv_plane[uv_idx * 2 + 1] = (uint8_t)fmin(fmax(V, 0), 255); // V
// }
// }
// }
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// static void *JZ__ircDataThread(void *args)
// {
// #ifdef SATIRC_LIB_STATUS_ON
// U8_t *buf = NULL;
// int PixelNum = JZ__IRC_WIDTH * JZ__IRC_HEIGHT;
// buf = (U8_t *)malloc(JZ__IRC_WIDTH * JZ__IRC_HEIGHT * 4);
// U8_t *yuv420sp = (U8_t *)malloc(320 * 256 * 3 / 2);
// int test_i = 0;
// int color = 0;
// while (1)
// {
// //每25张更换一次颜色
// if (test_i % 25 == 0)
// {
// color++;
// if (color == 12)
// {
// color = 0;
// }
FILE *fp = fopen("image.h264", "wb");
while (1)
{
delayMs(1000/JZ_IRC_FRAMERATE);
//每25张更换一次颜色
if (test_i % 25 == 0)
{
color++;
if (color == 12)
{
color = 0;
}
// SatIrc_SetColorPalette(color); //可以测0~11
// }
SatIrc_SetColorPalette(color); //可以测0~11
}
// //获取红外数据
// memset(buf, 0, JZ__IRC_WIDTH * JZ__IRC_HEIGHT * 4);
// SatIrc_GetIRImage(buf, PixelNum);
//获取红外数据
memset(buf, 0, JZ_IRC_WIDTH * JZ_IRC_HEIGHT * 4);
SatIrc_GetIRImage(buf, PixelNum);
// //将红外数据转换为yuv
// memset(yuv420sp, 0, 320 * 256 * 3 / 2);
// rgb32_to_yuv420sp(buf, yuv420sp, JZ__IRC_WIDTH, JZ__IRC_HEIGHT);
//将红外数据转换为yuv
memset(yuv420sp, 0, 320 * 256 * 3 / 2);
rgb32_to_yuv420sp(buf, yuv420sp, JZ_IRC_WIDTH, JZ_IRC_HEIGHT);
// //将红外数据送去编码器
// unsigned char *h264Data = NULL;
// unsigned int h264DataLen = 0;
//将红外数据送去编码器
unsigned char *h264Data = NULL;
unsigned int h264DataLen = 0;
// MppPacket Packet = NULL;
MppPacket Packet = NULL;
// //进行编码
// RTK_mmp_enc_data_to_h264(g_JZST_info.IRC_enc_info, yuv420sp, 320 * 256 * 3 / 2, &Packet);
//进行编码
RTK_mmp_enc_data_to_h264(g_JZST_info.IRC_enc_info, yuv420sp, 320 * 256 * 3 / 2, &Packet);
// h264DataLen = mpp_packet_get_length(Packet);
// h264Data = (unsigned char *)mpp_packet_get_pos(Packet);
h264DataLen = mpp_packet_get_length(Packet);
h264Data = (unsigned char *)mpp_packet_get_pos(Packet);
// //释放掉packet
// mpp_packet_deinit(&Packet);
// //将h264数据推送
// JZST_PushFrame(1, h264Data, h264DataLen);
// delayMs(1000/JZ__IRC_FRAMERATE);
// }
// #endif // #ifdef SATIRC_LIB_STATUS_ON
// }
// static T_JZsdkReturnCode JZ__IrcCameraInit()
// {
// T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// //初始化红外参数
// ret = IRC_ParamInit(JZ__IRC_HEIGHT, JZ__IRC_WIDTH, JZ__IRC_FRAMERATE, IRC_DEAL_MODE_SAT);
// if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// JZSDK_LOG_ERROR("红外参数初始化失败!");
// return ret;
// }
// //初始化红外相机
// T_JZsdkReturnCode = SatIrc_init();
// if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// JZSDK_LOG_ERROR("红外相机初始化失败!");
// return ret;
// }
// //初始化接收相机数据的线程
// T_JZsdkOsalHandler *osal_handle = JZsdk_Platform_GetOsalHandler();
// T_JZTaskHandle JZ__ircDataTask = NULL;
// osal_handle->TaskCreate("JZ__ircDataThread", JZ__ircDataThread, 8192, NULL, JZ__ircDataTask);
// return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// }
// T_JZsdkReturnCode JZ__Init(int mode)
// {
// //网口初始化
// if (mode == APP_UART)
// {
// //网口初始化
// JZsdk_NetWork_Init();
// }
// T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
// #ifdef RTK_MPP_STATUS_ON
// //初始化相机流管理器
// T_JZsdkVideoMgmtHandler VideoMgmtHandler = {
// .SetNextFrame_IDR = JZST_SetNextFrame_IDR,
// };
// VideoMgmt_Init(VideoMgmtHandler);
// //初始化红外的编码器
// g_JZST_info.IRC_enc_info = (T_rtk_mmp_dec_info *)malloc(sizeof(T_rtk_mmp_dec_info));
// //配置参数
// g_JZST_info.IRC_enc_info->Input_fmt = MPP_FMT_YUV420SP;
// g_JZST_info.IRC_enc_info->encType = MPP_VIDEO_CodingAVC;
// g_JZST_info.IRC_enc_info->width = JZ__IRC_WIDTH;
// g_JZST_info.IRC_enc_info->height = JZ__IRC_HEIGHT;
// g_JZST_info.IRC_enc_info->FrameNum = JZ__IRC_FRAMERATE;
// g_JZST_info.IRC_enc_info->IDR_gop = 5;
// g_JZST_info.IRC_enc_info->bps_target = JZ__IRC_BPS;
// g_JZST_info.IRC_enc_info->hor_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->width, 16);
// g_JZST_info.IRC_enc_info->ver_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->height, 16);
// //初始化编码器
// RTK_mmp_enc_init(g_JZST_info.IRC_enc_info);
// //初始化红外相机
// ret = JZ__IrcCameraInit();
// if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// JZSDK_LOG_ERROR("红外相机初始化失败!");
// }
// //设置默认推送红外摄像头
// VideoMgmt_VideoStreamFlowIndex(JZ__IRC_INDEX);
//释放掉packet
mpp_packet_deinit(&Packet);
//将h264数据推送
JZST_PushFrame(JZ_IRC_INDEX, h264Data, h264DataLen);
fwrite(h264Data, h264DataLen, 1, fp);
fflush(fp);
JZSDK_LOG_DEBUG("红外相机线程执行中!, 长度 %d", h264DataLen);
test_i++;
}
fclose(fp);
#endif // #ifdef SATIRC_LIB_STATUS_ON
}
static T_JZsdkReturnCode JZ_IrcCameraInit()
{
T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
//初始化红外参数
ret = IRC_ParamInit(JZ_IRC_HEIGHT, JZ_IRC_WIDTH, JZ_IRC_FRAMERATE, IRC_DEAL_MODE_SAT);
if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_ERROR("红外参数初始化失败!");
return ret;
}
//初始化红外相机
ret = SatIrc_init();
if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_ERROR("红外相机初始化失败!");
return ret;
}
//初始化接收相机数据的线程
T_JZsdkOsalHandler *osal_handle = JZsdk_Platform_GetOsalHandler();
T_JZTaskHandle JZ_ircDataTask = NULL;
osal_handle->TaskCreate("JZ_ircDataThread", JZ_ircDataThread, 8192, NULL, &JZ_ircDataTask);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode JZ_ST_Init(int mode)
{
//网口初始化
if (mode == APP_UART)
{
//网口初始化
JZsdk_NetWork_Init();
}
T_JZsdkReturnCode ret = JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
#ifdef RTK_MPP_STATUS_ON
//初始化相机流管理器
T_JZsdkVideoMgmtHandler VideoMgmtHandler = {
.SetNextFrame_IDR = JZST_SetNextFrame_IDR,
};
VideoMgmt_Init(VideoMgmtHandler);
//初始化红外的编码器
g_JZST_info.IRC_enc_info = (T_rtk_mmp_enc_info *)malloc(sizeof(T_rtk_mmp_enc_info));
//配置参数
g_JZST_info.IRC_enc_info->Input_fmt = MPP_FMT_YUV420SP;
g_JZST_info.IRC_enc_info->encType = MPP_VIDEO_CodingAVC;
g_JZST_info.IRC_enc_info->width = JZ_IRC_WIDTH;
g_JZST_info.IRC_enc_info->height = JZ_IRC_HEIGHT;
g_JZST_info.IRC_enc_info->FrameNum = JZ_IRC_FRAMERATE;
g_JZST_info.IRC_enc_info->IDR_gop = 5;
g_JZST_info.IRC_enc_info->bps_target = JZ_IRC_BPS;
g_JZST_info.IRC_enc_info->hor_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->width, 16);
g_JZST_info.IRC_enc_info->ver_stride = JZ_ALIGN(g_JZST_info.IRC_enc_info->height, 16);
//初始化编码器
RTK_mmp_enc_Init(g_JZST_info.IRC_enc_info);
//初始化红外相机
ret = JZ_IrcCameraInit();
if (ret != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_ERROR("红外相机初始化失败!");
}
//设置默认推送红外摄像头
VideoMgmt_VideoStreamFlowIndex(JZ_IRC_INDEX);
// return ret;
return ret;
#endif
// #endif
// }
\ No newline at end of file
JZSDK_LOG_INFO("红外相机初始化完成");
}
\ No newline at end of file
... ...
/**
********************************************************************
* @file JZST.h
* JZST.h的头文件
*
*********************************************************************
*/
/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZST_H
#define JZST_H
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
/* Includes ------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C" {
#endif
/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
/* Exported types ------------------------------------------------------------*/
T_JZsdkReturnCode JZ_ST_Init(int mode);
#ifdef __cplusplus
}
#endif
#endif
... ...
... ... @@ -7,34 +7,35 @@
#define VERSION_CHOOSE_H
#include "JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.h"
//1~10行 除了D可以修改版本选择 禁止动任何东西
#define DEVICE_VERSION JZ_H150T
#define DEVICE_VERSION JZ_H1E
//禁止修改行 选择是串口程序 还是 psdk程序
#define APP_VERSION APP_PSDK
#define APP_VERSION APP_UART
//禁止修改行 板子型号
#define PLATFORM_VERSION PLATFORM_H3
#define PLATFORM_VERSION PLATFORM_V3S
//禁止修改行 串口连接程序的软件版本号
#define MAJOR_VERSION 01
#define MINOR_VERSION 03
#define MODIFY_VERSION 11
#define DEBUG_VERSION 01
#define MAJOR_VERSION_TEN_POSITION 0
#define MAJOR_VERSION_ONE_POSITION 0
#define MINOR_VERSION_TEN_POSITION 0
#define MINOR_VERSION_ONE_POSITION 0
#define MODIFY_VERSION_TEN_POSITION 0
#define MODIFY_VERSION_ONE_POSITION 2
#define DEBUG_VERSION_TEN_POSITION 1
#define DEBUG_VERSION_ONE_POSITION 9
//禁止修改行 滤波方式 该项目目前已被移除
#define FILTERING_TYPE HIGH_PASS_FILTERING
//禁止修改行固件属地 目前 国内版/海外版, 该选项目前已被移除
#define FIRMWARE_ORIGIN DOMESTIC_VERSION
//禁止修改行指定特殊固件
//禁止修改行31 特殊版本号
#define SPECIAL_VERSION SPECIAL_NORMAL
//禁止修改行 全志编解码库
#define ALLWINNER_CEDAR VERSION_SWITCH_OFF
//版本号
#define MAJOR_VERSION (MAJOR_VERSION_TEN_POSITION*10+MAJOR_VERSION_ONE_POSITION)
#define MINOR_VERSION (MINOR_VERSION_TEN_POSITION*10+MINOR_VERSION_ONE_POSITION)
#define MODIFY_VERSION (MODIFY_VERSION_TEN_POSITION*10+MODIFY_VERSION_ONE_POSITION)
#define DEBUG_VERSION (DEBUG_VERSION_TEN_POSITION*10+DEBUG_VERSION_ONE_POSITION)
//禁止修改行 是否开启连接超时, 该项目目前已被移除
#define CONNECTION_TIMED_OUT VERSION_SWITCH_OFF
//这个开关可以方便日常代码编写的跳转功能
#ifdef COMPILE_MODE_MODULE
... ... @@ -63,6 +64,11 @@
#define KTIRC_LIB_STATUS_ON
#endif
//是否加载satirclib
#ifdef MACRO_SATIRC_MODULE
#define SATIRC_LIB_STATUS_ON
#endif
//是否加载usb模块
#ifdef MACRO_USB_MODULE
#define USB_CONFIG_STATUS_ON
... ... @@ -93,6 +99,7 @@
#define LIGHTING_STATUS_ON
#endif
#else //这里用于方便调试使用,不是实际加载的模组
//是否开启音频库功能
... ...
... ... @@ -4071,7 +4071,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Mode(int Port, char *getbuf)
**********/
static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Lumen(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到灯光亮度",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到灯光亮度",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -4093,7 +4093,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Lumen(int Port, char *getbuf
**********/
static T_JZsdkReturnCode RecvDeal_ObtainSearchLight_Temperature(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到探照灯温度",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到探照灯温度",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -4216,7 +4216,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainGimbalPitchFineTuning(int Port, char *ge
**********/
static T_JZsdkReturnCode RecvDeal_ObtainWaringlight_Status(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到警灯状态",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到警灯状态",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ... @@ -4238,7 +4238,7 @@ static T_JZsdkReturnCode RecvDeal_ObtainWaringlight_Status(int Port, char *getbu
**********/
static T_JZsdkReturnCode RecvDeal_ObtainWaringlight_Color(int Port, char *getbuf)
{
JZSDK_LOG_INFO("%s,收到警灯颜色",JZsdk_DefineCode_GetPortName(Port));
//JZSDK_LOG_INFO("%s,收到警灯颜色",JZsdk_DefineCode_GetPortName(Port));
//获取帧的序列号
int FrameSequence = JZsdk_Get_FrameSequence(getbuf);
... ...
... ... @@ -306,6 +306,53 @@ T_JZsdkReturnCode AudioDeal_StopDeal()
/**************
*
* 获取文件的时长信息
*
* ***********/
T_JZsdkReturnCode AudioDeal_GetAudio_DurationInfo(JZ_U8 *FilePath, JZ_U32 *Duration)
{
int ret;
AVFormatContext *fmt_ctx = NULL;
fmt_ctx = avformat_alloc_context();
if (!fmt_ctx) {
JZSDK_LOG_ERROR("无法分配AVFormatContext");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
ret = avformat_open_input(&fmt_ctx, FilePath, NULL, NULL);
if (ret < 0) {
JZSDK_LOG_ERROR("无法打开音频文件");
goto cleanUp;
}
// if (avformat_find_stream_info(fmt_ctx, NULL) < 0) {
// JZSDK_LOG_ERROR("检索音频流信息失败");
// goto cleanUp;
// }
// if (fmt_ctx->duration <= 0) {
// JZSDK_LOG_ERROR("无效的音频时长");
// goto cleanUp;
// }
// *Duration = (uint32_t)(fmt_ctx->duration / AV_TIME_BASE);
avformat_close_input(&fmt_ctx);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
cleanUp:
if (fmt_ctx) {
avformat_close_input(&fmt_ctx);
}
*Duration = 0; // 确保失败时Duration被清零
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
/**************
*
* 获取音频库的处理状态
*
* ***********/
... ...
... ... @@ -105,6 +105,7 @@ T_JZsdkReturnCode AudioDeal_SetFilterMode(int mode);
T_JZsdkReturnCode AudioDeal_GetFilterMode();
T_JZsdkReturnCode AudioDeal_Mp3DataStop();
T_JZsdkReturnCode AudioDeal_GetAudio_DurationInfo(JZ_U8 *FilePath, JZ_U32 *Duration);
#ifdef __cplusplus
}
... ...
... ... @@ -141,6 +141,56 @@ extern "C" {
anequalizer=c0 f=3700 w=1400 g=-24 t=0|c1 f=3700 w=1400 g=-24 t=0"
#define FILTER_FORMAL_2_M30_TTS "equalizer=f=31:t=q:w=2.0:g=-48, \
equalizer=f=62:t=q:w=2.0:g=-36, \
equalizer=f=125:t=q:w=2.0:g=-30, \
equalizer=f=250:t=q:w=2.0:g=-26, \
equalizer=f=500:t=q:w=2.0:g=-20, \
equalizer=f=1000:t=q:w=2.0:g=-12, \
equalizer=f=2000:t=q:w=2.0:g=-8, \
equalizer=f=4000:t=q:w=2.0:g=+0, \
equalizer=f=8000:t=q:w=2.0:g=+0, \
equalizer=f=16000:t=q:w=2.0:g=+0, \
compand=attacks=0:decays=0.3:points=-60/-60|-30/-20|-20/-15|-10/-10|0/-5:gain=5, \
lowpass=f=6000:width_type=q:w=1.8, \
highpass=f=80:width_type=q:w=1.2, \
volume=0.98, \
anequalizer=c0 f=3800 w=1200 g=-5 t=0|c1 f=3800 w=1200 g=-10 t=0, \
anequalizer=c0 f=3100 w=600 g=-3 t=0|c1 f=3100 w=600 g=-3 t=0"
#define FILTER_FORMAL_2_M30_1 "equalizer=f=31:t=q:w=2.0:g=-48, \
equalizer=f=62:t=q:w=2.0:g=-36, \
equalizer=f=125:t=q:w=2.0:g=-30, \
equalizer=f=250:t=q:w=2.0:g=-26, \
equalizer=f=500:t=q:w=2.0:g=-20, \
equalizer=f=1000:t=q:w=2.0:g=-12, \
equalizer=f=2000:t=q:w=2.0:g=-8, \
equalizer=f=4000:t=q:w=2.0:g=+0, \
equalizer=f=8000:t=q:w=2.0:g=+0, \
equalizer=f=16000:t=q:w=2.0:g=+0, \
compand=attacks=0:decays=0.3:points=-60/-60|-30/-20|-20/-15|-10/-10|0/-5:gain=5, \
lowpass=f=6000:width_type=q:w=1.8, \
highpass=f=80:width_type=q:w=1.2, \
volume=0.98, \
anequalizer=c0 f=3800 w=1200 g=-22 t=0|c1 f=3800 w=1200 g=-22 t=0, \
anequalizer=c0 f=3100 w=600 g=-16 t=0|c1 f=3100 w=600 g=-16 t=0"
#define FILTER_FORMAL_2_M30_2 "equalizer=f=31:t=q:w=2.0:g=-48, \
equalizer=f=62:t=q:w=2.0:g=-36, \
equalizer=f=125:t=q:w=2.0:g=-30, \
equalizer=f=250:t=q:w=2.0:g=-26, \
equalizer=f=500:t=q:w=2.0:g=-20, \
equalizer=f=1000:t=q:w=2.0:g=-12, \
equalizer=f=2000:t=q:w=2.0:g=-8, \
equalizer=f=4000:t=q:w=2.0:g=+0, \
equalizer=f=8000:t=q:w=2.0:g=+0, \
equalizer=f=16000:t=q:w=2.0:g=+0, \
compand=attacks=0:decays=0.3:points=-60/-60|-30/-20|-20/-15|-10/-10|0/-5:gain=5, \
lowpass=f=6000:width_type=q:w=1.8, \
highpass=f=80:width_type=q:w=1.2, \
volume=0.98, \
anequalizer=c0 f=4000 w=1400 g=-28 t=0|c1 f=4000 w=1400 g=-28 t=0, \
anequalizer=c0 f=3700 w=1400 g=-24 t=0|c1 f=3700 w=1400 g=-24 t=0"
/*00 35
02 37
... ... @@ -193,13 +243,13 @@ typedef enum FilterList{
//h10t的滤波器跟其他的不一样,所以单独定义
#if DEVICE_VERSION == JZ_H10T
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_1_M30_2
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_1_M30_TTS
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_2_M30_2
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_2_M30_TTS
#else
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_1_M30_1
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_1_M30_TTS
#define FILTER_PARAM_M30_AUDIO FILTER_FORMAL_2_M30_1
#define FILTER_PARAM_M30_TTS FILTER_FORMAL_2_M30_TTS
#endif
/* Exported types ------------------------------------------------------------*/
... ...
#include "JZsdkLib.h"
#include <sys/time.h> // 对于 settimeofday 可能需要这个头文件
#include <time.h>
#include <unistd.h>
#include <string.h>
#include "Attribute.h"
// 每个月的天数表(索引0为占位)
const uint8_t days_in_month[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
static T_JZsdkAttributeGpsTime g_GpsTime = 0;
static T_JZsdkAttributeGpsDate g_GpsDate = 0;
static T_JZsdkAttributeGpsPosition g_GpsPositino = {0};
... ... @@ -15,19 +19,138 @@ static T_JZsdkAttributeGpsPosition g_GpsPositino = {0};
// static int GpsMinute = 0;
// static int GpsSecond = 0;
void * Attribute_Task(void *arg)
{
t_JZdateTime dt;
const time_t GPS_EPOCH_OFFSET = 315964800; // 1980-01-06 -> 1970-01-01的秒数
const uint8_t GPS_LEAP_SECONDS = 18; // GPS-UTC闰秒差(需动态更新)
//每60s更新一次psdk时间
while (1)
{
//获取gps时间
T_JZsdkAttributeGpsTime gpsTime = Attribute_GetGpsTime();
JZsdk_convert_gpstime(gpsTime, &dt);
JZSDK_LOG_INFO("GPS Time: %u seconds\n", gpsTime);
JZSDK_LOG_INFO("Converted: %04u-%02u-%02u %02u:%02u:%02u\n",
dt.year, dt.month, dt.day,
dt.hour, dt.minute, dt.second);
//将gps时间转换为unix时间
time_t gps_utc = gpsTime + GPS_EPOCH_OFFSET - GPS_LEAP_SECONDS;
//获取系统时间
struct timeval tv;
if (gettimeofday(&tv, NULL) != 0) {
JZSDK_LOG_ERROR("获取系统时间失败");
delayS(10);
continue;
}
// 计算时间差
time_t time_diff = labs(gps_utc - tv.tv_sec);
// 超阈值时更新系统时间
if (time_diff > 60)
{
JZSDK_LOG_INFO("时间差超过60秒: GPS=%u, 系统=%ld", gpsTime, tv.tv_sec);
struct timeval new_tv = { .tv_sec = gps_utc, .tv_usec = 0 };
if (settimeofday(&new_tv, NULL) == 0) {
JZSDK_LOG_INFO("系统时间更新成功");
} else {
JZSDK_LOG_ERROR("系统时间更新失败(需root权限)");
}
}
delayS(20);
}
return NULL;
}
static T_JZsdkReturnCode is_system_utc()
{
// 方法1:检查 /etc/localtime 是否链接到 UTC
char cmd[256];
snprintf(cmd, sizeof(cmd), "readlink /etc/localtime | grep -q UTC");
if (system(cmd) == 0) {
JZSDK_LOG_INFO("系统时区为 UTC (检测到 /etc/localtime 链接)");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
// 方法2:检查 /etc/timezone 文件内容
FILE *tz_file = fopen("/etc/timezone", "r");
if (tz_file) {
char tz[32] = {0};
fgets(tz, sizeof(tz), tz_file);
fclose(tz_file);
if (strstr(tz, "UTC") || strstr(tz, "Etc/UTC")) {
JZSDK_LOG_INFO("系统时区为 UTC (检测到 /etc/timezone)");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
static T_JZsdkReturnCode set_system_utc()
{
// 1. 检查 root 权限
if (geteuid() != 0) {
JZSDK_LOG_ERROR("修改时区需要 root 权限");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
// 2. 更新 /etc/localtime
system("rm -f /etc/localtime");
system("ln -sf /usr/share/zoneinfo/UTC /etc/localtime");
// 3. 更新 /etc/timezone(如果存在)
system("echo 'UTC' > /etc/timezone 2>/dev/null");
// 4. 通知系统时区变更(如果使用 systemd)
system("timedatectl set-timezone UTC 2>/dev/null");
// 5. 验证是否成功
return is_system_utc();
}
static T_JZsdkReturnCode Attribute_ChangeTimezone()
{
if (is_system_utc() == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_INFO("系统已是 UTC,无需修改");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode ret = set_system_utc();
if (ret == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_INFO("系统时区已永久修改为 UTC");
} else {
JZSDK_LOG_ERROR("修改时区失败");
}
return ret;
}
T_JZsdkReturnCode Attribute_Init()
{
T_JZsdkOsalHandler *OsalHandle = JZsdk_Platform_GetOsalHandler();
//系统时区修改
//Attribute_ChangeTimezone();
int year = 0;
int month = 0;
int day = 0;
int hour = 0;
int minute = 0;
int second = 0;
//将进程修改为UTC时区
setenv("TZ", "UTC", 1); // 强制使用UTC时区
tzset(); // 生效时区设置
Attribute_GetTime_ByI(&year, &month, &day, &hour, &minute, &second);
JZSDK_LOG_INFO("%d-%d-%d %d:%d:%d", year, month, day, hour, minute, second);
//创建任务
T_JZTaskHandle taskHandle = NULL;
OsalHandle->TaskCreate("attribute_task",Attribute_Task, 4096, NULL, &taskHandle);
JZSDK_LOG_INFO("Attribute_Init_Complete");
... ... @@ -161,33 +284,68 @@ T_JZsdkReturnCode Attribute_GetGpsXYZ_ByF(float *x, float *y, float *z)
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
/************************
*
* 获取显示的时间
*
*
* ***********************/
T_JZsdkReturnCode Attribute_GetTime_ByI(int *year, int *month, int *day, int *hour, int *minute, int *second)
// 判断是否为闰年
static bool is_leap_year(uint16_t year) {
return (year % 4 == 0 && year % 100 != 0) || (year % 400 == 0);
}
// 计算日期
static void calculate_date(uint32_t total_days, t_JZdateTime *date) {
// GPS起始时间:1980年1月6日
date->year = 1980;
date->month = 1;
date->day = 6;
while (total_days > 0) {
// 计算当前年是否是闰年
uint16_t days_in_year = is_leap_year(date->year) ? 366 : 365;
if (total_days >= days_in_year) {
total_days -= days_in_year;
date->year++;
} else {
// 处理月份
uint8_t month = date->month;
while (total_days > 0 && month <= 12) {
uint8_t dim = days_in_month[month];
// 闰年2月特殊处理
if (month == 2 && is_leap_year(date->year)) dim++;
if (total_days >= dim) {
total_days -= dim;
month++;
} else {
date->day += total_days;
total_days = 0;
if (date->day > dim) {
date->day -= dim;
month++;
}
}
}
date->month = month;
break;
}
}
}
T_JZsdkReturnCode JZsdk_convert_gpstime(T_JZsdkAttributeGpsTime gpstime, t_JZdateTime *result)
{
// 转换为time_t(注意:这里假设TimeStamp是以秒为单位的Unix时间戳)
// 如果TimeStamp是以毫秒为单位的,你需要将其除以1000
time_t time_t_TimeStamp = (time_t)g_GpsTime; // 注意:这里可能会有截断,如果TimeStamp非常大
// 使用localtime将time_t转换为tm结构体
struct tm *tm_info = localtime(&time_t_TimeStamp);
if (tm_info == NULL)
{
JZSDK_LOG_ERROR("时间转化失败");
return JZ_ERROR_SYSTEM_MODULE_CODE_INVALID_PARAMETER;
}
*year = tm_info->tm_year + 1900;
*month = tm_info->tm_mon + 1;
*day = tm_info->tm_mday;
*hour = tm_info->tm_hour;
*minute = tm_info->tm_min;
*second = tm_info->tm_sec;
//JZSDK_LOG_INFO("获得年份: %d, 月份: %d, 日期: %d, 小时:%d, 分:%d 秒:%d", *year, *month, *day, *hour, *minute, *second);
}
\ No newline at end of file
const U32_t SECONDS_PER_DAY = 86400;
const U32_t SECONDS_PER_HOUR = 3600;
const U8_t SECONDS_PER_MINUTE = 60;
// 计算时分秒
U32_t total_days = gpstime / SECONDS_PER_DAY;
U32_t remaining = gpstime % SECONDS_PER_DAY;
result->hour = remaining / SECONDS_PER_HOUR;
remaining %= SECONDS_PER_HOUR;
result->minute = remaining / SECONDS_PER_MINUTE;
result->second = remaining % SECONDS_PER_MINUTE;
// 计算年月日
calculate_date(total_days, result);
}
... ...
... ... @@ -35,6 +35,9 @@ T_JZsdkAttributeGpsDate Attribute_GetGpsDate();
T_JZsdkReturnCode Attribute_GetGpsXYZ_ByF(float *x, float *y, float *z);
T_JZsdkReturnCode Attribute_GetTime_ByI(int *year, int *month, int *day, int *hour, int *minute, int *second);
T_JZsdkReturnCode Attribute_GetGpsXYZ_ByStr(unsigned char *latitude, unsigned char *longitude, float *z);
T_JZsdkReturnCode Attribute_Init();
T_JZsdkReturnCode JZsdk_convert_gpstime(T_JZsdkAttributeGpsTime gpstime, t_JZdateTime *result);
#ifdef __cplusplus
... ...
... ... @@ -6,6 +6,7 @@
#include "./DeviceMessage/DeviceMessage.h"
#include "DeviceInfo/DeviceInfo.h"
#include "DeviceInfo/HardwareInfo/HardwareInfo.h"
#include "DeviceInfo/Attribute/Attribute.h"
#include "JZsdk_Hal.h"
... ... @@ -53,6 +54,9 @@ T_JZsdkReturnCode DeviceInfo_Init()
//设备信息自打印
//DeviceMessage_PrintDeviceInfo();
//设备属性初始化
Attribute_Init();
JZSDK_LOG_INFO("MODULE_DEVICE_INFO_INIT_COMPLETE");
}
... ...
... ... @@ -355,8 +355,19 @@ static T_JZsdkReturnCode DeviceMessage_Enter_Debug(unsigned char *message)
}
#endif
//显示gps时间
//获取gps时间
T_JZsdkAttributeGpsTime gpsTime = Attribute_GetGpsTime();
t_JZdateTime dt;
JZsdk_convert_gpstime(gpsTime, &dt);
memset(new_message,0,sizeof(new_message));
memset(old_message,0,sizeof(old_message));
snprintf(new_message,MESSAGE_MAX_LEN,"%d-%d-%d-%d-%d-%d\n",dt.year,dt.month,dt.day,dt.hour,dt.minute,dt.second);
snprintf(old_message,MESSAGE_MAX_LEN,"%s",message);
snprintf(message,MESSAGE_MAX_LEN,"%s%s",old_message,new_message);
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
... ...
... ... @@ -55,6 +55,7 @@ T_JZsdkReturnCode IRC_ParamInit(int height, int width, int frameRate, IRC_DealMo
#endif
}
JZSDK_LOG_INFO("IRC参数初始化完成");
return ret;
}
... ...
... ... @@ -25,7 +25,7 @@ extern "C" {
/* Exported functions --------------------------------------------------------*/
#if DEVICE_VERSION == JZ_C1
#if DEVICE_VERSION == JZ_C1 || DEVICE_VERSION == JZ_ST
#define FIRST_WIDTH 320
#define FIRST_HEIGHT 256
... ...
... ... @@ -939,6 +939,45 @@ T_JZsdkReturnCode Megaphone_Init()
/*********
*
* 喊话器初始化 仅tts
*
**********/
T_JZsdkReturnCode Megaphone_Init_OnlyTTs()
{
if (MegaphoneStatusFlag == JZ_FLAGCODE_ON)
{
JZSDK_LOG_ERROR("喊话器已初始化");
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
JZsdk_Malloc((void **)&g_MegaphoneInfo, sizeof(struct MegaphoneInfo));
//音量初始化
Megaphone_Volume_Init();
//TTS功能初始化
Megaphone_TTS_Init();
//根据语言信息设置默认语言
E_LanguageInfo LanguageInfo = LanguageInfo_Get_LanguageInfo();
if (LanguageInfo == LANGUAGE_INFO_CHINESE)
{
int language = 0x01;
Megaphone_TTS_param(JZ_FLAGCODE_SET, MEGAPHONE_TTS_TONE, &language);
}
else
{
int language = 0x11;
Megaphone_TTS_param(JZ_FLAGCODE_SET, MEGAPHONE_TTS_TONE, &language);
}
MegaphoneStatusFlag = JZ_FLAGCODE_ON;
}
/*********
*
* 喊话器参数
*
**********/
... ...
... ... @@ -78,6 +78,7 @@ extern struct MegaphoneInfo *g_MegaphoneInfo;
/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode Megaphone_Init();
T_JZsdkReturnCode Megaphone_Init_OnlyTTs();
T_JZsdkReturnCode Megaphone_TTS_Play(unsigned char *str, unsigned int str_len, int ReplyFlag);
T_JZsdkReturnCode Megaphone_TTS_param(int flagcode, enum MegaphoneTTSParam paramflag, int *value);
T_JZsdkReturnCode Megaphone_Amplifier_param(int flagcode, int *value);
... ...
... ... @@ -15,7 +15,7 @@
#include "Megaphone/Megaphone.h"
#define AUDIO_DIR "/root/sdcard/audio"
#define RECODE_DIR "/root/sdcard/record"
#define RECODE_DIR "/root/record"
//创建一个歌曲节点
static struct AudioMange_Node *g_AudioList = NULL;
... ... @@ -204,7 +204,7 @@ static T_JZsdkReturnCode AudioFile_FreeAudioList()
* 音频文件链表刷新
*
**********/
T_JZsdkReturnCode AudioFile_FlushAudioList()
static T_JZsdkReturnCode AudioFile_FlushAudioList_1()
{
if (g_AudioList_flush_Flag == JZ_FLAGCODE_ON)
{
... ... @@ -301,6 +301,8 @@ T_JZsdkReturnCode AudioFile_FlushAudioList()
snprintf(cmd, sizeof(cmd), "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 %s", fileDir);
JZsdk_RunSystemCmd_ReturnResult(cmd, &(audioInfo.Time));
//AudioDeal_GetAudio_DurationInfo(fileDir, &(audioInfo.Time));
audioInfo.FileNameLen = len;
// 创建新节点
... ... @@ -336,6 +338,130 @@ T_JZsdkReturnCode AudioFile_FlushAudioList()
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
/*********
*
* 音频文件链表刷新(稳定版)
*
**********/
static T_JZsdkReturnCode AudioFile_FlushAudioList_2()
{
if (g_AudioList_flush_Flag == JZ_FLAGCODE_ON)
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
g_AudioList_flush_Flag = JZ_FLAGCODE_ON;
// 创建完整路径缓冲区
char fullpath[PATH_MAX];
struct dirent *entry;
struct stat fileStat;
DIR *dir = NULL;
/* 创建audio目录(如果不存在) */
if (JZsdk_check_directory_exists_posix(AUDIO_DIR) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZsdk_Osal_Mkdir(AUDIO_DIR);
}
/* 安全打开目录 */
if (!(dir = opendir(AUDIO_DIR))) {
JZSDK_LOG_ERROR("打开音频目录失败: %s", strerror(errno));
goto cleanup;
}
/* 清理旧链表 */
if (g_AudioList) {
AudioFile_FreeAudioList();
}
/* 遍历目录条目 */
while ((entry = readdir(dir)) != NULL) {
const char *filename = entry->d_name;
// 跳过特殊目录
if (strcmp(filename, ".") == 0 || strcmp(filename, "..") == 0)
continue;
// 构建完整路径
snprintf(fullpath, sizeof(fullpath), "%s/%s", AUDIO_DIR, filename);
// 获取文件状态
if (lstat(fullpath, &fileStat) < 0) {
JZSDK_LOG_WARN("无法获取文件状态: %s", fullpath);
continue;
}
// 跳过非常规文件(目录/符号链接等)
if (!S_ISREG(fileStat.st_mode)) {
continue;
}
// 扩展名检查(优化版)
const char *ext = strrchr(filename, '.');
if (!ext) continue;
static const char *valid_ext[] = {
"mp3", "wav", "flac", "m4a", "mp2", "wma", "aac",
"MP3", "WAV", "FLAC", "M4A", "MP2", "WMA", "AAC"
};
bool valid = false;
for (size_t i = 0; i < sizeof(valid_ext)/sizeof(valid_ext[0]); i++) {
if (strcasecmp(ext+1, valid_ext[i]) == 0) {
valid = true;
break;
}
}
if (!valid) continue;
/* 创建音频信息结构 */
struct AudioMange_audio_struct audioInfo = {
.FileName = {0},
.FileSize = (uint32_t)fileStat.st_size,
.Time = 0
};
strncpy(audioInfo.FileName, filename, sizeof(audioInfo.FileName)-1);
unsigned char fileDir [256];
snprintf(fileDir, sizeof(fileDir), "/root/sdcard/audio/%s", filename);
//写入文件大小
JZsdk_Fs_ReadFileSize(fileDir, &(audioInfo.FileSize));
JZSDK_LOG_INFO("读取到大小:%d",audioInfo.FileSize);
// //写入时长信息
// unsigned char cmd[256];
// snprintf(cmd, sizeof(cmd), "ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 %s", fileDir);
// JZsdk_RunSystemCmd_ReturnResult(cmd, &(audioInfo.Time));
// JZSDK_LOG_INFO("读取到时长:%d",audioInfo.Time);
/* 创建链表节点 */
struct AudioMange_Node *newNode = NULL;
if (Jzsdk_Create_AndioMange_Node(&newNode, audioInfo) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_ERROR("创建节点失败: %s", filename);
continue;
}
/* 添加到链表 */
Jzsdk_AddAudioNodeToCircularList(&g_AudioList, &g_AudioListtail, &newNode);
g_AudioList_Num++;
}
cleanup:
if (dir) closedir(dir);
g_AudioList_flush_Flag = JZ_FLAGCODE_OFF;
JZsdk_PrintfAuidoNode_AudioList(g_AudioList);
JZSDK_LOG_INFO("刷新歌曲列表已完成");
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_JZsdkReturnCode AudioFile_FlushAudioList()
{
AudioFile_FlushAudioList_1();
}
/*********
*
... ...
... ... @@ -9,13 +9,21 @@
#include "version_choose.h"
#include "JZsdkLib.h"
#define RECODE_DIR "/root/record/"
T_JZsdkReturnCode Espeak_init()
{
char dict_path[]="/root";//设置资源库路径
char wav_save_path[]="/root/sdcard/record/";//设置生成音频路径
char wav_save_path[]=RECODE_DIR;//设置生成音频路径
tts_init(dict_path,wav_save_path);//初始化
printf("espeak_init\n");
//检查record文件夹是否存在
if (JZsdk_check_directory_exists_posix(RECODE_DIR) != JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZsdk_RunSystemCmd("mkdir /root/record");
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
... ...
... ... @@ -248,8 +248,9 @@ static T_JZsdkReturnCode TTS_FILE_GenerateAndPlay(struct t_Megaphone_tts_param *
//获取音源,以及规则
TTS_GetSoundSource(tone, name_tts, name_path, rule);
//如果是方言和男生,则去掉字母
if (tone == 0x31 || tone == 0x32 || tone == 0x33 || tone == 0x34 || tone == 0x35 || tone == 0x36 || tone == 0x02)
//如果是方言和男生,则去掉字母 或者追加音色里有男生
if (tone == 0x31 || tone == 0x32 || tone == 0x33 || tone == 0x34 || tone == 0x35 || tone == 0x36 || tone == 0x02
|| tts_add_mode == 2)
{
remove_letters(argv);
}
... ...
... ... @@ -46,27 +46,54 @@ extern "C" {
#define MAX_VOLUME (61)
#define MAX_TTS_VOLUME (69)
// #define MAX_VOLUME 100
// #define MAX_TTS_VOLUME 100
#elif DEVICE_VERSION == JZ_H10
#define MAX_VOLUME (65)
#define MAX_TTS_VOLUME (70)
// #define MAX_VOLUME (65)
// #define MAX_TTS_VOLUME (70)
//2025 4 10 改滤波 降低到u85%
#define MAX_VOLUME (52)
#define MAX_TTS_VOLUME (57)
#elif DEVICE_VERSION == JZ_H10T
#define MAX_VOLUME (83)
#define MAX_TTS_VOLUME (83)
// #define MAX_VOLUME (83)
// #define MAX_TTS_VOLUME (83)
//2025 4 10 改滤波 降低到u56%
#define MAX_VOLUME (70)
#define MAX_TTS_VOLUME (74)
#elif DEVICE_VERSION == JZ_U3
#define MAX_VOLUME (74)
#define MAX_TTS_VOLUME (82)
// #define MAX_VOLUME (74)
// #define MAX_TTS_VOLUME (82)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (66)
#define MAX_TTS_VOLUME (73)
#elif DEVICE_VERSION == JZ_U3D
#define MAX_VOLUME (73)
#define MAX_TTS_VOLUME (81)
// #define MAX_VOLUME (73)
// #define MAX_TTS_VOLUME (81)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (66)
#define MAX_TTS_VOLUME (73)
#elif DEVICE_VERSION == JZ_U30
#define MAX_VOLUME (74)
#define MAX_TTS_VOLUME (82)
// #define MAX_VOLUME (74)
// #define MAX_TTS_VOLUME (82)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (66)
#define MAX_TTS_VOLUME (73)
#elif DEVICE_VERSION == JZ_U3S
#define MAX_VOLUME (74)
#define MAX_TTS_VOLUME (82)
// #define MAX_VOLUME (74)
// #define MAX_TTS_VOLUME (82)
//2025 4 10 改滤波 降低到u53%
#define MAX_VOLUME (66)
#define MAX_TTS_VOLUME (73)
#elif DEVICE_VERSION == TF_A1
#define MAX_VOLUME (75)
#define MAX_TTS_VOLUME (82)
... ...
... ... @@ -31,7 +31,7 @@ T_JZsdkReturnCode Megphone_Attention()
AudioDeal_Init();
//喊话器初始化
Megaphone_Init();
Megaphone_Init_OnlyTTs();
//播放声音
AttentionVoice_IndependencePlay();
... ...
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"C"
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
... ... @@ -18,6 +17,8 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o"
... ... @@ -32,7 +33,7 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H1_series/JZ_H1E/JZ_h1e.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H1_series/JZ_H1E/JZ_h1e.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c.o"
"/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c.o"
... ... @@ -77,32 +78,14 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c.o"
... ... @@ -127,42 +110,14 @@ set(CMAKE_DEPENDS_CHECK_C
"/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o"
"/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c.o"
"/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c.o"
)
set(CMAKE_C_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_C
"MACRO_AUDIODEAL_MODULE"
"MACRO_MEDIA_PROC_MODULE"
"MACRO_LIGHTING_MODULE"
"MACRO_MEGAPHONE_MODULE"
"MACRO_WIRINGPI_MODULE"
)
# The include file search paths:
... ... @@ -170,45 +125,6 @@ set(CMAKE_C_TARGET_INCLUDE_PATH
"../../../JZsdk_Common"
"../../../JZsdk_Config"
"../../../JZsdk_hal"
"../../../ThirdParty/wiringPi"
"../../../Module/Megaphone"
"../../../Module/Ircut"
"../../../Module/Gimbal"
"../../../Module/Lighting"
"../../../Module/UI_control"
"../../../Module/Camera"
"../../../Module/COMMONManager"
"../../../Module/TestAPP"
"../../../Module/ImageProcessing"
"../../../Module/SerialManagement"
"../../../Module"
"../../../ThirdParty/iFLYTEK_TTS/include"
"../../../ThirdParty/Espeak/include"
"../../../ThirdParty/AlsaLib/include"
"../../../ThirdParty/opus/include"
"../../../ThirdParty/ffmpeg_6_0/include"
"../../../ThirdParty/x264_2245/include"
"../../../ThirdParty/fdk_aac_2_0_3/include"
)
set(CMAKE_DEPENDS_CHECK_CXX
"/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp" "/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
set(CMAKE_TARGET_DEFINITIONS_CXX
"MACRO_AUDIODEAL_MODULE"
"MACRO_MEDIA_PROC_MODULE"
"MACRO_MEGAPHONE_MODULE"
"MACRO_WIRINGPI_MODULE"
)
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"../../../JZsdk_Common"
"../../../JZsdk_Config"
"../../../JZsdk_hal"
"../../../ThirdParty/wiringPi"
"../../../Module/Megaphone"
"../../../Module/Ircut"
"../../../Module/Gimbal"
... ...
file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/application/main.c.o"
"CMakeFiles/ATTENTION_APP.dir/application/Megaphone_Attention.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H1_series/JZ_H1E/JZ_h1e.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdkLib.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DefineCode.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.c.o"
... ... @@ -13,6 +13,8 @@ file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o"
... ... @@ -56,33 +58,14 @@ file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Alsa/Pcm_AlsaPlay.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDeal.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDealThread/AudioDealThread.c.o"
... ... @@ -122,38 +105,11 @@ file(REMOVE_RECURSE
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c.o"
"CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c.o"
"ATTENTION_APP.pdb"
"ATTENTION_APP"
)
# Per-language clean rules from dependency scanning.
foreach(lang C CXX)
foreach(lang C)
include(CMakeFiles/ATTENTION_APP.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()
... ...
... ... @@ -2,16 +2,9 @@
# Generated by "Unix Makefiles" Generator, CMake Version 3.5
# compile C with /usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-gcc
# compile CXX with /usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-g++
C_FLAGS = -pthread -std=gnu99 -lm -ldl -lstdc++ -D COMPILE_MODE_MODULE
C_DEFINES = -DMACRO_AUDIODEAL_MODULE -DMACRO_MEDIA_PROC_MODULE -DMACRO_MEGAPHONE_MODULE -DMACRO_WIRINGPI_MODULE
C_DEFINES = -DMACRO_AUDIODEAL_MODULE -DMACRO_LIGHTING_MODULE -DMACRO_MEGAPHONE_MODULE
C_INCLUDES = -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Common -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Config -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_hal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/wiringPi -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Megaphone -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Ircut -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Gimbal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Lighting -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/UI_control -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Camera -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/COMMONManager -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/TestAPP -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/ImageProcessing -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/SerialManagement -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/AlsaLib/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/include
CXX_FLAGS = -D COMPILE_MODE_MODULE
CXX_DEFINES = -DMACRO_AUDIODEAL_MODULE -DMACRO_MEDIA_PROC_MODULE -DMACRO_MEGAPHONE_MODULE -DMACRO_WIRINGPI_MODULE
CXX_INCLUDES = -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Common -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Config -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_hal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/wiringPi -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Megaphone -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Ircut -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Gimbal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Lighting -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/UI_control -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Camera -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/COMMONManager -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/TestAPP -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/ImageProcessing -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/SerialManagement -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/AlsaLib/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/include
C_INCLUDES = -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Common -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_Config -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../JZsdk_hal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Megaphone -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Ircut -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Gimbal -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Lighting -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/UI_control -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/Camera -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/COMMONManager -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/TestAPP -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/ImageProcessing -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module/SerialManagement -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../Module -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/AlsaLib/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/include -I/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/include
... ...
/usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-g++ -pthread CMakeFiles/ATTENTION_APP.dir/application/main.c.o CMakeFiles/ATTENTION_APP.dir/application/Megaphone_Attention.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H150S_H150T/JZ_h150s_h150t.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdkLib.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DefineCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode/JZsdk_ReturnCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComParsion.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_MemoryAdapter/JZsdk_MemoryAdapter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Mutex/JZsdk_Mutex.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Osal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Semaphore/JZsdk_Semaphore.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Task/JZsdk_Task.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Timer/JZsdk_Timer.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/Lwrb/lwrb.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1_RecvDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend_type1/HalSend_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_Hal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_haldata_deal/JZsdk_data_transmisson.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_network/JZsdk_network.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart_UartDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_usb_bulk/JZsdk_usb_bulk.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/Attribute/Attribute.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceMessage/DeviceMessage.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/HardwareInfo/HardwareInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/LanguageInfo/LanguageInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/ActivateMAT/ActivateMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/Country_Code.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/FirewareOriginMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/SerialProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_DataDeal/Gimbal_DataDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_MotorFineTuning/MotorFineTuning.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_SpecialUart/Gimbal_SpecialUart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/H3_ircut/H3_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Camera.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_FrameCatch/Cam_FrameCatch.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/Cam_Zoom/Cam_Zoom.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_CameraParameterSetting.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/Camera/V4L2_camera/V4L2_Record2.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/BadPixelProc/BadPixelProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/ImageProc/PseudoColor/PseudoColor.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_data_deal/IRC_data_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/IRC_funtion.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/JZIRC_LibProc/JZIRC_Lib.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MediaProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/MultProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Dec/RTK_mmp_dec.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/Enc/RTK_mmp_enc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/MultProc/RTK_mmp/RTK_mmp.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/RgaProc/RK_Rga/RK_Rga.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Buffer.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Multi.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoMgmt_Thread_Single.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPhoto/VideoStream_ShootPhoto.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamPush/VideoStream_Push.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamRecord/VideoStream_Record.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/ffmpeg_VideoTranscode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/VideoMgmt/VideoStreamTransCode/VideoStreamTransCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/MediaProc/IRC_funtion/KtLibProc/KtLibProc.cpp.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Alsa/Pcm_AlsaPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDealThread/AudioDealThread.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/AudioFile_Stream_Deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/File_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/pcm_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/FF_Filter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/SoxFiliter/SoxFilter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/NoiseReduction/NoiseReduction.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Resample/pcm_Resample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Megaphone.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/AudioFile_PlayDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/Megaphone_AudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/RealTimeMP2/Megaphone_RealTimeMP2.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFilePlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFileSave.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/RealTimeVoice/Megaphone_RealTimeVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PlayBack/Megaphone_PlayBack.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PowerSimulation/Meg_PowerSimulation.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/cnTTS/cnTTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Espeak_tts/Espeak_tts.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Megaphone_TTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Volume/volume.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/CommonMod.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/HeartBeat/HeartBeat.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PowerManger/PowerManger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PresetTask/PresetTask.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/Upgrade/Upgrade.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Dji_Control/DJI_VideoDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Psdk_UI_io.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/UI_control.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/boardtype_friendlyelec.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/drcSerial.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max31855.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/max5322.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23008.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23016.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23017.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s08.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp23s17.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3002.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3004.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp3422.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/mcp4802.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8574.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/pcf8591.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piHiPri.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/piThread.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sn3218.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softPwm.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softServo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/softTone.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/sr595.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPi.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiI2C.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringPiSPI.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringSerial.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/ThirdParty/wiringPi/wiringShift.c.o -o ATTENTION_APP -L/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf -rdynamic -lmsc ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libportaudio.so.2 ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libTTS_Player.so ../../../ThirdParty/AlsaLib/lib/arm-cortexa9-linux-gnueabihf/libasound.so.2.0.0 ../../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf/libopus.so ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavcodec.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavdevice.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavfilter.so.9 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavformat.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavutil.so.58 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libpostproc.so.57 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswresample.so.4 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswscale.so.7 ../../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf/libx264.so.157 ../../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf/libfdk-aac.so.2 -Wl,-rpath,/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf
/usr/local/arm/4.9.3/bin/arm-cortexa9-linux-gnueabihf-gcc -pthread -std=gnu99 -lm -ldl -lstdc++ -pthread CMakeFiles/ATTENTION_APP.dir/application/main.c.o CMakeFiles/ATTENTION_APP.dir/application/Megaphone_Attention.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/DeviceSample/JZ_H1_series/JZ_H1E/JZ_h1e.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdkLib.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DefineCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_DeviceCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Code/JZsdk_ReturnCode/JZsdk_ReturnCode.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComParsion.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_5Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Aframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_FrameComparsion_6Bframe.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_FrameComparsion/JZsdk_GetFrameTemplate.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_Logger_Init.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Logger/JZsdk_monitor.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/CheckSum_Src.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_CheckSum/JZsdk_CheckSum.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_FileSystm/JZsdk_FileSystm.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_MemoryAdapter/JZsdk_MemoryAdapter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Mutex/JZsdk_Mutex.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Osal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Semaphore/JZsdk_Semaphore.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Task/JZsdk_Task.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/JZsdk_Osal/JZsdk_Timer/JZsdk_Timer.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_Base/Lwrb/lwrb.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_CommonFuntion/JZsdk_string/JZsdk_string.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskManagement.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Common/JZsdk_TaskManagement/TaskMgmt_sample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/BaseConfig.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_Config/ParamterParsing.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Recv/HalRecv_type1/HalRecv_type1_RecvDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/Hal_Send/HalSend_type1/HalSend_type1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_Hal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_haldata_deal/JZsdk_data_transmisson.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_network/JZsdk_network.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_uart/JZsdk_Uart_UartDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/JZsdk_hal/JZsdk_usb_bulk/JZsdk_usb_bulk.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/Attribute/Attribute.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/DeviceMessage/DeviceMessage.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/HardwareInfo/HardwareInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/LanguageInfo/LanguageInfo.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/ActivateMAT/ActivateMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/Country_Code.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/FirewareOriginMAT/FirewareOriginMAT.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/DeviceInfo/SerialNumberProc/SerialProc.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_DataDeal/Gimbal_DataDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_MotorFineTuning/MotorFineTuning.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Gimbal/Gimbal_SpecialUart/Gimbal_SpecialUart.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/H3_ircut/H3_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/Sysfs_gpio/Sysfs_gpio.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Ircut/V3s_ircut/V3s_ircut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/Lighting_InAndOut.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/JZ_SearchLightTemp_calculation.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLightTemControl/SearchLightTemControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_H1T/SearchLight_V3S_H1T.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_TFA1/SearchLight_V3S_TFA1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/SearchLight/SearchLight_V3S/SearchLight_V3S_U3/SearchLight_V3S_U3.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_H1T/WarningLight_V3S_H1T.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Lighting/WarningLight/WarningLight_V3S/WarningLight_V3S_TFA1/WarningLight_V3S_TFA1.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Alsa/Pcm_AlsaPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioDealThread/AudioDealThread.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/AudioFile_Stream_Deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/File_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/AudioStreamDeal/pcm_Stream_deal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/FF_Filter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Filter/SoxFiliter/SoxFilter.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/NoiseReduction/NoiseReduction.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/AudioDeal/Resample/pcm_Resample.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AttentionVoice/AttentionVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/AudioMange/AudioMange.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Megaphone.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/MegTempControl/MegTempControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/AudioFile_PlayDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/AudioFile/Megaphone_AudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Music/RealTimeMP2/Megaphone_RealTimeMP2.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFilePlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/OpusFile/OpusFileSave.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Opus/RealTimeVoice/Megaphone_RealTimeVoice.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioFile.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PcmAudio/PcmAudioPlay.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PlayBack/Megaphone_PlayBack.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/PowerSimulation/Meg_PowerSimulation.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/cnTTS/cnTTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Espeak_tts/Espeak_tts.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/TTS/Megaphone_TTS.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/Megaphone/Volume/volume.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/CommonMod.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/HeartBeat/HeartBeat.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PowerManger/PowerManger.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/PresetTask/PresetTask.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/CommonMod/Upgrade/Upgrade.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Dji_Control/DJI_VideoDeal.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/Psdk_UI_io.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/UI_control.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_Widget.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetControl.c.o CMakeFiles/ATTENTION_APP.dir/mnt/hgfs/share/JZSDK_Linux/Module/UI_control/WidegMgmt/JZsdk_WidgetIndex.c.o -o ATTENTION_APP -L/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf -rdynamic -lmsc ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libportaudio.so.2 ../../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf/libTTS_Player.so ../../../ThirdParty/AlsaLib/lib/arm-cortexa9-linux-gnueabihf/libasound.so.2.0.0 ../../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf/libopus.so ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavcodec.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavdevice.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavfilter.so.9 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavformat.so.60 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libavutil.so.58 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libpostproc.so.57 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswresample.so.4 ../../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf/libswscale.so.7 ../../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf/libx264.so.157 ../../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf/libfdk-aac.so.2 -Wl,-rpath,/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/iFLYTEK_TTS/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/Espeak/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/opus/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/ffmpeg_6_0/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/x264_2245/lib/arm-cortexa9-linux-gnueabihf:/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/../../ThirdParty/fdk_aac_2_0_3/lib/arm-cortexa9-linux-gnueabihf
... ...
CMAKE_PROGRESS_1 =
CMAKE_PROGRESS_2 = 1
CMAKE_PROGRESS_3 =
CMAKE_PROGRESS_4 = 2
CMAKE_PROGRESS_5 = 3
CMAKE_PROGRESS_6 =
CMAKE_PROGRESS_7 = 4
CMAKE_PROGRESS_8 = 5
CMAKE_PROGRESS_9 =
CMAKE_PROGRESS_10 = 6
CMAKE_PROGRESS_11 = 7
CMAKE_PROGRESS_12 =
CMAKE_PROGRESS_13 = 8
CMAKE_PROGRESS_14 = 9
CMAKE_PROGRESS_15 =
CMAKE_PROGRESS_16 = 10
CMAKE_PROGRESS_17 = 11
CMAKE_PROGRESS_18 =
CMAKE_PROGRESS_19 = 12
CMAKE_PROGRESS_20 = 13
CMAKE_PROGRESS_21 =
CMAKE_PROGRESS_22 = 14
CMAKE_PROGRESS_23 = 15
CMAKE_PROGRESS_24 =
CMAKE_PROGRESS_25 = 16
CMAKE_PROGRESS_26 = 17
CMAKE_PROGRESS_27 =
CMAKE_PROGRESS_28 = 18
CMAKE_PROGRESS_29 = 19
CMAKE_PROGRESS_30 =
CMAKE_PROGRESS_31 = 20
CMAKE_PROGRESS_32 = 21
CMAKE_PROGRESS_33 =
CMAKE_PROGRESS_34 = 22
CMAKE_PROGRESS_35 = 23
CMAKE_PROGRESS_36 =
CMAKE_PROGRESS_37 = 24
CMAKE_PROGRESS_38 = 25
CMAKE_PROGRESS_39 =
CMAKE_PROGRESS_40 = 26
CMAKE_PROGRESS_41 = 27
CMAKE_PROGRESS_42 =
CMAKE_PROGRESS_43 = 28
CMAKE_PROGRESS_44 = 29
CMAKE_PROGRESS_45 =
CMAKE_PROGRESS_46 = 30
CMAKE_PROGRESS_47 = 31
CMAKE_PROGRESS_48 =
CMAKE_PROGRESS_49 = 32
CMAKE_PROGRESS_50 = 33
CMAKE_PROGRESS_51 =
CMAKE_PROGRESS_52 = 34
CMAKE_PROGRESS_53 = 35
CMAKE_PROGRESS_54 =
CMAKE_PROGRESS_55 = 36
CMAKE_PROGRESS_56 = 37
CMAKE_PROGRESS_57 =
CMAKE_PROGRESS_58 = 38
CMAKE_PROGRESS_59 = 39
CMAKE_PROGRESS_60 =
CMAKE_PROGRESS_61 = 40
CMAKE_PROGRESS_62 = 41
CMAKE_PROGRESS_63 =
CMAKE_PROGRESS_64 = 42
CMAKE_PROGRESS_65 = 43
CMAKE_PROGRESS_66 =
CMAKE_PROGRESS_67 = 44
CMAKE_PROGRESS_68 = 45
CMAKE_PROGRESS_69 =
CMAKE_PROGRESS_70 = 46
CMAKE_PROGRESS_71 = 47
CMAKE_PROGRESS_72 =
CMAKE_PROGRESS_73 = 48
CMAKE_PROGRESS_74 = 49
CMAKE_PROGRESS_75 =
CMAKE_PROGRESS_76 = 50
CMAKE_PROGRESS_3 = 2
CMAKE_PROGRESS_4 = 3
CMAKE_PROGRESS_5 = 4
CMAKE_PROGRESS_6 = 5
CMAKE_PROGRESS_7 = 6
CMAKE_PROGRESS_8 = 7
CMAKE_PROGRESS_9 = 8
CMAKE_PROGRESS_10 = 9
CMAKE_PROGRESS_11 = 10
CMAKE_PROGRESS_12 = 11
CMAKE_PROGRESS_13 = 12
CMAKE_PROGRESS_14 = 13
CMAKE_PROGRESS_15 = 14
CMAKE_PROGRESS_16 =
CMAKE_PROGRESS_17 = 15
CMAKE_PROGRESS_18 = 16
CMAKE_PROGRESS_19 = 17
CMAKE_PROGRESS_20 = 18
CMAKE_PROGRESS_21 = 19
CMAKE_PROGRESS_22 = 20
CMAKE_PROGRESS_23 = 21
CMAKE_PROGRESS_24 = 22
CMAKE_PROGRESS_25 = 23
CMAKE_PROGRESS_26 = 24
CMAKE_PROGRESS_27 = 25
CMAKE_PROGRESS_28 = 26
CMAKE_PROGRESS_29 = 27
CMAKE_PROGRESS_30 = 28
CMAKE_PROGRESS_31 =
CMAKE_PROGRESS_32 = 29
CMAKE_PROGRESS_33 = 30
CMAKE_PROGRESS_34 = 31
CMAKE_PROGRESS_35 = 32
CMAKE_PROGRESS_36 = 33
CMAKE_PROGRESS_37 = 34
CMAKE_PROGRESS_38 = 35
CMAKE_PROGRESS_39 = 36
CMAKE_PROGRESS_40 = 37
CMAKE_PROGRESS_41 = 38
CMAKE_PROGRESS_42 = 39
CMAKE_PROGRESS_43 = 40
CMAKE_PROGRESS_44 = 41
CMAKE_PROGRESS_45 = 42
CMAKE_PROGRESS_46 =
CMAKE_PROGRESS_47 = 43
CMAKE_PROGRESS_48 = 44
CMAKE_PROGRESS_49 = 45
CMAKE_PROGRESS_50 = 46
CMAKE_PROGRESS_51 = 47
CMAKE_PROGRESS_52 = 48
CMAKE_PROGRESS_53 = 49
CMAKE_PROGRESS_54 = 50
CMAKE_PROGRESS_55 = 51
CMAKE_PROGRESS_56 = 52
CMAKE_PROGRESS_57 = 53
CMAKE_PROGRESS_58 = 54
CMAKE_PROGRESS_59 = 55
CMAKE_PROGRESS_60 = 56
CMAKE_PROGRESS_61 = 57
CMAKE_PROGRESS_62 =
CMAKE_PROGRESS_63 = 58
CMAKE_PROGRESS_64 = 59
CMAKE_PROGRESS_65 = 60
CMAKE_PROGRESS_66 = 61
CMAKE_PROGRESS_67 = 62
CMAKE_PROGRESS_68 = 63
CMAKE_PROGRESS_69 = 64
CMAKE_PROGRESS_70 = 65
CMAKE_PROGRESS_71 = 66
CMAKE_PROGRESS_72 = 67
CMAKE_PROGRESS_73 = 68
CMAKE_PROGRESS_74 = 69
CMAKE_PROGRESS_75 = 70
CMAKE_PROGRESS_76 = 71
CMAKE_PROGRESS_77 =
CMAKE_PROGRESS_78 = 51
CMAKE_PROGRESS_79 = 52
CMAKE_PROGRESS_80 =
CMAKE_PROGRESS_81 = 53
CMAKE_PROGRESS_82 = 54
CMAKE_PROGRESS_83 =
CMAKE_PROGRESS_84 = 55
CMAKE_PROGRESS_85 = 56
CMAKE_PROGRESS_86 =
CMAKE_PROGRESS_87 = 57
CMAKE_PROGRESS_88 = 58
CMAKE_PROGRESS_89 =
CMAKE_PROGRESS_90 = 59
CMAKE_PROGRESS_91 = 60
CMAKE_PROGRESS_78 = 72
CMAKE_PROGRESS_79 = 73
CMAKE_PROGRESS_80 = 74
CMAKE_PROGRESS_81 = 75
CMAKE_PROGRESS_82 = 76
CMAKE_PROGRESS_83 = 77
CMAKE_PROGRESS_84 = 78
CMAKE_PROGRESS_85 = 79
CMAKE_PROGRESS_86 = 80
CMAKE_PROGRESS_87 = 81
CMAKE_PROGRESS_88 = 82
CMAKE_PROGRESS_89 = 83
CMAKE_PROGRESS_90 = 84
CMAKE_PROGRESS_91 = 85
CMAKE_PROGRESS_92 =
CMAKE_PROGRESS_93 = 61
CMAKE_PROGRESS_94 = 62
CMAKE_PROGRESS_95 =
CMAKE_PROGRESS_96 = 63
CMAKE_PROGRESS_97 = 64
CMAKE_PROGRESS_98 =
CMAKE_PROGRESS_99 = 65
CMAKE_PROGRESS_100 = 66
CMAKE_PROGRESS_101 =
CMAKE_PROGRESS_102 = 67
CMAKE_PROGRESS_103 = 68
CMAKE_PROGRESS_104 =
CMAKE_PROGRESS_105 = 69
CMAKE_PROGRESS_106 = 70
CMAKE_PROGRESS_107 =
CMAKE_PROGRESS_108 = 71
CMAKE_PROGRESS_109 = 72
CMAKE_PROGRESS_110 =
CMAKE_PROGRESS_111 = 73
CMAKE_PROGRESS_112 = 74
CMAKE_PROGRESS_113 =
CMAKE_PROGRESS_114 = 75
CMAKE_PROGRESS_115 = 76
CMAKE_PROGRESS_116 =
CMAKE_PROGRESS_117 = 77
CMAKE_PROGRESS_118 = 78
CMAKE_PROGRESS_119 =
CMAKE_PROGRESS_120 = 79
CMAKE_PROGRESS_121 = 80
CMAKE_PROGRESS_122 =
CMAKE_PROGRESS_123 = 81
CMAKE_PROGRESS_124 = 82
CMAKE_PROGRESS_125 =
CMAKE_PROGRESS_126 = 83
CMAKE_PROGRESS_127 = 84
CMAKE_PROGRESS_128 =
CMAKE_PROGRESS_129 = 85
CMAKE_PROGRESS_130 = 86
CMAKE_PROGRESS_131 =
CMAKE_PROGRESS_132 = 87
CMAKE_PROGRESS_133 = 88
CMAKE_PROGRESS_134 =
CMAKE_PROGRESS_135 = 89
CMAKE_PROGRESS_136 = 90
CMAKE_PROGRESS_137 =
CMAKE_PROGRESS_138 = 91
CMAKE_PROGRESS_139 = 92
CMAKE_PROGRESS_140 =
CMAKE_PROGRESS_141 = 93
CMAKE_PROGRESS_142 = 94
CMAKE_PROGRESS_143 =
CMAKE_PROGRESS_144 = 95
CMAKE_PROGRESS_145 = 96
CMAKE_PROGRESS_146 =
CMAKE_PROGRESS_147 = 97
CMAKE_PROGRESS_148 = 98
CMAKE_PROGRESS_149 =
CMAKE_PROGRESS_150 = 99
CMAKE_PROGRESS_151 = 100
CMAKE_PROGRESS_93 = 86
CMAKE_PROGRESS_94 = 87
CMAKE_PROGRESS_95 = 88
CMAKE_PROGRESS_96 = 89
CMAKE_PROGRESS_97 = 90
CMAKE_PROGRESS_98 = 91
CMAKE_PROGRESS_99 = 92
CMAKE_PROGRESS_100 = 93
CMAKE_PROGRESS_101 = 94
CMAKE_PROGRESS_102 = 95
CMAKE_PROGRESS_103 = 96
CMAKE_PROGRESS_104 = 97
CMAKE_PROGRESS_105 = 98
CMAKE_PROGRESS_106 = 99
CMAKE_PROGRESS_107 = 100
... ...
... ... @@ -28,28 +28,28 @@ The CXX compiler identification is GNU, found in "/mnt/hgfs/share/JZSDK_Linux/pr
Determining if the C compiler works passed with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_16b89/fast"
/usr/bin/make -f CMakeFiles/cmTC_16b89.dir/build.make CMakeFiles/cmTC_16b89.dir/build
Run Build Command:"/usr/bin/make" "cmTC_1165a/fast"
/usr/bin/make -f CMakeFiles/cmTC_1165a.dir/build.make CMakeFiles/cmTC_1165a.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_16b89.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_16b89.dir/testCCompiler.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_16b89
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16b89.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_16b89.dir/testCCompiler.c.o -o cmTC_16b89 -rdynamic
Building C object CMakeFiles/cmTC_1165a.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTC_1165a.dir/testCCompiler.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_1165a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1165a.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_1165a.dir/testCCompiler.c.o -o cmTC_1165a -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_31610/fast"
/usr/bin/make -f CMakeFiles/cmTC_31610.dir/build.make CMakeFiles/cmTC_31610.dir/build
Run Build Command:"/usr/bin/make" "cmTC_04826/fast"
/usr/bin/make -f CMakeFiles/cmTC_04826.dir/build.make CMakeFiles/cmTC_04826.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_31610
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31610.dir/link.txt --verbose=1
/usr/bin/cc -v CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -o cmTC_31610 -rdynamic
Building C object CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_04826
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04826.dir/link.txt --verbose=1
/usr/bin/cc -v CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o -o cmTC_04826 -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
... ... @@ -59,8 +59,8 @@ Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
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/
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/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_31610' '-rdynamic' '-mtune=generic' '-march=x86-64'
/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/ccgWce3S.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_31610 /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_31610.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
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_04826' '-rdynamic' '-mtune=generic' '-march=x86-64'
/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/ccnvyM4V.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_04826 /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_04826.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
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -68,14 +68,14 @@ Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_31610/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_31610.dir/build.make CMakeFiles/cmTC_31610.dir/build]
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_04826/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_04826.dir/build.make CMakeFiles/cmTC_04826.dir/build]
ignore line: [make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_31610]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_31610.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o -o cmTC_31610 -rdynamic ]
ignore line: [Building C object CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.5/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_04826]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04826.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o -o cmTC_04826 -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
... ... @@ -85,13 +85,13 @@ Parsed C implicit link information from above output:
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ]
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/]
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/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_31610' '-rdynamic' '-mtune=generic' '-march=x86-64']
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/ccgWce3S.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_31610 /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_31610.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]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_04826' '-rdynamic' '-mtune=generic' '-march=x86-64']
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/ccnvyM4V.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_04826 /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_04826.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]
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccgWce3S.res] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccnvyM4V.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
... ... @@ -109,7 +109,7 @@ Parsed C implicit link information from above output:
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_31610] ==> ignore
arg [cmTC_04826] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
... ... @@ -121,7 +121,7 @@ Parsed C implicit link information from above output:
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
arg [CMakeFiles/cmTC_31610.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [CMakeFiles/cmTC_04826.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
... ... @@ -155,14 +155,14 @@ Parsed C implicit link information from above output:
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_d022c/fast"
/usr/bin/make -f CMakeFiles/cmTC_d022c.dir/build.make CMakeFiles/cmTC_d022c.dir/build
Run Build Command:"/usr/bin/make" "cmTC_c80b2/fast"
/usr/bin/make -f CMakeFiles/cmTC_c80b2.dir/build.make CMakeFiles/cmTC_c80b2.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d022c.dir/feature_tests.c.o
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_d022c.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_d022c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d022c.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_d022c.dir/feature_tests.c.o -o cmTC_d022c -rdynamic
Building C object CMakeFiles/cmTC_c80b2.dir/feature_tests.c.o
/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_c80b2.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_c80b2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c80b2.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_c80b2.dir/feature_tests.c.o -o cmTC_c80b2 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -175,14 +175,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_45281/fast"
/usr/bin/make -f CMakeFiles/cmTC_45281.dir/build.make CMakeFiles/cmTC_45281.dir/build
Run Build Command:"/usr/bin/make" "cmTC_c2d17/fast"
/usr/bin/make -f CMakeFiles/cmTC_c2d17.dir/build.make CMakeFiles/cmTC_c2d17.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_45281.dir/feature_tests.c.o
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_45281.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_45281
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_45281.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_45281.dir/feature_tests.c.o -o cmTC_45281 -rdynamic
Building C object CMakeFiles/cmTC_c2d17.dir/feature_tests.c.o
/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_c2d17.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_c2d17
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2d17.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_c2d17.dir/feature_tests.c.o -o cmTC_c2d17 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -195,14 +195,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b1470/fast"
/usr/bin/make -f CMakeFiles/cmTC_b1470.dir/build.make CMakeFiles/cmTC_b1470.dir/build
Run Build Command:"/usr/bin/make" "cmTC_f5ff6/fast"
/usr/bin/make -f CMakeFiles/cmTC_f5ff6.dir/build.make CMakeFiles/cmTC_f5ff6.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_b1470.dir/feature_tests.c.o
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_b1470.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_b1470
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1470.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_b1470.dir/feature_tests.c.o -o cmTC_b1470 -rdynamic
Building C object CMakeFiles/cmTC_f5ff6.dir/feature_tests.c.o
/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_f5ff6.dir/feature_tests.c.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_f5ff6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f5ff6.dir/link.txt --verbose=1
/usr/bin/cc CMakeFiles/cmTC_f5ff6.dir/feature_tests.c.o -o cmTC_f5ff6 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -213,28 +213,28 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Determining if the CXX compiler works passed with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a5304/fast"
/usr/bin/make -f CMakeFiles/cmTC_a5304.dir/build.make CMakeFiles/cmTC_a5304.dir/build
Run Build Command:"/usr/bin/make" "cmTC_b1f79/fast"
/usr/bin/make -f CMakeFiles/cmTC_b1f79.dir/build.make CMakeFiles/cmTC_b1f79.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_a5304.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_a5304.dir/testCXXCompiler.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_a5304
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a5304.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_a5304.dir/testCXXCompiler.cxx.o -o cmTC_a5304 -rdynamic
Building CXX object CMakeFiles/cmTC_b1f79.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTC_b1f79.dir/testCXXCompiler.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_b1f79
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1f79.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_b1f79.dir/testCXXCompiler.cxx.o -o cmTC_b1f79 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8f7b9/fast"
/usr/bin/make -f CMakeFiles/cmTC_8f7b9.dir/build.make CMakeFiles/cmTC_8f7b9.dir/build
Run Build Command:"/usr/bin/make" "cmTC_d499b/fast"
/usr/bin/make -f CMakeFiles/cmTC_d499b.dir/build.make CMakeFiles/cmTC_d499b.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_8f7b9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f7b9.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8f7b9 -rdynamic
Building CXX object CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_d499b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d499b.dir/link.txt --verbose=1
/usr/bin/c++ -v CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_d499b -rdynamic
Using built-in specs.
COLLECT_GCC=/usr/bin/c++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
... ... @@ -244,8 +244,8 @@ Thread model: posix
gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)
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/
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/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8f7b9' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/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/ccu6JmuP.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_8f7b9 /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_8f7b9.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
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_d499b' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/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/ccw4JZic.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_d499b /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_d499b.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
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -253,14 +253,14 @@ Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_8f7b9/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_8f7b9.dir/build.make CMakeFiles/cmTC_8f7b9.dir/build]
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_d499b/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_d499b.dir/build.make CMakeFiles/cmTC_d499b.dir/build]
ignore line: [make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_8f7b9]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8f7b9.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8f7b9 -rdynamic ]
ignore line: [Building CXX object CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.5/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_d499b]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d499b.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_d499b -rdynamic ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper]
... ... @@ -270,13 +270,13 @@ Parsed CXX implicit link information from above output:
ignore line: [gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12) ]
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/]
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/]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_8f7b9' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
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/ccu6JmuP.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_8f7b9 /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_8f7b9.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]
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_d499b' '-rdynamic' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
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/ccw4JZic.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_d499b /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_d499b.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]
arg [/usr/lib/gcc/x86_64-linux-gnu/5/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccu6JmuP.res] ==> ignore
arg [-plugin-opt=-fresolution=/tmp/ccw4JZic.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
... ... @@ -294,7 +294,7 @@ Parsed CXX implicit link information from above output:
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-zrelro] ==> ignore
arg [-o] ==> ignore
arg [cmTC_8f7b9] ==> ignore
arg [cmTC_d499b] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crti.o] ==> ignore
arg [/usr/lib/gcc/x86_64-linux-gnu/5/crtbegin.o] ==> ignore
... ... @@ -306,7 +306,7 @@ Parsed CXX implicit link information from above output:
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/5/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/5/../../..]
arg [CMakeFiles/cmTC_8f7b9.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [CMakeFiles/cmTC_d499b.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
... ... @@ -338,14 +338,14 @@ Parsed CXX implicit link information from above output:
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_e6b93/fast"
/usr/bin/make -f CMakeFiles/cmTC_e6b93.dir/build.make CMakeFiles/cmTC_e6b93.dir/build
Run Build Command:"/usr/bin/make" "cmTC_f36b2/fast"
/usr/bin/make -f CMakeFiles/cmTC_f36b2.dir/build.make CMakeFiles/cmTC_f36b2.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_e6b93.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_e6b93.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_e6b93
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e6b93.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_e6b93.dir/feature_tests.cxx.o -o cmTC_e6b93 -rdynamic
Building CXX object CMakeFiles/cmTC_f36b2.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_f36b2.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_f36b2
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f36b2.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_f36b2.dir/feature_tests.cxx.o -o cmTC_f36b2 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -411,14 +411,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c7b32/fast"
/usr/bin/make -f CMakeFiles/cmTC_c7b32.dir/build.make CMakeFiles/cmTC_c7b32.dir/build
Run Build Command:"/usr/bin/make" "cmTC_c42d3/fast"
/usr/bin/make -f CMakeFiles/cmTC_c42d3.dir/build.make CMakeFiles/cmTC_c42d3.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c7b32.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_c7b32.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c7b32
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c7b32.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_c7b32.dir/feature_tests.cxx.o -o cmTC_c7b32 -rdynamic
Building CXX object CMakeFiles/cmTC_c42d3.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_c42d3.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c42d3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c42d3.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_c42d3.dir/feature_tests.cxx.o -o cmTC_c42d3 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ... @@ -484,14 +484,14 @@ make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_68e1e/fast"
/usr/bin/make -f CMakeFiles/cmTC_68e1e.dir/build.make CMakeFiles/cmTC_68e1e.dir/build
Run Build Command:"/usr/bin/make" "cmTC_cf109/fast"
/usr/bin/make -f CMakeFiles/cmTC_cf109.dir/build.make CMakeFiles/cmTC_cf109.dir/build
make[1]: Entering directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_68e1e.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_68e1e.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_68e1e
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_68e1e.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_68e1e.dir/feature_tests.cxx.o -o cmTC_68e1e -rdynamic
Building CXX object CMakeFiles/cmTC_cf109.dir/feature_tests.cxx.o
/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_cf109.dir/feature_tests.cxx.o -c /mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_cf109
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cf109.dir/link.txt --verbose=1
/usr/bin/c++ CMakeFiles/cmTC_cf109.dir/feature_tests.cxx.o -o cmTC_cf109 -rdynamic
make[1]: Leaving directory '/mnt/hgfs/share/JZSDK_Linux/project_build/Attention_提示程序/build/CMakeFiles/CMakeTmp'
... ...
... ... @@ -45,6 +45,7 @@
#include "JZsdkLib.h"
#include "BaseConfig.h"
#include "JZsdk_haldata_deal/JZsdk_data_transmisson.h"
#include "DeviceInfo/DeviceInfo.h"
/* Private constants ---------------------------------------------------------*/
... ... @@ -438,7 +439,7 @@ static T_DjiReturnCode ReceiveDataFromPayload3(const uint8_t *data, uint16_t len
return ReceiveDataFromPayload(data, len);
}
static int DebugModeCheck(unsigned char *data, unsigned int len)
static T_JZsdkReturnCode JZsdk_Compare_DebugMode(unsigned char *data, unsigned int len)
{
if (len == sizeof("#debugmode#") - 1) // 减去终止符 '\0'
{
... ... @@ -449,22 +450,71 @@ static int DebugModeCheck(unsigned char *data, unsigned int len)
{
if (data[i] != debugStr[i])
{
return -1;
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
}
else
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
static T_JZsdkReturnCode JZsdk_Compare_LanguageInfo(unsigned char *data, unsigned int len)
{
if(len == sizeof("#languageE#") - 1)//检查是否是修改语言
{
return -1;
if (data[0] == '#' && data[len - 1] == '#') // 检查第一个和最后一个字符
{
unsigned char debugStr[] = "#languageE#";
for (int i = 0; i < len - 2; i++)
{
if (data[i] != debugStr[i])
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
}
if(data[len - 2] == 'E' || data[len - 2] == 'e')
{
LanguageInfo_Write_LanguageInfo(LANGUAGE_INFO_ENGLISH);
}
else if(data[len - 2] == 'C' || data[len - 2] == 'c')
{
LanguageInfo_Write_LanguageInfo(LANGUAGE_INFO_CHINESE);
}
else
{
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
return JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
}
if(JZsdk_create_file("/root/ShakedownTest") == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
return JZ_ERROR_SYSTEM_MODULE_CODE_FAILURE;
}
static int DebugModeCheck(unsigned char *data, unsigned int len)
{
if (JZsdk_Compare_DebugMode(data, len) == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_INFO("已开启shakedownTest调试模式");
if(JZsdk_create_file("/root/ShakedownTest") == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
JZSDK_LOG_INFO("已开启shakedownTest调试模式");
}
return 0;
}
return 0;
if (JZsdk_Compare_LanguageInfo(data, len) == JZ_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
return 0;
}
return -1;
}
... ...
/**
********************************************************************
* @file test_fc_subscription.c
* @brief
*
* @copyright (c) 2021 DJI. All rights reserved.
*
* All information contained herein is, and remains, the property of DJI.
* The intellectual and technical concepts contained herein are proprietary
* to DJI and may be covered by U.S. and foreign patents, patents in process,
* and protected by trade secret or copyright law. Dissemination of this
* information, including but not limited to data and other proprietary
* material(s) incorporated within the information, in any form, is strictly
* prohibited without the express written consent of DJI.
*
* If you receive this source code without DJI’s authorization, you may not
* further disseminate the information, and you must immediately remove the
* source code and notify DJI of its removal. DJI reserves the right to pursue
* legal actions against you for any loss(es) or damage(s) caused by your
* failure to do so.
*
*********************************************************************
*/
/*
1.消息订阅初始化
2.构造回调函数,通过构造回调函数接收飞行器推送的信息。
*/
/* Includes ------------------------------------------------------------------*/
#include <utils/util_misc.h>
#include <math.h>
#include "test_fc_subscription.h"
#include "dji_logger.h"
#include "dji_platform.h"
#include "widget_interaction_test/test_widget_interaction.h"
#include "../widget/test_widget.h"
#include "dji_aircraft_info.h"
#include "version_choose.h"
#include "Psdk_UI_io.h"
#include "gimbal_emu/test_payload_gimbal_emu.h"
#include "JZsdkLib.h"
#include "DeviceInfo/Attribute/Attribute.h"
/* Private constants ---------------------------------------------------------*/
#define FC_SUBSCRIPTION_TASK_FREQ (1)
#define FC_SUBSCRIPTION_TASK_STACK_SIZE (1024)
/* Private types -------------------------------------------------------------*/
/* Private functions declaration ---------------------------------------------*/
static void *Subscription_GPS_DealTask(void *arg);
static void *Subscription_Velocity_ReplyTask(void *arg);
// static void *Subscription_GimbalSub_Task(void *arg);
static T_DjiReturnCode DjiTest_FcSubscriptionReceiveQuaternionCallback(const uint8_t *data, uint16_t dataSize,
const T_DjiDataTimestamp *timestamp);
static void *Subscription_GimbalAngels_task(void *arg);
static void* Subscription_Height_Fusion_task(void* arg);
/* Private variables ---------------------------------------------------------*/
static T_DjiTaskHandle s_userFcSubscriptionThread;
static bool s_userFcSubscriptionDataShow = false;//标志位
static uint8_t s_totalSatelliteNumberUsed = 0;
static T_DjiFcSubscriptionGpsTime gpsTime = {0};
static T_DjiFcSubscriptionGpsDate gpsDate = {0};
static T_DjiFcSubscriptionGpsPosition gpsPosition = {0};
//获取时间结构体
struct TimeGetSub
{
int GetTime;
int GetDate;
};
float g_height_value = 0;
int height_Volume_lock = 0; //高度音量锁
static int g_WhetherInChina = 0;
/* Exported functions definition ---------------------------------------------*/
/*
DjiTest_FcSubscriptionStartService----------------------------------------------------------------------------------------------START
1. 初始化消息订阅模块
2. 指定TOPIC发起数据订阅 订阅的消息有 姿态四元数 速度 GPS 位置 GPS 信息
3. 运行user_subscription_task样例任务
*/
T_DjiReturnCode DjiTest_FcSubscriptionStartService(void)
{
T_DjiReturnCode djiStat;
T_DjiOsalHandler *osalHandler = NULL;
T_DjiReturnCode returnCode;
T_DjiAircraftInfoBaseInfo aircraftInfoBaseInfo;
osalHandler = DjiPlatform_GetOsalHandler();
//消息订阅功能模块初始化
djiStat = DjiFcSubscription_Init();
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("init data subscription module error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
// 获得飞机信息
returnCode = DjiAircraftInfo_GetBaseInfo(&aircraftInfoBaseInfo);
if (returnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get aircraft base info error");
return DJI_ERROR_SYSTEM_MODULE_CODE_SYSTEM_ERROR;
}
//订阅gps时间的主题
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_GPS_TIME, DJI_DATA_SUBSCRIPTION_TOPIC_1_HZ,
NULL);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("Subscribe topic gps position error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
//订阅gps日期 主题
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_GPS_DATE, DJI_DATA_SUBSCRIPTION_TOPIC_1_HZ,
NULL);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("Subscribe topic gps position error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
//订阅gps地址
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_GPS_POSITION, DJI_DATA_SUBSCRIPTION_TOPIC_1_HZ,
NULL);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("Subscribe topic gps position error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
//订阅 飞机 飞行状态
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_VELOCITY, DJI_DATA_SUBSCRIPTION_TOPIC_1_HZ,
NULL);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("Subscribe topic velocity error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
} else {
USER_LOG_DEBUG("Subscribe topic velocity success.");
}
//订阅相机角度
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_GIMBAL_ANGLES, DJI_DATA_SUBSCRIPTION_TOPIC_50_HZ,NULL);//订阅角度
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
{
USER_LOG_ERROR("Subscribe topic quaternion error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
//飞机自身角度
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_QUATERNION, DJI_DATA_SUBSCRIPTION_TOPIC_10_HZ,
DjiTest_FcSubscriptionReceiveQuaternionCallback);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("Subscribe topic quaternion error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
} else {
USER_LOG_DEBUG("Subscribe topic quaternion success.");
}
// //m30和m30t有高度锁
// if (aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M30 || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M30T)
// {
// if (osalHandler->TaskCreate("Subscription_Height_Fusion_task", Subscription_Height_Fusion_task,
// FC_SUBSCRIPTION_TASK_STACK_SIZE, NULL, &s_userFcSubscriptionThread) !=
// DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
// USER_LOG_ERROR("Height Fusion task create error.");
// return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
// }
// else {
// USER_LOG_INFO("开启相对高度音量限制功能");
// }
// }
/**********************
*
*
* 处理线程
*
* *******************************************/
//gps处理线程
if (osalHandler->TaskCreate("user_GPSDeal_task",Subscription_GPS_DealTask,
FC_SUBSCRIPTION_TASK_STACK_SIZE, NULL, &s_userFcSubscriptionThread) !=
DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("user data subscription task create error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
//飞机飞行状态回复线程
if (osalHandler->TaskCreate("user_subscription_task", Subscription_Velocity_ReplyTask,
FC_SUBSCRIPTION_TASK_STACK_SIZE, NULL, &s_userFcSubscriptionThread) !=
DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("user data subscription task create error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
// //云台参数回复线程
// if (osalHandler->TaskCreate("Subscription_GimbalSub_Task", Subscription_GimbalSub_Task,
// FC_SUBSCRIPTION_TASK_STACK_SIZE, NULL, &s_userFcSubscriptionThread) !=
// DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS)
// {
// USER_LOG_ERROR("user data subscription task create error.");
// return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
// }
//如果飞机为需要飞机自带的相机进行云台联动的型号
// if (aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M30
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M30T
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M3E
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M3T
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M3D
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M3TD
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M300_RTK
// || aircraftInfoBaseInfo.aircraftType == DJI_AIRCRAFT_TYPE_M350_RTK
// )
// {
if (osalHandler->TaskCreate("Subscription_GimbalAngels_task", Subscription_GimbalAngels_task,
FC_SUBSCRIPTION_TASK_STACK_SIZE, NULL, &s_userFcSubscriptionThread) !=
DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("user data Subscription_GimbalAngels_task create error.");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
//}
return DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
//取反标志位,是和阻塞函数里用到--------------------------------------------------------
T_DjiReturnCode DjiTest_FcSubscriptionDataShowTrigger(void)
{
//标志位取反
s_userFcSubscriptionDataShow = !s_userFcSubscriptionDataShow;
return DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
//获取标志位到number------------------------------------------------------------------------
T_DjiReturnCode DjiTest_FcSubscriptionGetTotalSatelliteNumber(uint8_t *number)
{
*number = s_totalSatelliteNumberUsed;
return DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
/* Private functions definition-----------------------------------------------*/
#ifndef __CC_ARM
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmissing-noreturn"
#pragma GCC diagnostic ignored "-Wreturn-type"
#endif
/**
*
功能:判断经纬度是否在指定范围
参数:x 经度 y 纬度
返回值:1(中国) 0(国外)
*/
static int check_GPS()
{
//经度
int x = 0;
//纬度
int y = 0;
x = (int)gpsPosition.x;
y = (int)gpsPosition.y;
//USER_LOG_INFO("x:%f y:%f",x,y);
x= x/10000000;
y= y/10000000;
//USER_LOG_INFO("x:%d y:%d",x,y);
/**
中国经纬度粗划分,精度为 1 ,中国区域占比偏大
*/
int gps_map[67][2]={
{0 ,0 },{ 0, 0},{ 0, 0},{0,0},{37,38},{36,41},{35,42},{35,42},{31,42},{30,45},//70-79
{29,45},{30,46},{29,47},{29,48},{28,48},{27,49},{27,50},{27,50},{27,49},{27,48},//80-89
{28,48},{27,46},{26,46},{27,45},{27,45},{27,45},{28,44},{23,43},{23,43},{21,43},//90-99
{21,43},{21,43},{22,42},{22,42},{22,42},{22,43},{22,43},{21,43},{21,43},{3,43},//100-109
{3,43},{3,45},{3,46},{4,45},{5,46},{6,49},{9,50},{10,50},{13,49},{25,51},//110-119
{19,53},{20,54},{22,54},{24,54},{25,54},{40,54},{41,53},{41,51},{41,50},{41,50},//120-129
{42,49},{42,48},{45,48},{45,49},{47,48},{48,49},{48,49}//130-136
};
if(x<73||x>136) //经度超范围
{
g_WhetherInChina = 0;;
}
else
{
int getx=x-70;
int gety=y;
if(y>=gps_map[getx][0]&&y<=gps_map[getx][1]) //根据经纬度判断是否处于中国区域
g_WhetherInChina = 1;
else
g_WhetherInChina = 0;
}
}
int Subscription_WhetherInChina()
{
//USER_LOG_INFO("g_WhetherInChina:%d",g_WhetherInChina);
//不在返回0 在返回1
return g_WhetherInChina;
}
//GPS订阅线程
static void *Subscription_GPS_DealTask(void *arg)
{
//权柄
T_DjiReturnCode djiStat;
T_DjiOsalHandler *osalHandler = DjiPlatform_GetOsalHandler();
//回调参数
T_DjiDataTimestamp timestamp = {0};
USER_UTIL_UNUSED(arg);
while (1)
{
//时间
djiStat = DjiFcSubscription_GetLatestValueOfTopic(DJI_FC_SUBSCRIPTION_TOPIC_GPS_TIME,
(uint8_t *) &gpsTime,
sizeof(T_DjiFcSubscriptionGpsTime),
&timestamp);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get value of topic gps position error.");
} else {
//USER_LOG_INFO("gpsTime = %d", gpsTime);
}
//日期
djiStat = DjiFcSubscription_GetLatestValueOfTopic(DJI_FC_SUBSCRIPTION_TOPIC_GPS_DATE,
(uint8_t *) &gpsDate,
sizeof(T_DjiFcSubscriptionGpsDate),
&timestamp);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get value of topic gps position error.");
} else {
//USER_LOG_INFO("gpsDate = %d", gpsDate);
}
//地址
djiStat = DjiFcSubscription_GetLatestValueOfTopic(DJI_FC_SUBSCRIPTION_TOPIC_GPS_POSITION,
(uint8_t *) &gpsPosition,
sizeof(T_DjiFcSubscriptionGpsPosition),
&timestamp);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get value of topic gps position error.");
} else {
//USER_LOG_INFO("gpsDate = %d", gpsDate);
}
//如果为海外版
if (FIRMWARE_ORIGIN == OVERSEAS_VERSION)
{
check_GPS();
//USER_LOG_INFO("海外");
}
//USER_LOG_INFO("gps订阅");
//1s一次
T_JZsdkAttributeGpsPosition temp_GpsPosition;
temp_GpsPosition.x = gpsPosition.x;
temp_GpsPosition.y = gpsPosition.y;
temp_GpsPosition.z = gpsPosition.z;
Attribute_SetGpsPosition(temp_GpsPosition);
T_JZsdkAttributeGpsTime temp_GpsTime;
temp_GpsTime = gpsTime;
Attribute_SetGpsTime(temp_GpsTime);
T_JZsdkAttributeGpsDate temp_GpsDate;
temp_GpsDate = gpsDate;
Attribute_SetGpsDate(temp_GpsDate);
osalHandler->TaskSleepMs(1000 / FC_SUBSCRIPTION_TASK_FREQ);
}
//5、结束订阅函数
djiStat = DjiFcSubscription_DeInit();
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("Deinit fc subscription error.");
}
}
static void *Subscription_Velocity_ReplyTask(void *arg)
{
T_DjiReturnCode djiStat;
T_DjiFcSubscriptionVelocity velocity = {0};
T_DjiDataTimestamp timestamp = {0};
T_DjiFcSubscriptionGpsPosition gpsPosition = {0};
T_DjiFcSubscriptionGpsDetails gpsDetails = {0};
T_DjiOsalHandler *osalHandler = NULL;
USER_UTIL_UNUSED(arg);
osalHandler = DjiPlatform_GetOsalHandler();
//飞机的运行情况打印
while (1) {
//等待一秒
osalHandler->TaskSleepMs(1000 / FC_SUBSCRIPTION_TASK_FREQ);
//主动获取数据 获取指定TOPIC的最新发布数据。 获取速度------------------------------------------------
djiStat = DjiFcSubscription_GetLatestValueOfTopic(DJI_FC_SUBSCRIPTION_TOPIC_VELOCITY,
(uint8_t *) &velocity,
sizeof(T_DjiFcSubscriptionVelocity),
&timestamp);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get value of topic velocity error.");
}
//如果是阻塞标志位开启,就将速度打印出来
if (s_userFcSubscriptionDataShow == true) {
USER_LOG_INFO("velocity: x %f y %f z %f, healthFlag %d.", velocity.data.x, velocity.data.y,
velocity.data.z, velocity.health);
}
}
}
static void *Subscription_GimbalAngels_task(void *arg)
{
T_DjiReturnCode djiStat;
T_DjiVector3f gimbalangle = {0};//云台角度
T_DjiOsalHandler *osalHandler = NULL;
T_DjiDataTimestamp timestamp = {0};
osalHandler = DjiPlatform_GetOsalHandler();
int LastGimbalPitch;
int NowGimbalPitch;
USER_LOG_INFO("相机云台联动线程已经启用");
while (1) {//一直在循环里面
//osalHandler->TaskSleepMs(1000 / FC_SUBSCRIPTION_TASK_FREQ);
osalHandler->TaskSleepMs(1000 / 20);
djiStat = DjiFcSubscription_GetLatestValueOfTopic(DJI_FC_SUBSCRIPTION_TOPIC_GIMBAL_ANGLES,
(uint8_t *) &gimbalangle,
sizeof(T_DjiVector3f),
&timestamp);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get gimbal angle error.");
}
else
{
NowGimbalPitch = (int)gimbalangle.x * 10;
//USER_LOG_INFO("NowGimbalPitch%d",NowGimbalPitch);
//如果云台联动已经打开
if( (Get_Gimbal_linkage()== JZ_FLAGCODE_ON ) && (NowGimbalPitch != LastGimbalPitch) )
{
//printf("消息订阅联动\n");
JZsdk_Psdk_Ui_io_Gimbal_PitchAngleControlMode(NowGimbalPitch);
LastGimbalPitch = NowGimbalPitch;
}
}
}
}
//获取相对高度音量限制线程
static void* Subscription_Height_Fusion_task(void* arg)
{
T_DjiReturnCode djiStat;
T_DjiFcSubscriptionHeightFusion height_fusion_value = {0};//融合相对高度
T_DjiOsalHandler* osalHandler = NULL;
T_DjiDataTimestamp timestamp = { 0 };
osalHandler = DjiPlatform_GetOsalHandler();
//订阅相对融合高度
djiStat = DjiFcSubscription_SubscribeTopic(DJI_FC_SUBSCRIPTION_TOPIC_HEIGHT_FUSION, DJI_DATA_SUBSCRIPTION_TOPIC_10_HZ,NULL);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
JZSDK_LOG_ERROR("融合高度订阅失败");
}
else
{
JZSDK_LOG_INFO("融合高度订阅成功");
}
while (1) {//一直在循环里面
osalHandler->TaskSleepMs(100);
djiStat = DjiFcSubscription_GetLatestValueOfTopic(DJI_FC_SUBSCRIPTION_TOPIC_HEIGHT_FUSION,
(uint8_t*)&height_fusion_value,
sizeof(T_DjiFcSubscriptionHeightFusion),
&timestamp);
if (djiStat != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
USER_LOG_ERROR("get height relativevalue error.");
}
else
{
//USER_LOG_INFO("融合相对高度为 = %f",height_fusion_value);
g_height_value = height_fusion_value;
//如果高度音量限制已打开,音量超过60,设置为60%
if ( height_fusion_value <= 10) // && DeviceActivation_GetDebugMode() == 0)
{
height_Volume_lock = 1;//高度锁生效
if(JZsdk_Psdk_UI_io_GetWidgetVolume() >60 ) //高度音量锁e > 60
{
JZsdk_Psdk_UI_io_SetVolume(1,60);
}
}
else {
height_Volume_lock = 0;//高度锁解锁
//高度音量锁
}
}
}
}
#ifndef __CC_ARM
#pragma GCC diagnostic pop
#endif
//回调函数
static T_DjiReturnCode DjiTest_FcSubscriptionReceiveQuaternionCallback(const uint8_t *data, uint16_t dataSize,
const T_DjiDataTimestamp *timestamp)
{
T_DjiFcSubscriptionQuaternion *quaternion = (T_DjiFcSubscriptionQuaternion *) data;
dji_f64_t pitch, yaw, roll;
USER_UTIL_UNUSED(dataSize);
//转换成 倾角 转角
pitch = (dji_f64_t) asinf(-2 * quaternion->q1 * quaternion->q3 + 2 * quaternion->q0 * quaternion->q2) * 57.3;
roll = (dji_f64_t) atan2f(2 * quaternion->q2 * quaternion->q3 + 2 * quaternion->q0 * quaternion->q1,
-2 * quaternion->q1 * quaternion->q1 - 2 * quaternion->q2 * quaternion->q2 + 1) * 57.3;
yaw = (dji_f64_t) atan2f(2 * quaternion->q1 * quaternion->q2 + 2 * quaternion->q0 * quaternion->q3,
-2 * quaternion->q2 * quaternion->q2 - 2 * quaternion->q3 * quaternion->q3 + 1) *57.3;
//printf("回调:pitch%d\n",(int)pitch);
//飞机自身角度
JZsdk_Psdk_Ui_io_Gimbal_PitchSelfangleMode( ( (int)pitch * 10));
return DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
T_DjiReturnCode DjiTest_FcSubscriptionRunSample(void)
{
}
/****************** (C) COPYRIGHT DJI Innovations *****END OF FILE****/
# cmake 最低版本要求 第三行名字不能动
cmake_minimum_required(VERSION 2.8)
project(JZ_H150T)
project(JZ_U3)
#set(CMAKE_C_FLAGS "-pthread -std=gnu99 -lm -ldl -lstdc++")
#"-pthread":指定在编译时链接POSIX线程库,以支持多线程程序。
... ...
... ... @@ -60,7 +60,7 @@ extern "C" {
#if (DEVICE_VERSION == JZ_H1T || DEVICE_VERSION == JZ_H1E || DEVICE_VERSION == JZ_U3|| DEVICE_VERSION == JZ_U3S || DEVICE_VERSION == JZ_U3D || DEVICE_VERSION == JZ_U30)
#define USER_BAUD_RATE "921600"
#elif (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T || DEVICE_VERSION == JZ_H10 || DEVICE_VERSION == JZ_C1)
#elif (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T || DEVICE_VERSION == JZ_H10 || DEVICE_VERSION == JZ_C1 || DEVICE_VERSION == JZ_ST)
#define USER_BAUD_RATE "230400"
#elif (DEVICE_VERSION == JZ_H10T)
#define USER_BAUD_RATE "115200"
... ...
... ... @@ -42,7 +42,7 @@ extern "C" {
/*!< Attention: Select your hardware connection mode here.
* */
#if (DEVICE_VERSION == JZ_H150S) || (DEVICE_VERSION == JZ_H150T) || (DEVICE_VERSION == JZ_C1)
#if (DEVICE_VERSION == JZ_H150S) || (DEVICE_VERSION == JZ_H150T) || (DEVICE_VERSION == JZ_C1) || (DEVICE_VERSION == JZ_ST)
#define CONFIG_HARDWARE_CONNECTION DJI_USE_UART_AND_NETWORK_DEVICE
#elif (DEVICE_VERSION == JZ_U3 && ALLWINNER_CEDAR == VERSION_SWITCH_ON)
#define CONFIG_HARDWARE_CONNECTION DJI_USE_UART_AND_NETWORK_DEVICE
... ...
... ... @@ -72,7 +72,8 @@
/* Private constants ---------------------------------------------------------*/
#define DJI_LOG_PATH "/root/sdcard/Logs/"
#define DJI_LOG_INDEX_FILE_NAME "/root/sdcard/Logs/latest"
#define DJI_LOG_INDEX_FILE_NAME "/root/Logs/latest"
#define DJI_LOG_SD_INDEX_FILE_NAME "/root/sdcard/Logs/latest"
#define DJI_LOG_FOLDER_NAME "Logs"
#define DJI_LOG_PATH_MAX_SIZE (128)
#define DJI_LOG_FOLDER_NAME_MAX_SIZE (32)
... ... @@ -110,6 +111,8 @@ int work_mode=0;//0--->SDK模式 1------>串口模式
char Jz_SerialNumber[128]; //设备序列号
static int g_DJI_LoginitFlag = JZ_FLAGCODE_OFF;
/* Exported functions definition ---------------------------------------------*/
int main(int argc, char *argv[])
{
... ... @@ -120,11 +123,6 @@ int main(int argc, char *argv[])
T_DjiAircraftInfoBaseInfo aircraftInfoBaseInfo;
T_DjiAircraftVersion aircraftInfoVersion;
T_DjiFirmwareVersion firmwareVersion = {
// .majorVersion = (MAJOR_VERSION >> 4) * 10 + (MAJOR_VERSION & 0x0F),
// .minorVersion = (MINOR_VERSION >> 4) * 10 + (MINOR_VERSION & 0x0F),
// .modifyVersion = (MODIFY_VERSION >> 4) * 10 + (MODIFY_VERSION & 0x0F),
// .debugVersion = (DEBUG_VERSION >> 4) * 10 + (DEBUG_VERSION & 0x0F),
.majorVersion = MAJOR_VERSION ,
.minorVersion = MINOR_VERSION ,
.modifyVersion = MODIFY_VERSION,
... ... @@ -222,7 +220,7 @@ int main(int argc, char *argv[])
if (DEVICE_VERSION == JZ_H1E)
{
if (LanguageInfo == LANGUAGE_INFO_CHINESE)
if (LanguageInfo == LANGUAGE_INFO_ENGLISH)
{
memcpy(psdk_name, "JZ-H1E", sizeof("JZ-H1E"));
}
... ... @@ -237,7 +235,7 @@ int main(int argc, char *argv[])
}
else if (DEVICE_VERSION == JZ_U3)
{
if (LanguageInfo == LANGUAGE_INFO_CHINESE)
if (LanguageInfo == LANGUAGE_INFO_ENGLISH)
{
memcpy(psdk_name, "JZ-U3", sizeof("JZ-U3"));
}
... ... @@ -263,7 +261,7 @@ int main(int argc, char *argv[])
else if (DEVICE_VERSION == JZ_H150S)
{
if (LanguageInfo == LANGUAGE_INFO_CHINESE)
if (LanguageInfo == LANGUAGE_INFO_ENGLISH)
{
memcpy(psdk_name, "JZ-H150S", sizeof("JZ-H150S"));
}
... ... @@ -282,7 +280,7 @@ int main(int argc, char *argv[])
}
else if (DEVICE_VERSION == JZ_H10)
{
if (LanguageInfo == LANGUAGE_INFO_CHINESE)
if (LanguageInfo == LANGUAGE_INFO_ENGLISH)
{
memcpy(psdk_name, "JZ-H10", sizeof("JZ-H10"));
}
... ... @@ -395,7 +393,7 @@ int main(int argc, char *argv[])
// #endif
// } else {
#ifdef CONFIG_MODULE_SAMPLE_CAMERA_EMU_ON
if (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T || DEVICE_VERSION == JZ_C1)
if (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T || DEVICE_VERSION == JZ_C1 || DEVICE_VERSION == JZ_ST)
{
returnCode = DjiTest_CameraEmuBaseStartService();
if (returnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
... ... @@ -406,7 +404,7 @@ int main(int argc, char *argv[])
#endif
#ifdef CONFIG_MODULE_SAMPLE_CAMERA_MEDIA_ON
if (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T || DEVICE_VERSION == JZ_C1)
if (DEVICE_VERSION == JZ_H150S || DEVICE_VERSION == JZ_H150T || DEVICE_VERSION == JZ_C1 || DEVICE_VERSION == JZ_ST)
{
returnCode = DjiTest_CameraEmuMediaStartService(0);
if (returnCode != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
... ... @@ -722,7 +720,7 @@ static T_DjiReturnCode DjiUser_PrepareSystemEnvironment(void)
if (DjiUser_LocalWriteFsInit(DJI_LOG_PATH) != DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS) {
printf("file system init error");
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
//return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
returnCode = DjiLogger_AddConsole(&printConsole);
... ... @@ -887,6 +885,12 @@ static T_DjiReturnCode DjiUser_LocalWrite(const uint8_t *data, uint16_t dataLen)
{
uint32_t realLen;
if (g_DJI_LoginitFlag == JZ_FLAGCODE_OFF)
{
return DJI_ERROR_SYSTEM_MODULE_CODE_SUCCESS;
}
if (s_djiLogFile == NULL) {
return DJI_ERROR_SYSTEM_MODULE_CODE_UNKNOWN;
}
... ... @@ -917,7 +921,9 @@ static T_DjiReturnCode DjiUser_LocalWriteFsInit(const char *path)
return DJI_ERROR_SYSTEM_MODULE_CODE_SYSTEM_ERROR;
}
//检查是否存在日志文件
if (access(DJI_LOG_FOLDER_NAME, F_OK) != 0) {
memset(folderName, 0, sizeof(folderName));
sprintf(folderName, "mkdir %s", DJI_LOG_FOLDER_NAME);
ret = system(folderName);
if (ret != 0) {
... ... @@ -925,6 +931,23 @@ static T_DjiReturnCode DjiUser_LocalWriteFsInit(const char *path)
}
}
//检查sd卡的日志文件夹
if (access(DJI_LOG_PATH, F_OK) != 0) {
memset(folderName, 0, sizeof(folderName));
sprintf(folderName, "mkdir %s", DJI_LOG_PATH);
ret = system(folderName);
if (ret != 0) {
return DJI_ERROR_SYSTEM_MODULE_CODE_SYSTEM_ERROR;
}
}
//检查sd卡的内序号文件是否存在
if (access(DJI_LOG_SD_INDEX_FILE_NAME, F_OK) == 0) {
memset(folderName, 0, sizeof(folderName));
sprintf(folderName, "rm %s", DJI_LOG_INDEX_FILE_NAME);
ret = system(folderName);
}
s_djiLogFileCnt = fopen(DJI_LOG_INDEX_FILE_NAME, "rb+");
if (s_djiLogFileCnt == NULL) {
s_djiLogFileCnt = fopen(DJI_LOG_INDEX_FILE_NAME, "wb+");
... ... @@ -962,6 +985,16 @@ static T_DjiReturnCode DjiUser_LocalWriteFsInit(const char *path)
fclose(s_djiLogFileCnt);
//将sd卡的索引值文件删除
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "rm %s", DJI_LOG_SD_INDEX_FILE_NAME);
ret = system(systemCmd);
//将索引值复制到sd卡
memset(systemCmd, 0, sizeof(systemCmd));
sprintf(systemCmd, "cp %s %s", DJI_LOG_INDEX_FILE_NAME, DJI_LOG_SD_INDEX_FILE_NAME);
ret = system(systemCmd);
//filePath : /root/sdcard/Logs/_%04d_%04d%02d%02d_%02d-%02d-%02d.log
sprintf(filePath, "%s_%04d_%04d%02d%02d_%02d-%02d-%02d.log", path, currentLogFileIndex,
localTime->tm_year + 1900, localTime->tm_mon + 1, localTime->tm_mday,
... ... @@ -982,8 +1015,11 @@ static T_DjiReturnCode DjiUser_LocalWriteFsInit(const char *path)
}
}
sprintf(systemCmd, "ln -sfrv %s " DJI_LOG_FOLDER_NAME "/latest.log", filePath);
sprintf(systemCmd, "ln -sfrv %s "DJI_LOG_FOLDER_NAME"/latest.log", filePath);
system(systemCmd);
g_DJI_LoginitFlag = JZ_FLAGCODE_ON;
return djiReturnCode;
}
... ...
... ... @@ -52,6 +52,10 @@ extern "C" {
#define LINUX_NETWORK_DEV "eth0"
#define USB_NET_ADAPTER_VID (0x0955)
#define USB_NET_ADAPTER_PID (0x7020)
#elif DEVICE_VERSION == JZ_ST
#define LINUX_NETWORK_DEV "end0"
#define USB_NET_ADAPTER_VID (0x0000)
#define USB_NET_ADAPTER_PID (0x0000)
#else
#define LINUX_NETWORK_DEV "eth0"
#define USB_NET_ADAPTER_VID (0x0B95)
... ...
payload_name="$1"
payload_mode="$2"
payload_platform="$3"
payload_version="$4"
payload_special="$5"
# 配置基本参数
chmod 777 Pack_param.sh
./Pack_param.sh $payload_name \
$payload_mode \
$payload_platform \
$payload_version \
$payload_special
# 编译
#二次压缩包的打包, 会得到一个完整版的UpgradePackage.tar.gz
cd ShellPack
./shellpack.sh
cd ../
# 打包
# DOMESTIC为国内版,OVERSEAS为国外版,UNUSE不输入版本
chmod 777 Pack_complete.sh
chmod 777 Pack_simple.sh
############# 如果是以前会分开国内外的版本 #############
# 备注旧版本的大型包里会含有语言文件
# 注:飞机固件的小包里是含有语言文件信息的,但是串口固件的没有,因为psdk加载要看语言文件信息
#
#
domestic_bin_name=$payload_name"_"$payload_version".bin"
domestic_bin_name_silm="${payload_name}_${payload_version}Silm.bin"
replaced_payload_name=${payload_name//_/-}
overseas_bin_name=$replaced_payload_name"_"$payload_version".bin"
overseas_bin_name_silm="${replaced_payload_name}_${payload_version}Silm.bin"
# 打包国内大型包
./Pack_complete.sh "DOMESTIC" ${domestic_bin_name}
# 打包海外大型包
./Pack_complete.sh "OVERSEAS" ${overseas_bin_name}
rm UpgradePackage.tar.gz
#打包国内小型包
./Pack_simple.sh "DOMESTIC" ${domestic_bin_name_silm}
# 打包海外小型包
./Pack_simple.sh "OVERSEAS" ${overseas_bin_name_silm}
##############################################################
... ...
payload_name="$1"
payload_mode="$2"
payload_platform="$3"
payload_version="$4"
payload_special="$5"
# 配置基本参数
chmod 777 Pack_param.sh
./Pack_param.sh $payload_name \
$payload_mode \
$payload_platform \
$payload_version \
$payload_special
# 编译
#二次压缩包的打包, 会得到一个完整版的UpgradePackage.tar.gz
cd ShellPack
./shellpack.sh
cd ../
# 打包
# DOMESTIC为国内版,OVERSEAS为国外版,UNUSE不输入版本
chmod 777 Pack_complete.sh
chmod 777 Pack_simple.sh
############# 双语言+串口的版本 #############
# 备注旧版本的大型包里会含有语言文件
# 注:飞机固件的小包里是含有语言文件信息的,但是串口固件的没有,因为psdk加载要看语言文件信息
#
#
domestic_bin_name=$payload_name"_"$payload_version".bin"
domestic_bin_name_silm="${payload_name}_${payload_version}Silm.bin"
replaced_payload_name=${payload_name//_/-}
overseas_bin_name=$replaced_payload_name"_"$payload_version".bin"
overseas_bin_name_silm="${replaced_payload_name}_${payload_version}Silm.bin"
# 打包国内大型包
./Pack_complete.sh "DOMESTIC" ${domestic_bin_name}
# 打包海外大型包
./Pack_complete.sh "OVERSEAS" ${overseas_bin_name}
rm UpgradePackage.tar.gz
#打包国内小型包
./Pack_simple.sh "UNUSE" ${domestic_bin_name_silm}
# 打包海外小型包
./Pack_simple.sh "OVERSEAS" ${overseas_bin_name_silm}
##############################################################
... ...
./root/ATTENTION_APP --play_prompt_tts error;
\ No newline at end of file
./root/ATTENTION_APP --play_prompt_tts start;
\ No newline at end of file
#!/bin/bash
AUDIO_DIR="/root/sdcard/audio"
MOUNT_POINT="/root/sdcard"
JZLOG="/root/sdcard/JZLOG"
LOG="/root/sdcard/Logs"
DEVICE=$(mount | grep "$MOUNT_POINT" | awk '{print $1}')
# 检查sd开文件系统是否可写
check_sdCard_filesystem_writable() {
if ! touch "$MOUNT_POINT"/.test_write 2>/dev/null; then
echo "文件系统已变成只读,尝试重新挂载..."
mount -o remount rw "$MOUNT_POINT" || {
echo "重新挂载失败,请检查文件系统!"
exit 1
}
return 1
fi
return 0
}
# 遍历audio下的所有文件,检查是否读取后是否能正常写入sd卡
# 检查音频文件
check_audio_files() {
if [ -d "$AUDIO_DIR" ]; then
echo "开始检查音频文件..."
find "$AUDIO_DIR" -type f -print0 | while IFS= read -r -d '' file; do
echo "检查到文件${file}"
ffprobe "$file" > /dev/null 2>&1
# 检测sd卡还能否写入
if ! touch "$MOUNT_POINT"/.test_write 2>/dev/null; then
echo "文件系统已变成只读,尝试重新挂载..."
# 重新挂载
mount -o remount rw /root/sdcard
# 删除损坏的文件
rm -f ${file}
else
echo "文件系统正常,继续检查下一个文件"
fi
done
else
echo "音频目录不存在: $AUDIO_DIR"
fi
}
# 1、删除测试读取文件
rm -f "$MOUNT_POINT"/.test_write
# 检查文件系统是否可写, 如果不可写,先恢复
check_sdCard_filesystem_writable
# 检查音频文件
check_audio_files
echo "检测完成!"
\ No newline at end of file
... ...
payload_name="$1"
payload_mode="$2"
payload_platform="$3"
payload_version="$4"
payload_special="$5"
# 配置基本参数
chmod 777 Pack_param.sh
./Pack_param.sh $payload_name \
$payload_mode \
$payload_platform \
$payload_version \
$payload_special
# 编译
#二次压缩包的打包, 会得到一个完整版的UpgradePackage.tar.gz
cd ShellPack
./shellpack.sh
cd ../
rm UpgradePackage.tar.gz
... ...
./root/ATTENTION_APP --play_prompt_tts updefeat
\ No newline at end of file
payload_name="$1"
payload_mode="$2"
payload_platform="$3"
payload_version="$4"
payload_special="$5"
# 配置基本参数
chmod 777 Pack_param.sh
./Pack_param.sh $payload_name \
$payload_mode \
$payload_platform \
$payload_version \
$payload_special
# 编译
#二次压缩包的打包, 会得到一个完整版的UpgradePackage.tar.gz
cd ShellPack
./shellpack.sh
cd ../
# 打包
# DOMESTIC为国内版,OVERSEAS为国外版,UNUSE不输入版本
chmod 777 Pack_complete.sh
chmod 777 Pack_simple.sh
############# 如果是以前会分开国内外的版本 #############
# 备注旧版本的大型包里会含有语言文件
# 注:飞机固件的小包里是含有语言文件信息的,但是串口固件的没有,因为psdk加载要看语言文件信息
#
#
domestic_bin_name=$payload_name"_"$payload_version".bin"
domestic_bin_name_silm="${payload_name}_${payload_version}Silm.bin"
replaced_payload_name=${payload_name//_/-}
overseas_bin_name=$replaced_payload_name"_"$payload_version".bin"
overseas_bin_name_silm="${replaced_payload_name}_${payload_version}Silm.bin"
# 打包大型包
./Pack_complete.sh "UNUSE" ${domestic_bin_name}
rm UpgradePackage.tar.gz
# 打包小型包
./Pack_simple.sh "UNUSE" ${domestic_bin_name_silm}
##############################################################
... ...
payload_name="$1"
payload_mode="$2"
payload_platform="$3"
payload_version="$4"
payload_special="$5"
# 配置基本参数
chmod 777 Pack_param.sh
./Pack_param.sh $payload_name \
$payload_mode \
$payload_platform \
$payload_version \
$payload_special
# 编译
#二次压缩包的打包, 会得到一个完整版的UpgradePackage.tar.gz
cd ShellPack
./shellpack.sh
cd ../
# 打包
# DOMESTIC为国内版,OVERSEAS为国外版,UNUSE不输入版本
chmod 777 Pack_complete.sh
chmod 777 Pack_simple.sh
############# 单语言+串口的版本 #############
# 备注旧版本的大型包里会含有语言文件
# 注:飞机固件的小包里是含有语言文件信息的,但是串口固件的没有,因为psdk加载要看语言文件信息
#
#
domestic_bin_name=$payload_name"_"$payload_version".bin"
domestic_bin_name_silm="${payload_name}_${payload_version}Silm.bin"
# 打包大型包
./Pack_complete.sh "UNUSE" ${domestic_bin_name}
rm UpgradePackage.tar.gz
#打包小型包
./Pack_simple.sh "UNUSE" ${domestic_bin_name_silm}
##############################################################
... ...
./root/ATTENTION_APP --play_prompt_tts upsucess;
\ No newline at end of file