Compare commits

..

1 Commits

Author SHA1 Message Date
起床就犯困 986d1841c7 1 2025-05-26 11:33:49 +08:00
8 changed files with 2257 additions and 2437 deletions

6
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"files.associations": {
"gd32f4xx_it.h": "c",
"3626motor.h": "c"
}
}

View File

@ -578,7 +578,7 @@ static void ptz_hori_pid_task()
//根据电机转速计算云台转速 //根据电机转速计算云台转速
g_ptz.hori_speed_hall_actual = g_ptz.hori_motor_speed_hall_actual / PTZ_HORI_RATIO; g_ptz.hori_speed_hall_actual = g_ptz.hori_motor_speed_hall_actual / PTZ_HORI_RATIO;
g_ptz.hori_speed_actual = g_ptz.hori_speed_hall_actual; g_ptz.hori_speed_actual = g_ptz.hori_speed_hall_actual;
#endif #endif

View File

@ -0,0 +1,29 @@
#include "3626motor.h"
void motor3606_io_Init()
{
rcu_periph_clock_enable(RCU_GPIOC);
rcu_periph_clock_enable(RCU_GPIOD);
rcu_periph_clock_enable(RCU_GPIOE);
gpio_mode_set(GPIOC, GPIO_MODE_OUTPUT, GPIO_PUPD_PULLUP, GPIO_PIN_9);
gpio_output_options_set(GPIOC, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_9);
gpio_mode_set(GPIOD, GPIO_MODE_OUTPUT, GPIO_PUPD_PULLUP, GPIO_PIN_10);
gpio_output_options_set(GPIOD, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_10);
gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_0);
gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_1);
gpio_output_options_set(GPIOE, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_0| GPIO_PIN_1);
rcu_periph_clock_enable(RCU_SYSCFG);
gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_10);
H_BRIDGE_POWER_ON;
// V_BRIDGE_POWER_ON;
}

View File

@ -0,0 +1,36 @@
#ifndef __3626_MOTOR_H_
#define __3626_MOTOR_H_
#include "gd32f4xx_it.h"
#include "includes.h"
/* 水平电机正向旋转 */
#define H_Forward_Rotation gpio_bit_reset(GPIOC, GPIO_PIN_9)
/* 水平电机反向旋转 */
#define H_Reverse_Rotation gpio_bit_set(GPIOC, GPIO_PIN_9)
/* 垂直电机正向旋转 */
#define V_Forward_Rotation gpio_bit_reset(GPIOD, GPIO_PIN_10)
/* 垂直电机反向旋转 */
#define V_Reverse_Rotation gpio_bit_set(GPIOD, GPIO_PIN_10)
/* 驱动器电源控制引脚 */
#define H_BRIDGE_POWER_OFF gpio_bit_reset(GPIOE,GPIO_PIN_0)
#define H_BRIDGE_POWER_ON gpio_bit_set(GPIOE,GPIO_PIN_0)
#define V_BRIDGE_POWER_OFF gpio_bit_reset(GPIOE,GPIO_PIN_1)
#define V_BRIDGE_POWER_ON gpio_bit_set(GPIOE,GPIO_PIN_1)
void motor3606_io_Init();
#endif

View File

