增加达妙H7控制电机的例程文件

This commit is contained in:
zcj 2024-10-06 21:38:02 +08:00
parent ca084f8e0c
commit bc15f0f658
30 changed files with 5479 additions and 3481 deletions

7
.idea/encodings.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/USER/DMPower.c" charset="GBK" />
<file url="file://$PROJECT_DIR$/USER/DMPower.h" charset="GBK" />
</component>
</project>

227
BSP/bsp_fdcan.c Normal file
View File

@ -0,0 +1,227 @@
#include "bsp_fdcan.h"
/**
************************************************************************
* @brief: bsp_can_init(void)
* @param: void
* @retval: void
* @details: CAN 使
************************************************************************
**/
void bsp_can_init(void)
{
can_filter_init();
HAL_FDCAN_Start(&hfdcan1); //开启FDCAN
HAL_FDCAN_ActivateNotification(&hfdcan1,
0 | FDCAN_IT_RX_FIFO0_WATERMARK | FDCAN_IT_RX_FIFO0_WATERMARK
| FDCAN_IT_TX_COMPLETE | FDCAN_IT_TX_FIFO_EMPTY | FDCAN_IT_BUS_OFF
| FDCAN_IT_ARB_PROTOCOL_ERROR | FDCAN_IT_DATA_PROTOCOL_ERROR
| FDCAN_IT_ERROR_PASSIVE | FDCAN_IT_ERROR_WARNING,
0x00000F00);
}
/**
************************************************************************
* @brief: can_filter_init(void)
* @param: void
* @retval: void
* @details: CAN滤波器初始化
************************************************************************
**/
void can_filter_init(void)
{
FDCAN_FilterTypeDef fdcan_filter;
fdcan_filter.IdType = FDCAN_STANDARD_ID; //标准ID
fdcan_filter.FilterIndex = 0; //滤波器索引
fdcan_filter.FilterType = FDCAN_FILTER_MASK;
fdcan_filter.FilterConfig = FDCAN_FILTER_TO_RXFIFO0; //过滤器0关联到FIFO0
fdcan_filter.FilterID1 = 0x00;
fdcan_filter.FilterID2 = 0x00;
HAL_FDCAN_ConfigFilter(&hfdcan1,&fdcan_filter); //接收ID2
//拒绝接收匹配不成功的标准ID和扩展ID,不接受远程帧
HAL_FDCAN_ConfigGlobalFilter(&hfdcan1,FDCAN_REJECT,FDCAN_REJECT,FDCAN_REJECT_REMOTE,FDCAN_REJECT_REMOTE);
HAL_FDCAN_ConfigFifoWatermark(&hfdcan1, FDCAN_CFG_RX_FIFO0, 1);
// HAL_FDCAN_ConfigFifoWatermark(&hfdcan1, FDCAN_CFG_RX_FIFO1, 1);
// HAL_FDCAN_ActivateNotification(&hfdcan1, FDCAN_IT_TX_COMPLETE, FDCAN_TX_BUFFER0);
}
void bsp_fdcan_set_baud(hcan_t *hfdcan, uint8_t mode, uint8_t baud)
{
uint32_t nom_brp=0, nom_seg1=0, nom_seg2=0, nom_sjw=0;
uint32_t dat_brp=0, dat_seg1=0, dat_seg2=0, dat_sjw=0;
/* nominal_baud = 80M/brp/(1+seg1+seg2)
sample point = (1+seg1)/(1+seg1+seg2)
sjw : 1-128
seg1: 2-256
seg2: 2-128
brp : 1-512 */
if(mode == CAN_CLASS)
{
switch (baud)
{
case CAN_BR_125K: nom_brp=4 ; nom_seg1=139; nom_seg2=20; nom_sjw=20; break; // sample point 87.5%
case CAN_BR_200K: nom_brp=2 ; nom_seg1=174; nom_seg2=25; nom_sjw=25; break; // sample point 87.5%
case CAN_BR_250K: nom_brp=2 ; nom_seg1=139; nom_seg2=20; nom_sjw=20; break; // sample point 87.5%
case CAN_BR_500K: nom_brp=1 ; nom_seg1=139; nom_seg2=20; nom_sjw=20; break; // sample point 87.5%
case CAN_BR_1M: nom_brp=1 ; nom_seg1=59 ; nom_seg2=20; nom_sjw=20; break; // sample point 75%
}
dat_brp=1 ; dat_seg1=29; dat_seg2=10; dat_sjw=10; // 数据域默认1M
hfdcan->Init.FrameFormat = FDCAN_FRAME_CLASSIC;
}
/* data_baud = 80M/brp/(1+seg1+seg2)
sample point = (1+seg1)/(1+seg1+seg2)
sjw : 1-16
seg1: 1-32
seg2: 2-16
brp : 1-32 */
if(mode == CAN_FD_BRS)
{
switch (baud)
{
case CAN_BR_2M: dat_brp=1 ; dat_seg1=29; dat_seg2=10; dat_sjw=10; break; // sample point 75%
case CAN_BR_2M5: dat_brp=1 ; dat_seg1=25; dat_seg2=6 ; dat_sjw=6 ; break; // sample point 81.25%
case CAN_BR_3M2: dat_brp=1 ; dat_seg1=19; dat_seg2=5 ; dat_sjw=5 ; break; // sample point 80%
case CAN_BR_4M: dat_brp=1 ; dat_seg1=14; dat_seg2=5 ; dat_sjw=5 ; break; // sample point 75%
case CAN_BR_5M: dat_brp=1 ; dat_seg1=13; dat_seg2=2 ; dat_sjw=2 ; break; // sample point 87.5%
}
nom_brp=1 ; nom_seg1=59 ; nom_seg2=20; nom_sjw=20; // 仲裁域默认1M
hfdcan->Init.FrameFormat = FDCAN_FRAME_FD_BRS;
}
HAL_FDCAN_DeInit(hfdcan);
hfdcan->Init.NominalPrescaler = nom_brp;
hfdcan->Init.NominalTimeSeg1 = nom_seg1;
hfdcan->Init.NominalTimeSeg2 = nom_seg2;
hfdcan->Init.NominalSyncJumpWidth = nom_sjw;
hfdcan->Init.DataPrescaler = dat_brp;
hfdcan->Init.DataTimeSeg1 = dat_seg1;
hfdcan->Init.DataTimeSeg2 = dat_seg2;
hfdcan->Init.DataSyncJumpWidth = dat_sjw;
HAL_FDCAN_Init(hfdcan);
}
/**
************************************************************************
* @brief: fdcanx_send_data(FDCAN_HandleTypeDef *hfdcan, uint16_t id, uint8_t *data, uint32_t len)
* @param: hfdcanFDCAN句柄
* @param: idCAN设备ID
* @param: data
* @param: len
* @retval: void
* @details:
************************************************************************
**/
uint8_t fdcanx_send_data(hcan_t *hfdcan, uint16_t id, uint8_t *data, uint32_t len)
{
FDCAN_TxHeaderTypeDef pTxHeader;
pTxHeader.Identifier=id;
pTxHeader.IdType=FDCAN_STANDARD_ID;
pTxHeader.TxFrameType=FDCAN_DATA_FRAME;
if(len<=8)
pTxHeader.DataLength = len;
if(len==12)
pTxHeader.DataLength = FDCAN_DLC_BYTES_12;
if(len==16)
pTxHeader.DataLength = FDCAN_DLC_BYTES_16;
if(len==20)
pTxHeader.DataLength = FDCAN_DLC_BYTES_20;
if(len==24)
pTxHeader.DataLength = FDCAN_DLC_BYTES_24;
if(len==32)
pTxHeader.DataLength = FDCAN_DLC_BYTES_32;
if(len==48)
pTxHeader.DataLength = FDCAN_DLC_BYTES_48;
if(len==64)
pTxHeader.DataLength = FDCAN_DLC_BYTES_64;
pTxHeader.ErrorStateIndicator=FDCAN_ESI_ACTIVE;
pTxHeader.BitRateSwitch=FDCAN_BRS_ON;
pTxHeader.FDFormat=FDCAN_FD_CAN;
pTxHeader.TxEventFifoControl=FDCAN_NO_TX_EVENTS;
pTxHeader.MessageMarker=0;
if(HAL_FDCAN_AddMessageToTxFifoQ(hfdcan, &pTxHeader, data)!=HAL_OK)
return 1;//发送
return 0;
}
/**
************************************************************************
* @brief: fdcanx_receive(FDCAN_HandleTypeDef *hfdcan, uint8_t *buf)
* @param: hfdcanFDCAN句柄
* @param: buf
* @retval:
* @details:
************************************************************************
**/
uint8_t fdcanx_receive(hcan_t *hfdcan, uint16_t *rec_id, uint8_t *buf)
{
FDCAN_RxHeaderTypeDef pRxHeader;
uint8_t len;
if(HAL_FDCAN_GetRxMessage(hfdcan,FDCAN_RX_FIFO0, &pRxHeader, buf)==HAL_OK)
{
*rec_id = pRxHeader.Identifier;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_8)
len = pRxHeader.DataLength;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_12)
len = 12;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_16)
len = 16;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_20)
len = 20;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_24)
len = 24;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_32)
len = 32;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_48)
len = 48;
if(pRxHeader.DataLength<=FDCAN_DLC_BYTES_64)
len = 64;
return len;//接收数据
}
return 0;
}
__weak void fdcan1_rx_callback(void)
{
}
void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs)
{
if (hfdcan == &hfdcan1)
{
fdcan1_rx_callback();
}
}
void HAL_FDCAN_ErrorStatusCallback(FDCAN_HandleTypeDef *hfdcan, uint32_t ErrorStatusITs)
{
if(ErrorStatusITs & FDCAN_IR_BO)
{
CLEAR_BIT(hfdcan->Instance->CCCR, FDCAN_CCCR_INIT);
}
if(ErrorStatusITs & FDCAN_IR_EP)
{
MX_FDCAN1_Init();
bsp_can_init();
}
}

32
BSP/bsp_fdcan.h Normal file
View File

