Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
341f9959bd | |||
1a6dcfe14e | |||
c5b2a4e98b | |||
0732984a64 |
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/H750_CJSON.iml" filepath="$PROJECT_DIR$/.idea/H750_CJSON.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
88
.idea/workspace.xml
generated
88
.idea/workspace.xml
generated
@ -14,7 +14,23 @@
|
||||
</configurations>
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="95f61bdd-cab5-46fc-8e2d-162d6bceffdc" name="变更" comment="" />
|
||||
<list default="true" id="95f61bdd-cab5-46fc-8e2d-162d6bceffdc" name="变更" comment="可以用任工的通信协议进行解析">
|
||||
<change afterPath="$PROJECT_DIR$/Core/Inc/Communication_Protocol.h" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/Core/Inc/Communication_struct.h" afterDir="false" />
|
||||
<change afterPath="$PROJECT_DIR$/Core/Src/Communication_Protocol.c" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Core/Src/SerialDataProcess.c" beforeDir="false" afterPath="$PROJECT_DIR$/Core/Src/SerialDataProcess.c" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/Core/Src/main.c" beforeDir="false" afterPath="$PROJECT_DIR$/Core/Src/main.c" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/.ninja_deps" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/.ninja_deps" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/.ninja_log" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/.ninja_log" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.bin" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.bin" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.elf" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.elf" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.hex" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.hex" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.map" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/H750_CJSON.map" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/cmake-build-debug/build.ninja" beforeDir="false" afterPath="$PROJECT_DIR$/cmake-build-debug/build.ninja" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
@ -41,6 +57,9 @@
|
||||
</option>
|
||||
</component>
|
||||
<component name="ExecutionTargetManager" SELECTED_TARGET="CMakeBuildProfile:Debug" />
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="MarkdownSettingsMigration">
|
||||
<option name="stateVersion" value="1" />
|
||||
</component>
|
||||
@ -50,20 +69,26 @@
|
||||
<option name="minorVersion" value="1.3" />
|
||||
</component>
|
||||
<component name="ProjectId" id="2bbnz1CSIanAtOkE69ZDKoVBtNN" />
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
||||
<ConfirmationsSetting value="2" id="Add" />
|
||||
</component>
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"ASKED_SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
||||
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
||||
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||
"RunOnceActivity.cidr.known.project.marker": "true",
|
||||
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
|
||||
"WebServerToolWindowFactoryState": "false",
|
||||
"cf.first.check.clang-format": "false",
|
||||
"cidr.known.project.marker": "true",
|
||||
"last_opened_file_path": "D:/Desktop/COMS_S15909_ADC-master/coms_s15909_adc/R_PINGCHANG/S15909_H750.ioc",
|
||||
"nodejs.protractor.protractor_package": ""
|
||||
"nodejs.protractor.protractor_package": "",
|
||||
"settings.editor.selected.configurable": "preferences.lookFeel"
|
||||
}
|
||||
}]]></component>
|
||||
<component name="RecentsManager">
|
||||
@ -72,12 +97,12 @@
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunManager" selected="OpenOCD 下载并运行.H750_CJSON.elf">
|
||||
<configuration default="true" type="CLionExternalRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" PASS_PARENT_ENVS_2="true">
|
||||
<configuration name="H750_CJSON.elf" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="H750_CJSON" TARGET_NAME="H750_CJSON.elf" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="H750_CJSON" RUN_TARGET_NAME="H750_CJSON.elf">
|
||||
<method v="2">
|
||||
<option name="CLION.EXTERNAL.BUILD" enabled="true" />
|
||||
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="H750_CJSON.elf" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="H750_CJSON" TARGET_NAME="H750_CJSON.elf" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="H750_CJSON" RUN_TARGET_NAME="H750_CJSON.elf">
|
||||
<configuration default="true" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" ELEVATE="false" USE_EXTERNAL_CONSOLE="false" PASS_PARENT_ENVS_2="true">
|
||||
<method v="2">
|
||||
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" />
|
||||
</method>
|
||||
@ -113,19 +138,70 @@
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1706492904795</updated>
|
||||
<workItem from="1706492946668" duration="18120000" />
|
||||
<workItem from="1706492946668" duration="26789000" />
|
||||
<workItem from="1706666368287" duration="21780000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="跨文件使用变量">
|
||||
<created>1706608250177</created>
|
||||
<option name="number" value="00001" />
|
||||
<option name="presentableId" value="LOCAL-00001" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1706608250177</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00002" summary="温度,pn,sn,生产时间和厂家,积分时间,像素长度等变量">
|
||||
<created>1706685443572</created>
|
||||
<option name="number" value="00002" />
|
||||
<option name="presentableId" value="LOCAL-00002" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1706685443573</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00003" summary="各类信息只显示一次,错误不显示">
|
||||
<created>1706687554791</created>
|
||||
<option name="number" value="00003" />
|
||||
<option name="presentableId" value="LOCAL-00003" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1706687554791</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="4" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
<option name="version" value="3" />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
<option name="TAB_STATES">
|
||||
<map>
|
||||
<entry key="MAIN">
|
||||
<value>
|
||||
<State />
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
<component name="VcsManagerConfiguration">
|
||||
<MESSAGE value="跨文件使用变量" />
|
||||
<MESSAGE value="温度,pn,sn,生产时间和厂家,积分时间,像素长度等变量" />
|
||||
<MESSAGE value="各类信息只显示一次,错误不显示" />
|
||||
<MESSAGE value="可以用任工的通信协议进行解析" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="可以用任工的通信协议进行解析" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<breakpoint-manager>
|
||||
<breakpoints>
|
||||
<line-breakpoint enabled="true" type="com.jetbrains.cidr.execution.debugger.OCBreakpointType">
|
||||
<url>file://$PROJECT_DIR$/Core/Src/Communication_Protocol.c</url>
|
||||
<line>168</line>
|
||||
<option name="timeStamp" value="27" />
|
||||
</line-breakpoint>
|
||||
</breakpoints>
|
||||
</breakpoint-manager>
|
||||
<watches-manager>
|
||||
<configuration name="com.jetbrains.cidr.embedded.openocd.conf.type">
|
||||
<watch expression="g_usart_rx_sta" />
|
||||
<watch expression="g_usart_rx_sta" language="ObjectiveC" />
|
||||
<watch expression="g_usart_rx_buf" language="ObjectiveC" />
|
||||
<watch expression="g_usart_rx_sta" language="ObjectiveC" />
|
||||
</configuration>
|
||||
</watches-manager>
|
||||
</component>
|
||||
|
86
Core/Inc/Communication_Protocol.h
Normal file
86
Core/Inc/Communication_Protocol.h
Normal file
@ -0,0 +1,86 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#ifndef H750_CJSON_COMMUNICATION_PROTOCOL_H
|
||||
#define H750_CJSON_COMMUNICATION_PROTOCOL_H
|
||||
|
||||
|
||||
#ifndef COMMUNICATION_PROTOCOL_H
|
||||
#define COMMUNICATION_PROTOCOL_H
|
||||
|
||||
|
||||
#include <stdint.h>
|
||||
#include <Communication_struct.h>
|
||||
// DEFINE The protocol Here
|
||||
//Forexample
|
||||
// #define MYCOMAN 0x02 //命令全大写
|
||||
// to_do : define your protocol here
|
||||
/*-------------------------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------------------------------------------*/
|
||||
/*
|
||||
在此之下开始定义一些函数
|
||||
|
||||
|
||||
|
||||
|
||||
*/
|
||||
#define ERROR_NOT_ENOUGH_DATA -200
|
||||
#define ERROR_HEADER -300
|
||||
#define ERROR_COMMAND -400
|
||||
#define ERROR_INPUT -500
|
||||
#define ERROR_CRC -600
|
||||
|
||||
|
||||
// 成功返回打包后的数据长度
|
||||
// -1: Error
|
||||
// 成功返回打包后的数据长度
|
||||
int32_t IRIS_Protocol_Pack(uint8_t Command,uint16_t LenthofIn, uint8_t *BufferIn, uint8_t *PackData);
|
||||
|
||||
// 解包函数 PackData 是接收到的数据 LenthofIn 是数据长度 Command 是命令 BufferOut 是输出
|
||||
// 下位机使用的打包函数 Command 是输出
|
||||
// 成功返回解包后的数据长度
|
||||
// 0: 该命令返回无参数
|
||||
// 错误返回ERRor
|
||||
// 成功返回解包后的数据长度
|
||||
int32_t IRIS_STM32_Protocol_Unpack(uint8_t *PackData, uint16_t LenthofIn, uint8_t *Command, uint8_t *BufferOut);
|
||||
|
||||
// 解包函数 PackData 是接收到的数据 LenthofIn 是数据长度 Command 是命令输入 BufferOut 是输出 上位机使用
|
||||
// 成功返回解包后的数据长度
|
||||
// 0: 该命令返回无参数
|
||||
// 错误返回ERRor
|
||||
// 成功返回解包后的数据长度
|
||||
int32_t IRIS_Protocol_Unpack(uint8_t *PackData, uint16_t LenthofIn, uint8_t Command, uint8_t *BufferOut);
|
||||
|
||||
// 定义裁切命令
|
||||
// 成功返回裁切后的数据长度
|
||||
// -1: Error
|
||||
int32_t IRIS_Cut_Befor_Header(uint8_t *PackData, uint16_t LenthofIn );
|
||||
|
||||
// 检查数据是否有效
|
||||
// 有效返回值1
|
||||
// 错误返回ERRor
|
||||
int32_t IRIS_Check_Data_Valid(uint8_t *PackData, uint16_t LenthofIn );
|
||||
|
||||
|
||||
// 返回CRC校验值
|
||||
uint16_t IRIS_calcCRC(const void *pBuffer, uint16_t bufferSize);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endif //H750_CJSON_COMMUNICATION_PROTOCOL_H
|
46
Core/Inc/Communication_struct.h
Normal file
46
Core/Inc/Communication_struct.h
Normal file
@ -0,0 +1,46 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#ifndef H750_CJSON_COMMUNICATION_STRUCT_H
|
||||
#define H750_CJSON_COMMUNICATION_STRUCT_H
|
||||
|
||||
#ifndef COMMUNICATION_STRUCT_H
|
||||
#define COMMUNICATION_STRUCT_H
|
||||
|
||||
// Define your communication structures here
|
||||
// For example:
|
||||
/*
|
||||
如果发送和接受的数据结构一样,那么就定义一个结构体
|
||||
struct MyComan_struct //对应的命令结构体 小驼峰命名法+struct
|
||||
{
|
||||
uint8_t Command;
|
||||
uint16_t LenthofIn;
|
||||
};
|
||||
|
||||
|
||||
|
||||
如果发送和接受的数据结构不一样,那么就分开定义
|
||||
struct MyComan_Send_struct //对应的命令结构体 小驼峰命名法+Send_struct
|
||||
{
|
||||
uint8_t Command;
|
||||
uint16_t LenthofIn;
|
||||
|
||||
};
|
||||
|
||||
struct MyComan_Recv_struct //对应的命令结构体 小驼峰命名法+Recv_struct
|
||||
{
|
||||
uint8_t Command;
|
||||
uint16_t LenthofOut;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#endif // COMMUNICATION_STRUCT_H
|
||||
|
||||
|
||||
#endif //H750_CJSON_COMMUNICATION_STRUCT_H
|
12
Core/Inc/Control_Adjustment.h
Normal file
12
Core/Inc/Control_Adjustment.h
Normal file
@ -0,0 +1,12 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#ifndef H750_CJSON_CONTROL_ADJUSTMENT_H
|
||||
#define H750_CJSON_CONTROL_ADJUSTMENT_H
|
||||
#include "stdint.h"
|
||||
#include "stdio.h"
|
||||
void Control_St(uint8_t st_time);
|
||||
|
||||
|
||||
#endif //H750_CJSON_CONTROL_ADJUSTMENT_H
|
12
Core/Inc/Get_Parameters.h
Normal file
12
Core/Inc/Get_Parameters.h
Normal file
@ -0,0 +1,12 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#ifndef H750_CJSON_GET_PARAMETERS_H
|
||||
#define H750_CJSON_GET_PARAMETERS_H
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
|
||||
float Get_Temperature();
|
||||
#endif //H750_CJSON_GET_PARAMETERS_H
|
15
Core/Inc/Judge.h
Normal file
15
Core/Inc/Judge.h
Normal file
@ -0,0 +1,15 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#ifndef H750_CJSON_JUDGE_H
|
||||
#define H750_CJSON_JUDGE_H
|
||||
#include "string.h"
|
||||
#include "Get_Parameters.h"
|
||||
#include "Control_Adjustment.h"
|
||||
#include "cJSON_Test.h"
|
||||
#include "Store_Information.h"
|
||||
void Judge();
|
||||
|
||||
|
||||
#endif //H750_CJSON_JUDGE_H
|
16
Core/Inc/Store_Information.h
Normal file
16
Core/Inc/Store_Information.h
Normal file
@ -0,0 +1,16 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#ifndef H750_CJSON_STORE_INFORMATION_H
|
||||
#define H750_CJSON_STORE_INFORMATION_H
|
||||
|
||||
|
||||
void Printf_Pn_Number();
|
||||
void Printf_Sn_Number();
|
||||
void Printf_Product_Time();
|
||||
void Printf_Manufacturer();
|
||||
void Printf_Device_Pixel_Length();
|
||||
|
||||
|
||||
#endif //H750_CJSON_STORE_INFORMATION_H
|
@ -4,7 +4,18 @@
|
||||
#include "cJSON.h"
|
||||
#ifndef H750_CJSON_CJSON_TEST_H
|
||||
#define H750_CJSON_CJSON_TEST_H
|
||||
//void cjson(const char * g_usart_json_string);
|
||||
struct paramstruct {
|
||||
int temperature;
|
||||
int pn;
|
||||
int sn;
|
||||
int production_date;
|
||||
int manufacturer;
|
||||
int Device_Pixel_Length;
|
||||
uint8_t Set_Integration_Time;
|
||||
|
||||
};
|
||||
|
||||
void cjson(uint8_t g_usart_json_string[]);
|
||||
void parseNestedObject(cJSON *nestedObject);
|
||||
struct paramstruct *GetParametesptr();
|
||||
#endif //H750_CJSON_CJSON_TEST_H
|
||||
|
@ -56,6 +56,7 @@ void DebugMon_Handler(void);
|
||||
void PendSV_Handler(void);
|
||||
void SysTick_Handler(void);
|
||||
void USART1_IRQHandler(void);
|
||||
void USART3_IRQHandler(void);
|
||||
/* USER CODE BEGIN EFP */
|
||||
|
||||
/* USER CODE END EFP */
|
||||
|
@ -34,6 +34,8 @@ extern "C" {
|
||||
|
||||
extern UART_HandleTypeDef huart1;
|
||||
|
||||
extern UART_HandleTypeDef huart3;
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
#define USART_REC_LEN 200 /* 定义<E5AE9A><E4B989>??大接<E5A4A7><E68EA5>??200字节数据 */
|
||||
#define USART_EN_RX 1 /* 使能串口接收 */
|
||||
@ -42,6 +44,7 @@ extern UART_HandleTypeDef huart1;
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
void MX_USART1_UART_Init(void);
|
||||
void MX_USART3_UART_Init(void);
|
||||
|
||||
/* USER CODE BEGIN Prototypes */
|
||||
extern uint8_t g_usart_rx_buf[USART_REC_LEN]; /* 串口缓冲<E7BC93><E586B2>?? */
|
||||
|
186
Core/Src/Communication_Protocol.c
Normal file
186
Core/Src/Communication_Protocol.c
Normal file
@ -0,0 +1,186 @@
|
||||
#include "Communication_Protocol.h"
|
||||
#include "string.h"
|
||||
|
||||
|
||||
int32_t IRIS_Protocol_Pack(uint8_t Command,uint16_t LenthofIn, uint8_t *BufferIn, uint8_t *PackData)
|
||||
{
|
||||
if( PackData == NULL || (LenthofIn!=0 && BufferIn == NULL))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
PackData[0] = 0x55;
|
||||
PackData[1] = 0xAA;
|
||||
PackData[2] = Command;
|
||||
PackData[3] = LenthofIn & 0xFF;
|
||||
PackData[4] = (LenthofIn >> 8) & 0xFF;
|
||||
if(LenthofIn!=0)
|
||||
{
|
||||
memcpy(&PackData[5],BufferIn,LenthofIn);
|
||||
}
|
||||
uint16_t CRC = IRIS_calcCRC(PackData, LenthofIn+5);
|
||||
PackData[LenthofIn+5] = CRC & 0xFF;
|
||||
PackData[LenthofIn+6] = (CRC >> 8) & 0xFF;
|
||||
return LenthofIn+7;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
int32_t IRIS_STM32_Protocol_Unpack(uint8_t *PackData, uint16_t LenthofIn, uint8_t *Command, uint8_t *BufferOut)
|
||||
{
|
||||
|
||||
if( PackData == NULL || BufferOut == NULL)
|
||||
{
|
||||
return ERROR_INPUT;
|
||||
}
|
||||
if(PackData[0] != 0x55 || PackData[1] != 0xAA)
|
||||
{
|
||||
return ERROR_HEADER;
|
||||
}
|
||||
|
||||
uint16_t LenthofOut = PackData[3] + (PackData[4] << 8);
|
||||
if(LenthofOut > LenthofIn - 7)
|
||||
{
|
||||
return ERROR_NOT_ENOUGH_DATA;
|
||||
}
|
||||
uint16_t CRC = IRIS_calcCRC(PackData, LenthofOut+5);
|
||||
if(CRC != (PackData[LenthofOut+5] + (PackData[LenthofOut+6] << 8)))
|
||||
{
|
||||
return ERROR_CRC;
|
||||
}
|
||||
if(LenthofOut == 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
*Command = PackData[2] ;
|
||||
|
||||
memcpy(BufferOut,&PackData[5],LenthofOut);
|
||||
return LenthofOut;
|
||||
}
|
||||
|
||||
|
||||
int32_t IRIS_Protocol_Unpack(uint8_t *PackData, uint16_t LenthofIn, uint8_t Command, uint8_t *BufferOut)
|
||||
{
|
||||
if( PackData == NULL || BufferOut == NULL)
|
||||
{
|
||||
return ERROR_INPUT;
|
||||
}
|
||||
if(PackData[0] != 0x55 || PackData[1] != 0xAA)
|
||||
{
|
||||
return ERROR_HEADER;
|
||||
}
|
||||
if(PackData[2] != Command)
|
||||
{
|
||||
return ERROR_COMMAND;
|
||||
}
|
||||
uint16_t LenthofOut = *(uint16_t *)(PackData+3)-2;
|
||||
if(LenthofOut > LenthofIn - 7)
|
||||
{
|
||||
return ERROR_NOT_ENOUGH_DATA;
|
||||
}
|
||||
uint16_t CRC = IRIS_calcCRC(PackData, LenthofOut+5);
|
||||
uint16_t CRC2=*(uint16_t *)(PackData+LenthofOut+5);
|
||||
if(CRC != CRC2)
|
||||
{
|
||||
return ERROR_CRC;
|
||||
}
|
||||
if(LenthofOut == 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
memcpy(BufferOut,&PackData[5],LenthofOut);
|
||||
return LenthofOut;
|
||||
|
||||
}
|
||||
|
||||
|
||||
int32_t IRIS_Cut_Befor_Header(uint8_t *PackData, uint16_t LenthofIn )
|
||||
{
|
||||
if( PackData == NULL )
|
||||
{
|
||||
return ERROR_INPUT;
|
||||
}
|
||||
uint16_t i = 0;
|
||||
for(i = 0; i < LenthofIn; i++)
|
||||
{
|
||||
if(PackData[i] == 0x55 && PackData[i+1] == 0xAA)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(i == LenthofIn)
|
||||
{
|
||||
//清空数据
|
||||
memset(PackData,0,LenthofIn);
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint16_t LenthofOut = LenthofIn - i;
|
||||
memcpy(PackData,&PackData[i],LenthofOut);
|
||||
return LenthofOut;
|
||||
}
|
||||
|
||||
int32_t IRIS_Check_Data_Valid(uint8_t *PackData, uint16_t LenthofIn)
|
||||
{
|
||||
if( PackData == NULL)
|
||||
{
|
||||
return ERROR_INPUT;
|
||||
}
|
||||
if (LenthofIn < 7)
|
||||
{
|
||||
return ERROR_NOT_ENOUGH_DATA;
|
||||
/* code */
|
||||
}
|
||||
|
||||
if(PackData[0] != 0x55 || PackData[1] != 0xAA)
|
||||
{
|
||||
return ERROR_HEADER;
|
||||
}
|
||||
uint16_t LenthofOut = PackData[3] + (PackData[4] << 8);
|
||||
if(LenthofOut > LenthofIn - 7)
|
||||
{
|
||||
return ERROR_NOT_ENOUGH_DATA;
|
||||
}
|
||||
uint16_t CRC = IRIS_calcCRC(PackData, LenthofOut+5);
|
||||
if(CRC != (PackData[LenthofOut+5] + (PackData[LenthofOut+6] << 8)))
|
||||
{
|
||||
return ERROR_CRC;
|
||||
}
|
||||
return 1;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
uint16_t IRIS_calcCRC(const void *pBuffer, uint16_t bufferSize)
|
||||
{
|
||||
const uint8_t *pBytesArray = (const uint8_t*)pBuffer;
|
||||
uint16_t poly = 0x8408;
|
||||
uint16_t crc = 0;
|
||||
uint8_t carry;
|
||||
uint8_t i_bits;
|
||||
uint16_t j;
|
||||
for (j =0; j < bufferSize; j++)
|
||||
{
|
||||
crc = crc ^ pBytesArray[j];
|
||||
for (i_bits = 0; i_bits < 8; i_bits++)
|
||||
{
|
||||
carry = crc & 1;
|
||||
crc = crc / 2;
|
||||
if (carry)
|
||||
{
|
||||
crc = crc^poly;
|
||||
}
|
||||
}
|
||||
}
|
||||
return crc;
|
||||
}
|
||||
|
11
Core/Src/Control_Adjustment.c
Normal file
11
Core/Src/Control_Adjustment.c
Normal file
@ -0,0 +1,11 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#include "Control_Adjustment.h"
|
||||
|
||||
void Control_St(uint8_t st_time){
|
||||
int st= 0;
|
||||
st = st_time;
|
||||
printf("St = %d\n",st);
|
||||
}
|
9
Core/Src/Get_Parameters.c
Normal file
9
Core/Src/Get_Parameters.c
Normal file
@ -0,0 +1,9 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#include "Get_Parameters.h"
|
||||
float Get_Temperature(){
|
||||
return 1.00;
|
||||
|
||||
}
|
33
Core/Src/Judge.c
Normal file
33
Core/Src/Judge.c
Normal file
@ -0,0 +1,33 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#include "Judge.h"
|
||||
|
||||
void Judge(){
|
||||
struct paramstruct *ParamStructPtr;
|
||||
ParamStructPtr = GetParametesptr();
|
||||
if(ParamStructPtr->pn == 1 ){
|
||||
Printf_Pn_Number();
|
||||
}
|
||||
if(ParamStructPtr->sn == 1){
|
||||
Printf_Sn_Number();
|
||||
}
|
||||
if(ParamStructPtr->production_date ==1){
|
||||
Printf_Product_Time();
|
||||
}
|
||||
if(ParamStructPtr->manufacturer ==1){
|
||||
Printf_Manufacturer();
|
||||
}
|
||||
if(ParamStructPtr->Device_Pixel_Length ==1){
|
||||
Printf_Device_Pixel_Length();
|
||||
}
|
||||
if(ParamStructPtr->temperature==1){
|
||||
printf("Temperature:%.1f\r\n",Get_Temperature());
|
||||
}
|
||||
if(ParamStructPtr->Set_Integration_Time!=0){
|
||||
Control_St(ParamStructPtr->Set_Integration_Time);
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -1,25 +1,38 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/29.
|
||||
//
|
||||
#include <stdbool.h>
|
||||
#include "usart.h"
|
||||
#include "string.h"
|
||||
#include "stdio.h"
|
||||
#include "stdlib.h"
|
||||
#include "cJSON_Test.h"
|
||||
#include "SerialDataProcess.h"
|
||||
#include "Communication_Protocol.h"
|
||||
extern bool Printf_Flag ;
|
||||
uint8_t cjson_buf[200];
|
||||
void SerialDataProcess()
|
||||
{
|
||||
uint8_t len;
|
||||
int value;
|
||||
if (g_usart_rx_sta & 0x8000) /* <20><><EFBFBD>յ<EFBFBD><D5B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||||
{
|
||||
len = g_usart_rx_sta & 0x3FFF; /* <20><>ȡ<EFBFBD><C8A1>Ч<EFBFBD><D0A7><EFBFBD>ݳ<EFBFBD><DDB3><EFBFBD> */
|
||||
g_usart_rx_buf[len] = '\0'; /* ĩβ<C4A9><CEB2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> */
|
||||
printf("<EFBFBD><EFBFBD><EFBFBD>յ<EFBFBD><EFBFBD><EFBFBD>JSON<EFBFBD><EFBFBD><EFBFBD><EFBFBD>: ");
|
||||
printf(" %s\r\n",g_usart_rx_buf);
|
||||
cjson(g_usart_rx_buf);
|
||||
|
||||
//IRIS_Cut_Befor_Header(g_usart_rx_buf,len);
|
||||
IRIS_Protocol_Unpack(g_usart_rx_buf, len, 0x00, cjson_buf);
|
||||
printf("<EFBFBD>и<EFBFBD>֮<EFBFBD><EFBFBD><EFBFBD><EFBFBD> %s\r\n",cjson_buf);
|
||||
cjson(cjson_buf);
|
||||
//
|
||||
|
||||
g_usart_rx_sta = 0;
|
||||
memset(g_usart_rx_buf, 0, sizeof(g_usart_rx_buf));
|
||||
}else
|
||||
{
|
||||
Printf_Flag = false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
35
Core/Src/Store_Information.c
Normal file
35
Core/Src/Store_Information.c
Normal file
@ -0,0 +1,35 @@
|
||||
//
|
||||
// Created by zhu on 2024/1/31.
|
||||
//
|
||||
|
||||
#include "Store_Information.h"
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
char pn_number[12]; // 11 字节存储 pn 号,再加一个字节用于存放字符串结束符 '\0'
|
||||
char sn_number[9];
|
||||
char Product_Time[9];
|
||||
char Manufacturer[7];
|
||||
char Device_Pixel_Length[4];
|
||||
uint8_t Set_Integration_Time = 1;
|
||||
|
||||
void Printf_Pn_Number() {
|
||||
strcpy(pn_number, "IRIS_ZHU_01");
|
||||
printf("%s\n", pn_number);
|
||||
}
|
||||
void Printf_Sn_Number() {
|
||||
strcpy(sn_number, "Sensor_1");
|
||||
printf("%s\n", sn_number);
|
||||
}
|
||||
void Printf_Product_Time() {
|
||||
strcpy(Product_Time, "20240131");
|
||||
printf("%s\n", Product_Time);
|
||||
}
|
||||
void Printf_Manufacturer() {
|
||||
strcpy(Manufacturer, "Iris");
|
||||
printf("%s\n", Manufacturer);
|
||||
}
|
||||
void Printf_Device_Pixel_Length() {
|
||||
strcpy(Device_Pixel_Length, "512");
|
||||
printf("%s\n", Device_Pixel_Length);
|
||||
}
|
@ -1,7 +1,12 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "cJSON_Test.h"
|
||||
|
||||
#include "string.h"
|
||||
#include "Store_Information.h"
|
||||
#include "stdlib.h"
|
||||
#include "stdbool.h"
|
||||
struct paramstruct Parameters; //声明结构体对象
|
||||
extern bool Printf_Flag ;
|
||||
void cjson(uint8_t g_usart_json_string[])
|
||||
{
|
||||
const char * json_string = g_usart_json_string;
|
||||
@ -9,34 +14,50 @@ void cjson(uint8_t g_usart_json_string[])
|
||||
cJSON *json = cJSON_Parse(json_string);
|
||||
if (json != NULL) {
|
||||
// 获取 JSON 对象中的值
|
||||
cJSON *name = cJSON_GetObjectItem(json, "name");
|
||||
cJSON *age = cJSON_GetObjectItem(json, "age");
|
||||
cJSON *city = cJSON_GetObjectItem(json, "city");
|
||||
cJSON *waihao = cJSON_GetObjectItem(json, "waihao");
|
||||
if (name != NULL && age != NULL && city != NULL&& waihao != NULL) {
|
||||
// 打印解析结果
|
||||
printf("Name: %s\n", name->valuestring);
|
||||
printf("Age: %d\n", age->valueint);
|
||||
printf("City: %s\n", city->valuestring);
|
||||
// 解析嵌套的对象
|
||||
printf("Waihao:\n");
|
||||
parseNestedObject(waihao);
|
||||
cJSON *temperature = cJSON_GetObjectItem(json, "temperature");// char * name 是结构体指针,通过name->valuestring访问结构体中成员的字符串
|
||||
cJSON *pn = cJSON_GetObjectItem(json, "pn");
|
||||
cJSON *sn = cJSON_GetObjectItem(json, "sn");
|
||||
cJSON *production_date = cJSON_GetObjectItem(json, "production_date");
|
||||
cJSON *manufacturer = cJSON_GetObjectItem(json, "manufacturer");
|
||||
cJSON *Device_Pixel_Length = cJSON_GetObjectItem(json, "device_pixel_length");
|
||||
cJSON *Set_Integration_Time = cJSON_GetObjectItem(json, "set_integration_time");
|
||||
|
||||
if (temperature != NULL && pn != NULL && sn != NULL&& production_date != NULL
|
||||
&& manufacturer != NULL&&Device_Pixel_Length!=NULL&&Set_Integration_Time!=NULL) {
|
||||
// 打印解析结果
|
||||
printf("Temperature: %d\n", temperature->valueint);
|
||||
printf("Pn:%d\n", pn ->valueint);
|
||||
printf("Sn:%d\n", sn ->valueint);
|
||||
printf("Production_date:%d\n", production_date ->valueint);
|
||||
printf("Manufacturer:%d\n", manufacturer ->valueint);
|
||||
printf("Device_Pixel_Length:%d\n", Device_Pixel_Length ->valueint);
|
||||
printf("Set_Integration_Time:%d\n", Set_Integration_Time ->valueint);
|
||||
|
||||
Parameters.sn = sn ->valueint;
|
||||
Parameters.pn = pn->valueint;
|
||||
Parameters.temperature = temperature->valueint;
|
||||
Parameters.production_date = production_date->valueint;
|
||||
Parameters.manufacturer = manufacturer->valueint;
|
||||
Parameters.Device_Pixel_Length = Device_Pixel_Length->valueint;
|
||||
Parameters.Set_Integration_Time = Set_Integration_Time->valueint;
|
||||
|
||||
}
|
||||
|
||||
// 释放 cJSON 对象
|
||||
|
||||
|
||||
Printf_Flag= true;
|
||||
// 释放 cJSON 对象
|
||||
cJSON_Delete(json);
|
||||
} else {
|
||||
// 处理解析错误
|
||||
printf("JSON parsing error.\n");
|
||||
printf("JSON parsing error JSON parsing error JSON parsing error JSON parsing error.\n");
|
||||
Printf_Flag = false;
|
||||
|
||||
}
|
||||
}
|
||||
void parseNestedObject(cJSON *nestedObject) {
|
||||
cJSON *waihao1 = cJSON_GetObjectItem(nestedObject, "waihao1");
|
||||
cJSON *waihao2 = cJSON_GetObjectItem(nestedObject, "waihao2");
|
||||
|
||||
if (waihao1 != NULL && waihao2 != NULL) {
|
||||
// 打印嵌套对象的属性
|
||||
printf(" waihao1: %s\n", waihao1->valuestring);
|
||||
printf(" waihao2: %s\n", waihao2->valuestring);
|
||||
}
|
||||
|
||||
struct paramstruct *GetParametesptr()
|
||||
{
|
||||
return &Parameters;
|
||||
}
|
@ -44,6 +44,7 @@ void MX_GPIO_Init(void)
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(LED_GPIO_Port, LED_Pin, GPIO_PIN_RESET);
|
||||
|
@ -28,9 +28,11 @@
|
||||
#include <stdio.h>
|
||||
#include "SerialDataProcess.h"
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include "stdlib.h"
|
||||
#include "Store_Information.h"
|
||||
#include "Judge.h"
|
||||
|
||||
#include "string.h"
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
@ -56,14 +58,13 @@
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
void SystemClock_Config(void);
|
||||
static void MPU_Config(void);
|
||||
/* USER CODE BEGIN PFP */
|
||||
|
||||
/* USER CODE END PFP */
|
||||
|
||||
/* Private user code ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
bool Printf_Flag = true;
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/**
|
||||
@ -73,13 +74,10 @@ static void MPU_Config(void);
|
||||
int main(void)
|
||||
{
|
||||
/* USER CODE BEGIN 1 */
|
||||
uint8_t len;
|
||||
int age;
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
/* MPU Configuration--------------------------------------------------------*/
|
||||
MPU_Config();
|
||||
|
||||
/* Enable I-Cache---------------------------------------------------------*/
|
||||
SCB_EnableICache();
|
||||
|
||||
@ -105,10 +103,11 @@ int main(void)
|
||||
/* Initialize all configured peripherals */
|
||||
MX_GPIO_Init();
|
||||
MX_USART1_UART_Init();
|
||||
MX_USART3_UART_Init();
|
||||
/* USER CODE BEGIN 2 */
|
||||
RetargetInit(&huart1);
|
||||
RetargetInit(&huart3);//用串口3来进行信息的控制和输出。串口1进行图像的输出。
|
||||
|
||||
|
||||
int value;
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Infinite loop */
|
||||
@ -119,8 +118,22 @@ int main(void)
|
||||
|
||||
/* USER CODE BEGIN 3 */
|
||||
|
||||
SerialDataProcess();
|
||||
if(Printf_Flag== true){
|
||||
Judge();
|
||||
Printf_Flag = false;
|
||||
}
|
||||
|
||||
|
||||
//uint8_t p[2];
|
||||
//p[0] = 0x55;
|
||||
//p[1] = 0xaa;
|
||||
// HAL_UART_Transmit(&huart3, p, 2, 10);
|
||||
// paramstruct ->age = 20;
|
||||
|
||||
|
||||
//free(ParamStructPtr);
|
||||
|
||||
SerialDataProcess();
|
||||
|
||||
// printf("Hello World\r\n");
|
||||
}
|
||||
@ -194,35 +207,6 @@ void SystemClock_Config(void)
|
||||
|
||||
/* USER CODE END 4 */
|
||||
|
||||
/* MPU Configuration */
|
||||
|
||||
void MPU_Config(void)
|
||||
{
|
||||
MPU_Region_InitTypeDef MPU_InitStruct = {0};
|
||||
|
||||
/* Disables the MPU */
|
||||
HAL_MPU_Disable();
|
||||
|
||||
/** Initializes and configures the Region and the memory to be protected
|
||||
*/
|
||||
MPU_InitStruct.Enable = MPU_REGION_ENABLE;
|
||||
MPU_InitStruct.Number = MPU_REGION_NUMBER0;
|
||||
MPU_InitStruct.BaseAddress = 0x24000000;
|
||||
MPU_InitStruct.Size = MPU_REGION_SIZE_512KB;
|
||||
MPU_InitStruct.SubRegionDisable = 0x00;
|
||||
MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL1;
|
||||
MPU_InitStruct.AccessPermission = MPU_REGION_FULL_ACCESS;
|
||||
MPU_InitStruct.DisableExec = MPU_INSTRUCTION_ACCESS_ENABLE;
|
||||
MPU_InitStruct.IsShareable = MPU_ACCESS_NOT_SHAREABLE;
|
||||
MPU_InitStruct.IsCacheable = MPU_ACCESS_CACHEABLE;
|
||||
MPU_InitStruct.IsBufferable = MPU_ACCESS_BUFFERABLE;
|
||||
|
||||
HAL_MPU_ConfigRegion(&MPU_InitStruct);
|
||||
/* Enables the MPU */
|
||||
HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function is executed in case of error occurrence.
|
||||
* @retval None
|
||||
|
@ -56,6 +56,7 @@
|
||||
|
||||
/* External variables --------------------------------------------------------*/
|
||||
extern UART_HandleTypeDef huart1;
|
||||
extern UART_HandleTypeDef huart3;
|
||||
/* USER CODE BEGIN EV */
|
||||
|
||||
/* USER CODE END EV */
|
||||
@ -212,6 +213,20 @@ void USART1_IRQHandler(void)
|
||||
/* USER CODE END USART1_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles USART3 global interrupt.
|
||||
*/
|
||||
void USART3_IRQHandler(void)
|
||||
{
|
||||
/* USER CODE BEGIN USART3_IRQn 0 */
|
||||
|
||||
/* USER CODE END USART3_IRQn 0 */
|
||||
HAL_UART_IRQHandler(&huart3);
|
||||
/* USER CODE BEGIN USART3_IRQn 1 */
|
||||
|
||||
/* USER CODE END USART3_IRQn 1 */
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
110
Core/Src/usart.c
110
Core/Src/usart.c
@ -37,6 +37,7 @@ uint8_t g_rx_buffer[RXBUFFERSIZE];
|
||||
/* USER CODE END 0 */
|
||||
|
||||
UART_HandleTypeDef huart1;
|
||||
UART_HandleTypeDef huart3;
|
||||
|
||||
/* USART1 init function */
|
||||
|
||||
@ -82,6 +83,50 @@ void MX_USART1_UART_Init(void)
|
||||
|
||||
/* USER CODE END USART1_Init 2 */
|
||||
|
||||
}
|
||||
/* USART3 init function */
|
||||
|
||||
void MX_USART3_UART_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN USART3_Init 0 */
|
||||
|
||||
/* USER CODE END USART3_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN USART3_Init 1 */
|
||||
|
||||
/* USER CODE END USART3_Init 1 */
|
||||
huart3.Instance = USART3;
|
||||
huart3.Init.BaudRate = 115200;
|
||||
huart3.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
huart3.Init.StopBits = UART_STOPBITS_1;
|
||||
huart3.Init.Parity = UART_PARITY_NONE;
|
||||
huart3.Init.Mode = UART_MODE_TX_RX;
|
||||
huart3.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
||||
huart3.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||
huart3.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
|
||||
huart3.Init.ClockPrescaler = UART_PRESCALER_DIV1;
|
||||
huart3.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT;
|
||||
if (HAL_UART_Init(&huart3) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
if (HAL_UARTEx_SetTxFifoThreshold(&huart3, UART_TXFIFO_THRESHOLD_1_8) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
if (HAL_UARTEx_SetRxFifoThreshold(&huart3, UART_RXFIFO_THRESHOLD_1_8) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
if (HAL_UARTEx_DisableFifoMode(&huart3) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN USART3_Init 2 */
|
||||
HAL_UART_Receive_IT(&huart3, (uint8_t *)g_rx_buffer, RXBUFFERSIZE);
|
||||
/* USER CODE END USART3_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
@ -115,7 +160,7 @@ void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_9|GPIO_PIN_10;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF7_USART1;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
@ -126,6 +171,43 @@ void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
|
||||
/* USER CODE END USART1_MspInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART3)
|
||||
{
|
||||
/* USER CODE BEGIN USART3_MspInit 0 */
|
||||
|
||||
/* USER CODE END USART3_MspInit 0 */
|
||||
|
||||
/** Initializes the peripherals clock
|
||||
*/
|
||||
PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USART3;
|
||||
PeriphClkInitStruct.Usart234578ClockSelection = RCC_USART234578CLKSOURCE_D2PCLK1;
|
||||
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
|
||||
/* USART3 clock enable */
|
||||
__HAL_RCC_USART3_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
/**USART3 GPIO Configuration
|
||||
PB10 ------> USART3_TX
|
||||
PB11 ------> USART3_RX
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF7_USART3;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/* USART3 interrupt Init */
|
||||
HAL_NVIC_SetPriority(USART3_IRQn, 0, 0);
|
||||
HAL_NVIC_EnableIRQ(USART3_IRQn);
|
||||
/* USER CODE BEGIN USART3_MspInit 1 */
|
||||
|
||||
/* USER CODE END USART3_MspInit 1 */
|
||||
}
|
||||
}
|
||||
|
||||
void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
|
||||
@ -151,14 +233,34 @@ void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
|
||||
|
||||
/* USER CODE END USART1_MspDeInit 1 */
|
||||
}
|
||||
else if(uartHandle->Instance==USART3)
|
||||
{
|
||||
/* USER CODE BEGIN USART3_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END USART3_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_USART3_CLK_DISABLE();
|
||||
|
||||
/**USART3 GPIO Configuration
|
||||
PB10 ------> USART3_TX
|
||||
PB11 ------> USART3_RX
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_10|GPIO_PIN_11);
|
||||
|
||||
/* USART3 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(USART3_IRQn);
|
||||
/* USER CODE BEGIN USART3_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END USART3_MspDeInit 1 */
|
||||
}
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
|
||||
{
|
||||
if(huart->Instance == USART1) /* <20><><EFBFBD><EFBFBD><EFBFBD>Ǵ<EFBFBD>??1 */
|
||||
if(huart->Instance == USART3) /* <20><><EFBFBD><EFBFBD><EFBFBD>Ǵ<EFBFBD><EFBFBD><EFBFBD>1 */
|
||||
{
|
||||
if((g_usart_rx_sta & 0x8000) == 0) /* <20><><EFBFBD><EFBFBD>δ<EFBFBD><CEB4>?? */
|
||||
if((g_usart_rx_sta & 0x8000) == 0) /* <20><><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD><EFBFBD> */
|
||||
{
|
||||
if(g_usart_rx_sta & 0x4000) /* <20><><EFBFBD>յ<EFBFBD><D5B5><EFBFBD>0x0d */
|
||||
{
|
||||
@ -189,7 +291,7 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
|
||||
}
|
||||
}
|
||||
|
||||
HAL_UART_Receive_IT(&huart1, (uint8_t *)g_rx_buffer, RXBUFFERSIZE);
|
||||
HAL_UART_Receive_IT(&huart3, (uint8_t *)g_rx_buffer, RXBUFFERSIZE);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -24,16 +24,19 @@ Mcu.IP1=NVIC
|
||||
Mcu.IP2=RCC
|
||||
Mcu.IP3=SYS
|
||||
Mcu.IP4=USART1
|
||||
Mcu.IPNb=5
|
||||
Mcu.IP5=USART3
|
||||
Mcu.IPNb=6
|
||||
Mcu.Name=STM32H750VBTx
|
||||
Mcu.Package=LQFP100
|
||||
Mcu.Pin0=PH0-OSC_IN (PH0)
|
||||
Mcu.Pin1=PH1-OSC_OUT (PH1)
|
||||
Mcu.Pin2=PA1
|
||||
Mcu.Pin3=PA9
|
||||
Mcu.Pin4=PA10
|
||||
Mcu.Pin5=VP_SYS_VS_Systick
|
||||
Mcu.PinsNb=6
|
||||
Mcu.Pin3=PB10
|
||||
Mcu.Pin4=PB11
|
||||
Mcu.Pin5=PA9
|
||||
Mcu.Pin6=PA10
|
||||
Mcu.Pin7=VP_SYS_VS_Systick
|
||||
Mcu.PinsNb=8
|
||||
Mcu.ThirdPartyNb=0
|
||||
Mcu.UserConstants=
|
||||
Mcu.UserName=STM32H750VBTx
|
||||
@ -50,6 +53,7 @@ NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false
|
||||
NVIC.USART1_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
||||
NVIC.USART3_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
PA1.GPIOParameters=GPIO_Speed,GPIO_Label
|
||||
PA1.GPIO_Label=LED
|
||||
@ -62,6 +66,12 @@ PA10.Signal=USART1_RX
|
||||
PA9.Locked=true
|
||||
PA9.Mode=Asynchronous
|
||||
PA9.Signal=USART1_TX
|
||||
PB10.Locked=true
|
||||
PB10.Mode=Asynchronous
|
||||
PB10.Signal=USART3_TX
|
||||
PB11.Locked=true
|
||||
PB11.Mode=Asynchronous
|
||||
PB11.Signal=USART3_RX
|
||||
PH0-OSC_IN\ (PH0).Mode=HSE-External-Oscillator
|
||||
PH0-OSC_IN\ (PH0).Signal=RCC_OSC_IN
|
||||
PH1-OSC_OUT\ (PH1).Mode=HSE-External-Oscillator
|
||||
@ -95,7 +105,7 @@ ProjectManager.StackSize=0x400
|
||||
ProjectManager.TargetToolchain=STM32CubeIDE
|
||||
ProjectManager.ToolChainLocation=
|
||||
ProjectManager.UnderRoot=true
|
||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_USART1_UART_Init-USART1-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true
|
||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_USART1_UART_Init-USART1-false-HAL-true,4-MX_USART3_UART_Init-USART3-false-HAL-true,0-MX_CORTEX_M7_Init-CORTEX_M7-false-HAL-true
|
||||
RCC.ADCFreq_Value=16125000
|
||||
RCC.AHB12Freq_Value=240000000
|
||||
RCC.AHB4Freq_Value=240000000
|
||||
@ -176,6 +186,8 @@ RCC.VCOInput2Freq_Value=250000
|
||||
RCC.VCOInput3Freq_Value=250000
|
||||
USART1.IPParameters=VirtualMode-Asynchronous
|
||||
USART1.VirtualMode-Asynchronous=VM_ASYNC
|
||||
USART3.IPParameters=VirtualMode-Asynchronous
|
||||
USART3.VirtualMode-Asynchronous=VM_ASYNC
|
||||
VP_SYS_VS_Systick.Mode=SysTick
|
||||
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
||||
board=custom
|
||||
|
@ -247,10 +247,10 @@
|
||||
},
|
||||
{
|
||||
"name" : "HELPSTRING",
|
||||
"value" : "CXX compiler"
|
||||
"value" : "No help, variable specified on the command line."
|
||||
}
|
||||
],
|
||||
"type" : "STRING",
|
||||
"type" : "UNINITIALIZED",
|
||||
"value" : "F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe"
|
||||
},
|
||||
{
|
||||
@ -375,10 +375,10 @@
|
||||
},
|
||||
{
|
||||
"name" : "HELPSTRING",
|
||||
"value" : "C compiler"
|
||||
"value" : "No help, variable specified on the command line."
|
||||
}
|
||||
],
|
||||
"type" : "STRING",
|
||||
"type" : "UNINITIALIZED",
|
||||
"value" : "F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe"
|
||||
},
|
||||
{
|
@ -0,0 +1,140 @@
|
||||
{
|
||||
"inputs" :
|
||||
[
|
||||
{
|
||||
"path" : "CMakeLists.txt"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "cmake-build-debug/CMakeFiles/3.22.3/CMakeSystem.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "cmake-build-debug/CMakeFiles/3.22.3/CMakeCCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "cmake-build-debug/CMakeFiles/3.22.3/CMakeCXXCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isGenerated" : true,
|
||||
"path" : "cmake-build-debug/CMakeFiles/3.22.3/CMakeASMCompiler.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Platform/Generic.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeCInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/GNU-C.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Platform/Generic.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/GNU-CXX.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/GNU.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Platform/Generic.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/CMakeASMInformation.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/GNU-ASM.cmake"
|
||||
},
|
||||
{
|
||||
"isCMake" : true,
|
||||
"isExternal" : true,
|
||||
"path" : "D:/CLion 2022.1.3/bin/cmake/win/share/cmake-3.22/Modules/Compiler/GNU.cmake"
|
||||
}
|
||||
],
|
||||
"kind" : "cmakeFiles",
|
||||
"paths" :
|
||||
{
|
||||
"build" : "D:/cubecode/H750_CJSON/cmake-build-debug",
|
||||
"source" : "D:/cubecode/H750_CJSON"
|
||||
},
|
||||
"version" :
|
||||
{
|
||||
"major" : 1,
|
||||
"minor" : 0
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -39,7 +39,7 @@
|
||||
{
|
||||
"directoryIndex" : 0,
|
||||
"id" : "H750_CJSON.elf::@6890427a1f51a3e7e1df",
|
||||
"jsonFile" : "target-H750_CJSON.elf-Debug-6bc99949b59ac02e0337.json",
|
||||
"jsonFile" : "target-H750_CJSON.elf-Debug-c70096ca3032ed451dde.json",
|
||||
"name" : "H750_CJSON.elf",
|
||||
"projectIndex" : 0
|
||||
}
|
@ -26,7 +26,7 @@
|
||||
"objects" :
|
||||
[
|
||||
{
|
||||
"jsonFile" : "codemodel-v2-bffe26efb09c7133c0c5.json",
|
||||
"jsonFile" : "codemodel-v2-852fbfc261dd95487f45.json",
|
||||
"kind" : "codemodel",
|
||||
"version" :
|
||||
{
|
||||
@ -35,7 +35,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cache-v2-721010c07f4a878d6671.json",
|
||||
"jsonFile" : "cache-v2-320f44c447bcef6214e8.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
@ -44,7 +44,7 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-6d34257527749cb43841.json",
|
||||
"jsonFile" : "cmakeFiles-v1-66b4c99d10201fd6ec93.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
@ -66,7 +66,7 @@
|
||||
{
|
||||
"cache-v2" :
|
||||
{
|
||||
"jsonFile" : "cache-v2-721010c07f4a878d6671.json",
|
||||
"jsonFile" : "cache-v2-320f44c447bcef6214e8.json",
|
||||
"kind" : "cache",
|
||||
"version" :
|
||||
{
|
||||
@ -76,7 +76,7 @@
|
||||
},
|
||||
"cmakeFiles-v1" :
|
||||
{
|
||||
"jsonFile" : "cmakeFiles-v1-6d34257527749cb43841.json",
|
||||
"jsonFile" : "cmakeFiles-v1-66b4c99d10201fd6ec93.json",
|
||||
"kind" : "cmakeFiles",
|
||||
"version" :
|
||||
{
|
||||
@ -86,7 +86,7 @@
|
||||
},
|
||||
"codemodel-v2" :
|
||||
{
|
||||
"jsonFile" : "codemodel-v2-bffe26efb09c7133c0c5.json",
|
||||
"jsonFile" : "codemodel-v2-852fbfc261dd95487f45.json",
|
||||
"kind" : "codemodel",
|
||||
"version" :
|
||||
{
|
@ -184,29 +184,23 @@
|
||||
},
|
||||
"sourceIndexes" :
|
||||
[
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
89,
|
||||
90,
|
||||
91,
|
||||
92,
|
||||
93,
|
||||
94,
|
||||
95,
|
||||
96,
|
||||
97,
|
||||
98,
|
||||
99,
|
||||
21,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
100,
|
||||
101,
|
||||
102,
|
||||
@ -215,7 +209,18 @@
|
||||
105,
|
||||
106,
|
||||
107,
|
||||
108
|
||||
108,
|
||||
109,
|
||||
110,
|
||||
111,
|
||||
112,
|
||||
113,
|
||||
114,
|
||||
115,
|
||||
116,
|
||||
117,
|
||||
118,
|
||||
119
|
||||
]
|
||||
},
|
||||
{
|
||||
@ -310,7 +315,7 @@
|
||||
"language" : "ASM",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
21
|
||||
32
|
||||
]
|
||||
}
|
||||
],
|
||||
@ -382,20 +387,15 @@
|
||||
6,
|
||||
7,
|
||||
8,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
32,
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
33,
|
||||
34,
|
||||
35,
|
||||
36,
|
||||
37,
|
||||
38,
|
||||
39,
|
||||
@ -409,6 +409,7 @@
|
||||
47,
|
||||
48,
|
||||
49,
|
||||
50,
|
||||
51,
|
||||
52,
|
||||
53,
|
||||
@ -419,7 +420,6 @@
|
||||
58,
|
||||
59,
|
||||
60,
|
||||
61,
|
||||
62,
|
||||
63,
|
||||
64,
|
||||
@ -445,25 +445,8 @@
|
||||
84,
|
||||
85,
|
||||
86,
|
||||
87
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
9,
|
||||
10,
|
||||
11,
|
||||
12,
|
||||
13,
|
||||
14,
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
87,
|
||||
88,
|
||||
89,
|
||||
90,
|
||||
91,
|
||||
@ -473,8 +456,30 @@
|
||||
95,
|
||||
96,
|
||||
97,
|
||||
98,
|
||||
99,
|
||||
98
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "Source Files",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
15,
|
||||
16,
|
||||
17,
|
||||
18,
|
||||
19,
|
||||
20,
|
||||
21,
|
||||
22,
|
||||
23,
|
||||
24,
|
||||
25,
|
||||
26,
|
||||
27,
|
||||
28,
|
||||
29,
|
||||
30,
|
||||
31,
|
||||
100,
|
||||
101,
|
||||
102,
|
||||
@ -483,28 +488,69 @@
|
||||
105,
|
||||
106,
|
||||
107,
|
||||
108
|
||||
108,
|
||||
109,
|
||||
110,
|
||||
111,
|
||||
112,
|
||||
113,
|
||||
114,
|
||||
115,
|
||||
116,
|
||||
117,
|
||||
118,
|
||||
119
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "",
|
||||
"sourceIndexes" :
|
||||
[
|
||||
21,
|
||||
25,
|
||||
50,
|
||||
88,
|
||||
109
|
||||
32,
|
||||
36,
|
||||
61,
|
||||
99,
|
||||
120
|
||||
]
|
||||
}
|
||||
],
|
||||
"sources" :
|
||||
[
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/Communication_Protocol.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/Communication_struct.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/Control_Adjustment.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/Get_Parameters.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/Judge.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/SerialDataProcess.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/Store_Information.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"path" : "Core/Inc/cJSON.h",
|
||||
@ -545,12 +591,42 @@
|
||||
"path" : "Core/Inc/usart.h",
|
||||
"sourceGroupIndex" : 0
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Core/Src/Communication_Protocol.c",
|
||||
"sourceGroupIndex" : 1
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Core/Src/Control_Adjustment.c",
|
||||
"sourceGroupIndex" : 1
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Core/Src/Get_Parameters.c",
|
||||
"sourceGroupIndex" : 1
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Core/Src/Judge.c",
|
||||
"sourceGroupIndex" : 1
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Core/Src/SerialDataProcess.c",
|
||||
"sourceGroupIndex" : 1
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
||||
"path" : "Core/Src/Store_Information.c",
|
||||
"sourceGroupIndex" : 1
|
||||
},
|
||||
{
|
||||
"backtrace" : 1,
|
||||
"compileGroupIndex" : 0,
|
Binary file not shown.
@ -1,63 +1,40 @@
|
||||
# ninja log v5
|
||||
606 975 7282147872482033 CMakeFiles/H750_CJSON.elf.dir/Core/Src/gpio.c.obj f06eb9e3cb1fa734
|
||||
6058 6838 7282147931111613 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c.obj 717dd0c58d21c693
|
||||
646 1374 7282147875758394 CMakeFiles/H750_CJSON.elf.dir/Core/Src/stm32h7xx_hal_msp.c.obj 8c3a154e8e5d8650
|
||||
1653 1867 7282147881268671 CMakeFiles/H750_CJSON.elf.dir/Core/Src/sysmem.c.obj a0362846736b7af
|
||||
976 1653 7282147878137050 CMakeFiles/H750_CJSON.elf.dir/Core/Src/retarget.c.obj 79a3d55191931bc8
|
||||
24 570 7282206577265878 CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj 3b1b3dd76e950676
|
||||
32 1838 7282147881119168 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON.c.obj c5e628ca6b2e6e8a
|
||||
2416 2848 7282147891197272 CMakeFiles/H750_CJSON.elf.dir/Core/Src/system_stm32h7xx.c.obj b6e3587690357e7f
|
||||
1838 2415 7282147885477448 CMakeFiles/H750_CJSON.elf.dir/Core/Src/syscalls.c.obj bd0393fcf2be6642
|
||||
1988 2373 7282147884958814 CMakeFiles/H750_CJSON.elf.dir/Core/Startup/startup_stm32h750vbtx.s.obj 9c0c3c7835f5de97
|
||||
1867 2640 7282147886454847 CMakeFiles/H750_CJSON.elf.dir/Core/Src/stm32h7xx_it.c.obj 4a1fd855d78dd07b
|
||||
8 328 7282152346754712 CMakeFiles/H750_CJSON.elf.dir/Core/Src/usart.c.obj dcf02496415636a5
|
||||
2849 3440 7282147897032364 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c.obj 7fe590ca3391b88
|
||||
3 152 7282215327538902 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
3440 4099 7282147903538547 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c.obj 6f4f0bee948451c
|
||||
3001 3665 7282147899319818 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c.obj f3ef9e5d5cd915ca
|
||||
3452 3910 7282147901833110 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c.obj d612570059458e81
|
||||
2373 3452 7282147897051429 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c.obj 3877a584aff14dae
|
||||
3665 4311 7282147905622973 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c.obj 6bdc89544ffcd2be
|
||||
3911 4398 7282147906670172 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c.obj fb2e9e40c7afc372
|
||||
4399 4818 7282147910833358 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c.obj 616003aecd5d066a
|
||||
4100 4496 7282147907601604 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c.obj 90c3cc63ea16d040
|
||||
5513 5863 7282147921236409 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c.obj 36be82e6edbc230b
|
||||
4312 5734 7282147920019662 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c.obj 429dfe3a88bb91e7
|
||||
4497 5001 7282147912758217 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c.obj 2bce36f29eefcf52
|
||||
6209 7126 7282147934013848 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj ddb6a173c1afa37e
|
||||
5002 5563 7282147917784779 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c.obj f92ccdf6cad913c0
|
||||
5563 6208 7282147924497700 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c.obj bbed612290082c59
|
||||
4819 5513 7282147917744888 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c.obj df65d0c1405f413a
|
||||
5864 6215 7282147924773639 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c.obj 311739546e56d905
|
||||
6215 6704 7282147929755241 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj 2bb572809359f6aa
|
||||
5734 6058 7282147923290915 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c.obj 192f0a13450ace94
|
||||
153 650 7282215330779538 H750_CJSON.elf 12a917912d28b371
|
||||
4 1921 7282209107573459 CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj a12ea5c5679952a2
|
||||
6 154 7282216266334766 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
154 650 7282216269229720 H750_CJSON.elf 12a917912d28b371
|
||||
7 166 7282216461372217 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
166 700 7282216465699578 H750_CJSON.elf 12a917912d28b371
|
||||
3 157 7282220593839860 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
158 688 7282220597195920 H750_CJSON.elf 12a917912d28b371
|
||||
7 235 7282220922896423 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
235 607 7282220925509079 H750_CJSON.elf 12a917912d28b371
|
||||
8 331 7282221493021489 CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj 3b1b3dd76e950676
|
||||
332 929 7282221497890730 H750_CJSON.elf 12a917912d28b371
|
||||
8 248 7282222859958270 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
248 736 7282222863057180 H750_CJSON.elf 12a917912d28b371
|
||||
11 673 7282223221419385 CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj 3b1b3dd76e950676
|
||||
673 1469 7282223227437690 H750_CJSON.elf 12a917912d28b371
|
||||
12 1907 7282230481491794 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
7 473 7282230846576283 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
2 493 7282230846827437 CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj a12ea5c5679952a2
|
||||
14 521 7282230847214579 CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj 3b1b3dd76e950676
|
||||
521 1001 7282230850809004 H750_CJSON.elf 12a917912d28b371
|
||||
5 170 7282231278822289 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
170 635 7282231282302988 H750_CJSON.elf 12a917912d28b371
|
||||
18 831 7282236260321113 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
3 897 7282236260944237 CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj a12ea5c5679952a2
|
||||
898 1526 7282236264918625 H750_CJSON.elf 12a917912d28b371
|
||||
4 425 7282236978636581 CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj a12ea5c5679952a2
|
||||
425 1070 7282236983239327 H750_CJSON.elf 12a917912d28b371
|
||||
4 262 7282237574918432 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
262 649 7282237577449468 H750_CJSON.elf 12a917912d28b371
|
||||
710 2366 7283812921652420 CMakeFiles/H750_CJSON.elf.dir/Core/Src/gpio.c.obj f06eb9e3cb1fa734
|
||||
6057 6681 7283812964775528 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c.obj 717dd0c58d21c693
|
||||
2529 2853 7283812926504438 CMakeFiles/H750_CJSON.elf.dir/Core/Src/stm32h7xx_hal_msp.c.obj 8c3a154e8e5d8650
|
||||
2853 3049 7283812928209733 CMakeFiles/H750_CJSON.elf.dir/Core/Src/sysmem.c.obj a0362846736b7af
|
||||
519 2529 7283812923221729 CMakeFiles/H750_CJSON.elf.dir/Core/Src/retarget.c.obj 79a3d55191931bc8
|
||||
6 359 7283944409090669 CMakeFiles/H750_CJSON.elf.dir/Core/Src/main.c.obj 3b1b3dd76e950676
|
||||
7 341 7283892617895355 CMakeFiles/H750_CJSON.elf.dir/Core/Src/Judge.c.obj 9b95bc3613cfe240
|
||||
307 3368 7283812931371268 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON.c.obj c5e628ca6b2e6e8a
|
||||
3003 3402 7283812931640545 CMakeFiles/H750_CJSON.elf.dir/Core/Src/system_stm32h7xx.c.obj b6e3587690357e7f
|
||||
2367 2713 7283812925108025 CMakeFiles/H750_CJSON.elf.dir/Core/Src/syscalls.c.obj bd0393fcf2be6642
|
||||
3410 3537 7283812933336010 CMakeFiles/H750_CJSON.elf.dir/Core/Startup/startup_stm32h750vbtx.s.obj 9c0c3c7835f5de97
|
||||
2713 3002 7283812927950423 CMakeFiles/H750_CJSON.elf.dir/Core/Src/stm32h7xx_it.c.obj 4a1fd855d78dd07b
|
||||
3049 3410 7283812931780188 CMakeFiles/H750_CJSON.elf.dir/Core/Src/usart.c.obj dcf02496415636a5
|
||||
3402 3832 7283812936283490 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c.obj 7fe590ca3391b88
|
||||
21 216 7283906204994083 CMakeFiles/H750_CJSON.elf.dir/Core/Src/cJSON_Test.c.obj 57ce2d68122c7b8a
|
||||
3538 3951 7283812937480299 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c.obj 6f4f0bee948451c
|
||||
3369 3732 7283812935266234 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c.obj f3ef9e5d5cd915ca
|
||||
4270 4638 7283812944271452 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c.obj d612570059458e81
|
||||
3732 4477 7283812942646466 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c.obj 3877a584aff14dae
|
||||
3951 4403 7283812941988226 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c.obj 6bdc89544ffcd2be
|
||||
3833 4270 7283812940422593 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c.obj fb2e9e40c7afc372
|
||||
4478 4845 7283812946206190 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c.obj 616003aecd5d066a
|
||||
4403 4727 7283812945129074 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c.obj 90c3cc63ea16d040
|
||||
4966 5308 7283812950813858 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c.obj 36be82e6edbc230b
|
||||
4845 5956 7283812957519266 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c.obj 429dfe3a88bb91e7
|
||||
4728 5240 7283812949916277 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c.obj 2bce36f29eefcf52
|
||||
5622 6551 7283812963469446 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj ddb6a173c1afa37e
|
||||
4639 4965 7283812947552589 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c.obj f92ccdf6cad913c0
|
||||
5308 5788 7283812955843783 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c.obj bbed612290082c59
|
||||
5240 5621 7283812954178209 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c.obj df65d0c1405f413a
|
||||
5788 6057 7283812958452406 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c.obj 311739546e56d905
|
||||
6298 6636 7283812964329198 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj 2bb572809359f6aa
|
||||
5 281 7283897358805864 CMakeFiles/H750_CJSON.elf.dir/Core/Src/Control_Adjustment.c.obj 86dd423e88b12a3b
|
||||
5956 6297 7283812960567201 CMakeFiles/H750_CJSON.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c.obj 192f0a13450ace94
|
||||
762 1546 7283970491344968 H750_CJSON.elf ac67d0d39f56af4b
|
||||
5 275 7283953448868260 CMakeFiles/H750_CJSON.elf.dir/Core/Src/SerialDataProcess.c.obj a12ea5c5679952a2
|
||||
4 196 7283888983212267 CMakeFiles/H750_CJSON.elf.dir/Core/Src/Store_Information.c.obj 50bf333c4894ca72
|
||||
14 1028 7283879104098657 CMakeFiles/H750_CJSON.elf.dir/Core/Src/Get_Parameters.c.obj 1c603746fc836a06
|
||||
11 761 7283970487270447 CMakeFiles/H750_CJSON.elf.dir/Core/Src/Communication_Protocol.c.obj 2c8f144084a918ca
|
||||
|
@ -44,8 +44,8 @@ CMAKE_ASM_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
// MinSizeRel ...
|
||||
CMAKE_BUILD_TYPE:STRING=Debug
|
||||
|
||||
//CXX compiler
|
||||
CMAKE_CXX_COMPILER:STRING=F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_CXX_COMPILER:UNINITIALIZED=F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
@ -70,8 +70,8 @@ CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
|
||||
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
|
||||
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
|
||||
|
||||
//C compiler
|
||||
CMAKE_C_COMPILER:STRING=F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe
|
||||
//No help, variable specified on the command line.
|
||||
CMAKE_C_COMPILER:UNINITIALIZED=F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe
|
||||
|
||||
//A wrapper around 'ar' adding the appropriate '--plugin' option
|
||||
// for the GCC compiler
|
||||
|
Binary file not shown.
Binary file not shown.
@ -35,7 +35,7 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: D:/cubecode/H750_CJSON/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):D:/CLion 2022.1.3/bin/ninja/win/ninja.exe cmTC_e8498 && [1/2] Building C object CMakeFiles/cmTC_e8498.dir/CMakeCCompilerABI.c.obj
|
||||
Run Build Command(s):D:/CLion 2022.1.3/bin/ninja/win/ninja.exe cmTC_d55b6 && [1/2] Building C object CMakeFiles/cmTC_d55b6.dir/CMakeCCompilerABI.c.obj
|
||||
|
||||
Using built-in specs.
|
||||
|
||||
@ -43,8 +43,8 @@ Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipelin
|
||||
|
||||
Target: arm-none-eabi
|
||||
|
||||
Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-mingw-wildcard --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 10.3-2021.10' --with-multilib-list=rmprofile,aprofile
|
||||
|
||||
Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-mingw-wildcard --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 10.3-2021.10' --with-multilib-list=rmprofile,aprofile
|
||||
|
||||
Thread model: single
|
||||
|
||||
Supported LTO compression algorithms: zlib
|
||||
@ -65,13 +65,13 @@ GNU C17 (GNU Arm Embedded Toolchain 10.3-2021.10) version 10.3.1 20210824 (relea
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include"
|
||||
|
||||
ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib/gcc/arm-none-eabi/10.3.1/../../../../include"
|
||||
|
||||
ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib/gcc/arm-none-eabi/10.3.1/../../../../include"
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include-fixed"
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include"
|
||||
|
||||
ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/usr/include"
|
||||
|
||||
ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/usr/include"
|
||||
|
||||
#include "..." search starts here:
|
||||
|
||||
@ -92,7 +92,7 @@ Parsed C implicit link information from above output:
|
||||
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
|
||||
|
||||
Compiler executable checksum: f3937ce18b4177bfd408ca565336596a
|
||||
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_d55b6.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-mlibarch=armv4t' '-march=armv4t'
|
||||
@ -100,8 +100,8 @@ Parsed C implicit link information from above output:
|
||||
f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles/cmTC_d55b6.dir/CMakeCCompilerABI.c.obj C:\Users\iris\AppData\Local\Temp\ccGkF5Qa.s
|
||||
|
||||
GNU assembler version 2.36.1 (arm-none-eabi) using BFD version (GNU Arm Embedded Toolchain 10.3-2021.10) 2.36.1.20210621
|
||||
|
||||
COMPILER_PATH=f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/
|
||||
|
||||
COMPILER_PATH=f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/
|
||||
|
||||
LIBRARY_PATH=f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../arm-none-eabi/lib/
|
||||
|
||||
@ -122,8 +122,8 @@ Parsed C implicit link information from above output:
|
||||
collapse include dir [f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/include] ==> [F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/include]
|
||||
collapse include dir [f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/include-fixed] ==> [F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/include-fixed]
|
||||
collapse include dir [f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include] ==> [F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include]
|
||||
implicit include dirs: [F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/include;F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/include-fixed;F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include]
|
||||
|
||||
implicit include dirs: [F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/include;F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/arm-none-eabi/10.3.1/include-fixed;F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include]
|
||||
|
||||
|
||||
Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(arm-none-eabi-ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
@ -132,8 +132,8 @@ Parsed C implicit link information from above output:
|
||||
ignore line: [Run Build Command(s):D:/CLion 2022.1.3/bin/ninja/win/ninja.exe cmTC_d55b6 && [1/2] Building C object CMakeFiles/cmTC_d55b6.dir/CMakeCCompilerABI.c.obj]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=F:\WORK\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\arm-none-eabi-gcc.exe]
|
||||
ignore line: [Target: arm-none-eabi]
|
||||
ignore line: [Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-mingw-wildcard --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 10.3-2021.10' --with-multilib-list=rmprofile,aprofile]
|
||||
ignore line: [Target: arm-none-eabi]
|
||||
ignore line: [Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-mingw-wildcard --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 10.3-2021.10' --with-multilib-list=rmprofile,aprofile]
|
||||
ignore line: [Thread model: single]
|
||||
ignore line: [Supported LTO compression algorithms: zlib]
|
||||
ignore line: [gcc version 10.3.1 20210824 (release) (GNU Arm Embedded Toolchain 10.3-2021.10) ]
|
||||
@ -145,7 +145,7 @@ Parsed C implicit link information from above output:
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include"]
|
||||
ignore line: [ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib/gcc/arm-none-eabi/10.3.1/../../../../include"]
|
||||
ignore line: [ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include-fixed"]
|
||||
ignore line: [ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include-fixed"]
|
||||
ignore line: [ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include"]
|
||||
ignore line: [ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/usr/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
@ -153,8 +153,8 @@ Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipelin
|
||||
ignore line: [ f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../lib/gcc/arm-none-eabi/10.3.1/include]
|
||||
ignore line: [ f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../lib/gcc/arm-none-eabi/10.3.1/include-fixed]
|
||||
ignore line: [ f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [GNU C17 (GNU Arm Embedded Toolchain 10.3-2021.10) version 10.3.1 20210824 (release) (arm-none-eabi)]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [GNU C17 (GNU Arm Embedded Toolchain 10.3-2021.10) version 10.3.1 20210824 (release) (arm-none-eabi)]
|
||||
ignore line: [ compiled by GNU C version 7.3-win32 20180312 GMP version 6.1.0 MPFR version 3.1.4 MPC version 1.0.3 isl version isl-0.18-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
@ -181,13 +181,13 @@ GNU C++14 (GNU Arm Embedded Toolchain 10.3-2021.10) version 10.3.1 20210824 (rel
|
||||
|
||||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: D:/cubecode/H750_CJSON/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):D:/CLion 2022.1.3/bin/ninja/win/ninja.exe cmTC_86ad2 && [1/2] Building CXX object CMakeFiles/cmTC_86ad2.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
|
||||
Run Build Command(s):D:/CLion 2022.1.3/bin/ninja/win/ninja.exe cmTC_d6f9f && [1/2] Building CXX object CMakeFiles/cmTC_d6f9f.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
|
||||
Using built-in specs.
|
||||
|
||||
COLLECT_GCC=F:\WORK\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\arm-none-eabi-g++.exe
|
||||
|
||||
COLLECT_GCC=F:\WORK\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\arm-none-eabi-g++.exe
|
||||
|
||||
Target: arm-none-eabi
|
||||
|
||||
Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-mingw-wildcard --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-headers=yes --with-newlib --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 10.3-2021.10' --with-multilib-list=rmprofile,aprofile
|
||||
@ -214,7 +214,7 @@ Parsed CXX implicit link information from above output:
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include/c++/10.3.1/arm-none-eabi"
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include/c++/10.3.1/backward"
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include/c++/10.3.1/backward"
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include"
|
||||
|
||||
@ -222,8 +222,8 @@ Parsed CXX implicit link information from above output:
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/include-fixed"
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include"
|
||||
|
||||
ignoring duplicate directory "f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/lib/gcc/../../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/include"
|
||||
|
||||
ignoring nonexistent directory "f:\work\arm-none-eabi-gcc\gcc-arm-none-eabi-10.3-2021.10-win32\gcc-arm-none-eabi-10.3-2021.10\bin\../arm-none-eabi/usr/include"
|
||||
|
||||
#include "..." search starts here:
|
||||
@ -250,8 +250,8 @@ Parsed CXX implicit link information from above output:
|
||||
|
||||
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
|
||||
Compiler executable checksum: f8787892a7c5aa84cea58dce52be7118
|
||||
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_d6f9f.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-mlibarch=armv4t' '-march=armv4t'
|
||||
@ -260,8 +260,8 @@ Parsed CXX implicit link information from above output:
|
||||
|
||||
GNU assembler version 2.36.1 (arm-none-eabi) using BFD version (GNU Arm Embedded Toolchain 10.3-2021.10) 2.36.1.20210621
|
||||
|
||||
COMPILER_PATH=f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/
|
||||
|
||||
COMPILER_PATH=f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/
|
||||
|
||||
LIBRARY_PATH=f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/lib/;f:/work/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/../arm-none-eabi/lib/
|
||||
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_d6f9f.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-mlibarch=armv4t' '-march=armv4t'
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,18 +1,4 @@
|
||||
"D:\CLion 2022.1.3\bin\cmake\win\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug "-DCMAKE_MAKE_PROGRAM=D:/CLion 2022.1.3/bin/ninja/win/ninja.exe" -DCMAKE_C_COMPILER=F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe -DCMAKE_CXX_COMPILER=F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe -G Ninja -S D:\cubecode\H750_CJSON -B D:\cubecode\H750_CJSON\cmake-build-debug
|
||||
-- The C compiler identification is GNU 10.3.1
|
||||
-- The CXX compiler identification is GNU 10.3.1
|
||||
-- The ASM compiler identification is GNU
|
||||
-- Found assembler: F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe
|
||||
-- Detecting C compiler ABI info
|
||||
-- Detecting C compiler ABI info - done
|
||||
-- Check for working C compiler: F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-gcc.exe - skipped
|
||||
-- Detecting C compile features
|
||||
-- Detecting C compile features - done
|
||||
-- Detecting CXX compiler ABI info
|
||||
-- Detecting CXX compiler ABI info - done
|
||||
-- Check for working CXX compiler: F:/WORK/arm-none-eabi-gcc/gcc-arm-none-eabi-10.3-2021.10-win32/gcc-arm-none-eabi-10.3-2021.10/bin/arm-none-eabi-g++.exe - skipped
|
||||
-- Detecting CXX compile features
|
||||
-- Detecting CXX compile features - done
|
||||
-- Minimal optimization, debug info included
|
||||
-- Configuring done
|
||||
-- Generating done
|
||||
|
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user