@ -1,9 +1,9 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// FULL_BRIDGE文件 /// FULL_BRIDGE<EFBFBD>ļ<EFBFBD>
/// ///
/// ///
/// 包含hall捕获、六步驱动等 /// <EFBFBD><EFBFBD><EFBFBD><EFBFBD>hall<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
/// @file full_bridge.c /// @file full_bridge.c
/// @author LH /// @author LH
/// @date 2022-07-19 /// @date 2022-07-19
@ -34,11 +34,11 @@ HALL_State V_Hall_state;
/* /*
*******************************************************************/ ********************************<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>***********************************/
static unsigned int h_pwm_duty; static unsigned int h_pwm_duty;
static unsigned int v_pwm_duty; static unsigned int v_pwm_duty;
/*! /*!
\brief none pwm占空比设置 \brief none pwmռ<EFBFBD>ձ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -50,7 +50,7 @@ void h_pwm_duty_change(unsigned int pwm_duty)
h_pwm_duty = pwm_duty; h_pwm_duty = pwm_duty;
} }
//垂直 //<EFBFBD><EFBFBD>ֱ
void v_pwm_duty_change(unsigned int pwm_duty) void v_pwm_duty_change(unsigned int pwm_duty)
{ {
v_pwm_duty = pwm_duty; v_pwm_duty = pwm_duty;
@ -59,7 +59,7 @@ void v_pwm_duty_change(unsigned int pwm_duty)
/*! /*!
\brief hall状态获取 \brief hall״̬<EFBFBD><EFBFBD>ȡ
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -94,7 +94,7 @@ unsigned char v_hall_senser_value_get()
/*! /*!
\brief none U相进V相出 \brief none U<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -112,7 +112,7 @@ void h_uh_vl()
/*! /*!
\brief none W相进V相出 \brief none W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -130,7 +130,7 @@ void h_wh_vl()
/*! /*!
\brief none W相进U相出 \brief none W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -148,7 +148,7 @@ void h_wh_ul()
/*! /*!
\brief none V相进U相出 \brief none V<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -166,7 +166,7 @@ void h_vh_ul()
/*! /*!
\brief none V相进W相出 \brief none V<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -184,7 +184,7 @@ void h_vh_wl()
/*! /*!
\brief none U相进W相出 \brief none U<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -201,7 +201,7 @@ void h_uh_wl()
} }
/*! /*!
\brief none 120°hall5462317-,,1 \brief none <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬶<EFBFBD><EFBFBD><EFBFBD>120<EFBFBD><EFBFBD>hall<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת˳<EFBFBD><EFBFBD>Ϊ546231<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת˳<EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD>7-<EFBFBD><EFBFBD>ת˳<EFBFBD><EFBFBD>,,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ټ<EFBFBD>1<EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -218,7 +218,7 @@ pctr h_six_step_commu[6] =
/*! /*!
\brief none U相进V相出 \brief none U<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -236,7 +236,7 @@ void v_uh_vl()
/*! /*!
\brief none W相进V相出 \brief none W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>V<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -254,7 +254,7 @@ void v_wh_vl()
/*! /*!
\brief none W相进U相出 \brief none W<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -272,7 +272,7 @@ void v_wh_ul()
/*! /*!
\brief none V相进U相出 \brief none V<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>U<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -290,7 +290,7 @@ void v_vh_ul()
/*! /*!
\brief none V相进W相出 \brief none V<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -308,7 +308,7 @@ void v_vh_wl()
/*! /*!
\brief none U相进W相出 \brief none U<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>W<EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -325,7 +325,7 @@ void v_uh_wl()
} }
/*! /*!
\brief none 120°hall5462317-,,1 \brief none <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>򣬶<EFBFBD><EFBFBD><EFBFBD>120<EFBFBD><EFBFBD>hall<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת˳<EFBFBD><EFBFBD>Ϊ546231<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת˳<EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD>7-<EFBFBD><EFBFBD>ת˳<EFBFBD><EFBFBD>,,<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ټ<EFBFBD>1<EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -345,33 +345,33 @@ void uvw()
} }
/*! /*!
\brief none \brief none ˮƽֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
\note LH @2022.07.21 \note LH @2022.07.21
*/ */
//中断里调用 //<EFBFBD>ж<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void h_bldc_six_step() void h_bldc_six_step()
{ {
// H_ADC2_Phase_current(); // H_ADC2_Phase_current();
if(g_ptz.hori_start_stop_set == PTZ_HORI_START) if(g_ptz.hori_start_stop_set == PTZ_HORI_START)
{//电机处于启动状态 {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
H_Hall_state.Hall_value = h_hall_senser_value_get(); H_Hall_state.Hall_value = h_hall_senser_value_get();
if((H_Hall_state.Hall_value <= 6)&&(H_Hall_state.Hall_value >= 1)) if((H_Hall_state.Hall_value <= 6)&&(H_Hall_state.Hall_value >= 1))
{ {
// if(g_ptz.hori_direction_set == PTZ_HORI_DIR_RIGHT) // if(g_ptz.hori_direction_set == PTZ_HORI_DIR_RIGHT)
// {//电机正转- 1 // {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת- 1
// h_six_step_commu[(7-H_Hall_state.Hall_value) -1](); // h_six_step_commu[(7-H_Hall_state.Hall_value) -1]();
// }else{//电机反转 // }else{//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת
// h_six_step_commu[H_Hall_state.Hall_value -1](); // h_six_step_commu[H_Hall_state.Hall_value -1]();
// } // }
//直齿云台转向 //ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>̨ת<EFBFBD><EFBFBD>
if(g_ptz.hori_direction_set == PTZ_HORI_DIR_RIGHT) if(g_ptz.hori_direction_set == PTZ_HORI_DIR_RIGHT)
{//电机正转- 1 {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת- 1
h_six_step_commu[H_Hall_state.Hall_value -1](); h_six_step_commu[H_Hall_state.Hall_value -1]();
}else{//电机反转 }else{//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת
h_six_step_commu[(7-H_Hall_state.Hall_value) -1](); h_six_step_commu[(7-H_Hall_state.Hall_value) -1]();
} }
@ -380,35 +380,35 @@ void h_bldc_six_step()
} }
} }
/*! /*!
\brief none \brief none <EFBFBD><EFBFBD>ֱֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ˢ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
\note LH @2022.07.21 \note LH @2022.07.21
*/ */
//中断里调用 //<EFBFBD>ж<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void v_bldc_six_step() void v_bldc_six_step()
{ {
// V_ADC0_Phase_current(); // V_ADC0_Phase_current();
if((g_ptz.vert_start_stop_set == PTZ_VERT_START) && (g_ptz.vert_pid.mode == PID_ADJUST_SPEED)) if((g_ptz.vert_start_stop_set == PTZ_VERT_START) && (g_ptz.vert_pid.mode == PID_ADJUST_SPEED))
{//电机处于启动状态 {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״̬
V_Hall_state.Hall_value = v_hall_senser_value_get(); V_Hall_state.Hall_value = v_hall_senser_value_get();
if((V_Hall_state.Hall_value <= 6)&&(V_Hall_state.Hall_value >= 1)) if((V_Hall_state.Hall_value <= 6)&&(V_Hall_state.Hall_value >= 1))
{ {
if(g_ptz.vert_direction_set == PTZ_VERT_DIR_UP) if(g_ptz.vert_direction_set == PTZ_VERT_DIR_UP)
{//电机正转- 1 {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת- 1
v_six_step_commu[V_Hall_state.Hall_value -1](); v_six_step_commu[V_Hall_state.Hall_value -1]();
}else{//电机反转 }else{//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת
v_six_step_commu[(7-V_Hall_state.Hall_value) -1](); v_six_step_commu[(7-V_Hall_state.Hall_value) -1]();
} }
// if(g_ptz.vert_pid.PidUT_float < 0) // if(g_ptz.vert_pid.PidUT_float < 0)
// {//换种思路PID计算为负数时反向转动 // {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD>˼·<EFBFBD><EFBFBD>PID<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><EFBFBD>
// if(g_ptz.vert_direction_set == PTZ_VERT_DIR_UP) // if(g_ptz.vert_direction_set == PTZ_VERT_DIR_UP)
// {//电机正转- 1 // {//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת- 1
// v_six_step_commu[(7-V_Hall_state.Hall_value) -1](); // v_six_step_commu[(7-V_Hall_state.Hall_value) -1]();
// }else{//电机反转 // }else{//<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת
// v_six_step_commu[V_Hall_state.Hall_value -1](); // v_six_step_commu[V_Hall_state.Hall_value -1]();
// } // }
// } // }
@ -422,7 +422,7 @@ void v_bldc_six_step()
/*! /*!
\brief none \brief none <EFBFBD><EFBFBD>ֱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>٣<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -455,7 +455,6 @@ void hori_dir_speed_start(unsigned int verf)
TIMER_CH0CV(TIMER2) = verf;//U199;// TIMER_CH0CV(TIMER2) = verf;//U199;//
TIMER_CH1CV(TIMER2) = 0;//V TIMER_CH1CV(TIMER2) = 0;//V
TIMER_CH2CV(TIMER2) = 0;//W TIMER_CH2CV(TIMER2) = 0;//W
} }
void hori_dir_speed_stop(void) void hori_dir_speed_stop(void)
@ -473,7 +472,7 @@ void hori_dir_speed_stop(void)
/*! /*!
\brief none \brief none <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -481,7 +480,7 @@ void hori_dir_speed_stop(void)
*/ */
void h_start_motor() void h_start_motor()
{ {
//定时器使能 //<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>
// timer_enable(TIMER2); // timer_enable(TIMER2);
h_pwm_duty_change(0); h_pwm_duty_change(0);
TIMER_CH0CV(TIMER2) = 0 ;// TIMER_CH0CV(TIMER2) = 0 ;//
@ -492,12 +491,12 @@ void h_start_motor()
H_EN2_OFF;//V H_EN2_OFF;//V
H_EN3_OFF;//W H_EN3_OFF;//W
// timer_interrupt_enable(TIMER2,TIMER_INT_UP);//定时器更新中断使能 // timer_interrupt_enable(TIMER2,TIMER_INT_UP);//<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>ʹ<EFBFBD><EFBFBD>
} }
void v_start_motor() void v_start_motor()
{ {
//定时器使能 //<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>ʹ<EFBFBD><EFBFBD>
// timer_enable(TIMER3); // timer_enable(TIMER3);
v_pwm_duty_change(0); v_pwm_duty_change(0);
TIMER_CH0CV(TIMER3) = 0 ;// TIMER_CH0CV(TIMER3) = 0 ;//
@ -508,12 +507,12 @@ void v_start_motor()
V_EN2_OFF;//V V_EN2_OFF;//V
V_EN3_OFF;//W V_EN3_OFF;//W
// timer_interrupt_enable(TIMER3,TIMER_INT_UP);//定时器更新中断使能 // timer_interrupt_enable(TIMER3,TIMER_INT_UP);//<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>ʹ<EFBFBD><EFBFBD>
} }
/*! /*!
\brief none \brief none <EFBFBD><EFBFBD><EFBFBD>ֹͣ
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -522,7 +521,7 @@ void v_start_motor()
void h_stop_motor() void h_stop_motor()
{ {
h_pwm_duty_change(0); h_pwm_duty_change(0);
// //输出低电平 // //<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ƽ
TIMER_CH0CV(TIMER2) = 0; TIMER_CH0CV(TIMER2) = 0;
TIMER_CH1CV(TIMER2) = 0; TIMER_CH1CV(TIMER2) = 0;
TIMER_CH2CV(TIMER2) = 0; TIMER_CH2CV(TIMER2) = 0;
@ -530,15 +529,15 @@ void h_stop_motor()
H_EN1_OFF;//U H_EN1_OFF;//U
H_EN2_OFF;//V H_EN2_OFF;//V
H_EN3_OFF;//W H_EN3_OFF;//W
// //定时器关闭 // //<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD>ر<EFBFBD>
// timer_disable(TIMER2); // timer_disable(TIMER2);
// timer_interrupt_disable(TIMER2,TIMER_INT_UP);//定时器更新中断使能 // timer_interrupt_disable(TIMER2,TIMER_INT_UP);//<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>ʹ<EFBFBD><EFBFBD>
} }
void v_stop_motor() void v_stop_motor()
{ {
v_pwm_duty_change(0); v_pwm_duty_change(0);
// //输出低电平 // //<EFBFBD><EFBFBD><EFBFBD><EFBFBD>͵<EFBFBD>ƽ
TIMER_CH0CV(TIMER3) = 0; TIMER_CH0CV(TIMER3) = 0;
TIMER_CH1CV(TIMER3) = 0; TIMER_CH1CV(TIMER3) = 0;
TIMER_CH2CV(TIMER3) = 0; TIMER_CH2CV(TIMER3) = 0;
@ -546,9 +545,9 @@ void v_stop_motor()
V_EN1_OFF;//U V_EN1_OFF;//U
V_EN2_OFF;//V V_EN2_OFF;//V
V_EN3_OFF;//W V_EN3_OFF;//W
// //定时器关闭 // //<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD>ر<EFBFBD>
// timer_disable(TIMER3); // timer_disable(TIMER3);
// timer_interrupt_disable(TIMER3,TIMER_INT_UP);//定时器更新中断使能 // timer_interrupt_disable(TIMER3,TIMER_INT_UP);//<EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ж<EFBFBD>ʹ<EFBFBD><EFBFBD>
} }
@ -557,7 +556,7 @@ void v_stop_motor()
/*! /*!
\brief hall引脚初始化 \brief hall<EFBFBD><EFBFBD><EFBFBD>ų<EFBFBD>ʼ<EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -565,11 +564,11 @@ void v_stop_motor()
*/ */
static void hall_io_init(void) static void hall_io_init(void)
{ {
// //配置引脚时钟 // //<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><EFBFBD>
// rcu_periph_clock_enable(RCU_GPIOE); // rcu_periph_clock_enable(RCU_GPIOE);
// //
// //水平——PE10-H1,PE11-H2,PE12-H3垂直PE13-H1,PE14-H2,PE15-H3 // //ˮƽ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>PE10-H1,PE11-H2,PE12-H3<48><33><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ֱPE13-H1,PE14-H2,PE15-H3
// //设置引脚为输入模式 // //<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽ
// gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_10); // gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_10);
// gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_11); // gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_11);
// gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_12); // gpio_mode_set(GPIOE, GPIO_MODE_INPUT, GPIO_PUPD_NONE, GPIO_PIN_12);
@ -591,7 +590,7 @@ static void hall_io_init(void)
} }
/*! /*!
\brief none \brief none <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ų<EFBFBD>ʼ<EFBFBD><EFBFBD>
\param[in] none \param[in] none
\param[out] none \param[out] none
\retval none \retval none
@ -615,9 +614,9 @@ void bridge_io_init(void)
gpio_mode_set(GPIOD, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_15); gpio_mode_set(GPIOD, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_15);
gpio_output_options_set(GPIOD, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_10| GPIO_PIN_11| GPIO_PIN_15); gpio_output_options_set(GPIOD, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_10| GPIO_PIN_11| GPIO_PIN_15);
//GD改版后驱动策略进行了修改————新增驱动桥电源控制引脚,便于驱动器的断电复位等 //GD<EFBFBD>İ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Խ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸ġ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ŵ<EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ķϵ縴λ<EFBFBD><EFBFBD>
gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_0);//水平电源控制引脚 gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_0);//ˮƽ<EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_1);//垂直电源控制引脚 gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_1);//<EFBFBD><EFBFBD>ֱ<EFBFBD><EFBFBD>Դ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
gpio_output_options_set(GPIOE, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_0| GPIO_PIN_1); gpio_output_options_set(GPIOE, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_0| GPIO_PIN_1);
H_EN1_OFF; H_EN1_OFF;

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project> <project>
<fileVersion>4</fileVersion> <fileVersion>3</fileVersion>
<configuration> <configuration>
<name>Debug</name> <name>Debug</name>
<toolchain> <toolchain>
@ -11,7 +11,7 @@
<name>C-SPY</name> <name>C-SPY</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>33</version> <version>32</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -44,7 +44,7 @@
</option> </option>
<option> <option>
<name>MemFile</name> <name>MemFile</name>
<state>$TOOLKIT_DIR$\config\debugger\GigaDevice\GD32F450xE.ddf</state> <state>$TOOLKIT_DIR$\CONFIG\debugger\GigaDevice\GD32F450xE.ddf</state>
</option> </option>
<option> <option>
<name>RunToEnable</name> <name>RunToEnable</name>
@ -88,7 +88,7 @@
</option> </option>
<option> <option>
<name>OCLastSavedByProductVersion</name> <name>OCLastSavedByProductVersion</name>
<state>9.40.2.67586</state> <state>9.20.1.43525</state>
</option> </option>
<option> <option>
<name>UseFlashLoader</name> <name>UseFlashLoader</name>
@ -112,7 +112,7 @@
</option> </option>
<option> <option>
<name>FlashLoadersV3</name> <name>FlashLoadersV3</name>
<state>$TOOLKIT_DIR$/config/flashloader/GigaDevice/FlashGD32F4xxxE.board</state> <state>$TOOLKIT_DIR$\config\flashloader\GigaDevice\FlashGD32F4xxxE.board</state>
</option> </option>
<option> <option>
<name>OCImagesSuppressCheck1</name> <name>OCImagesSuppressCheck1</name>
@ -222,38 +222,6 @@
<name>OCTpiuBaseOption</name> <name>OCTpiuBaseOption</name>
<state>1</state> <state>1</state>
</option> </option>
<option>
<name>OCOverrideSlave</name>
<state>0</state>
</option>
<option>
<name>OCOverrideSlavePath</name>
<state></state>
</option>
<option>
<name>C_32_64Device</name>
<state>1</state>
</option>
<option>
<name>AuthEnable</name>
<state>0</state>
</option>
<option>
<name>AuthSdmSelection</name>
<state>1</state>
</option>
<option>
<name>AuthSdmManifest</name>
<state></state>
</option>
<option>
<name>AuthSdmExplicitLib</name>
<state></state>
</option>
<option>
<name>AuthEnforce</name>
<state>0</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -489,39 +457,6 @@
</option> </option>
</data> </data>
</settings> </settings>
<settings>
<name>E2_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>0</version>
<wantNonLocal>1</wantNonLocal>
<debug>1</debug>
<option>
<name>E2PowerFromProbe</name>
<state>1</state>
</option>
<option>
<name>CE2UsbSerialNo</name>
<state></state>
</option>
<option>
<name>CE2IdCodeEditB</name>
<state>0xFFFF'FFFF'FFFF'FFFF'FFFF'FFFF'FFFF'FFFF</state>
</option>
<option>
<name>CE2LogFileCheck</name>
<state>0</state>
</option>
<option>
<name>CE2LogFileEditB</name>
<state>$PROJ_DIR$\cspycomm.log</state>
</option>
<option>
<name>OCDriverInfo</name>
<state>1</state>
</option>
</data>
</settings>
<settings> <settings>
<name>GDBSERVER_ID</name> <name>GDBSERVER_ID</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
@ -1137,7 +1072,7 @@
<name>STLINK_ID</name> <name>STLINK_ID</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>8</version> <version>7</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -1252,17 +1187,9 @@
</option> </option>
<option> <option>
<name>CCSTLinkProbeList</name> <name>CCSTLinkProbeList</name>
<version>2</version> <version>1</version>
<state>0</state> <state>0</state>
</option> </option>
<option>
<name>CCSTLinkTargetVccEnable</name>
<state>1</state>
</option>
<option>
<name>CCSTLinkTargetVoltage</name>
<state>###Uninitialized###</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -1490,7 +1417,7 @@
</option> </option>
<option> <option>
<name>CCXds100ResetList</name> <name>CCXds100ResetList</name>
<version>1</version> <version>0</version>
<state>0</state> <state>0</state>
</option> </option>
<option> <option>
@ -1579,25 +1506,17 @@
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
</plugin> </plugin>
<plugin> <plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9a.ewplugin</file> <file>$TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9BE.ewplugin</file>
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
</plugin> </plugin>
<plugin> <plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin</file> <file>$TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin</file>
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
</plugin> </plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin> <plugin>
<file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file> <file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
@ -1622,7 +1541,7 @@
<name>C-SPY</name> <name>C-SPY</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>33</version> <version>32</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>0</debug> <debug>0</debug>
<option> <option>
@ -1833,38 +1752,6 @@
<name>OCTpiuBaseOption</name> <name>OCTpiuBaseOption</name>
<state>1</state> <state>1</state>
</option> </option>
<option>
<name>OCOverrideSlave</name>
<state>0</state>
</option>
<option>
<name>OCOverrideSlavePath</name>
<state></state>
</option>
<option>
<name>C_32_64Device</name>
<state>1</state>
</option>
<option>
<name>AuthEnable</name>
<state>0</state>
</option>
<option>
<name>AuthSdmSelection</name>
<state>1</state>
</option>
<option>
<name>AuthSdmManifest</name>
<state></state>
</option>
<option>
<name>AuthSdmExplicitLib</name>
<state></state>
</option>
<option>
<name>AuthEnforce</name>
<state>0</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -2100,39 +1987,6 @@
</option> </option>
</data> </data>
</settings> </settings>
<settings>
<name>E2_ID</name>
<archiveVersion>2</archiveVersion>
<data>
<version>0</version>
<wantNonLocal>1</wantNonLocal>
<debug>0</debug>
<option>
<name>E2PowerFromProbe</name>
<state>1</state>
</option>
<option>
<name>CE2UsbSerialNo</name>
<state></state>
</option>
<option>
<name>CE2IdCodeEditB</name>
<state>0xFFFF'FFFF'FFFF'FFFF'FFFF'FFFF'FFFF'FFFF</state>
</option>
<option>
<name>CE2LogFileCheck</name>
<state>0</state>
</option>
<option>
<name>CE2LogFileEditB</name>
<state>$PROJ_DIR$\cspycomm.log</state>
</option>
<option>
<name>OCDriverInfo</name>
<state>1</state>
</option>
</data>
</settings>
<settings> <settings>
<name>GDBSERVER_ID</name> <name>GDBSERVER_ID</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
@ -2748,7 +2602,7 @@
<name>STLINK_ID</name> <name>STLINK_ID</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>8</version> <version>7</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>0</debug> <debug>0</debug>
<option> <option>
@ -2863,17 +2717,9 @@
</option> </option>
<option> <option>
<name>CCSTLinkProbeList</name> <name>CCSTLinkProbeList</name>
<version>2</version> <version>1</version>
<state>0</state> <state>0</state>
</option> </option>
<option>
<name>CCSTLinkTargetVccEnable</name>
<state>1</state>
</option>
<option>
<name>CCSTLinkTargetVoltage</name>
<state>###Uninitialized###</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -3101,7 +2947,7 @@
</option> </option>
<option> <option>
<name>CCXds100ResetList</name> <name>CCXds100ResetList</name>
<version>1</version> <version>0</version>
<state>0</state> <state>0</state>
</option> </option>
<option> <option>
@ -3190,25 +3036,17 @@
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
</plugin> </plugin>
<plugin> <plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9a.ewplugin</file> <file>$TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9BE.ewplugin</file>
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
</plugin> </plugin>
<plugin> <plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin</file> <file>$TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin</file>
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>
</plugin> </plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-286-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-II\uCOS-II-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin>
<file>$TOOLKIT_DIR$\plugins\rtos\uCOS-III\uCOS-III-KA-CSpy.ewplugin</file>
<loadFlag>0</loadFlag>
</plugin>
<plugin> <plugin>
<file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file> <file>$EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin</file>
<loadFlag>0</loadFlag> <loadFlag>0</loadFlag>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project> <project>
<fileVersion>4</fileVersion> <fileVersion>3</fileVersion>
<configuration> <configuration>
<name>Debug</name> <name>Debug</name>
<toolchain> <toolchain>
@ -11,7 +11,7 @@
<name>General</name> <name>General</name>
<archiveVersion>3</archiveVersion> <archiveVersion>3</archiveVersion>
<data> <data>
<version>36</version> <version>34</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -62,7 +62,7 @@
</option> </option>
<option> <option>
<name>RTDescription</name> <name>RTDescription</name>
<state>A compact configuration of the C/C++14 runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.</state> <state>Use the normal configuration of the C/C++ runtime library. No locale interface, C locale, no file descriptor support, no multibytes in printf and scanf, and no hex floats in strtod.</state>
</option> </option>
<option> <option>
<name>OGProductVersion</name> <name>OGProductVersion</name>
@ -70,7 +70,7 @@
</option> </option>
<option> <option>
<name>OGLastSavedByProductVersion</name> <name>OGLastSavedByProductVersion</name>
<state>9.40.2.67586</state> <state>9.20.1.43525</state>
</option> </option>
<option> <option>
<name>OGChipSelectEditMenu</name> <name>OGChipSelectEditMenu</name>
@ -98,7 +98,7 @@
</option> </option>
<option> <option>
<name>GBECoreSlave</name> <name>GBECoreSlave</name>
<version>33</version> <version>31</version>
<state>39</state> <state>39</state>
</option> </option>
<option> <option>
@ -115,7 +115,7 @@
</option> </option>
<option> <option>
<name>CoreVariant</name> <name>CoreVariant</name>
<version>33</version> <version>31</version>
<state>39</state> <state>39</state>
</option> </option>
<option> <option>
@ -138,7 +138,7 @@
</option> </option>
<option> <option>
<name>GFPUCoreSlave2</name> <name>GFPUCoreSlave2</name>
<version>33</version> <version>31</version>
<state>39</state> <state>39</state>
</option> </option>
<option> <option>
@ -203,26 +203,13 @@
<name>BuildFilesPath</name> <name>BuildFilesPath</name>
<state>Debug</state> <state>Debug</state>
</option> </option>
<option>
<name>PointerAuthentication</name>
<state>0</state>
</option>
<option>
<name>FPU64</name>
<state>1</state>
</option>
<option>
<name>OG_32_64DeviceCoreSlave</name>
<version>33</version>
<state>39</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
<name>ICCARM</name> <name>ICCARM</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>38</version> <version>37</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -524,21 +511,13 @@
<name>CCStackProtection</name> <name>CCStackProtection</name>
<state>0</state> <state>0</state>
</option> </option>
<option>
<name>CCPointerAutentiction</name>
<state>0</state>
</option>
<option>
<name>CCBranchTargetIdentification</name>
<state>0</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
<name>AARM</name> <name>AARM</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>12</version> <version>11</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -698,10 +677,6 @@
<name>PreInclude</name> <name>PreInclude</name>
<state></state> <state></state>
</option> </option>
<option>
<name>A_32_64Device</name>
<state>1</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -744,11 +719,19 @@
<buildSequence>inputOutputBased</buildSequence> <buildSequence>inputOutputBased</buildSequence>
</data> </data>
</settings> </settings>
<settings>
<name>BUILDACTION</name>
<archiveVersion>1</archiveVersion>
<data>
<prebuild></prebuild>
<postbuild></postbuild>
</data>
</settings>
<settings> <settings>
<name>ILINK</name> <name>ILINK</name>
<archiveVersion>0</archiveVersion> <archiveVersion>0</archiveVersion>
<data> <data>
<version>27</version> <version>26</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -825,7 +808,7 @@
</option> </option>
<option> <option>
<name>IlinkIcfFile</name> <name>IlinkIcfFile</name>
<state>D:\psx\Pan-Tilt\1.software\HY\4.0 LW21-01B\BSP\IAR\GD32F450xE_APP.icf</state> <state>I:\HY-2.0\HY2.0\trunk\iar9_2\4.0 LW21-01B\Hyt2\BSP\IAR\GD32F450xE.icf</state>
</option> </option>
<option> <option>
<name>IlinkIcfFileSlave</name> <name>IlinkIcfFileSlave</name>
@ -1108,14 +1091,6 @@
<name>IlinkWrapperFile</name> <name>IlinkWrapperFile</name>
<state></state> <state></state>
</option> </option>
<option>
<name>IlinkProcessor</name>
<state>1</state>
</option>
<option>
<name>IlinkFpuProcessor</name>
<state>1</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -1139,11 +1114,6 @@
</option> </option>
</data> </data>
</settings> </settings>
<settings>
<name>BUILDACTION</name>
<archiveVersion>2</archiveVersion>
<data />
</settings>
</configuration> </configuration>
<configuration> <configuration>
<name>Release</name> <name>Release</name>
@ -1155,7 +1125,7 @@
<name>General</name> <name>General</name>
<archiveVersion>3</archiveVersion> <archiveVersion>3</archiveVersion>
<data> <data>
<version>36</version> <version>34</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>0</debug> <debug>0</debug>
<option> <option>
@ -1214,7 +1184,7 @@
</option> </option>
<option> <option>
<name>OGLastSavedByProductVersion</name> <name>OGLastSavedByProductVersion</name>
<state>9.40.2.67586</state> <state>9.20.1.43525</state>
</option> </option>
<option> <option>
<name>OGChipSelectEditMenu</name> <name>OGChipSelectEditMenu</name>
@ -1242,7 +1212,7 @@
</option> </option>
<option> <option>
<name>GBECoreSlave</name> <name>GBECoreSlave</name>
<version>33</version> <version>31</version>
<state>39</state> <state>39</state>
</option> </option>
<option> <option>
@ -1259,7 +1229,7 @@
</option> </option>
<option> <option>
<name>CoreVariant</name> <name>CoreVariant</name>
<version>33</version> <version>31</version>
<state>39</state> <state>39</state>
</option> </option>
<option> <option>
@ -1282,7 +1252,7 @@
</option> </option>
<option> <option>
<name>GFPUCoreSlave2</name> <name>GFPUCoreSlave2</name>
<version>33</version> <version>31</version>
<state>39</state> <state>39</state>
</option> </option>
<option> <option>
@ -1347,26 +1317,13 @@
<name>BuildFilesPath</name> <name>BuildFilesPath</name>
<state>Release</state> <state>Release</state>
</option> </option>
<option>
<name>PointerAuthentication</name>
<state>0</state>
</option>
<option>
<name>FPU64</name>
<state>1</state>
</option>
<option>
<name>OG_32_64DeviceCoreSlave</name>
<version>33</version>
<state>39</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
<name>ICCARM</name> <name>ICCARM</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>38</version> <version>37</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>0</debug> <debug>0</debug>
<option> <option>
@ -1653,21 +1610,13 @@
<name>CCStackProtection</name> <name>CCStackProtection</name>
<state>0</state> <state>0</state>
</option> </option>
<option>
<name>CCPointerAutentiction</name>
<state>0</state>
</option>
<option>
<name>CCBranchTargetIdentification</name>
<state>0</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
<name>AARM</name> <name>AARM</name>
<archiveVersion>2</archiveVersion> <archiveVersion>2</archiveVersion>
<data> <data>
<version>12</version> <version>11</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>0</debug> <debug>0</debug>
<option> <option>
@ -1827,10 +1776,6 @@
<name>PreInclude</name> <name>PreInclude</name>
<state></state> <state></state>
</option> </option>
<option>
<name>A_32_64Device</name>
<state>1</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -1873,11 +1818,19 @@
<buildSequence>inputOutputBased</buildSequence> <buildSequence>inputOutputBased</buildSequence>
</data> </data>
</settings> </settings>
<settings>
<name>BUILDACTION</name>
<archiveVersion>1</archiveVersion>
<data>
<prebuild></prebuild>
<postbuild></postbuild>
</data>
</settings>
<settings> <settings>
<name>ILINK</name> <name>ILINK</name>
<archiveVersion>0</archiveVersion> <archiveVersion>0</archiveVersion>
<data> <data>
<version>27</version> <version>26</version>
<wantNonLocal>1</wantNonLocal> <wantNonLocal>1</wantNonLocal>
<debug>0</debug> <debug>0</debug>
<option> <option>
@ -2237,14 +2190,6 @@
<name>IlinkWrapperFile</name> <name>IlinkWrapperFile</name>
<state></state> <state></state>
</option> </option>
<option>
<name>IlinkProcessor</name>
<state>1</state>
</option>
<option>
<name>IlinkFpuProcessor</name>
<state>1</state>
</option>
</data> </data>
</settings> </settings>
<settings> <settings>
@ -2268,11 +2213,6 @@
</option> </option>
</data> </data>
</settings> </settings>
<settings>
<name>BUILDACTION</name>
<archiveVersion>2</archiveVersion>
<data />
</settings>
</configuration> </configuration>
<group> <group>
<name>APP</name> <name>APP</name>
@ -2435,7 +2375,7 @@
<settings> <settings>
<name>ICCARM</name> <name>ICCARM</name>
<data> <data>
<version>38</version> <version>37</version>
<wantNonLocal>0</wantNonLocal> <wantNonLocal>0</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -2729,14 +2669,6 @@
<name>CCStackProtection</name> <name>CCStackProtection</name>
<state>0</state> <state>0</state>
</option> </option>
<option>
<name>CCPointerAutentiction</name>
<state>0</state>
</option>
<option>
<name>CCBranchTargetIdentification</name>
<state>0</state>
</option>
</data> </data>
</settings> </settings>
</configuration> </configuration>
@ -2968,7 +2900,7 @@
<settings> <settings>
<name>ICCARM</name> <name>ICCARM</name>
<data> <data>
<version>38</version> <version>37</version>
<wantNonLocal>0</wantNonLocal> <wantNonLocal>0</wantNonLocal>
<debug>1</debug> <debug>1</debug>
<option> <option>
@ -3260,14 +3192,6 @@
<name>CCStackProtection</name> <name>CCStackProtection</name>
<state>0</state> <state>0</state>
</option> </option>
<option>
<name>CCPointerAutentiction</name>
<state>0</state>
</option>
<option>
<name>CCBranchTargetIdentification</name>
<state>0</state>
</option>
</data> </data>
</settings> </settings>
</configuration> </configuration>

File diff suppressed because it is too large Load Diff