@ -0,0 +1,32 @@
#ifndef __BSP_FDCAN_H__
#define __BSP_FDCAN_H__
#include "main.h"
#include "fdcan.h"
#define hcan_t FDCAN_HandleTypeDef
#define CAN_CLASS 0
#define CAN_FD_BRS 1
#define CAN_BR_125K 0
#define CAN_BR_200K 1
#define CAN_BR_250K 2
#define CAN_BR_500K 3
#define CAN_BR_1M 4
#define CAN_BR_2M 5
#define CAN_BR_2M5 6
#define CAN_BR_3M2 7
#define CAN_BR_4M 8
#define CAN_BR_5M 9
void bsp_can_init(void);
void can_filter_init(void);
void bsp_fdcan_set_baud(hcan_t *hfdcan, uint8_t mode, uint8_t baud);
uint8_t fdcanx_send_data(hcan_t *hfdcan, uint16_t id, uint8_t *data, uint32_t len);
uint8_t fdcanx_receive(hcan_t *hfdcan, uint16_t *rec_id, uint8_t *buf);
void fdcan1_rx_callback(void);
void fdcan2_rx_callback(void);
void fdcan3_rx_callback(void);
#endif /* __BSP_FDCAN_H_ */

View File

@ -1,117 +0,0 @@
#include "can_bsp.h"
/**
************************************************************************
* @brief: can_bsp_init(void)
* @param: void
* @retval: void
* @details: CAN使能
************************************************************************
**/
void can_bsp_init(void)
{
can_filter_init();
HAL_FDCAN_Start(&hfdcan1); //开启FDCAN
HAL_FDCAN_ActivateNotification(&hfdcan1, FDCAN_IT_RX_FIFO0_NEW_MESSAGE, 0);
}
/**
************************************************************************
* @brief: can_filter_init(void)
* @param: void
* @retval: void
* @details: CAN滤波器初始化
************************************************************************
**/
void can_filter_init(void)
{
FDCAN_FilterTypeDef fdcan_filter;
fdcan_filter.IdType = FDCAN_STANDARD_ID; //标准ID
fdcan_filter.FilterIndex = 0; //滤波器索引
fdcan_filter.FilterType = FDCAN_FILTER_RANGE; //滤波器类型
fdcan_filter.FilterConfig = FDCAN_FILTER_TO_RXFIFO0; //过滤器0关联到FIFO0
fdcan_filter.FilterID1 = 0x0000; //32位ID
fdcan_filter.FilterID2 = 0x0000; //如果FDCAN配置为传统模式的话这是32位掩码
if(HAL_FDCAN_ConfigFilter(&hfdcan1,&fdcan_filter)!=HAL_OK) //滤波器初始化
{
Error_Handler();
}
HAL_FDCAN_ConfigFifoWatermark(&hfdcan1, FDCAN_CFG_RX_FIFO0, 1);
}
/**
************************************************************************
* @brief: fdcanx_send_data(FDCAN_HandleTypeDef *hfdcan, uint16_t id, uint8_t *data, uint32_t len)
* @param: hfdcanFDCAN句柄
* @param: idCAN设备ID
* @param: data
* @param: len
* @retval: void
* @details:
************************************************************************
**/
uint8_t fdcanx_send_data(FDCAN_HandleTypeDef *hfdcan, uint16_t id, uint8_t *data, uint32_t len)
{
FDCAN_TxHeaderTypeDef TxHeader;
TxHeader.Identifier = id;
TxHeader.IdType = FDCAN_STANDARD_ID; // 标准ID
TxHeader.TxFrameType = FDCAN_DATA_FRAME; // 数据帧
TxHeader.DataLength = len << 16; // 发送数据长度
TxHeader.ErrorStateIndicator = FDCAN_ESI_ACTIVE; // 设置错误状态指示
TxHeader.BitRateSwitch = FDCAN_BRS_OFF; //不开启可变波特率
TxHeader.FDFormat = FDCAN_CLASSIC_CAN; //普通CAN格式
TxHeader.TxEventFifoControl = FDCAN_NO_TX_EVENTS; // 用于发送事件FIFO控制, 不存储
TxHeader.MessageMarker = 0x00; // 用于复制到TX EVENT FIFO的消息Maker来识别消息状态范围0到0xFF
if(HAL_FDCAN_AddMessageToTxFifoQ(hfdcan, &TxHeader, data)!=HAL_OK)
return 1;//发送
return 0;
}
/**
************************************************************************
* @brief: fdcanx_receive(FDCAN_HandleTypeDef *hfdcan, uint8_t *buf)
* @param: hfdcanFDCAN句柄
* @param: buf
* @retval:
* @details:
************************************************************************
**/
uint8_t fdcanx_receive(FDCAN_HandleTypeDef *hfdcan, uint8_t *buf)
{
FDCAN_RxHeaderTypeDef fdcan_RxHeader;
if(HAL_FDCAN_GetRxMessage(hfdcan,FDCAN_RX_FIFO0, &fdcan_RxHeader, buf)!=HAL_OK)
return 0;//接收数据
return fdcan_RxHeader.DataLength>>16;
}
/**
************************************************************************
* @brief: HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs)
* @param: hfdcanFDCAN句柄
* @param: RxFifo0ITs
* @retval: void
* @details: HAL库的FDCAN中断回调函数
************************************************************************
**/
void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs)
{
if((RxFifo0ITs & FDCAN_IT_RX_FIFO0_NEW_MESSAGE) != RESET)
{
if(hfdcan == &hfdcan1)
{
fdcan1_rx_callback();
}
}
}
/**
************************************************************************
* @brief: fdcan_rx_callback(void)
* @param: void
* @retval: void
* @details:
************************************************************************
**/
uint8_t rx_data1[8] = {0};
void fdcan1_rx_callback(void)
{
fdcanx_receive(&hfdcan1, rx_data1);
}

View File

@ -1,15 +0,0 @@
#ifndef __CAN_BSP_H__
#define __CAN_BSP_H__
#include "main.h"
#include "fdcan.h"
void can_bsp_init(void);
void can_filter_init(void);
uint8_t fdcanx_send_data(FDCAN_HandleTypeDef *hfdcan, uint16_t id, uint8_t *data, uint32_t len);
uint8_t fdcanx_receive(FDCAN_HandleTypeDef *hfdcan, uint8_t *buf);
void fdcan1_rx_callback(void);
void fdcan2_rx_callback(void);
void fdcan3_rx_callback(void);
#endif /* __CAN_BSP_H_ */

View File

@ -25,6 +25,8 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "kinematics.h"
#include "bsp_fdcan.h"
#include "dm_motor_ctrl.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
@ -90,7 +92,16 @@ int main(void)
MX_FDCAN1_Init();
MX_USART1_UART_Init();
/* USER CODE BEGIN 2 */
bsp_fdcan_set_baud(&hfdcan1,CAN_CLASS,CAN_BR_1M);
bsp_can_init();
dm_motor_init();
HAL_Delay(10);
write_motor_data(motor[Motor1].id, 10, mit_mode, 0, 0, 0);
dm_motor_disable(&hfdcan1, &motor[Motor1]);
HAL_Delay(100);
save_motor_data(motor[Motor1].id, 10);
HAL_Delay(100);
HAL_Delay(1000);
/* USER CODE END 2 */
/* Infinite loop */

195
USER/dm_motor_ctrl.c Normal file
View File

@ -0,0 +1,195 @@
#include "dm_motor_drv.h"
#include "dm_motor_ctrl.h"
#include "string.h"
#include "stdbool.h"
motor_t motor[num];
/**
************************************************************************
* @brief: dm4310_motor_init: DM4310电机初始化函数
* @param: void
* @retval: void
* @details: 1DM4310型号的电机
* ID
************************************************************************
**/
void dm_motor_init(void)
{
// 初始化Motor1和Motor2的电机结构
memset(&motor[Motor1], 0, sizeof(motor[Motor1]));
memset(&motor[Motor2], 0, sizeof(motor[Motor2]));
memset(&motor[Motor3], 0, sizeof(motor[Motor3]));
memset(&motor[Motor4], 0, sizeof(motor[Motor4]));
memset(&motor[Motor5], 0, sizeof(motor[Motor5]));
memset(&motor[Motor6], 0, sizeof(motor[Motor6]));
// 设置Motor1的电机信息
motor[Motor1].id = 0x01;
motor[Motor1].mst_id = 0x00; // 实际没有用上,只做标识作用
motor[Motor1].tmp.read_flag = 1;
motor[Motor1].ctrl.mode = mit_mode;
motor[Motor1].ctrl.vel_set = 0.0f;
motor[Motor1].ctrl.pos_set = 0.0f;
motor[Motor1].ctrl.cur_set = 0.0f;
motor[Motor1].ctrl.kd_set = 0.0f;
motor[Motor1].tmp.PMAX = 12.5f;
motor[Motor1].tmp.VMAX = 30.0f;
motor[Motor1].tmp.TMAX = 10.0f;
}
/**
************************************************************************
* @brief: read_all_motor_data:
* @param: motor_t
* @retval: void
* @details:
************************************************************************
**/
void read_all_motor_data(motor_t *motor)
{
switch (motor->tmp.read_flag)
{
case 1: read_motor_data(motor->id, RID_UV_VALUE); break; // UV_Value
case 2: read_motor_data(motor->id, RID_KT_VALUE); break; // KT_Value
case 3: read_motor_data(motor->id, RID_OT_VALUE); break; // OT_Value
case 4: read_motor_data(motor->id, RID_OC_VALUE); break; // OC_Value
case 5: read_motor_data(motor->id, RID_ACC); break; // ACC
case 6: read_motor_data(motor->id, RID_DEC); break; // DEC
case 7: read_motor_data(motor->id, RID_MAX_SPD); break; // MAX_SPD
case 8: read_motor_data(motor->id, RID_MST_ID); break; // MST_ID
case 9: read_motor_data(motor->id, RID_ESC_ID); break; // ESC_ID
case 10: read_motor_data(motor->id, RID_TIMEOUT); break; // TIMEOUT
case 11: read_motor_data(motor->id, RID_CMODE); break; // CTRL_MODE
case 12: read_motor_data(motor->id, RID_DAMP); break; // Damp
case 13: read_motor_data(motor->id, RID_INERTIA); break; // Inertia
case 14: read_motor_data(motor->id, RID_HW_VER); break; // Rsv1
case 15: read_motor_data(motor->id, RID_SW_VER); break; // sw_ver
case 16: read_motor_data(motor->id, RID_SN); break; // Rsv2
case 17: read_motor_data(motor->id, RID_NPP); break; // NPP
case 18: read_motor_data(motor->id, RID_RS); break; // Rs
case 19: read_motor_data(motor->id, RID_LS); break; // Ls
case 20: read_motor_data(motor->id, RID_FLUX); break; // Flux
case 21: read_motor_data(motor->id, RID_GR); break; // Gr
case 22: read_motor_data(motor->id, RID_PMAX); break; // PMAX
case 23: read_motor_data(motor->id, RID_VMAX); break; // VMAX
case 24: read_motor_data(motor->id, RID_TMAX); break; // TMAX
case 25: read_motor_data(motor->id, RID_I_BW); break; // I_BW
case 26: read_motor_data(motor->id, RID_KP_ASR); break; // KP_ASR
case 27: read_motor_data(motor->id, RID_KI_ASR); break; // KI_ASR
case 28: read_motor_data(motor->id, RID_KP_APR); break; // KP_APR
case 29: read_motor_data(motor->id, RID_KI_APR); break; // KI_APR
case 30: read_motor_data(motor->id, RID_OV_VALUE); break; // OV_Value
case 31: read_motor_data(motor->id, RID_GREF); break; // GREF
case 32: read_motor_data(motor->id, RID_DETA); break; // Deta
case 33: read_motor_data(motor->id, RID_V_BW); break; // V_BW
case 34: read_motor_data(motor->id, RID_IQ_CL); break; // IQ_c1
case 35: read_motor_data(motor->id, RID_VL_CL); break; // VL_c1
case 36: read_motor_data(motor->id, RID_CAN_BR); break; // can_br
case 37: read_motor_data(motor->id, RID_SUB_VER); break; // sub_ver
case 38: read_motor_data(motor->id, RID_U_OFF); break; // u_off
case 39: read_motor_data(motor->id, RID_V_OFF); break; // v_off
case 40: read_motor_data(motor->id, RID_K1); break; // k1
case 41: read_motor_data(motor->id, RID_K2); break; // k2
case 42: read_motor_data(motor->id, RID_M_OFF); break; // m_off
case 43: read_motor_data(motor->id, RID_DIR); break; // dir
case 44: read_motor_data(motor->id, RID_P_M); break; // pm
case 45: read_motor_data(motor->id, RID_X_OUT); break; // xout
}
}
/**
************************************************************************
* @brief: receive_motor_data:
* @param: motor_t
* @param: data
* @retval: void
* @details:
************************************************************************
**/
void receive_motor_data(motor_t *motor, uint8_t *data)
{
if(motor->tmp.read_flag == 0)
return ;
float_type_u y;
if(data[2] == 0x33)
{
uint16_t rid_value = data[3];
y.b_val[0] = data[4];
y.b_val[1] = data[5];
y.b_val[2] = data[6];
y.b_val[3] = data[7];
switch (rid_value)
{
case RID_UV_VALUE: motor->tmp.UV_Value = y.f_val; motor->tmp.read_flag = 2; break;
case RID_KT_VALUE: motor->tmp.KT_Value = y.f_val; motor->tmp.read_flag = 3; break;
case RID_OT_VALUE: motor->tmp.OT_Value = y.f_val; motor->tmp.read_flag = 4; break;
case RID_OC_VALUE: motor->tmp.OC_Value = y.f_val; motor->tmp.read_flag = 5; break;
case RID_ACC: motor->tmp.ACC = y.f_val; motor->tmp.read_flag = 6; break;
case RID_DEC: motor->tmp.DEC = y.f_val; motor->tmp.read_flag = 7; break;
case RID_MAX_SPD: motor->tmp.MAX_SPD = y.f_val; motor->tmp.read_flag = 8; break;
case RID_MST_ID: motor->tmp.MST_ID = y.u_val; motor->tmp.read_flag = 9; break;
case RID_ESC_ID: motor->tmp.ESC_ID = y.u_val; motor->tmp.read_flag = 10; break;
case RID_TIMEOUT: motor->tmp.TIMEOUT = y.u_val; motor->tmp.read_flag = 11; break;
case RID_CMODE: motor->tmp.cmode = y.u_val; motor->tmp.read_flag = 12; break;
case RID_DAMP: motor->tmp.Damp = y.f_val; motor->tmp.read_flag = 13; break;
case RID_INERTIA: motor->tmp.Inertia = y.f_val; motor->tmp.read_flag = 14; break;
case RID_HW_VER: motor->tmp.hw_ver = y.u_val; motor->tmp.read_flag = 15; break;
case RID_SW_VER: motor->tmp.sw_ver = y.u_val; motor->tmp.read_flag = 16; break;
case RID_SN: motor->tmp.SN = y.u_val; motor->tmp.read_flag = 17; break;
case RID_NPP: motor->tmp.NPP = y.u_val; motor->tmp.read_flag = 18; break;
case RID_RS: motor->tmp.Rs = y.f_val; motor->tmp.read_flag = 19; break;
case RID_LS: motor->tmp.Ls = y.f_val; motor->tmp.read_flag = 20; break;
case RID_FLUX: motor->tmp.Flux = y.f_val; motor->tmp.read_flag = 21; break;
case RID_GR: motor->tmp.Gr = y.f_val; motor->tmp.read_flag = 22; break;
case RID_PMAX: motor->tmp.PMAX = y.f_val; motor->tmp.read_flag = 23; break;
case RID_VMAX: motor->tmp.VMAX = y.f_val; motor->tmp.read_flag = 24; break;
case RID_TMAX: motor->tmp.TMAX = y.f_val; motor->tmp.read_flag = 25; break;
case RID_I_BW: motor->tmp.I_BW = y.f_val; motor->tmp.read_flag = 26; break;
case RID_KP_ASR: motor->tmp.KP_ASR = y.f_val; motor->tmp.read_flag = 27; break;
case RID_KI_ASR: motor->tmp.KI_ASR = y.f_val; motor->tmp.read_flag = 28; break;
case RID_KP_APR: motor->tmp.KP_APR = y.f_val; motor->tmp.read_flag = 29; break;
case RID_KI_APR: motor->tmp.KI_APR = y.f_val; motor->tmp.read_flag = 30; break;
case RID_OV_VALUE: motor->tmp.OV_Value = y.f_val; motor->tmp.read_flag = 31; break;
case RID_GREF: motor->tmp.GREF = y.f_val; motor->tmp.read_flag = 32; break;
case RID_DETA: motor->tmp.Deta = y.f_val; motor->tmp.read_flag = 33; break;
case RID_V_BW: motor->tmp.V_BW = y.f_val; motor->tmp.read_flag = 34; break;
case RID_IQ_CL: motor->tmp.IQ_cl = y.f_val; motor->tmp.read_flag = 35; break;
case RID_VL_CL: motor->tmp.VL_cl = y.f_val; motor->tmp.read_flag = 36; break;
case RID_CAN_BR: motor->tmp.can_br = y.u_val; motor->tmp.read_flag = 37; break;
case RID_SUB_VER: motor->tmp.sub_ver = y.u_val; motor->tmp.read_flag = 38; break;
case RID_U_OFF: motor->tmp.u_off = y.f_val; motor->tmp.read_flag = 39; break;
case RID_V_OFF: motor->tmp.v_off = y.f_val; motor->tmp.read_flag = 40; break;
case RID_K1: motor->tmp.k1 = y.f_val; motor->tmp.read_flag = 41; break;
case RID_K2: motor->tmp.k2 = y.f_val; motor->tmp.read_flag = 42; break;
case RID_M_OFF: motor->tmp.m_off = y.f_val; motor->tmp.read_flag = 43; break;
case RID_DIR: motor->tmp.dir = y.f_val; motor->tmp.read_flag = 44; break;
case RID_P_M: motor->tmp.p_m = y.f_val; motor->tmp.read_flag = 45; break;
case RID_X_OUT: motor->tmp.x_out = y.f_val; motor->tmp.read_flag = 0 ; break;
}
}
}
/**
************************************************************************
* @brief: fdcan1_rx_callback: CAN1接收回调函数
* @param: void
* @retval: void
* @details: CAN1接收中断回调ID和数据
* ID为0时dm4310_fbdata函数更新Motor的反馈数据
************************************************************************
**/
void fdcan1_rx_callback(void)
{
uint16_t rec_id;
uint8_t rx_data[8] = {0};
fdcanx_receive(&hfdcan1, &rec_id, rx_data);
switch (rec_id)
{
case 0x00: dm_motor_fbdata(&motor[Motor1], rx_data); receive_motor_data(&motor[Motor1], rx_data); break;
}
}

28
USER/dm_motor_ctrl.h Normal file
View File

@ -0,0 +1,28 @@
#ifndef __DM_MOTOR_CTRL_H__
#define __DM_MOTOR_CTRL_H__
#include "main.h"
#include "dm_motor_drv.h"
extern int8_t motor_id;
extern uint32_t motor1_data_sent;
extern uint32_t motor2_data_sent;
extern uint32_t motor3_data_sent;
extern uint32_t motor4_data_sent;
extern motor_t motor[num];
typedef union
{
float f_val;
uint32_t u_val;
uint8_t b_val[4];
}float_type_u;
void dm_motor_init(void);
void read_all_motor_data(motor_t *motor);
void receive_motor_data(motor_t *motor, uint8_t *data);
#endif /* __DM_MOTOR_CTRL_H__ */

504
USER/dm_motor_drv.c Normal file
View File

@ -0,0 +1,504 @@
#include "dm_motor_drv.h"
#include "fdcan.h"
/**
************************************************************************
* @brief: dm4310_enable: DM4310电机控制模式函数
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor: motor_t结构的指针
* @retval: void
* @details: CAN总线发送启用命令
*
************************************************************************
**/
void dm_motor_enable(hcan_t* hcan, motor_t *motor)
{
switch(motor->ctrl.mode)
{
case mit_mode:
enable_motor_mode(hcan, motor->id, MIT_MODE);
break;
case pos_mode:
enable_motor_mode(hcan, motor->id, POS_MODE);
break;
case spd_mode:
enable_motor_mode(hcan, motor->id, SPD_MODE);
break;
case psi_mode:
enable_motor_mode(hcan, motor->id, PSI_MODE);
break;
}
}
/**
************************************************************************
* @brief: dm4310_disable: DM4310电机控制模式函数
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor: motor_t结构的指针
* @retval: void
* @details: CAN总线发送禁用命令
*
************************************************************************
**/
void dm_motor_disable(hcan_t* hcan, motor_t *motor)
{
switch(motor->ctrl.mode)
{
case mit_mode:
disable_motor_mode(hcan, motor->id, MIT_MODE);
break;
case pos_mode:
disable_motor_mode(hcan, motor->id, POS_MODE);
break;
case spd_mode:
disable_motor_mode(hcan, motor->id, SPD_MODE);
break;
case psi_mode:
disable_motor_mode(hcan, motor->id, PSI_MODE);
break;
}
dm_motor_clear_para(motor);
}
/**
************************************************************************
* @brief: dm4310_ctrl_send: DM4310电机控制命令函数
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor: motor_t结构的指针
* @retval: void
* @details: DM4310电机
*
************************************************************************
**/
void dm_motor_ctrl_send(hcan_t* hcan, motor_t *motor)
{
switch(motor->ctrl.mode)
{
case mit_mode:
mit_ctrl(hcan, motor, motor->id, motor->ctrl.pos_set, motor->ctrl.vel_set, motor->ctrl.kp_set, motor->ctrl.kd_set, motor->ctrl.tor_set);
break;
case pos_mode:
pos_ctrl(hcan, motor->id, motor->ctrl.pos_set, motor->ctrl.vel_set);
break;
case spd_mode:
spd_ctrl(hcan, motor->id, motor->ctrl.vel_set);
break;
case psi_mode:
psi_ctrl(hcan, motor->id,motor->ctrl.pos_set, motor->ctrl.vel_set, motor->ctrl.cur_set);
break;
}
}
/**
************************************************************************
* @brief: dm4310_clear: DM4310电机控制参数函数
* @param[in]: motor: motor_t结构的指针
* @retval: void
* @details: DM4310电机的命令参数和控制参数清零
* (KP)(KD)
************************************************************************
**/
void dm_motor_clear_para(motor_t *motor)
{
motor->ctrl.kd_set = 0;
motor->ctrl.kp_set = 0;
motor->ctrl.pos_set = 0;
motor->ctrl.vel_set = 0;
motor->ctrl.tor_set = 0;
motor->ctrl.cur_set = 0;
}
/**
************************************************************************
* @brief: dm4310_clear_err: DM4310电机错误函数
* @param[in]: hcan: CAN控制结构体的指针
* @param[in]: motor:
* @retval: void
* @details:
************************************************************************
**/
void dm_motor_clear_err(hcan_t* hcan, motor_t *motor)
{
switch(motor->ctrl.mode)
{
case mit_mode:
clear_err(hcan, motor->id, MIT_MODE);
break;
case pos_mode:
clear_err(hcan, motor->id, POS_MODE);
break;
case spd_mode:
clear_err(hcan, motor->id, SPD_MODE);
break;
case psi_mode:
clear_err(hcan, motor->id, PSI_MODE);
break;
}
}
/**
************************************************************************
* @brief: dm4310_fbdata: DM4310电机反馈数据函数
* @param[in]: motor: motor_t结构的指针
* @param[in]: rx_data:
* @retval: void
* @details: DM4310电机的反馈信息ID
*
************************************************************************
**/
void dm_motor_fbdata(motor_t *motor, uint8_t *rx_data)
{
motor->para.id = (rx_data[0])&0x0F;
motor->para.state = (rx_data[0])>>4;
motor->para.p_int=(rx_data[1]<<8)|rx_data[2];
motor->para.v_int=(rx_data[3]<<4)|(rx_data[4]>>4);
motor->para.t_int=((rx_data[4]&0xF)<<8)|rx_data[5];
motor->para.pos = uint_to_float(motor->para.p_int, -motor->tmp.PMAX, motor->tmp.PMAX, 16); // (-12.5,12.5)
motor->para.vel = uint_to_float(motor->para.v_int, -motor->tmp.VMAX, motor->tmp.VMAX, 12); // (-45.0,45.0)
motor->para.tor = uint_to_float(motor->para.t_int, -motor->tmp.TMAX, motor->tmp.TMAX, 12); // (-18.0,18.0)
motor->para.Tmos = (float)(rx_data[6]);
motor->para.Tcoil = (float)(rx_data[7]);
}
/**
************************************************************************
* @brief: float_to_uint:
* @param[in]: x_float:
* @param[in]: x_min:
* @param[in]: x_max:
* @param[in]: bits:
* @retval:
* @details: x [x_min, x_max] 线
************************************************************************
**/
int float_to_uint(float x_float, float x_min, float x_max, int bits)
{
/* Converts a float to an unsigned int, given range and number of bits */
float span = x_max - x_min;
float offset = x_min;
return (int) ((x_float-offset)*((float)((1<<bits)-1))/span);
}
/**
************************************************************************
* @brief: uint_to_float:
* @param[in]: x_int:
* @param[in]: x_min:
* @param[in]: x_max:
* @param[in]: bits:
* @retval:
* @details: x_int [x_min, x_max] 线
************************************************************************
**/
float uint_to_float(int x_int, float x_min, float x_max, int bits)
{
/* converts unsigned int to float, given range and number of bits */
float span = x_max - x_min;
float offset = x_min;
return ((float)x_int)*span/((float)((1<<bits)-1)) + offset;
}
/**
************************************************************************
* @brief: enable_motor_mode:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor_id: ID
* @param[in]: mode_id: ID
* @retval: void
* @details: CAN总线向特定电机发送启用特定模式的命令
************************************************************************
**/
void enable_motor_mode(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id)
{
uint8_t data[8];
uint16_t id = motor_id + mode_id;
data[0] = 0xFF;
data[1] = 0xFF;
data[2] = 0xFF;
data[3] = 0xFF;
data[4] = 0xFF;
data[5] = 0xFF;
data[6] = 0xFF;
data[7] = 0xFC;
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: disable_motor_mode:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor_id: ID
* @param[in]: mode_id: ID
* @retval: void
* @details: CAN总线向特定电机发送禁用特定模式的命令
************************************************************************
**/
void disable_motor_mode(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id)
{
uint8_t data[8];
uint16_t id = motor_id + mode_id;
data[0] = 0xFF;
data[1] = 0xFF;
data[2] = 0xFF;
data[3] = 0xFF;
data[4] = 0xFF;
data[5] = 0xFF;
data[6] = 0xFF;
data[7] = 0xFD;
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: save_pos_zero:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor_id: ID
* @param[in]: mode_id: ID
* @retval: void
* @details: CAN总线向特定电机发送保存位置零点的命令
************************************************************************
**/
void save_pos_zero(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id)
{
uint8_t data[8];
uint16_t id = motor_id + mode_id;
data[0] = 0xFF;
data[1] = 0xFF;
data[2] = 0xFF;
data[3] = 0xFF;
data[4] = 0xFF;
data[5] = 0xFF;
data[6] = 0xFF;
data[7] = 0xFE;
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: clear_err:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针
* @param[in]: motor_id: ID
* @param[in]: mode_id: ID
* @retval: void
* @details: CAN总线向特定电机发送清除错误的命令
************************************************************************
**/
void clear_err(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id)
{
uint8_t data[8];
uint16_t id = motor_id + mode_id;
data[0] = 0xFF;
data[1] = 0xFF;
data[2] = 0xFF;
data[3] = 0xFF;
data[4] = 0xFF;
data[5] = 0xFF;
data[6] = 0xFF;
data[7] = 0xFB;
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: mit_ctrl: MIT模式下的电机控制函数
* @param[in]: hcan: CAN_HandleTypeDef结构的指针CAN总线
* @param[in]: motor_id: ID
* @param[in]: pos:
* @param[in]: vel:
* @param[in]: kp:
* @param[in]: kd:
* @param[in]: torq:
* @retval: void
* @details: CAN总线向电机发送MIT模式下的控制帧
************************************************************************
**/
void mit_ctrl(hcan_t* hcan, motor_t *motor, uint16_t motor_id, float pos, float vel,float kp, float kd, float tor)
{
uint8_t data[8];
uint16_t pos_tmp,vel_tmp,kp_tmp,kd_tmp,tor_tmp;
uint16_t id = motor_id + MIT_MODE;
pos_tmp = float_to_uint(pos, -motor->tmp.PMAX, motor->tmp.PMAX, 16);
vel_tmp = float_to_uint(vel, -motor->tmp.VMAX, motor->tmp.VMAX, 12);
tor_tmp = float_to_uint(tor, -motor->tmp.TMAX, motor->tmp.TMAX, 12);
kp_tmp = float_to_uint(kp, KP_MIN, KP_MAX, 12);
kd_tmp = float_to_uint(kd, KD_MIN, KD_MAX, 12);
data[0] = (pos_tmp >> 8);
data[1] = pos_tmp;
data[2] = (vel_tmp >> 4);
data[3] = ((vel_tmp&0xF)<<4)|(kp_tmp>>8);
data[4] = kp_tmp;
data[5] = (kd_tmp >> 4);
data[6] = ((kd_tmp&0xF)<<4)|(tor_tmp>>8);
data[7] = tor_tmp;
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: pos_speed_ctrl:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针CAN总线
* @param[in]: motor_id: ID
* @param[in]: vel:
* @retval: void
* @details: CAN总线向电机发送位置速度控制命令
************************************************************************
**/
void pos_ctrl(hcan_t* hcan,uint16_t motor_id, float pos, float vel)
{
uint16_t id;
uint8_t *pbuf, *vbuf;
uint8_t data[8];
id = motor_id + POS_MODE;
pbuf=(uint8_t*)&pos;
vbuf=(uint8_t*)&vel;
data[0] = *pbuf;
data[1] = *(pbuf+1);
data[2] = *(pbuf+2);
data[3] = *(pbuf+3);
data[4] = *vbuf;
data[5] = *(vbuf+1);
data[6] = *(vbuf+2);
data[7] = *(vbuf+3);
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: speed_ctrl:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针CAN总线
* @param[in]: motor_id: ID
* @param[in]: vel:
* @retval: void
* @details: CAN总线向电机发送速度控制命令
************************************************************************
**/
void spd_ctrl(hcan_t* hcan, uint16_t motor_id, float vel)
{
uint16_t id;
uint8_t *vbuf;
uint8_t data[4];
id = motor_id + SPD_MODE;
vbuf=(uint8_t*)&vel;
data[0] = *vbuf;
data[1] = *(vbuf+1);
data[2] = *(vbuf+2);
data[3] = *(vbuf+3);
fdcanx_send_data(hcan, id, data, 4);
}
/**
************************************************************************
* @brief: pos_speed_ctrl:
* @param[in]: hcan: CAN_HandleTypeDef结构的指针CAN总线
* @param[in]: motor_id: ID
* @param[in]: pos:
* @param[in]: vel:
* @param[in]: i:
* @retval: void
* @details: CAN总线向电机发送位置速度控制命令
************************************************************************
**/
void psi_ctrl(hcan_t* hcan, uint16_t motor_id, float pos, float vel, float cur)
{
uint16_t id;
uint8_t *pbuf, *vbuf, *ibuf;
uint8_t data[8];
uint16_t u16_vel = vel*100;
uint16_t u16_cur = cur*10000;
id = motor_id + PSI_MODE;
pbuf=(uint8_t*)&pos;
vbuf=(uint8_t*)&u16_vel;
ibuf=(uint8_t*)&u16_cur;
data[0] = *pbuf;
data[1] = *(pbuf+1);
data[2] = *(pbuf+2);
data[3] = *(pbuf+3);
data[4] = *vbuf;
data[5] = *(vbuf+1);
data[6] = *ibuf;
data[7] = *(ibuf+1);
fdcanx_send_data(hcan, id, data, 8);
}
/**
************************************************************************
* @brief: read_motor_data:
* @param[in]: id: can id
* @param[in]: rid:
* @retval: void
* @details:
************************************************************************
**/
void read_motor_data(uint16_t id, uint8_t rid)
{
uint8_t can_id_l = id & 0x0F;
uint8_t can_id_h = (id >> 4) & 0x0F;
uint8_t data[4] = {can_id_l, can_id_h, 0x33, rid};
fdcanx_send_data(&hfdcan1, 0x7FF, data, 4);
}
/**
************************************************************************
* @brief: read_motor_ctrl_fbdata:
* @param[in]: id: can id
* @retval: void
* @details:
************************************************************************
**/
void read_motor_ctrl_fbdata(uint16_t id)
{
uint8_t can_id_l = id & 0x0F;
uint8_t can_id_h = (id >> 4) & 0x0F;
uint8_t data[4] = {can_id_l, can_id_h, 0xCC, 0x00};
fdcanx_send_data(&hfdcan1, 0x7FF, data, 4);
}
/**
************************************************************************
* @brief: write_motor_data:
* @param[in]: id: can id
* @param[in]: rid:
* @param[in]: d0-d3:
* @retval: void
* @details:
************************************************************************
**/
void write_motor_data(uint16_t id, uint8_t rid, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3)
{
uint8_t can_id_l = id & 0x0F;
uint8_t can_id_h = (id >> 4) & 0x0F;
uint8_t data[8] = {can_id_l, can_id_h, 0x55, rid, d0, d1, d2, d3};
fdcanx_send_data(&hfdcan1, 0x7FF, data, 8);
}
/**
************************************************************************
* @brief: save_motor_data:
* @param[in]: id: can id
* @param[in]: rid:
* @retval: void
* @details:
************************************************************************
**/
void save_motor_data(uint16_t id, uint8_t rid)
{
uint8_t can_id_l = id & 0x0F;
uint8_t can_id_h = (id >> 4) & 0x0F;
uint8_t data[4] = {can_id_l, can_id_h, 0xAA, 0x01};
fdcanx_send_data(&hfdcan1, 0x7FF, data, 4);
}

213
USER/dm_motor_drv.h Normal file
View File

@ -0,0 +1,213 @@
#ifndef __DM_MOTOR_DRV_H__
#define __DM_MOTOR_DRV_H__
#include "main.h"
#include "fdcan.h"
#include "bsp_fdcan.h"
#define MIT_MODE 0x000
#define POS_MODE 0x100
#define SPD_MODE 0x200
#define PSI_MODE 0x300
#define KP_MIN 0.0f
#define KP_MAX 500.0f
#define KD_MIN 0.0f
#define KD_MAX 5.0f
typedef enum
{
Motor1,
Motor2,
Motor3,
Motor4,
Motor5,
Motor6,
Motor7,
Motor8,
Motor9,
Motor10,
num
} motor_num;
typedef enum
{
mit_mode = 1,
pos_mode = 2,
spd_mode = 3,
psi_mode = 4
} mode_e;
typedef enum {
RID_UV_VALUE=0, // 低压保护值
RID_KT_VALUE=1, // 扭矩系数
RID_OT_VALUE=2, // 过温保护值
RID_OC_VALUE=3, // 过流保护值
RID_ACC =4, // 加速度
RID_DEC =5, // 减速度
RID_MAX_SPD =6, // 最大速度
RID_MST_ID =7, // 反馈ID
RID_ESC_ID =8, // 接收ID
RID_TIMEOUT =9, // 超时警报时间
RID_CMODE =10, // 控制模式
RID_DAMP =11, // 电机粘滞系数
RID_INERTIA =12, // 电机转动惯量
RID_HW_VER =13, // 保留
RID_SW_VER =14, // 软件版本号
RID_SN =15, // 保留
RID_NPP =16, // 电机极对数
RID_RS =17, // 电阻
RID_LS =18, // 电感
RID_FLUX =19, // 磁链
RID_GR =20, // 齿轮减速比
RID_PMAX =21, // 位置映射范围
RID_VMAX =22, // 速度映射范围
RID_TMAX =23, // 扭矩映射范围
RID_I_BW =24, // 电流环控制带宽
RID_KP_ASR =25, // 速度环Kp
RID_KI_ASR =26, // 速度环Ki
RID_KP_APR =27, // 位置环Kp
RID_KI_APR =28, // 位置环Ki
RID_OV_VALUE=29, // 过压保护值
RID_GREF =30, // 齿轮力矩效率
RID_DETA =31, // 速度环阻尼系数
RID_V_BW =32, // 速度环滤波带宽
RID_IQ_CL =33, // 电流环增强系数
RID_VL_CL =34, // 速度环增强系数
RID_CAN_BR =35, // CAN波特率代码
RID_SUB_VER =36, // 子版本号
RID_U_OFF =50, // u相偏置
RID_V_OFF =51, // v相偏置
RID_K1 =52, // 补偿因子1
RID_K2 =53, // 补偿因子2
RID_M_OFF =54, // 角度偏移
RID_DIR =55, // 方向
RID_P_M =80, // 电机位置
RID_X_OUT =81 // 输出轴位置
} rid_e;
// 电机参数
typedef struct
{
uint8_t read_flag;
uint8_t write_flag;
uint8_t save_flag;
float UV_Value; // 低压保护值
float KT_Value; // 扭矩系数
float OT_Value; // 过温保护值
float OC_Value; // 过流保护值
float ACC; // 加速度
float DEC; // 减速度
float MAX_SPD; // 最大速度
uint32_t MST_ID; // 反馈ID
uint32_t ESC_ID; // 接收ID
uint32_t TIMEOUT; // 超时警报时间
uint32_t cmode; // 控制模式
float Damp; // 电机粘滞系数
float Inertia; // 电机转动惯量
uint32_t hw_ver; // 保留
uint32_t sw_ver; // 软件版本号
uint32_t SN; // 保留
uint32_t NPP; // 电机极对数
float Rs; // 电阻
float Ls; // 电感
float Flux; // 磁链
float Gr; // 齿轮减速比
float PMAX; // 位置映射范围
float VMAX; // 速度映射范围
float TMAX; // 扭矩映射范围
float I_BW; // 电流环控制带宽
float KP_ASR; // 速度环Kp
float KI_ASR; // 速度环Ki
float KP_APR; // 位置环Kp
float KI_APR; // 位置环Ki
float OV_Value; // 过压保护值
float GREF; // 齿轮力矩效率
float Deta; // 速度环阻尼系数
float V_BW; // 速度环滤波带宽
float IQ_cl; // 电流环增强系数
float VL_cl; // 速度环增强系数
uint32_t can_br; // CAN波特率代码
uint32_t sub_ver; // 子版本号
float u_off; // u相偏置
float v_off; // v相偏置
float k1; // 补偿因子1
float k2; // 补偿因子2
float m_off; // 角度偏移
float dir; // 方向
float p_m; // 电机位置
float x_out; // 输出轴位置
} esc_inf_t;
// 电机回传信息结构体
typedef struct
{
int id;
int state;
int p_int;
int v_int;
int t_int;
int kp_int;
int kd_int;
float pos;
float vel;
float tor;
float Kp;
float Kd;
float Tmos;
float Tcoil;
} motor_fbpara_t;
// 电机参数设置结构体
typedef struct
{
uint8_t mode;
float pos_set;
float vel_set;
float tor_set;
float cur_set;
float kp_set;
float kd_set;
} motor_ctrl_t;
typedef struct
{
uint16_t id;
uint16_t mst_id;
motor_fbpara_t para;
motor_ctrl_t ctrl;
esc_inf_t tmp;
} motor_t;
float uint_to_float(int x_int, float x_min, float x_max, int bits);
int float_to_uint(float x_float, float x_min, float x_max, int bits);
void dm_motor_ctrl_send(hcan_t* hcan, motor_t *motor);
void dm_motor_enable(hcan_t* hcan, motor_t *motor);
void dm_motor_disable(hcan_t* hcan, motor_t *motor);
void dm_motor_clear_para(motor_t *motor);
void dm_motor_clear_err(hcan_t* hcan, motor_t *motor);
void dm_motor_fbdata(motor_t *motor, uint8_t *rx_data);
void enable_motor_mode(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id);
void disable_motor_mode(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id);
void mit_ctrl(hcan_t* hcan, motor_t *motor, uint16_t motor_id, float pos, float vel,float kp, float kd, float tor);
void pos_ctrl(hcan_t* hcan, uint16_t motor_id, float pos, float vel);
void spd_ctrl(hcan_t* hcan, uint16_t motor_id, float vel);
void psi_ctrl(hcan_t* hcan, uint16_t motor_id, float pos, float vel, float cur);
void save_pos_zero(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id);
void clear_err(hcan_t* hcan, uint16_t motor_id, uint16_t mode_id);
void read_motor_data(uint16_t id, uint8_t rid);
void read_motor_ctrl_fbdata(uint16_t id);
void write_motor_data(uint16_t id, uint8_t rid, uint8_t d0, uint8_t d1, uint8_t d2, uint8_t d3);
void save_motor_data(uint16_t id, uint8_t rid);
#endif /* __DM_MOTOR_DRV_H__ */

View File

@ -63,7 +63,6 @@ void Kinematic_Calculate() {
//关节3
//TODO:多解问题
Link[2].angle_set = acos(Total_Transformation_Matrix[1][2] * cos(Link[0].angle_set) -
Total_Transformation_Matrix[0][2] * sin(Link[0].angle));
// Link[2].angle_set = -acos(Total_Transformation_Matrix[1][2] * cos(Link[0].angle_set) -

View File

@ -115,8 +115,8 @@ events:
checks:
- "Detecting C compiler ABI info"
directories:
source: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw"
binary: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw"
source: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn"
binary: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
@ -125,20 +125,20 @@ events:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: |
Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw
Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn
Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_05906/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_05906.dir\\build.make CMakeFiles/cmTC_05906.dir/build
mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw'
Building C object CMakeFiles/cmTC_05906.dir/CMakeCCompilerABI.c.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-gcc.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c"
Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_3ef23/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_3ef23.dir\\build.make CMakeFiles/cmTC_3ef23.dir/build
mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn'
Building C object CMakeFiles/cmTC_3ef23.dir/CMakeCCompilerABI.c.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-gcc.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c"
Using built-in specs.
COLLECT_GCC=C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-gcc.exe
Target: arm-none-eabi
Configured with: /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/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-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 9-2020-q2-update' --with-multilib-list=rmprofile,aprofile
Thread model: single
gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update)
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\cc80pcoE.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\ccDcpWSv.s
GNU C17 (GNU Arm Embedded Toolchain 9-2020-q2-update) version 9.3.1 20200408 (release) (arm-none-eabi)
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
@ -159,18 +159,18 @@ events:
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: d18b46d535a7d663cef45eb261f67f75
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj C:\\Users\\24871\\AppData\\Local\\Temp\\cc80pcoE.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj C:\\Users\\24871\\AppData\\Local\\Temp\\ccDcpWSv.s
GNU assembler version 2.34.0 (arm-none-eabi) using BFD version (GNU Arm Embedded Toolchain 9-2020-q2-update) 2.34.0.20200428
COMPILER_PATH=c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/
LIBRARY_PATH=c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
Linking C static library libcmTC_05906.a
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_05906.dir\\cmake_clean_target.cmake
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_05906.dir\\link.txt --verbose=1
arm-none-eabi-ar qc libcmTC_05906.a CMakeFiles/cmTC_05906.dir/CMakeCCompilerABI.c.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_05906.a
mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw'
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
Linking C static library libcmTC_3ef23.a
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_3ef23.dir\\cmake_clean_target.cmake
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_3ef23.dir\\link.txt --verbose=1
arm-none-eabi-ar qc libcmTC_3ef23.a CMakeFiles/cmTC_3ef23.dir/CMakeCCompilerABI.c.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_3ef23.a
mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn'
exitCode: 0
-
@ -202,20 +202,20 @@ events:
message: |
Parsed C implicit link information:
link line regex: [^( *|.*[/\\])(arm-none-eabi-ld\\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
ignore line: [Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw]
ignore line: [Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn]
ignore line: []
ignore line: [Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_05906/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_05906.dir\\build.make CMakeFiles/cmTC_05906.dir/build]
ignore line: [mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw']
ignore line: [Building C object CMakeFiles/cmTC_05906.dir/CMakeCCompilerABI.c.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-gcc.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c"]
ignore line: [Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_3ef23/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_3ef23.dir\\build.make CMakeFiles/cmTC_3ef23.dir/build]
ignore line: [mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn']
ignore line: [Building C object CMakeFiles/cmTC_3ef23.dir/CMakeCCompilerABI.c.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-gcc.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c"]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-gcc.exe]
ignore line: [Target: arm-none-eabi]
ignore line: [Configured with: /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/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-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 9-2020-q2-update' --with-multilib-list=rmprofile,aprofile]
ignore line: [Thread model: single]
ignore line: [gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update) ]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\cc80pcoE.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\ccDcpWSv.s]
ignore line: [GNU C17 (GNU Arm Embedded Toolchain 9-2020-q2-update) version 9.3.1 20200408 (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: []
@ -236,8 +236,8 @@ events:
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: d18b46d535a7d663cef45eb261f67f75]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj C:\\Users\\24871\\AppData\\Local\\Temp\\cc80pcoE.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj C:\\Users\\24871\\AppData\\Local\\Temp\\ccDcpWSv.s]
ignore line: [GNU assembler version 2.34.0 (arm-none-eabi) using BFD version (GNU Arm Embedded Toolchain 9-2020-q2-update) 2.34.0.20200428]
ignore line: [COMPILER_PATH=c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/]
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/]
@ -246,13 +246,13 @@ events:
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/]
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/]
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../arm-none-eabi/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_05906.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [Linking C static library libcmTC_05906.a]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_05906.dir\\cmake_clean_target.cmake]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_05906.dir\\link.txt --verbose=1]
ignore line: [arm-none-eabi-ar qc libcmTC_05906.a CMakeFiles/cmTC_05906.dir/CMakeCCompilerABI.c.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_05906.a]
ignore line: [mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-r57ncw']
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_3ef23.dir\\CMakeCCompilerABI.c.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [Linking C static library libcmTC_3ef23.a]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_3ef23.dir\\cmake_clean_target.cmake]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_3ef23.dir\\link.txt --verbose=1]
ignore line: [arm-none-eabi-ar qc libcmTC_3ef23.a CMakeFiles/cmTC_3ef23.dir/CMakeCCompilerABI.c.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_3ef23.a]
ignore line: [mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-eyv0cn']
ignore line: []
ignore line: []
implicit libs: []
@ -270,8 +270,8 @@ events:
checks:
- "Detecting CXX compiler ABI info"
directories:
source: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m"
binary: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m"
source: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1"
binary: "D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
@ -280,20 +280,20 @@ events:
variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m
Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1
Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_d6cff/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_d6cff.dir\\build.make CMakeFiles/cmTC_d6cff.dir/build
mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m'
Building CXX object CMakeFiles/cmTC_d6cff.dir/CMakeCXXCompilerABI.cpp.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-g++.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp"
Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_70370/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_70370.dir\\build.make CMakeFiles/cmTC_70370.dir/build
mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1'
Building CXX object CMakeFiles/cmTC_70370.dir/CMakeCXXCompilerABI.cpp.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-g++.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp"
Using built-in specs.
COLLECT_GCC=C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-g++.exe
Target: arm-none-eabi
Configured with: /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/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-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 9-2020-q2-update' --with-multilib-list=rmprofile,aprofile
Thread model: single
gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update)
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1plus.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\ccO1daZG.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1plus.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\cc5xCUb1.s
GNU C++14 (GNU Arm Embedded Toolchain 9-2020-q2-update) version 9.3.1 20200408 (release) (arm-none-eabi)
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
@ -320,18 +320,18 @@ events:
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7a1ab17ae8404f635d46188cccacd8be
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj C:\\Users\\24871\\AppData\\Local\\Temp\\ccO1daZG.s
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj C:\\Users\\24871\\AppData\\Local\\Temp\\cc5xCUb1.s
GNU assembler version 2.34.0 (arm-none-eabi) using BFD version (GNU Arm Embedded Toolchain 9-2020-q2-update) 2.34.0.20200428
COMPILER_PATH=c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/
LIBRARY_PATH=c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/;c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../arm-none-eabi/lib/
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
Linking CXX static library libcmTC_d6cff.a
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_d6cff.dir\\cmake_clean_target.cmake
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_d6cff.dir\\link.txt --verbose=1
arm-none-eabi-ar qc libcmTC_d6cff.a CMakeFiles/cmTC_d6cff.dir/CMakeCXXCompilerABI.cpp.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_d6cff.a
mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m'
COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t'
Linking CXX static library libcmTC_70370.a
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_70370.dir\\cmake_clean_target.cmake
"C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_70370.dir\\link.txt --verbose=1
arm-none-eabi-ar qc libcmTC_70370.a CMakeFiles/cmTC_70370.dir/CMakeCXXCompilerABI.cpp.obj
C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_70370.a
mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1'
exitCode: 0
-
@ -369,20 +369,20 @@ events:
message: |
Parsed CXX implicit link information:
link line regex: [^( *|.*[/\\])(arm-none-eabi-ld\\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
ignore line: [Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m]
ignore line: [Change Dir: D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1]
ignore line: []
ignore line: [Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_d6cff/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_d6cff.dir\\build.make CMakeFiles/cmTC_d6cff.dir/build]
ignore line: [mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m']
ignore line: [Building CXX object CMakeFiles/cmTC_d6cff.dir/CMakeCXXCompilerABI.cpp.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-g++.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp"]
ignore line: [Run Build Command(s):C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/bin/cmake.exe -E env VERBOSE=1 C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f Makefile cmTC_70370/fast && C:/PROGRA~1/JETBRA~1/CLION2~1.2/bin/mingw/bin/mingw32-make.exe -f CMakeFiles\\cmTC_70370.dir\\build.make CMakeFiles/cmTC_70370.dir/build]
ignore line: [mingw32-make[1]: Entering directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1']
ignore line: [Building CXX object CMakeFiles/cmTC_70370.dir/CMakeCXXCompilerABI.cpp.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-g++.exe -fdiagnostics-color=always -v -o CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj -c "C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp"]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-g++.exe]
ignore line: [Target: arm-none-eabi]
ignore line: [Configured with: /mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/src/gcc/configure --build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw --libexecdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/lib --infodir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/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-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/install-mingw/arm-none-eabi --with-libiconv-prefix=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-gmp=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-9-pipeline/jenkins-GCC-9-pipeline-200_20200521_1590053374/build-mingw/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 9-2020-q2-update' --with-multilib-list=rmprofile,aprofile]
ignore line: [Thread model: single]
ignore line: [gcc version 9.3.1 20200408 (release) (GNU Arm Embedded Toolchain 9-2020-q2-update) ]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1plus.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\ccO1daZG.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/cc1plus.exe -quiet -v -iprefix c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../lib/gcc/arm-none-eabi/9.3.1/ -isysroot c:\\mounriver\\mounriver_studio\\toolchain\\arm-none-eabi-gcc\\bin\\../arm-none-eabi -D__USES_INITFINI__ C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\share\\cmake-3.26\\Modules\\CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=arm7tdmi -mfloat-abi=soft -marm -march=armv4t -auxbase-strip CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj -version -fdiagnostics-color=always -o C:\\Users\\24871\\AppData\\Local\\Temp\\cc5xCUb1.s]
ignore line: [GNU C++14 (GNU Arm Embedded Toolchain 9-2020-q2-update) version 9.3.1 20200408 (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: []
@ -409,8 +409,8 @@ events:
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 7a1ab17ae8404f635d46188cccacd8be]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj C:\\Users\\24871\\AppData\\Local\\Temp\\ccO1daZG.s]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [ c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/as.exe -v -march=armv4t -mfloat-abi=soft -meabi=5 -o CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj C:\\Users\\24871\\AppData\\Local\\Temp\\cc5xCUb1.s]
ignore line: [GNU assembler version 2.34.0 (arm-none-eabi) using BFD version (GNU Arm Embedded Toolchain 9-2020-q2-update) 2.34.0.20200428]
ignore line: [COMPILER_PATH=c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/]
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/]
@ -419,13 +419,13 @@ events:
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/]
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/]
ignore line: [c:/mounriver/mounriver_studio/toolchain/arm-none-eabi-gcc/bin/../arm-none-eabi/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_d6cff.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [Linking CXX static library libcmTC_d6cff.a]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_d6cff.dir\\cmake_clean_target.cmake]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_d6cff.dir\\link.txt --verbose=1]
ignore line: [arm-none-eabi-ar qc libcmTC_d6cff.a CMakeFiles/cmTC_d6cff.dir/CMakeCXXCompilerABI.cpp.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_d6cff.a]
ignore line: [mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-9yk01m']
ignore line: [COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-v' '-o' 'CMakeFiles\\cmTC_70370.dir\\CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=arm7tdmi' '-mfloat-abi=soft' '-marm' '-march=armv4t']
ignore line: [Linking CXX static library libcmTC_70370.a]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -P CMakeFiles\\cmTC_70370.dir\\cmake_clean_target.cmake]
ignore line: ["C:\\Program Files\\JetBrains\\CLion 2023.2.2\\bin\\cmake\\win\\x64\\bin\\cmake.exe" -E cmake_link_script CMakeFiles\\cmTC_70370.dir\\link.txt --verbose=1]
ignore line: [arm-none-eabi-ar qc libcmTC_70370.a CMakeFiles/cmTC_70370.dir/CMakeCXXCompilerABI.cpp.obj]
ignore line: [C:\\MounRiver\\MounRiver_Studio\\toolchain\\arm-none-eabi-gcc\\bin\\arm-none-eabi-ranlib.exe libcmTC_70370.a]
ignore line: [mingw32-make[1]: Leaving directory 'D:/RM/@RM2025/Customer_controller/cmake-build-debug/CMakeFiles/CMakeScratch/TryCompile-smnuy1']
ignore line: []
ignore line: []
implicit libs: []

View File

@ -33,7 +33,7 @@ set(CMAKE_ASM_TARGET_INCLUDE_PATH
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
"D:/RM/@RM2025/Customer_controller/BSP/can_bsp.c" "CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj.d"
"D:/RM/@RM2025/Customer_controller/BSP/bsp_fdcan.c" "CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj.d"
"D:/RM/@RM2025/Customer_controller/Core/Src/fdcan.c" "CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj.d"
"D:/RM/@RM2025/Customer_controller/Core/Src/gpio.c" "CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj.d"
"D:/RM/@RM2025/Customer_controller/Core/Src/main.c" "CMakeFiles/Customer_controller.elf.dir/Core/Src/main.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/Core/Src/main.c.obj.d"
@ -65,6 +65,8 @@ set(CMAKE_DEPENDS_DEPENDENCY_FILES
"D:/RM/@RM2025/Customer_controller/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c" "CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj.d"
"D:/RM/@RM2025/Customer_controller/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c" "CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj.d"
"D:/RM/@RM2025/Customer_controller/USER/RobotAlgorithmModule.c" "CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj.d"
"D:/RM/@RM2025/Customer_controller/USER/dm_motor_ctrl.c" "CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj.d"
"D:/RM/@RM2025/Customer_controller/USER/dm_motor_drv.c" "CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj.d"
"D:/RM/@RM2025/Customer_controller/USER/kinematics.c" "CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj" "gcc" "CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj.d"
)

View File

@ -68,19 +68,19 @@ include CMakeFiles/Customer_controller.elf.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj: CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj: D:/RM/@RM2025/Customer_controller/BSP/can_bsp.c
CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj: CMakeFiles/Customer_controller.elf.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj -MF CMakeFiles\Customer_controller.elf.dir\BSP\can_bsp.c.obj.d -o CMakeFiles\Customer_controller.elf.dir\BSP\can_bsp.c.obj -c D:\RM\@RM2025\Customer_controller\BSP\can_bsp.c
CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj: CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj: D:/RM/@RM2025/Customer_controller/BSP/bsp_fdcan.c
CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj: CMakeFiles/Customer_controller.elf.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj -MF CMakeFiles\Customer_controller.elf.dir\BSP\bsp_fdcan.c.obj.d -o CMakeFiles\Customer_controller.elf.dir\BSP\bsp_fdcan.c.obj -c D:\RM\@RM2025\Customer_controller\BSP\bsp_fdcan.c
CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.i"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E D:\RM\@RM2025\Customer_controller\BSP\can_bsp.c > CMakeFiles\Customer_controller.elf.dir\BSP\can_bsp.c.i
CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.i"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E D:\RM\@RM2025\Customer_controller\BSP\bsp_fdcan.c > CMakeFiles\Customer_controller.elf.dir\BSP\bsp_fdcan.c.i
CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.s"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S D:\RM\@RM2025\Customer_controller\BSP\can_bsp.c -o CMakeFiles\Customer_controller.elf.dir\BSP\can_bsp.c.s
CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.s"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S D:\RM\@RM2025\Customer_controller\BSP\bsp_fdcan.c -o CMakeFiles\Customer_controller.elf.dir\BSP\bsp_fdcan.c.s
CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj: CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj: D:/RM/@RM2025/Customer_controller/Core/Src/fdcan.c
@ -529,10 +529,38 @@ CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.s: cmake_forc
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.s"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S D:\RM\@RM2025\Customer_controller\USER\RobotAlgorithmModule.c -o CMakeFiles\Customer_controller.elf.dir\USER\RobotAlgorithmModule.c.s
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj: CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj: D:/RM/@RM2025/Customer_controller/USER/dm_motor_ctrl.c
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj: CMakeFiles/Customer_controller.elf.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_34) "Building C object CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj -MF CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_ctrl.c.obj.d -o CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_ctrl.c.obj -c D:\RM\@RM2025\Customer_controller\USER\dm_motor_ctrl.c
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.i"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E D:\RM\@RM2025\Customer_controller\USER\dm_motor_ctrl.c > CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_ctrl.c.i
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.s"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S D:\RM\@RM2025\Customer_controller\USER\dm_motor_ctrl.c -o CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_ctrl.c.s
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj: CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj: D:/RM/@RM2025/Customer_controller/USER/dm_motor_drv.c
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj: CMakeFiles/Customer_controller.elf.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_35) "Building C object CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj -MF CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_drv.c.obj.d -o CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_drv.c.obj -c D:\RM\@RM2025\Customer_controller\USER\dm_motor_drv.c
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.i"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E D:\RM\@RM2025\Customer_controller\USER\dm_motor_drv.c > CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_drv.c.i
CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.s"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S D:\RM\@RM2025\Customer_controller\USER\dm_motor_drv.c -o CMakeFiles\Customer_controller.elf.dir\USER\dm_motor_drv.c.s
CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj: CMakeFiles/Customer_controller.elf.dir/flags.make
CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj: D:/RM/@RM2025/Customer_controller/USER/kinematics.c
CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj: CMakeFiles/Customer_controller.elf.dir/compiler_depend.ts
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_34) "Building C object CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_36) "Building C object CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj"
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj -MF CMakeFiles\Customer_controller.elf.dir\USER\kinematics.c.obj.d -o CMakeFiles\Customer_controller.elf.dir\USER\kinematics.c.obj -c D:\RM\@RM2025\Customer_controller\USER\kinematics.c
CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.i: cmake_force
@ -545,7 +573,7 @@ CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.s: cmake_force
# Object files for target Customer_controller.elf
Customer_controller_elf_OBJECTS = \
"CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/Core/Src/main.c.obj" \
@ -578,12 +606,14 @@ Customer_controller_elf_OBJECTS = \
"CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj" \
"CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj"
# External object files for target Customer_controller.elf
Customer_controller_elf_EXTERNAL_OBJECTS =
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/Core/Src/main.c.obj
@ -616,10 +646,12 @@ Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7x
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/build.make
Customer_controller.elf: CMakeFiles/Customer_controller.elf.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_35) "Linking C executable Customer_controller.elf"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=$(CMAKE_PROGRESS_37) "Linking C executable Customer_controller.elf"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles\Customer_controller.elf.dir\link.txt --verbose=$(VERBOSE)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold "Building D:/RM/@RM2025/Customer_controller/cmake-build-debug/Customer_controller.hex"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold "Building D:/RM/@RM2025/Customer_controller/cmake-build-debug/Customer_controller.bin"

View File

@ -1,6 +1,6 @@
file(REMOVE_RECURSE
"CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj"
"CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj"
"CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj"
"CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj"
@ -64,6 +64,10 @@ file(REMOVE_RECURSE
"CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj"
"CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj"
"CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj"
"CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj.d"
"CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj"
"CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj.d"
"Customer_controller.elf"

View File

@ -1 +1 @@
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe -Wl,-gc-sections,--print-memory-usage,-Map=D:/RM/@RM2025/Customer_controller/cmake-build-debug/Customer_controller.map -mcpu=cortex-m7 -mthumb -mthumb-interwork -T D:/RM/@RM2025/Customer_controller/STM32H723VGTX_FLASH.ld CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/main.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/stm32h7xx_hal_msp.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/stm32h7xx_it.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/syscalls.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/sysmem.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/system_stm32h7xx.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/usart.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Startup/startup_stm32h723vgtx.s.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj -o Customer_controller.elf
C:\MounRiver\MounRiver_Studio\toolchain\arm-none-eabi-gcc\bin\arm-none-eabi-gcc.exe -Wl,-gc-sections,--print-memory-usage,-Map=D:/RM/@RM2025/Customer_controller/cmake-build-debug/Customer_controller.map -mcpu=cortex-m7 -mthumb -mthumb-interwork -T D:/RM/@RM2025/Customer_controller/STM32H723VGTX_FLASH.ld CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/fdcan.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/gpio.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/main.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/stm32h7xx_hal_msp.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/stm32h7xx_it.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/syscalls.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/sysmem.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/system_stm32h7xx.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Src/usart.c.obj CMakeFiles/Customer_controller.elf.dir/Core/Startup/startup_stm32h723vgtx.s.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_cortex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_dma_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_exti.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_fdcan.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_flash_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_gpio.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_hsem.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_i2c_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_mdma.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_pwr_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_rcc_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_tim_ex.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart.c.obj CMakeFiles/Customer_controller.elf.dir/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_uart_ex.c.obj CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.obj CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj CMakeFiles/Customer_controller.elf.dir/USER/kinematics.c.obj -o Customer_controller.elf

View File

@ -33,4 +33,6 @@ CMAKE_PROGRESS_32 = 32
CMAKE_PROGRESS_33 = 33
CMAKE_PROGRESS_34 = 34
CMAKE_PROGRESS_35 = 35
CMAKE_PROGRESS_36 = 36
CMAKE_PROGRESS_37 = 37

View File

@ -7,99 +7,22 @@ set(CMAKE_DEPENDS_GENERATOR "MinGW Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeASMCompiler.cmake.in"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeASMInformation.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCCompiler.cmake.in"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCCompilerABI.c"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCInformation.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCXXCompiler.cmake.in"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCXXInformation.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeCompilerIdDetection.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineASMCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineCompileFeatures.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeFindCodeBlocks.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeGenericSystem.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeMinGWFindMake.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeParseImplicitIncludeInfo.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeParseImplicitLinkInfo.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeParseLibraryArchitecture.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeSystem.cmake.in"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeTestASMCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/CMakeTestCompilerCommon.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/ARMClang-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Borland-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Cray-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GHS-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU-ASM.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU-C.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU-CXX.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU-FindBinUtils.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/GNU.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/IAR-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Intel-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/LCC-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/NVHPC-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/PGI-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/SCO-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/TI-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Tasking-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/XLClang-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Internal/FeatureTesting.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/Platform/Generic.cmake"
"C:/Program Files/JetBrains/CLion 2023.2.2/bin/cmake/win/x64/share/cmake-3.26/Modules/ProcessorCount.cmake"
"D:/RM/@RM2025/Customer_controller/CMakeLists.txt"
@ -117,12 +40,6 @@ set(CMAKE_MAKEFILE_OUTPUTS
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/3.26.4/CMakeSystem.cmake"
"CMakeFiles/3.26.4/CMakeCCompiler.cmake"
"CMakeFiles/3.26.4/CMakeCXXCompiler.cmake"
"CMakeFiles/3.26.4/CMakeASMCompiler.cmake"
"CMakeFiles/3.26.4/CMakeCCompiler.cmake"
"CMakeFiles/3.26.4/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)

View File

@ -80,12 +80,12 @@ clean: CMakeFiles/Customer_controller.elf.dir/clean
CMakeFiles/Customer_controller.elf.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35 "Built target Customer_controller.elf"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37 "Built target Customer_controller.elf"
.PHONY : CMakeFiles/Customer_controller.elf.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/Customer_controller.elf.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles 35
$(CMAKE_COMMAND) -E cmake_progress_start D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles 37
$(MAKE) $(MAKESILENT) -f CMakeFiles\Makefile2 CMakeFiles/Customer_controller.elf.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start D:\RM\@RM2025\Customer_controller\cmake-build-debug\CMakeFiles 0
.PHONY : CMakeFiles/Customer_controller.elf.dir/rule

View File

@ -1 +1 @@
35
37

View File

@ -102,10 +102,10 @@
</MakeCommands>
</Target>
</Build>
<Unit filename="D:/RM/@RM2025/Customer_controller/BSP/can_bsp.c">
<Unit filename="D:/RM/@RM2025/Customer_controller/BSP/bsp_fdcan.c">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/BSP/can_bsp.h">
<Unit filename="D:/RM/@RM2025/Customer_controller/BSP/bsp_fdcan.h">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/Core/Inc/fdcan.h">
@ -441,6 +441,18 @@
<Unit filename="D:/RM/@RM2025/Customer_controller/USER/RobotAlgorithmModule.h">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/USER/dm_motor_ctrl.c">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/USER/dm_motor_ctrl.h">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/USER/dm_motor_drv.c">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/USER/dm_motor_drv.h">
<Option target="Customer_controller.elf"/>
</Unit>
<Unit filename="D:/RM/@RM2025/Customer_controller/USER/kinematics.c">
<Option target="Customer_controller.elf"/>
</Unit>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -128,29 +128,29 @@ Customer_controller.elf/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/build
.PHONY : Customer_controller.elf/fast
BSP/can_bsp.obj: BSP/can_bsp.c.obj
.PHONY : BSP/can_bsp.obj
BSP/bsp_fdcan.obj: BSP/bsp_fdcan.c.obj
.PHONY : BSP/bsp_fdcan.obj
# target to build an object file
BSP/can_bsp.c.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.obj
.PHONY : BSP/can_bsp.c.obj
BSP/bsp_fdcan.c.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.obj
.PHONY : BSP/bsp_fdcan.c.obj
BSP/can_bsp.i: BSP/can_bsp.c.i
.PHONY : BSP/can_bsp.i
BSP/bsp_fdcan.i: BSP/bsp_fdcan.c.i
.PHONY : BSP/bsp_fdcan.i
# target to preprocess a source file
BSP/can_bsp.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.i
.PHONY : BSP/can_bsp.c.i
BSP/bsp_fdcan.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.i
.PHONY : BSP/bsp_fdcan.c.i
BSP/can_bsp.s: BSP/can_bsp.c.s
.PHONY : BSP/can_bsp.s
BSP/bsp_fdcan.s: BSP/bsp_fdcan.c.s
.PHONY : BSP/bsp_fdcan.s
# target to generate assembly for a file
BSP/can_bsp.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/BSP/can_bsp.c.s
.PHONY : BSP/can_bsp.c.s
BSP/bsp_fdcan.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/BSP/bsp_fdcan.c.s
.PHONY : BSP/bsp_fdcan.c.s
Core/Src/fdcan.obj: Core/Src/fdcan.c.obj
.PHONY : Core/Src/fdcan.obj
@ -904,6 +904,54 @@ USER/RobotAlgorithmModule.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/RobotAlgorithmModule.c.s
.PHONY : USER/RobotAlgorithmModule.c.s
USER/dm_motor_ctrl.obj: USER/dm_motor_ctrl.c.obj
.PHONY : USER/dm_motor_ctrl.obj
# target to build an object file
USER/dm_motor_ctrl.c.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.obj
.PHONY : USER/dm_motor_ctrl.c.obj
USER/dm_motor_ctrl.i: USER/dm_motor_ctrl.c.i
.PHONY : USER/dm_motor_ctrl.i
# target to preprocess a source file
USER/dm_motor_ctrl.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.i
.PHONY : USER/dm_motor_ctrl.c.i
USER/dm_motor_ctrl.s: USER/dm_motor_ctrl.c.s
.PHONY : USER/dm_motor_ctrl.s
# target to generate assembly for a file
USER/dm_motor_ctrl.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_ctrl.c.s
.PHONY : USER/dm_motor_ctrl.c.s
USER/dm_motor_drv.obj: USER/dm_motor_drv.c.obj
.PHONY : USER/dm_motor_drv.obj
# target to build an object file
USER/dm_motor_drv.c.obj:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.obj
.PHONY : USER/dm_motor_drv.c.obj
USER/dm_motor_drv.i: USER/dm_motor_drv.c.i
.PHONY : USER/dm_motor_drv.i
# target to preprocess a source file
USER/dm_motor_drv.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.i
.PHONY : USER/dm_motor_drv.c.i
USER/dm_motor_drv.s: USER/dm_motor_drv.c.s
.PHONY : USER/dm_motor_drv.s
# target to generate assembly for a file
USER/dm_motor_drv.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles\Customer_controller.elf.dir\build.make CMakeFiles/Customer_controller.elf.dir/USER/dm_motor_drv.c.s
.PHONY : USER/dm_motor_drv.c.s
USER/kinematics.obj: USER/kinematics.c.obj
.PHONY : USER/kinematics.obj
@ -937,9 +985,9 @@ help:
@echo ... edit_cache
@echo ... rebuild_cache
@echo ... Customer_controller.elf
@echo ... BSP/can_bsp.obj
@echo ... BSP/can_bsp.i
@echo ... BSP/can_bsp.s
@echo ... BSP/bsp_fdcan.obj
@echo ... BSP/bsp_fdcan.i
@echo ... BSP/bsp_fdcan.s
@echo ... Core/Src/fdcan.obj
@echo ... Core/Src/fdcan.i
@echo ... Core/Src/fdcan.s
@ -1034,6 +1082,12 @@ help:
@echo ... USER/RobotAlgorithmModule.obj
@echo ... USER/RobotAlgorithmModule.i
@echo ... USER/RobotAlgorithmModule.s
@echo ... USER/dm_motor_ctrl.obj
@echo ... USER/dm_motor_ctrl.i
@echo ... USER/dm_motor_ctrl.s
@echo ... USER/dm_motor_drv.obj
@echo ... USER/dm_motor_drv.i
@echo ... USER/dm_motor_drv.s
@echo ... USER/kinematics.obj
@echo ... USER/kinematics.i
@echo ... USER/kinematics.s