diff --git a/APP/Agent/agent_hyt.c b/APP/Agent/agent_hyt.c index f5056e1..6e0db35 100644 --- a/APP/Agent/agent_hyt.c +++ b/APP/Agent/agent_hyt.c @@ -519,7 +519,13 @@ void ptz_data_pack_process(char dev, PTZ_DATA_PACK *pack) break; } // ptz_aux_switch(pack->data[1], POWER_ON); - ptz_reply(dev, CMD_RIGHT); + // ptz_reply(dev, CMD_RIGHT); + if(aux_switch_cfg_save()) + { + ptz_reply(dev, CMD_RIGHT); + }else{ + ptz_reply(dev, CMD_FAIL); + } break; case HYT_PACK_CMD_1_FUNC_CONTROL_TOP_POWER_OFF: //0x0b://关闭辅助开关 @@ -535,7 +541,13 @@ void ptz_data_pack_process(char dev, PTZ_DATA_PACK *pack) break; } // ptz_aux_switch(pack->data[1], POWER_OFF); - ptz_reply(dev, CMD_RIGHT); + // ptz_reply(dev, CMD_RIGHT); + if(aux_switch_cfg_save()) + { + ptz_reply(dev, CMD_RIGHT); + }else{ + ptz_reply(dev, CMD_FAIL); + } break; /********************************* flash擦除 ********************************/ diff --git a/APP/Common/comm_cfginfo.h b/APP/Common/comm_cfginfo.h index 5b18734..147257c 100644 --- a/APP/Common/comm_cfginfo.h +++ b/APP/Common/comm_cfginfo.h @@ -71,6 +71,11 @@ extern "C" { #define CFG_FILE_ADDR_END (1024*4*7-1) #define CFG_FILE_SECTOR_BEGIN (CFG_FILE_ADDR_BEGIN / EXT_FLASH_SECTOR_SIZE)//配置文件 +//顶部开关状态保存在7扇区 +#define AUX_SWITCH_ADDR_BEGIN (1024*4*7)//0block 7sector(4k) +#define AUX_SWITCH_ADDR_END (1024*4*8-1) +#define AUX_SWITCH_SECTOR_BEGIN 7 + ////应用程序包头存储地址信息,在应用程序前2个sector保存 //#define APP_PKG_HEAD_BEGIN (APP_ADDR_BEGIN - ON_CHIP_FLASH_SECTOR_SIZE) //#define APP_PKG_HEAD_END (APP_ADDR_BEGIN-1) diff --git a/APP/Common/ptz_global_variable.c b/APP/Common/ptz_global_variable.c index cbf68f4..e957612 100644 --- a/APP/Common/ptz_global_variable.c +++ b/APP/Common/ptz_global_variable.c @@ -7,6 +7,34 @@ //ڱ̨ĸ״̬ PtzState g_ptz; +char aux_switch_cfg_read() +{ + Flash_Read((u_int8_t *)&g_ptz.power,AUX_SWITCH_ADDR_BEGIN,sizeof(g_ptz.power)); + if(g_ptz.power.crc == ((~(g_ptz.power.aux_switch_1+g_ptz.power.aux_switch_2+g_ptz.power.aux_switch_3+g_ptz.power.aux_switch_4))&0xFF)) + { + return 1; + } + return 0; +} + +char aux_switch_cfg_save() +{ + AuxSwitchPower aux_cfg={0x00}; + char crc=0; + crc = ~(g_ptz.power.aux_switch_1+g_ptz.power.aux_switch_2+g_ptz.power.aux_switch_3+g_ptz.power.aux_switch_4)&0xFF; + g_ptz.power.crc=crc; + Flash_Erase_Sector(0,7); + Flash_Write_MorePage((u_int8_t *)&g_ptz.power, AUX_SWITCH_ADDR_BEGIN, sizeof(g_ptz.power)); + + Flash_Read((u_int8_t *)&aux_cfg,AUX_SWITCH_ADDR_BEGIN,sizeof(aux_cfg)); + + if(aux_cfg.crc == (~(aux_cfg.aux_switch_1+aux_cfg.aux_switch_2+aux_cfg.aux_switch_3+aux_cfg.aux_switch_4)&0xFF)) + { + return 1; + } + return 0; +} + //ԴƳʼ void ptz_aux_switch_init() { @@ -17,13 +45,34 @@ void ptz_aux_switch_init() gpio_output_options_set(GPIOE, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_3); gpio_mode_set(GPIOE, GPIO_MODE_OUTPUT, GPIO_PUPD_NONE, GPIO_PIN_2); - gpio_output_options_set(GPIOE, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_2); + gpio_output_options_set(GPIOE, GPIO_OTYPE_PP, GPIO_OSPEED_50MHZ, GPIO_PIN_2); - PHOTO_POWER_PHOTO_OFF; - g_ptz.power.aux_switch_3 = POWER_OFF; - - FARIR_POWER_FARIR_OFF; - g_ptz.power.aux_switch_4 = POWER_OFF; + if(aux_switch_cfg_read()) + { + if(g_ptz.power.aux_switch_3 == POWER_ON) + { + PHOTO_POWER_PHOTO_ON; + } + if(g_ptz.power.aux_switch_3 == POWER_OFF) + { + PHOTO_POWER_PHOTO_OFF; + } + if(g_ptz.power.aux_switch_4 == POWER_ON) + { + FARIR_POWER_FARIR_ON; + } + if(g_ptz.power.aux_switch_4 == POWER_OFF) + { + FARIR_POWER_FARIR_OFF; + } + }else{ + //ȡʧ + PHOTO_POWER_PHOTO_OFF; + g_ptz.power.aux_switch_3 = POWER_OFF; + + FARIR_POWER_FARIR_OFF; + g_ptz.power.aux_switch_4 = POWER_OFF; + } } void ptz_return_clear() diff --git a/APP/Common/ptz_struct.h b/APP/Common/ptz_struct.h index c197412..f9073cf 100644 --- a/APP/Common/ptz_struct.h +++ b/APP/Common/ptz_struct.h @@ -5,37 +5,37 @@ #include "tmc2160.h" #include "rotate_electricstable.h" -///ע -///_setʾʵ趨IJ_actualʾʵʲ,_stateʾ״̬ -///_lastʾһεIJ_planʾ滮,_numʾ_countʾ -///_controlʾֵ +///ע�� +///_set��ʾʵ���趨�IJ�����_actual��ʾʵ�ʲ���,_state��ʾ״̬ +///_last��ʾ������һ�εIJ�����_plan��ʾ�滮����,_num��ʾ������_count��ʾ���� +///_control��ʾ����ֵ typedef struct _PtzRotatePlan_ { - float max_speed;//ת - float start_angle;//ʼ - float stop_angle;// - float stop_near_angle;//ɲ - float stop_far_angle; //ɲԶ - float stop_angle_range;//ɲΧstop_near_anglestop_far_angle֮ľԾ - float accelerate_end_angle;//ٽ - float decelerate_start_angle;//ʼ - char direction;// - float accelerate_angle_range;//ʼͼٽ֮ľֵ - float decelerate_angle_range;//ٵֹͣλ֮ľֵ - float uniform_angle_range; //˶ľֵ - float total_rotate_range; //Ҫתܵľ - char rotate_switch; //תأ1Ҫת0Ҫת + float max_speed;//���ת�� + float start_angle;//��ʼ�� + float stop_angle;//������ + float stop_near_angle;//ɲ������� + float stop_far_angle; //ɲ����Զ�� + float stop_angle_range;//ɲ����Χ����stop_near_angle��stop_far_angle֮��ľ��Ծ��� + float accelerate_end_angle;//���ٽ����� + float decelerate_start_angle;//������ʼ�� + char direction;//���� + float accelerate_angle_range;//��ʼ��ͼ��ٽ�����֮��ľ������ֵ + float decelerate_angle_range;//���ٵ��ֹͣλ��֮��ľ������ֵ + float uniform_angle_range; //�����˶��ľ������ֵ + float total_rotate_range; //��Ҫת�����ܵľ��� + char rotate_switch; //ת�����أ�1��Ҫת����0����Ҫת�� }PtzRotatePlan; -///̨ǶȲ +///��̨�ǶȲ��� typedef struct _PtzAngleParameter_ { - float angle_min;//̨ǶСֵ - float angle_max;//̨Ƕֵ - float angle_allow_min;//̨ýǶСֵ - float angle_allow_max;//̨ýǶֵ - float angle_range;//̨ǶȷΧ + float angle_min;//��̨�Ƕ���Сֵ + float angle_max;//��̨�Ƕ����ֵ + float angle_allow_min;//��̨���ýǶ���Сֵ + float angle_allow_max;//��̨���ýǶ����ֵ + float angle_range;//��̨�Ƕȷ�Χ }PtzAngleParameter; @@ -44,115 +44,115 @@ typedef struct _CameraLens_ unsigned char foucs_state; //״̬ unsigned char zoom_state; //״̬ - float focus_v;//۽ѹ - float focus_v_bit;//۽ѹԤλ - unsigned char focus_g; //۽ٶȵȼ - unsigned char focus_pwm_on;//PWMʱms - unsigned char focus_pwm_off;//PWMرʱms + float focus_v;//�۽�������ѹ + float focus_v_bit;//�۽�������ѹԤ��λ���� + unsigned char focus_g; //�۽��ٶȵȼ� + unsigned char focus_pwm_on;//PWM����ʱ��ms + unsigned char focus_pwm_off;//PWM�ر�ʱ��ms - float zoom_v;//䱶ѹ - float zoom_v_bit;//䱶ѹԤλ - unsigned char zoom_g;//䱶ٶȵȼ - unsigned char zoom_pwm_on;//PWMʱms - unsigned char zoom_pwm_off;//PWMرʱms + float zoom_v;//�䱶������ѹ + float zoom_v_bit;//�䱶������ѹԤ��λ���� + unsigned char zoom_g;//�䱶�ٶȵȼ� + unsigned char zoom_pwm_on;//PWM����ʱ��ms + unsigned char zoom_pwm_off;//PWM�ر�ʱ��ms }CameraLens; -#define CAMERA_LES_FOCUS_OFF 0//۽ -#define CAMERA_LES_FOCUS_INC 1//۽ -#define CAMERA_LES_FOCUS_RED 2//۽ -#define CAMERA_LES_FOCUS_BIT 3//۽Ԥλ -#define CAMERA_LES_FOCUS_STOP 4//۽ͣ +#define CAMERA_LES_FOCUS_OFF 0//�۽��� +#define CAMERA_LES_FOCUS_INC 1//�۽��� +#define CAMERA_LES_FOCUS_RED 2//�۽��� +#define CAMERA_LES_FOCUS_BIT 3//�۽�Ԥ��λ���� +#define CAMERA_LES_FOCUS_STOP 4//�۽�ͣ -#define CAMERA_LES_ZOOM_OFF 0//䱶 -#define CAMERA_LES_ZOOM_INC 1//䱶 -#define CAMERA_LES_ZOOM_RED 2//䱶 -#define CAMERA_LES_ZOOM_BIT 3//䱶Ԥλ -#define CAMERA_LES_ZOOM_STOP 4//䱶ͣ +#define CAMERA_LES_ZOOM_OFF 0//�䱶�� +#define CAMERA_LES_ZOOM_INC 1//�䱶�� +#define CAMERA_LES_ZOOM_RED 2//�䱶�� +#define CAMERA_LES_ZOOM_BIT 3//�䱶Ԥ��λ���� +#define CAMERA_LES_ZOOM_STOP 4//�䱶ͣ -#define CAMERA_LES_FOCUS_FV_MAX 3.3 //ѹֵV -#define CAMERA_LES_FOCUS_FV_MIN 0 //ѹСֵV -#define CAMERA_LES_FOCUS_FV_BIT 0.06 //ԤλĿѹʵʵѹСֵ +#define CAMERA_LES_FOCUS_FV_MAX 3.3 //������ѹ���ֵV +#define CAMERA_LES_FOCUS_FV_MIN 0 //������ѹ��СֵV +#define CAMERA_LES_FOCUS_FV_BIT 0.06 //Ԥ��λĿ���ѹ��ʵ�ʵ�ѹ������С��ֵ -#define CAMERA_LES_ZOOM_FV_MAX 3.3 //ѹֵV -#define CAMERA_LES_ZOOM_FV_MIN 0 //ѹСֵV -#define CAMERA_LES_ZOOM_FV_BIT 0.06 //ԤλĿѹʵʵѹСֵ +#define CAMERA_LES_ZOOM_FV_MAX 3.3 //������ѹ���ֵV +#define CAMERA_LES_ZOOM_FV_MIN 0 //������ѹ��СֵV +#define CAMERA_LES_ZOOM_FV_BIT 0.06 //Ԥ��λĿ���ѹ��ʵ�ʵ�ѹ������С��ֵ -#define CAMERA_LES_FOCUS_T 20 //PWMٵms -#define CAMERA_LES_ZOOM_T 20 //PWMٵms +#define CAMERA_LES_FOCUS_T 20 //PWM���ٵ��������ms +#define CAMERA_LES_ZOOM_T 20 //PWM���ٵ��������ms -#define CAMERA_LES_V_NUM 5 //ѹɼ +#define CAMERA_LES_V_NUM 5 //������ѹ�ɼ����� typedef struct _PtzAs5047D_ { - ///as5047d̨׼λóʼǶֵ + ///as5047d��̨��׼λ�ó�ʼ�Ƕ�ֵ float as5047d_ptz_init_angle; - ///as5047dǶ̨Ƕֵ + ///as5047d�Ƕ��������̨�Ƕ����ֵ float as5047d_ptz_angle_max; - ///űǶȻ̨ǶȶӦһκбK + ///�ű������ǶȻ������̨�Ƕȶ�Ӧ��һ�κ���б��K float as5047d_ptz_angle_K; - ///as5047d̨ĽǶȵ˲Ƕȵǰֵ + ///as5047d�������̨�ĽǶȵ��˲��Ƕȵ�ǰֵ float as5047d_ptz_angle_wf_actual; - ///as5047d̨ĽǶȵ˲Ƕһεֵ + ///as5047d�������̨�ĽǶȵ��˲��Ƕ���һ�ε�ֵ float as5047d_ptz_angle_wf_last; - ///as5047d̨ĽǶȵǰʵֵ + ///as5047d�������̨�ĽǶȵ�ǰʵ��ֵ float as5047d_ptz_angle_actual; - ///as5047d̨ĽǶһֵ + ///as5047d�������̨�ĽǶ���һ��ֵ float as5047d_ptz_angle_last; - ///̨תΧӦĴűӦתܽǶȣ + ///��̨ת����Χ��Ӧ�Ĵű���Ӧ��ת�����ܽǶȣ� ///as5047d_ptz_angle_max = as5047d_cycle_num * 360 + as5047d_remain_angle - ///as5047dתȦ⣬IJȦĶ + ///as5047d����ת������Ȧ���⣬����IJ�������Ȧ�Ķ��� float as5047d_remain_angle; - ///as5047dתȦֵ + ///as5047dת������Ȧ������ֵ int as5047d_cycle_num; - ///as5047dתȦתһȦӼ1 + ///as5047dת������Ȧ��������ת��һȦ�Ӽ�1 int as5047d_cycle_count; int as5047d_cycle_count_last; //int as5047d_cycle_count_last_last; - ///as5047dɼʵʱǶֵ + ///as5047d�ɼ�����ʵʱ�Ƕ�ֵ float as5047d_angle_actual; - ///as5047dת + ///as5047d��ת�� char as5047d_dir; - ///as5047dݶ + ///as5047d�����ݶ������� //unsigned int as5047d_read_error_count; - ///as5047dɼһʵʱǶֵ + ///as5047d�ɼ�������һ��ʵʱ�Ƕ�ֵ float as5047d_angle_last; - ///as5047dɼʵʱǶֵһʵʱǶֵIJֵ + ///as5047d�ɼ�����ʵʱ�Ƕ�ֵ����һ��ʵʱ�Ƕ�ֵ�IJ�ֵ float as5047d_angle_difference; - ///as5047d״̬,0Լʼ1 ܹʹã 0xff + ///as5047d��״̬,0�����Լ��ʼ����1 �����ܹ�����ʹ�ã� 0xff���� char as5047d_state; - ///as5047dǷȫ,0 Ҫ 1 + ///as5047d�������Ƿ�ȫ�����,0 ����Ҫ����� 1������� char as5047d_data_reset; - ///űת - ///as5047dűת + ///�ű�������ת�� + ///as5047d�ű�����ת�� float as5047d_speed_actual; - ///as5047dűתʼǶa + ///����as5047d�ű�����ת����ʼ�Ƕ�a float as5047d_speed_angle_a; - ///as5047dűתٽǶb + ///����as5047d�ű�����ת�ٽ����Ƕ�b float as5047d_speed_angle_b; - ///as5047dűתʼǶaǶb֮IJֵ + ///����as5047d�ű�����ת����ʼ�Ƕ�a�������Ƕ�b֮��IJ�ֵ float as5047d_speed_angle_c; - ///as5047dűתʼǶaǶb֮һβֵ + ///����as5047d�ű�����ת����ʼ�Ƕ�a�������Ƕ�b֮�����һ�β�ֵ float as5047d_speed_angle_c_last; @@ -163,245 +163,246 @@ typedef struct _PtzAs5047D_ //typedef struct _PtzJy02a_ //{ -// ///jy02aоƬصҪǼת +// ///jy02a�������оƬ���ص�����������Ҫ�Ǽ�����ת�� // unsigned int jy02a_fg_num_actual; // unsigned int jy02a_fg_num_last; //}PtzJy02a; -//оƬL6235D +//�������оƬL6235D typedef struct _PtzL6235d_ { - char l6235d_hall_state_actual;//ǰĻ״̬ǰյĸ - char l6235d_hall_state_last;//һλ״̬ + char l6235d_hall_state_actual;//��ǰ�Ļ���״̬������ǰ�յ������ĸ��������� + char l6235d_hall_state_last;//��һ�λ���״̬ - unsigned int l6235d_hall_h1_count;// + unsigned int l6235d_hall_h1_count;//�������� unsigned int l6235d_hall_h2_count; unsigned int l6235d_hall_h3_count; - unsigned int l6235d_hall_h123_count;// + unsigned int l6235d_hall_h123_count;//�������� - //unsigned int l6235d_satae_save_count;//洢 - //char l6235d_hall_state_save[L6235D_HALL_SAVE_NUM];//״̬ + //unsigned int l6235d_satae_save_count;//�����洢�������� + //char l6235d_hall_state_save[L6235D_HALL_SAVE_NUM];//����״̬���� - char l6235d_motor_dir_actual;//ͨжϵĵʵת + char l6235d_motor_dir_actual;//ͨ�������жϵĵ��ʵ��ת�� }PtzL6235d; -///PIDв +///PID�������в��� typedef struct _PtzPidValue_ { - char mode;//ٷʽѡ0ĬVREF٣pid٣1ɲPWMı䷴شС(ɲ) + char mode;//���ٷ�ʽѡ��0Ĭ��VREF���٣�pid���٣���1������ɲ������PWM�����ı䷴�����ش�С����(ɲ������) - //ͨVREF٣PID - float SumError;//ۼ - double KP;// - double TI;//ֳ - double TD;//΢ֳ - float LastError;//һƫ - float PrevError;//ϴƫ - float LastUT_float;//һPIDֵ - float T;// - double A;//򻯲ABC + //ͨ��VREF���٣�PID���� + float SumError;//�ۼ���� + double KP;//�������� + double TI;//���ֳ��� + double TD;//΢�ֳ��� + float LastError;//��һ������ƫ�� + float PrevError;//���ϴ�����ƫ�� + float LastUT_float;//��һ��PID�����ֵ + float T;//�������� + double A;//�����򻯲���A��B��C double B; double C; - float PidUT_float;//pidٵǰֵ - unsigned int PidUT_uint;//pidٵǰֵ, + float PidUT_float;//pid���ٵ�ǰ���ֵ�������� + unsigned int PidUT_uint;//pid���ٵ�ǰ���ֵ,���� - //ͨPWMı䷴شС٣director - unsigned int director_speed_vref;//ģѹȼ - char director_speed_direction;//صٵķ - unsigned short int director_speed_start_t; //ɲ - unsigned short int director_speed_stop_t;//ɲ - unsigned short int director_speed_t;// - unsigned char director_speed_state;//صٵĹ + //ͨ����������PWM�����ı䷴�����ش�С���٣�director���� + unsigned int director_speed_vref;//����ģ���ѹ�ȼ� + char director_speed_direction;//�������ص��ٵķ��� + unsigned short int director_speed_start_t; //ɲ��������� + unsigned short int director_speed_stop_t;//ɲ������ + unsigned short int director_speed_t;//������ + unsigned char director_speed_state;//�������ص��ٵĹ��� - unsigned int hall_h1_count;// + unsigned int hall_h1_count;//�������� unsigned int hall_h2_count; unsigned int hall_h3_count; - unsigned int hall_h123_count;// + unsigned int hall_h123_count;//�������� - unsigned int hall_h1_count_last;//ϴλ + unsigned int hall_h1_count_last;//�ϴλ������� unsigned int hall_h2_count_last; unsigned int hall_h3_count_last; unsigned int hall_h123_count_last; - unsigned int hall_h1_count_time;//ʱʱ + unsigned int hall_h1_count_time;//������ʱ��ʱ�� unsigned int hall_h2_count_time; unsigned int hall_h3_count_time; unsigned int hall_h123_count_time; - unsigned int hall_h1_count_time_s;//ʱʼʱ + unsigned int hall_h1_count_time_s;//������ʱ��ʼʱ�� unsigned int hall_h2_count_time_s; unsigned int hall_h3_count_time_s; unsigned int hall_h123_count_time_s; - unsigned int hall_h1_count_time_e;//ʱʱ + unsigned int hall_h1_count_time_e;//������ʱ����ʱ�� unsigned int hall_h2_count_time_e; unsigned int hall_h3_count_time_e; unsigned int hall_h123_count_time_e; - char hall_h1_start_flag;//ʱʼʱ - char hall_h2_start_flag;//0ûյһ壬1Ѿյһ + char hall_h1_start_flag;//������ʱ����ʼʱ���� + char hall_h2_start_flag;//0��û�յ���һ���������壬1�Ѿ��յ���һ���������� char hall_h3_start_flag; char hall_h123_start_flag; - float hall_h1_motor_speed;//h1ĵת - float hall_h2_motor_speed;//h2ĵת - float hall_h3_motor_speed;//h3ĵת - float hall_h123_motor_speed;//h3ĵת + float hall_h1_motor_speed;//����h1����������ĵ��ת�� + float hall_h2_motor_speed;//����h2����������ĵ��ת�� + float hall_h3_motor_speed;//����h3����������ĵ��ת�� + float hall_h123_motor_speed;//����h3����������ĵ��ת�� - char roll_start; //ʼתı־0ûпʼת1ʼת + char roll_start; //�����ʼת���ı�־��0�����û�п�ʼת����1�����ʼת���� - //char srm;//ٷ0ֱߵ٣1PID١ + //char srm;//���ٷ�����0��ֱ�ߵ��٣�1��PID���١� }PtzPidValue; -///̨ϣ1ϣ0޹ +///��̨���ϣ�1���ϣ�0�޹��� typedef struct _FaultDetect_ { - char vert_sw1_fault;//ֱSW1ع - char vert_sw2_fault;//ֱSW2ع + char vert_sw1_fault;//��ֱSW1���ع��� + char vert_sw2_fault;//��ֱSW2���ع��� - char hori_rotate_fault;//ˮƽת - char vert_rotate_fault;//ֱת - char hori_hall_fault;//ˮƽ - char vert_hall_fault;//ֱ + char hori_rotate_fault;//ˮƽת������ + char vert_rotate_fault;//��ֱת������ + char hori_hall_fault;//ˮƽ����������� + char vert_hall_fault;//��ֱ����������� - char temperature_fault;//¶쳣 - char h_ntc_temp_fault;//¶쳣 - char v_ntc_temp_fault;//¶쳣 + char temperature_fault;//�¶��쳣 + char h_ntc_temp_fault;//�¶��쳣 + char v_ntc_temp_fault;//�¶��쳣 - char voltage_fault;//ѹ쳣 - char electric_current_fault;//쳣 + char voltage_fault;//��ѹ�쳣 + char electric_current_fault;//�����쳣 - char Phase_curr_V;//ˮƽ - char Phase_curr_H;//ֱ + char Phase_curr_V;//ˮƽ�������� + char Phase_curr_H;//��ֱ�������� - char fault;//ܱ־ֻҪйϾΪ1 + char fault;//�����ܱ�־��ֻҪ�й��Ͼ���Ϊ1 }FaultDetect; -///ԴֵԴصԴ +///�����Դ�����ֵ�Դ���������ص�Դ typedef struct _AuxSwitchPower_ { char aux_switch_1; char aux_switch_2; char aux_switch_3; char aux_switch_4; + char crc; }AuxSwitchPower; -///̨0λƫƽǶ +///��̨0λƫ�ƽǶ� typedef struct _PtzZeroOffsetAngle_ { - float offset_anle;//ƫ + float offset_anle;//����ƫ���� - float hori_zero_offset_angle;//̨ˮƽƫƽǶ - float vert_zero_offset_angle;//̨ˮƽƫƽǶ - char hori_offset_switch;//ˮƽƫƿأ1ƫƣ0رգ2ƫݴ洢ȷƫƿ - char vert_offset_switch;//ֱƫƿأ1ƫƣ0رգ2ƫݴ洢ȷƫƿ - unsigned int crc;//Ч + float hori_zero_offset_angle;//��̨ˮƽƫ�ƽǶ� + float vert_zero_offset_angle;//��̨ˮƽƫ�ƽǶ� + char hori_offset_switch;//ˮƽƫ�ƿ��أ�1��ƫ�ƣ�0�رգ�2ƫ�����ݴ洢��ȷ����ƫ�ƿ��� + char vert_offset_switch;//��ֱƫ�ƿ��أ�1��ƫ�ƣ�0�رգ�2ƫ�����ݴ洢��ȷ����ƫ�ƿ��� + unsigned int crc;//Ч���� }PtzZeroOffsetAngle; -///̨Զ˿ڣյUDPԴIPַԴMACַ򱣴ָĶ˿ںIPϢ +///��̨���Զ˿ڣ������յ���UDP����ԴIP��ַ��ԴMACַ�������򱣴��ָ���Ķ˿ں�IP������Ϣ typedef struct _PtzDebug_ { - char open_switch;//Ƿ򿪷 - struct sockaddr_in data_from;//IPͶ˿ - socklen_t data_fromlen;// + char open_switch;//�Ƿ�򿪷��� + struct sockaddr_in data_from;//IP�Ͷ˿� + socklen_t data_fromlen;//���� }PtzDebug; -///λڴӡ +///��λ�����ڴ�ӡ typedef struct _Ptzprintf_ { - char net_udp_printf_switch;//Ƿ򿪣1򿪣0ر - char uart_422_printf_switch;//Ƿ򿪣1򿪣0ر - char uart_485_printf_switch;//Ƿ򿪣1򿪣0ر + char net_udp_printf_switch;//�Ƿ�򿪣�1�򿪣�0�ر� + char uart_422_printf_switch;//�Ƿ�򿪣�1�򿪣�0�ر� + char uart_485_printf_switch;//�Ƿ�򿪣�1�򿪣�0�ر� - struct sockaddr_in printf_from;//IPͶ˿ - socklen_t printf_fromlen;// + struct sockaddr_in printf_from;//IP�Ͷ˿� + socklen_t printf_fromlen;//���� }Ptzprintf; -///̨Ƕȶλش +///��̨�Ƕȶ�λ�ش� typedef struct _PtzAngleLocation_ { - char net_udp_location_switch;//Ƿ򿪣1򿪣0ر - char uart_422_location_switch;//Ƿ򿪣1򿪣0ر - char uart_485_location_switch;//Ƿ򿪣1򿪣0ر + char net_udp_location_switch;//�Ƿ�򿪣�1�򿪣�0�ر� + char uart_422_location_switch;//�Ƿ�򿪣�1�򿪣�0�ر� + char uart_485_location_switch;//�Ƿ�򿪣�1�򿪣�0�ر� - struct sockaddr_in hori_cmd_from;//IPͶ˿ - socklen_t hori_cmd_fromlen;// - char hori_cmd;//1յˮƽǶȿָ,0δյˮƽǶȿָ - unsigned char hori_angle[7];//洢յˮƽǶָ + struct sockaddr_in hori_cmd_from;//IP�Ͷ˿� + socklen_t hori_cmd_fromlen;//���� + char hori_cmd;//1�յ�ˮƽ�Ƕȿ���ָ��,0δ�յ�ˮƽ�Ƕȿ���ָ�� + unsigned char hori_angle[7];//�洢�յ���ˮƽ�Ƕ�ָ�� - struct sockaddr_in vert_cmd_from;//IPͶ˿ - socklen_t vert_cmd_fromlen;// - char vert_cmd;//1յֱǶȿָ,0δյֱǶȿָ - unsigned char vert_angle[7];//洢յĴֱǶָ + struct sockaddr_in vert_cmd_from;//IP�Ͷ˿� + socklen_t vert_cmd_fromlen;//���� + char vert_cmd;//1�յ���ֱ�Ƕȿ���ָ��,0δ�յ���ֱ�Ƕȿ���ָ�� + unsigned char vert_angle[7];//�洢�յ��Ĵ�ֱ�Ƕ�ָ�� }PtzAngleLocation; -///̨ɨ裬ɨһشɨ赽λش +///��̨����ɨ�裬ɨ��һ�����������ش�������ɨ�赽λ�ش� typedef struct _PtzAreaScanEnd_ { - char area_scan_end_udp_switch;//Ƿ,1򿪣0ر - char area_scan_end_uart_422_switch;//Ƿ,1򿪣0ر - char area_scan_end_uart_485_switch;//Ƿ,1򿪣0ر - //char area_scan_cmd;//Ƿյɨָ + char area_scan_end_udp_switch;//�Ƿ��,1�򿪣�0�ر� + char area_scan_end_uart_422_switch;//�Ƿ��,1�򿪣�0�ر� + char area_scan_end_uart_485_switch;//�Ƿ��,1�򿪣�0�ر� + //char area_scan_cmd;//�Ƿ��յ�����ɨ������ָ�� - char area_step_scan_location_udp_switch;//ɨ赽λش - char area_step_scan_location_uart_422_switch;//ɨ赽λش - char area_step_scan_location_uart_485_switch;//ɨ赽λش + char area_step_scan_location_udp_switch;//����ɨ�赽λ�ش� + char area_step_scan_location_uart_422_switch;//����ɨ�赽λ�ش� + char area_step_scan_location_uart_485_switch;//����ɨ�赽λ�ش� - struct sockaddr_in area_scan_end_from;//IPͶ˿ - socklen_t area_scan_end_fromlen;// + struct sockaddr_in area_scan_end_from;//IP�Ͷ˿� + socklen_t area_scan_end_fromlen;//���� - struct sockaddr_in area_step_scan_location_from;//IPͶ˿ - socklen_t area_step_scan_location_fromlen;// + struct sockaddr_in area_step_scan_location_from;//IP�Ͷ˿� + socklen_t area_step_scan_location_fromlen;//���� }PtzAreaScanEnd; -///̨Ԥλλش +///��̨Ԥ��λ��λ�ش� typedef struct _PtzPresetBit_ { - //Ԥλɨ - char preset_bit_scan_end_udp_switch;//Ƿ,1򿪣0ر - char preset_bit_scan_end_uart_422_switch;//Ƿ,1򿪣0ر - char preset_bit_scan_end_uart_485_switch;//Ƿ,1򿪣0ر - //Ԥλɨ赽Ԥλ - char preset_bit_scan_location_udp_switch;//Ƿ,1򿪣0ر - char preset_bit_scan_location_uart_422_switch;//Ƿ,1򿪣0ر - char preset_bit_scan_location_uart_485_switch;//Ƿ,1򿪣0ر - //ͨԤλ - char preset_bit_location_udp_switch;//Ƿ,1򿪣0ر - char preset_bit_location_uart_422_switch;//Ƿ,1򿪣0ر - char preset_bit_location_uart_485_switch;//Ƿ,1򿪣0ر - char preset_bit_location_num;//λԤλ - char preset_bit_location_cmd;//1յԤλָ2Ԥλˮƽλûֱλã3Ԥλˮƽλúʹֱλö0ûյԤλָ - char preset_bit_location_cmd_source;//ָԴ + //Ԥ��λɨ����� + char preset_bit_scan_end_udp_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_scan_end_uart_422_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_scan_end_uart_485_switch;//�Ƿ��,1�򿪣�0�ر� + //Ԥ��λɨ�赽��Ԥ��λ + char preset_bit_scan_location_udp_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_scan_location_uart_422_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_scan_location_uart_485_switch;//�Ƿ��,1�򿪣�0�ر� + //��ͨԤ��λ���� + char preset_bit_location_udp_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_location_uart_422_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_location_uart_485_switch;//�Ƿ��,1�򿪣�0�ر� + char preset_bit_location_num;//��λ��Ԥ��λ��� + char preset_bit_location_cmd;//1�յ�����Ԥ��λָ�2����Ԥ��λˮƽλ�û�ֱλ�ã�3Ԥ��λˮƽλ�úʹ�ֱλ�ö����0û���յ�Ԥ��λָ�� + char preset_bit_location_cmd_source;//ָ����Դ - struct sockaddr_in preset_bit_scan_end_from;//IPͶ˿ - socklen_t preset_bit_scan_end_fromlen;// + struct sockaddr_in preset_bit_scan_end_from;//IP�Ͷ˿� + socklen_t preset_bit_scan_end_fromlen;//���� - struct sockaddr_in preset_bit_scan_location_from;//IPͶ˿ - socklen_t preset_bit_scan_location_fromlen;// + struct sockaddr_in preset_bit_scan_location_from;//IP�Ͷ˿� + socklen_t preset_bit_scan_location_fromlen;//���� - struct sockaddr_in preset_bit_location_from;//IPͶ˿ - socklen_t preset_bit_location_fromlen;// + struct sockaddr_in preset_bit_location_from;//IP�Ͷ˿� + socklen_t preset_bit_location_fromlen;//���� }PtzPresetBit; -//ָԴ +//����ָ����Դ typedef struct _PtzCmdSave_ { unsigned char cmd_data[7]; - struct sockaddr_in cmd_from;//IPͶ˿ - socklen_t cmd_fromlen;// - char cmd_data_flag; //ָ־1ʾչݣ0ʾûнչ + struct sockaddr_in cmd_from;//IP�Ͷ˿� + socklen_t cmd_fromlen;//���� + char cmd_data_flag; //ָ����־��1��ʾ���չ����ݣ�0��ʾ��û�н��չ����� - char cmd_data_udp_flag;//UDPָ־1ʾչUDPݣ0ʾûнչUDP + char cmd_data_udp_flag;//UDPָ����־��1��ʾ���չ�UDP���ݣ�0��ʾ��û�н��չ�UDP���� - char cmd_dev;//ָԴͨ + char cmd_dev;//ָ����Դͨ���� }PtzCmdSave; @@ -410,20 +411,20 @@ typedef struct _PtzCmdSave_ -///ڴ洢̨ǰĹ״̬ +///���ڴ洢��̨��ǰ�Ĺ���״̬ /// -///ڴ洢̨ǰĹ״̬ +///���ڴ洢��̨��ǰ�Ĺ���״̬ typedef struct _PtzState_ { - ///ַ̨ + ///��̨��ַ unsigned char address; - ///̨ڲ + ///��̨���ڲ����� int uart_422_baud; int uart_485_baud; -/******************************************/ +/**********************���������������********************/ #ifdef PTZ_BLDC_MOTOR - ///оƬl6235d + ///�������оƬl6235d PtzL6235d hori_l6235d; PtzL6235d vert_l6235d; #endif @@ -441,91 +442,91 @@ typedef struct _PtzState_ #endif - char hori_dec_mode;//ˮƽģʽ0Ϊ趨ʱ٣1Ĭʱ - char vert_dec_mode;//ֱģʽ0Ϊ趨ʱ٣1Ĭʱ + char hori_dec_mode;//ˮƽ�������ģʽ��0Ϊ�����趨��������ʱ����٣�1����Ĭ��ʱ����� + char vert_dec_mode;//��ֱ�������ģʽ��0Ϊ�����趨��������ʱ����٣�1����Ĭ��ʱ����� #endif -/*************************ˮƽת***********************/ - ///̨תƿ,ֵͬʾͬĿģʽΪ0ʱʾر - ///1 ת 2 ת 3ǶȶλתָǶȣ4 ֹͣת +/*************************ˮƽת������***********************/ + ///��̨ת�����ƿ���,��ͬ��ֵ��ʾ��ͬ�Ŀ���ģʽ��Ϊ0ʱ��ʾ�ر� + ///1 ����ת�� ��2 ����ת���� 3�Ƕȶ�λ��ת��ָ���Ƕȣ���4 ֹͣת�� char hori_rotate_monitor_switch; - ///̨ˮƽǶ + ///��̨ˮƽ�Ƕ� float hori_angle_set; float hori_angle_actual; - float hori_angle_actual_a;//ʵʽǶ + float hori_angle_actual_a;//ʵ�ʽǶ� float hori_angle_last; float hori_angle_control; - float hori_angle_right_inc_control;//ת,Ƕ - float hori_angle_left_inc_control;//תǶ - ///̨ˮƽͣ + float hori_angle_right_inc_control;//����ת��,�Ƕ����� + float hori_angle_left_inc_control;//����ת�����Ƕ����� + ///��̨ˮƽ�����ͣ char hori_start_stop_set; char hori_start_stop_actual; - ///̨ˮƽת + ///��̨ˮƽת������ char hori_direction_set; char hori_direction_actual; char hori_direction_last; char hori_direction_control; - ///̨ˮƽת + ///��̨ˮƽת�� float hori_speed_set; float hori_speed_actual; float hori_speed_control; - float hori_speed_as5047d_actual;//ݴų̋ת - float hori_speed_jy02a_actual;//ݵоƬ̨ת - float hori_speed_hall_actual;//ݵ̨ת - ///̨ˮƽת + float hori_speed_as5047d_actual;//���ݴű������������̨ת�� + float hori_speed_jy02a_actual;//���ݵ������оƬ�������̨ת�� + float hori_speed_hall_actual;//���ݵ�������������������̨ת�� + ///��̨ˮƽ���ת�� float hori_motor_speed_set; float hori_motor_speed_actual; - float hori_motor_speed_as5047d_actual;//ݴűĵת - float hori_motor_speed_jy02a_actual;//ݵоƬĵת - float hori_motor_speed_hall_actual;//ݵĵת + float hori_motor_speed_as5047d_actual;//���ݴű���������ĵ��ת�� + float hori_motor_speed_jy02a_actual;//���ݵ������оƬ����ĵ��ת�� + float hori_motor_speed_hall_actual;//���ݵ����������������ĵ��ת�� -/*************************ֱת***********************/ - ///̨תƿ +/*************************��ֱת������***********************/ + ///��̨ת�����ƿ��� char vert_rotate_monitor_switch; - ///ֱ̨Ƕ + ///��̨��ֱ�Ƕ� float vert_angle_set; - float vert_angle_actual;//ʵʽǶ - float vert_angle_actual_a;//ʵʽǶ + float vert_angle_actual;//ʵ�ʽǶ� + float vert_angle_actual_a;//ʵ�ʽǶ� float vert_angle_last; float vert_angle_control; - ///ֱ̨ͣ + ///��̨��ֱ�����ͣ char vert_start_stop_set; char vert_start_stop_actual; - ///ֱ̨ת + ///��̨��ֱת������ char vert_direction_set; char vert_direction_actual; char vert_direction_last; char vert_direction_control; - ///ֱ̨ת + ///��̨��ֱת�� float vert_speed_set; float vert_speed_actual; float vert_speed_control; - float vert_speed_as5047d_actual;//ݴų̋ת - float vert_speed_jy02a_actual;//ݵоƬ̨ת - float vert_speed_hall_actual;//ݵ̨ת - ///ֱ̨ת + float vert_speed_as5047d_actual;//���ݴű������������̨ת�� + float vert_speed_jy02a_actual;//���ݵ������оƬ�������̨ת�� + float vert_speed_hall_actual;//���ݵ�������������������̨ת�� + ///��̨��ֱ���ת�� float vert_motor_speed_set; float vert_motor_speed_actual; - float vert_motor_speed_as5047d_actual;//ݴűĵת - float vert_motor_speed_jy02a_actual;//ݵоƬĵת - float vert_motor_speed_hall_actual;//ݵĵת - ///̨PIDٲ + float vert_motor_speed_as5047d_actual;//���ݴű���������ĵ��ת�� + float vert_motor_speed_jy02a_actual;//���ݵ������оƬ����ĵ��ת�� + float vert_motor_speed_hall_actual;//���ݵ����������������ĵ��ת�� + ///��̨PID���ٲ��� PtzPidValue vert_pid; PtzPidValue hori_pid; -/**********************λü⿪********************/ +/**********************λ�ü�⿪������********************/ #ifdef PTZ_PHOTOELECTRIC_SWITCH - ///ˮƽƬ״̬,ڹ͵ƽδڹߵƽ + ///ˮƽ��Ƭ״̬,�ڹ�����͵�ƽ��δ�ڹ�����ߵ�ƽ char hori_ps_sw3_state; - ///ˮƽƬת½жϱ־1½жϣ0 + ///ˮƽ��Ƭ��ת�½����жϱ�־��1�����½����жϣ�0������ unsigned int hori_ps_sw3_right_fall; - ///ˮƽƬתжϱ־1жϣ0 + ///ˮƽ��Ƭ��ת�������жϱ�־��1�����������жϣ�0������ unsigned int hori_ps_sw3_right_rise; - ///ˮƽƬת½жϱ־1½жϣ0 + ///ˮƽ��Ƭ��ת�½����жϱ�־��1�����½����жϣ�0������ unsigned int hori_ps_sw3_left_fall; - ///ˮƽƬתжϱ־1жϣ0 + ///ˮƽ��Ƭ��ת�������жϱ�־��1�����������жϣ�0������ unsigned int hori_ps_sw3_left_rise; - ///ֱƬ״̬,ڹ͵ƽδڹߵƽ + ///��ֱ��Ƭ״̬,�ڹ�����͵�ƽ��δ�ڹ�����ߵ�ƽ char vert_ps_sw1_state; char vert_ps_sw2_state; unsigned int vert_ps_sw1_down_fall; @@ -535,112 +536,112 @@ typedef struct _PtzState_ #endif - ///̨ˮƽת滮 + ///��̨ˮƽת���滮 PtzRotatePlan hori_rotate_plan; - ///ֱ̨ת滮 + ///��̨��ֱת���滮 PtzRotatePlan vert_rotate_plan; - ///̨ˮƽԼ־,255ʾԼ + ///��̨ˮƽ�Լ��־,255��ʾ�Լ���� unsigned char hori_self_check; - ///ֱ̨Լ,255ʾԼ + ///��̨��ֱ�Լ���,255��ʾ�Լ���� unsigned char vert_self_check; - ///̨ˮƽű + ///��̨ˮƽ�ű����� PtzAs5047D hori_as5047d; - ///ֱ̨ű + ///��̨��ֱ�ű����� PtzAs5047D vert_as5047d; - ///̨ˮƽǶȷΧ + ///��̨ˮƽ�Ƕȷ�Χ���� PtzAngleParameter hori_angleP; - ///ֱ̨ǶȷΧ + ///��̨��ֱ�Ƕȷ�Χ���� PtzAngleParameter vert_angleP; - ///̨תλǷ񵽴ָλ - char hori_arrive_flag;//1תָλã0ָλ - ///̨תλǷ񵽴ָλ - char vert_arrive_flag;//1תָλã0ָλ + ///��̨ת����λ�Ƿ񵽴�ָ��λ�� + char hori_arrive_flag;//1����ת��ָ��λ�ã�0����ָ��λ�� + ///��̨ת����λ�Ƿ񵽴�ָ��λ�� + char vert_arrive_flag;//1����ת��ָ��λ�ã�0����ָ��λ�� - ///ظλ - char hori_repeat_locate_switch;//0Ҫظλ1Ҫظλ - ///ظλ - char vert_repeat_locate_switch;//0Ҫظλ1Ҫظλ + ///�ظ���λ���� + char hori_repeat_locate_switch;//0����Ҫ�ظ���λ��1��Ҫ�ظ���λ + ///�ظ���λ���� + char vert_repeat_locate_switch;//0����Ҫ�ظ���λ��1��Ҫ�ظ���λ /******************************************/ - /*¶ȡѹ*/ - float H_boad_temp;//ˮƽ·¶ - float V_boad_temp;//ֱ·¶ + /*�¶ȡ���ѹ������*/ + float H_boad_temp;//ˮƽ�����������·�����¶� + float V_boad_temp;//��ֱ�����������·�����¶� float temperature; float Voltage; float electric_current; - ///ϼ + ///���ϼ�� FaultDetect fault_detect; - ///ָظ - char cmd_reply_switch;//1ظ򿪣0ظر + ///ָ��ظ����� + char cmd_reply_switch;//1�ظ��򿪣�0�ظ��ر� #ifdef PTZ_ELECTRIC_STABLE_L6235D - ///ȶ + ///�����ȶ����������� ElectricStable hori_electric_stable; ElectricStable vert_electric_stable; #endif - ///ֵԴ + ///���ֵ�Դ���� AuxSwitchPower power; - ///浱ǰյָ + ///���浱ǰ���յ���ָ�� PtzCmdSave cmd_save; - ///Ƕƫ + ///�Ƕ�ƫ���� PtzZeroOffsetAngle offset_angle; - ///̨Զ˿ + ///��̨���Զ˿����� PtzDebug debug_data; - ///Ƕȶλش + ///�Ƕȶ�λ�ش� PtzAngleLocation location_return; - ///ɨش + ///����ɨ������ش� PtzAreaScanEnd area_scan_return; - ///Ԥλش + ///Ԥ��λ����ش� PtzPresetBit preset_bit_return; - //λڴӡ + //��λ�����ڴ�ӡ��� Ptzprintf ptz_printf; - ///̵̨״̬ + ///��̨�̵�������״̬ unsigned char ptz_motor_relay_state; - ///̨Լλݶȡ״̬ - unsigned char no_self_check_state; //0ȡ̨λòʧܣ1ȡλݳɹ2ȡԼݳɹλ + ///��̨���Լ�λ�����ݶ�ȡ״̬ + unsigned char no_self_check_state; //0��ȡ��̨λ�ò���ʧ�ܣ�1��ȡλ�����ݳɹ���2��ȡ�Լ����ݳɹ������λ������ - ///̨ԼǿƱ - unsigned char no_self_check_force_save; //0ǿƱ棬1ǿƱ - ///ǿɾλ - unsigned char no_self_check_force_erase; //0ǿɾ1ǿɾ + ///��̨���Լ�ǿ�Ʊ������� + unsigned char no_self_check_force_save; //0��ǿ�Ʊ��棬1ǿ�Ʊ��� + ///ǿ��ɾ��λ������ + unsigned char no_self_check_force_erase; //0��ǿ��ɾ����1ǿ��ɾ�� - ///Ԥָ濪 - char cmd_before_handle_swtich;//1Ԥָܲ棻0رԤָ + ///Ԥ����ָ��濪�� + char cmd_before_handle_swtich;//1��Ԥ����ָ��ܲ����棻0�ر�Ԥ����ָ��� - ///ͷ + ///������ͷ���� CameraLens cameralens; -// PtzWorkTime time;//̨ʱʱ +// PtzWorkTime time;//��̨����ʱ���ʱ - unsigned char hori_angle_state;//Ƕ״̬0ϣ1 - unsigned char vert_angle_state;//Ƕ״̬0ϣ1 + unsigned char hori_angle_state;//�Ƕ�״̬��0���ϣ�1���� + unsigned char vert_angle_state;//�Ƕ�״̬��0���ϣ�1���� - unsigned char hori_angle_erro_switch;//ˮƽǶأʼڽǶģУ0رգ1 + unsigned char hori_angle_erro_switch;//ˮƽ�Ƕ�����������أ���ʼ���ڽǶ�ģ���У�0�����رգ�1������ - float hori_angle_error;//洢ˮƽṹ + float hori_angle_error;//�洢ˮƽ�ṹ��� - /******/ - //űȦ쳣ͳ + /***������***/ + //�ű�����Ȧ�������쳣ͳ�� unsigned int hori_jia;//++ unsigned int hori_jian;//-- - unsigned int hori_cuowu;// + unsigned int hori_cuowu;//���� unsigned int vert_jia;//++ unsigned int vert_jian;//-- - unsigned int vert_cuowu;// + unsigned int vert_cuowu;//���� unsigned int vert_stop_num; }PtzState; diff --git a/BSP/IAR/GD32F450xE.icf b/BSP/IAR/GD32F450xE.icf index 67e4732..3074568 100644 --- a/BSP/IAR/GD32F450xE.icf +++ b/BSP/IAR/GD32F450xE.icf @@ -2,9 +2,9 @@ /*-Editor annotation file-*/ /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */ /*-Specials-*/ -define symbol __ICFEDIT_intvec_start__ = 0x08010000; +define symbol __ICFEDIT_intvec_start__ = 0x08000000; /*-Memory Regions-*/ -define symbol __ICFEDIT_region_ROM_start__ = 0x08010000; +define symbol __ICFEDIT_region_ROM_start__ = 0x08000000; define symbol __ICFEDIT_region_ROM_end__ = 0x0807FFFF; define symbol __ICFEDIT_region_RAM_start__ = 0x20000000; define symbol __ICFEDIT_region_RAM_end__ = 0x2002FFFF; diff --git a/PROJECT/Backup (1) of OS2.ewd b/PROJECT/Backup (1) of OS2.ewd new file mode 100644 index 0000000..fe8d3df --- /dev/null +++ b/PROJECT/Backup (1) of OS2.ewd @@ -0,0 +1,3064 @@ + + + 3 + + Debug + + ARM + + 1 + + C-SPY + 2 + + 32 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ARMSIM_ID + 2 + + 1 + 1 + 1 + + + + + + + + CADI_ID + 2 + + 0 + 1 + 1 + + + + + + + + + CMSISDAP_ID + 2 + + 4 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GDBSERVER_ID + 2 + + 0 + 1 + 1 + + + + + + + + + + + IJET_ID + 2 + + 9 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JLINK_ID + 2 + + 16 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LMIFTDI_ID + 2 + + 3 + 1 + 1 + + + + + + + + + + + + + NULINK_ID + 2 + + 0 + 1 + 1 + + + + + + + PEMICRO_ID + 2 + + 3 + 1 + 1 + + + + + + + + STLINK_ID + 2 + + 7 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + THIRDPARTY_ID + 2 + + 0 + 1 + 1 + + + + + + + + TIFET_ID + 2 + + 1 + 1 + 1 + + + + + + + + + + + + + + + + + + + XDS100_ID + 2 + + 9 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxTinyArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\FreeRtos\FreeRtosArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Mbed\MbedArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Mbed\MbedArmPlugin2.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9BE.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\TargetAccessServer\TargetAccessServer.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + + + + + Release + + ARM + + 0 + + C-SPY + 2 + + 32 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ARMSIM_ID + 2 + + 1 + 1 + 0 + + + + + + + + CADI_ID + 2 + + 0 + 1 + 0 + + + + + + + + + CMSISDAP_ID + 2 + + 4 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GDBSERVER_ID + 2 + + 0 + 1 + 0 + + + + + + + + + + + IJET_ID + 2 + + 9 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + JLINK_ID + 2 + + 16 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LMIFTDI_ID + 2 + + 3 + 1 + 0 + + + + + + + + + + + + + NULINK_ID + 2 + + 0 + 1 + 0 + + + + + + + PEMICRO_ID + 2 + + 3 + 1 + 0 + + + + + + + + STLINK_ID + 2 + + 7 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + THIRDPARTY_ID + 2 + + 0 + 1 + 0 + + + + + + + + TIFET_ID + 2 + + 1 + 1 + 0 + + + + + + + + + + + + + + + + + + + XDS100_ID + 2 + + 9 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\CMX\CmxTinyArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\embOS\embOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\FreeRtos\FreeRtosArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Mbed\MbedArmPlugin.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\Mbed\MbedArmPlugin2.ENU.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\OpenRTOS\OpenRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SafeRTOS\SafeRTOSPlugin.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\SMX\smxAwareIarArm9BE.ewplugin + 0 + + + $TOOLKIT_DIR$\plugins\rtos\ThreadX\ThreadXArmPlugin.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\Orti\Orti.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\TargetAccessServer\TargetAccessServer.ENU.ewplugin + 0 + + + $EW_DIR$\common\plugins\uCProbe\uCProbePlugin.ENU.ewplugin + 0 + + + + diff --git a/PROJECT/Backup (1) of OS2.ewp b/PROJECT/Backup (1) of OS2.ewp new file mode 100644 index 0000000..c95d5d3 --- /dev/null +++ b/PROJECT/Backup (1) of OS2.ewp @@ -0,0 +1,3343 @@ + + + 3 + + Debug + + ARM + + 1 + + General + 3 + + 34 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 37 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 11 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 1 + + + + + + + + + CUSTOM + 3 + + + + 0 + inputOutputBased + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 26 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 1 + + + + + + + + Release + + ARM + + 0 + + General + 3 + + 34 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ICCARM + 2 + + 37 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + AARM + 2 + + 11 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OBJCOPY + 0 + + 1 + 1 + 0 + + + + + + + + + CUSTOM + 3 + + + + 0 + inputOutputBased + + + + BUILDACTION + 1 + + + + + + + ILINK + 0 + + 26 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IARCHIVE + 0 + + 0 + 1 + 0 + + + + + + + + APP + + Agent + + $PROJ_DIR$\..\APP\Agent\agent_hyt.c + + + $PROJ_DIR$\..\APP\Agent\agent_hyt.h + + + + Appcfg + + $PROJ_DIR$\..\APP\Appcfg\app.c + + + $PROJ_DIR$\..\APP\Appcfg\app_cfg.h + + + $PROJ_DIR$\..\APP\Appcfg\app_hooks.c + + + $PROJ_DIR$\..\APP\Appcfg\cpu_cfg.h + + + $PROJ_DIR$\..\APP\Appcfg\lib_cfg.h + + + $PROJ_DIR$\..\APP\Appcfg\os_cfg.h + + + + Common + + $PROJ_DIR$\..\APP\Common\comm_cfginfo.c + + + $PROJ_DIR$\..\APP\Common\comm_cfginfo.h + + + $PROJ_DIR$\..\APP\Common\comm_types.h + + + $PROJ_DIR$\..\APP\Common\common.h + + + $PROJ_DIR$\..\APP\Common\includes.h + + + $PROJ_DIR$\..\APP\Common\ptz_default_value.h + + + $PROJ_DIR$\..\APP\Common\ptz_global_variable.c + + + $PROJ_DIR$\..\APP\Common\ptz_global_variable.h + + + $PROJ_DIR$\..\APP\Common\ptz_header_file.h + + + $PROJ_DIR$\..\APP\Common\ptz_struct.h + + + $PROJ_DIR$\..\APP\Common\ptz_type_select.h + + + + Device + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_poweroffsave.c + + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_poweroffsave.h + + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_zerooffset.c + + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_zerooffset.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_adc_collect.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_adc_collect.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_dac_out.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_dac_out.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_heatresistor.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_heatresistor.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_interrupt.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_interrupt.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_photoelectricswitch.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_photoelectricswitch.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_relay.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_relay.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_wdog.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_wdog.h + + + $PROJ_DIR$\..\APP\Device\Device_angle\get_angle.c + + + $PROJ_DIR$\..\APP\Device\Device_angle\get_angle.h + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_bldc.c + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_bldc.h + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_plan.c + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_plan.h + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_step.c + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_step.h + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_bldc.c + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_bldc.h + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_step.c + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_step.h + + + + Service + + $PROJ_DIR$\..\APP\Device\Restore factory settings\Restore_factory_set.c + + + $PROJ_DIR$\..\APP\Device\Restore factory settings\Restore_factory_set.h + + + $PROJ_DIR$\..\APP\Service\service_areascan.c + + + $PROJ_DIR$\..\APP\Service\service_areascan.h + + + $PROJ_DIR$\..\APP\Service\service_autoreturn.c + + + $PROJ_DIR$\..\APP\Service\service_autoreturn.h + + + $PROJ_DIR$\..\APP\Service\service_cmdpreprocess.c + + + $PROJ_DIR$\..\APP\Service\service_cmdpreprocess.h + + + $PROJ_DIR$\..\APP\Service\service_error_count.c + + + $PROJ_DIR$\..\APP\Service\service_error_count.h + + + $PROJ_DIR$\..\APP\Service\service_presetbitscan.c + + + $PROJ_DIR$\..\APP\Service\service_presetbitscan.h + + + $PROJ_DIR$\..\APP\Service\service_selfcheck.c + + + $PROJ_DIR$\..\APP\Service\service_selfcheck.h + + + $PROJ_DIR$\..\APP\Service\service_statusmonitor.c + + + $PROJ_DIR$\..\APP\Service\service_statusmonitor.h + + + $PROJ_DIR$\..\APP\Service\service_update.c + + + $PROJ_DIR$\..\APP\Service\service_update.h + + + + + BSP + + Doc + + + Driver + + as5047d + + $PROJ_DIR$\..\BSP\Driver\as5047d\as5047d.c + + + $PROJ_DIR$\..\BSP\Driver\as5047d\as5047d.h + + + + beep + + $PROJ_DIR$\..\BSP\Driver\beep\beep.c + + + $PROJ_DIR$\..\BSP\Driver\beep\beep.h + + + + check + + $PROJ_DIR$\..\BSP\Driver\check\check.c + + + $PROJ_DIR$\..\BSP\Driver\check\check.h + + + + enet + + $PROJ_DIR$\..\BSP\Driver\enet_to_udp\enet_to_udp.c + + + $PROJ_DIR$\..\BSP\Driver\enet_to_udp\enet_to_udp.h + + + + getcfg + + $PROJ_DIR$\..\BSP\Driver\getcfg\getcfg.c + + + $PROJ_DIR$\..\BSP\Driver\getcfg\getcfg.h + + + + l6235d + + $PROJ_DIR$\..\BSP\Driver\l6235d\l6235d.c + + + $PROJ_DIR$\..\BSP\Driver\l6235d\l6235d.h + + + + lan8720 + + $PROJ_DIR$\..\BSP\Driver\lan8720\Lan8720.c + + + $PROJ_DIR$\..\BSP\Driver\lan8720\Lan8720.h + + + + mb85rc64 + + $PROJ_DIR$\..\BSP\Driver\mb85rc64\mb85rc64.c + + + $PROJ_DIR$\..\BSP\Driver\mb85rc64\mb85rc64.h + + + + ring_queue + + $PROJ_DIR$\..\BSP\Driver\ringqueue\ring_queue.c + + + $PROJ_DIR$\..\BSP\Driver\ringqueue\ring_queue.h + + + + timer + + $PROJ_DIR$\..\BSP\Driver\timer\Timer.c + + + $PROJ_DIR$\..\BSP\Driver\timer\Timer.h + + + + tmc2160 + + $PROJ_DIR$\..\BSP\Driver\tmc2160\tmc2160.c + + + $PROJ_DIR$\..\BSP\Driver\tmc2160\tmc2160.h + + + + tmp75 + + $PROJ_DIR$\..\BSP\Driver\tmp75\tmp75.c + + + $PROJ_DIR$\..\BSP\Driver\tmp75\tmp75.h + + + + usart + + $PROJ_DIR$\..\BSP\Driver\usart\Usart.c + + + $PROJ_DIR$\..\BSP\Driver\usart\Usart.h + + + + w25q128 + + $PROJ_DIR$\..\BSP\Driver\w25q128\w25q128.c + + + $PROJ_DIR$\..\BSP\Driver\w25q128\w25q128.h + + + + + IAR + + $PROJ_DIR$\..\BSP\IAR\GD32F450xE.icf + + + Debug + + ICCARM + + 37 + 0 + 1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + OS + + $PROJ_DIR$\..\BSP\OS\bsp_os.c + + + $PROJ_DIR$\..\BSP\OS\bsp_os.h + + + + $PROJ_DIR$\..\BSP\bsp.c + + + $PROJ_DIR$\..\BSP\bsp.h + + + $PROJ_DIR$\..\BSP\bsp_int.c + + + $PROJ_DIR$\..\BSP\bsp_ser.c + + + $PROJ_DIR$\..\BSP\bsp_ser.h + + + $PROJ_DIR$\..\BSP\pdebug.c + + + $PROJ_DIR$\..\BSP\pdebug.h + + + + FATFS + + option + + $PROJ_DIR$\..\FATFS\option\cc936.c + + + + $PROJ_DIR$\..\FATFS\diskio.c + + + $PROJ_DIR$\..\FATFS\diskio.h + + + $PROJ_DIR$\..\FATFS\ff.c + + + $PROJ_DIR$\..\FATFS\ff.h + + + $PROJ_DIR$\..\FATFS\ffconf.h + + + $PROJ_DIR$\..\FATFS\integer.h + + + $PROJ_DIR$\..\FATFS\tm_stm32f1_fatfs.c + + + $PROJ_DIR$\..\FATFS\tm_stm32f1_fatfs.h + + + + GD32F4 + + CMSIS + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\core_cm4.h + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\core_cm4_simd.h + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c + + + + GD32F4xx_standard + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_ctc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c + + + + Startup + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f450.s + + + + Systick + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\gd32f4xx_it.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\gd32f4xx_it.h + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\systick.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\systick.h + + + + + LWIP + + api + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\api_lib.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\api_msg.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\err.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\netbuf.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\netdb.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\netifapi.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\ping.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\sockets.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\tcpip.c + + + + arch + + $PROJ_DIR$\..\LWIP\arch\sys_arch.c + + + + core + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\asn1_dec.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\asn1_enc.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\autoip.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\def.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\dhcp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\dns.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\icmp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\igmp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\inet.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\inet_chksum.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\init.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\ip.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\ip_addr.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\ip_frag.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\mem.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\memp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\mib2.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\mib_structs.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\msg_in.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\msg_out.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\netif.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\pbuf.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\raw.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\stats.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\sys.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\tcp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\tcp_in.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\tcp_out.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\timers.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\udp.c + + + + Lib + + $PROJ_DIR$\..\LWIP\Lib\sock_utils.c + + + $PROJ_DIR$\..\LWIP\Lib\sock_utils.h + + + + netif + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\netif\etharp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\netif\ethernetif.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\netif\slipif.c + + + + + uCOS-II + + Ports + + ARM-Cortex-M4 + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_cpu.h + + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_cpu_a.asm + + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_cpu_c.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_dbg.c + + + + uC-CPU + + ARM-Cortex-M4 + + $PROJ_DIR$\..\OS2\uC-CPU\ARM-Cortex-M4\cpu.h + + + $PROJ_DIR$\..\OS2\uC-CPU\ARM-Cortex-M4\cpu_a.asm + + + $PROJ_DIR$\..\OS2\uC-CPU\ARM-Cortex-M4\cpu_c.c + + + + $PROJ_DIR$\..\OS2\uC-CPU\cpu_core.c + + + $PROJ_DIR$\..\OS2\uC-CPU\cpu_core.h + + + $PROJ_DIR$\..\OS2\uC-CPU\cpu_def.h + + + + + Source + + $PROJ_DIR$\..\APP\Header\os_cfg.h + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_core.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_flag.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_mbox.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_mem.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_mutex.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_q.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_sem.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_task.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_time.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_tmr.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\ucos_ii.h + + + + uC-LIB + + Ports + + ARM-Cortex-M4 + + $PROJ_DIR$\..\OS2\uC-LIB\Ports\ARM-Cortex-M4\lib_mem_a.asm + + + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_ascii.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_ascii.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_def.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_math.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_math.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_mem.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_mem.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_str.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_str.h + + + + + $PROJ_DIR$\..\..\..\Users\Administrator\AppData\Roaming\Tencent\QQ\Temp\{F}SQO_E9%Q2@~G%E(835ZQ.png + + diff --git a/PROJECT/Backup (1) of OS2.ewt b/PROJECT/Backup (1) of OS2.ewt new file mode 100644 index 0000000..a612241 --- /dev/null +++ b/PROJECT/Backup (1) of OS2.ewt @@ -0,0 +1,3673 @@ + + + 3 + + Debug + + ARM + + 1 + + C-STAT + 515 + + 515 + + 0 + + 1 + 600 + 1 + 6 + 0 + 1 + 100 + Debug\C-STAT + + + 2.3.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RuntimeChecking + 0 + + 2 + 1 + 1 + + + + + + + + + + + + + + + + + + + + + + Release + + ARM + + 0 + + C-STAT + 515 + + 515 + + 0 + + 1 + 600 + 1 + 6 + 0 + 1 + 100 + Release\C-STAT + + + 2.3.2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RuntimeChecking + 0 + + 2 + 1 + 0 + + + + + + + + + + + + + + + + + + + + + + APP + + Agent + + $PROJ_DIR$\..\APP\Agent\agent_hyt.c + + + $PROJ_DIR$\..\APP\Agent\agent_hyt.h + + + + Appcfg + + $PROJ_DIR$\..\APP\Appcfg\app.c + + + $PROJ_DIR$\..\APP\Appcfg\app_cfg.h + + + $PROJ_DIR$\..\APP\Appcfg\app_hooks.c + + + $PROJ_DIR$\..\APP\Appcfg\cpu_cfg.h + + + $PROJ_DIR$\..\APP\Appcfg\lib_cfg.h + + + $PROJ_DIR$\..\APP\Appcfg\os_cfg.h + + + + Common + + $PROJ_DIR$\..\APP\Common\comm_cfginfo.c + + + $PROJ_DIR$\..\APP\Common\comm_cfginfo.h + + + $PROJ_DIR$\..\APP\Common\comm_types.h + + + $PROJ_DIR$\..\APP\Common\common.h + + + $PROJ_DIR$\..\APP\Common\includes.h + + + $PROJ_DIR$\..\APP\Common\ptz_default_value.h + + + $PROJ_DIR$\..\APP\Common\ptz_global_variable.c + + + $PROJ_DIR$\..\APP\Common\ptz_global_variable.h + + + $PROJ_DIR$\..\APP\Common\ptz_header_file.h + + + $PROJ_DIR$\..\APP\Common\ptz_struct.h + + + $PROJ_DIR$\..\APP\Common\ptz_type_select.h + + + + Device + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_poweroffsave.c + + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_poweroffsave.h + + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_zerooffset.c + + + $PROJ_DIR$\..\APP\Device\Device_angle\angle_zerooffset.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_adc_collect.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_adc_collect.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_dac_out.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_dac_out.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_heatresistor.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_heatresistor.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_interrupt.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_interrupt.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_photoelectricswitch.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_photoelectricswitch.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_relay.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_relay.h + + + $PROJ_DIR$\..\APP\Device\device_Other\device_wdog.c + + + $PROJ_DIR$\..\APP\Device\device_Other\device_wdog.h + + + $PROJ_DIR$\..\APP\Device\Device_angle\get_angle.c + + + $PROJ_DIR$\..\APP\Device\Device_angle\get_angle.h + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_bldc.c + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_bldc.h + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_plan.c + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_plan.h + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_step.c + + + $PROJ_DIR$\..\APP\Device\Device_rotate\rotate_step.h + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_bldc.c + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_bldc.h + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_step.c + + + $PROJ_DIR$\..\APP\Device\Device_speed\speed_to_step.h + + + + Service + + $PROJ_DIR$\..\APP\Device\Restore factory settings\Restore_factory_set.c + + + $PROJ_DIR$\..\APP\Device\Restore factory settings\Restore_factory_set.h + + + $PROJ_DIR$\..\APP\Service\service_areascan.c + + + $PROJ_DIR$\..\APP\Service\service_areascan.h + + + $PROJ_DIR$\..\APP\Service\service_autoreturn.c + + + $PROJ_DIR$\..\APP\Service\service_autoreturn.h + + + $PROJ_DIR$\..\APP\Service\service_cmdpreprocess.c + + + $PROJ_DIR$\..\APP\Service\service_cmdpreprocess.h + + + $PROJ_DIR$\..\APP\Service\service_error_count.c + + + $PROJ_DIR$\..\APP\Service\service_error_count.h + + + $PROJ_DIR$\..\APP\Service\service_presetbitscan.c + + + $PROJ_DIR$\..\APP\Service\service_presetbitscan.h + + + $PROJ_DIR$\..\APP\Service\service_selfcheck.c + + + $PROJ_DIR$\..\APP\Service\service_selfcheck.h + + + $PROJ_DIR$\..\APP\Service\service_statusmonitor.c + + + $PROJ_DIR$\..\APP\Service\service_statusmonitor.h + + + $PROJ_DIR$\..\APP\Service\service_update.c + + + $PROJ_DIR$\..\APP\Service\service_update.h + + + + + BSP + + Doc + + + Driver + + as5047d + + $PROJ_DIR$\..\BSP\Driver\as5047d\as5047d.c + + + $PROJ_DIR$\..\BSP\Driver\as5047d\as5047d.h + + + + beep + + $PROJ_DIR$\..\BSP\Driver\beep\beep.c + + + $PROJ_DIR$\..\BSP\Driver\beep\beep.h + + + + check + + $PROJ_DIR$\..\BSP\Driver\check\check.c + + + $PROJ_DIR$\..\BSP\Driver\check\check.h + + + + enet + + $PROJ_DIR$\..\BSP\Driver\enet_to_udp\enet_to_udp.c + + + $PROJ_DIR$\..\BSP\Driver\enet_to_udp\enet_to_udp.h + + + + getcfg + + $PROJ_DIR$\..\BSP\Driver\getcfg\getcfg.c + + + $PROJ_DIR$\..\BSP\Driver\getcfg\getcfg.h + + + + l6235d + + $PROJ_DIR$\..\BSP\Driver\l6235d\l6235d.c + + + $PROJ_DIR$\..\BSP\Driver\l6235d\l6235d.h + + + + lan8720 + + $PROJ_DIR$\..\BSP\Driver\lan8720\Lan8720.c + + + $PROJ_DIR$\..\BSP\Driver\lan8720\Lan8720.h + + + + mb85rc64 + + $PROJ_DIR$\..\BSP\Driver\mb85rc64\mb85rc64.c + + + $PROJ_DIR$\..\BSP\Driver\mb85rc64\mb85rc64.h + + + + ring_queue + + $PROJ_DIR$\..\BSP\Driver\ringqueue\ring_queue.c + + + $PROJ_DIR$\..\BSP\Driver\ringqueue\ring_queue.h + + + + timer + + $PROJ_DIR$\..\BSP\Driver\timer\Timer.c + + + $PROJ_DIR$\..\BSP\Driver\timer\Timer.h + + + + tmc2160 + + $PROJ_DIR$\..\BSP\Driver\tmc2160\tmc2160.c + + + $PROJ_DIR$\..\BSP\Driver\tmc2160\tmc2160.h + + + + tmp75 + + $PROJ_DIR$\..\BSP\Driver\tmp75\tmp75.c + + + $PROJ_DIR$\..\BSP\Driver\tmp75\tmp75.h + + + + usart + + $PROJ_DIR$\..\BSP\Driver\usart\Usart.c + + + $PROJ_DIR$\..\BSP\Driver\usart\Usart.h + + + + w25q128 + + $PROJ_DIR$\..\BSP\Driver\w25q128\w25q128.c + + + $PROJ_DIR$\..\BSP\Driver\w25q128\w25q128.h + + + + + IAR + + $PROJ_DIR$\..\BSP\IAR\GD32F450xE.icf + + + Debug + + + + OS + + $PROJ_DIR$\..\BSP\OS\bsp_os.c + + + $PROJ_DIR$\..\BSP\OS\bsp_os.h + + + + $PROJ_DIR$\..\BSP\bsp.c + + + $PROJ_DIR$\..\BSP\bsp.h + + + $PROJ_DIR$\..\BSP\bsp_int.c + + + $PROJ_DIR$\..\BSP\bsp_ser.c + + + $PROJ_DIR$\..\BSP\bsp_ser.h + + + $PROJ_DIR$\..\BSP\pdebug.c + + + $PROJ_DIR$\..\BSP\pdebug.h + + + + FATFS + + option + + $PROJ_DIR$\..\FATFS\option\cc936.c + + + + $PROJ_DIR$\..\FATFS\diskio.c + + + $PROJ_DIR$\..\FATFS\diskio.h + + + $PROJ_DIR$\..\FATFS\ff.c + + + $PROJ_DIR$\..\FATFS\ff.h + + + $PROJ_DIR$\..\FATFS\ffconf.h + + + $PROJ_DIR$\..\FATFS\integer.h + + + $PROJ_DIR$\..\FATFS\tm_stm32f1_fatfs.c + + + $PROJ_DIR$\..\FATFS\tm_stm32f1_fatfs.h + + + + GD32F4 + + CMSIS + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\core_cm4.h + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\core_cm4_simd.h + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c + + + + GD32F4xx_standard + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_ctc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c + + + + Startup + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\CMSIS\GD\GD32F4xx\Source\IAR\startup_gd32f450.s + + + + Systick + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\gd32f4xx_it.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\gd32f4xx_it.h + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\systick.c + + + $PROJ_DIR$\..\GD32F4xx_Firmware_Library\SYSTICK\systick.h + + + + + LWIP + + api + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\api_lib.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\api_msg.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\err.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\netbuf.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\netdb.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\netifapi.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\ping.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\sockets.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\api\tcpip.c + + + + arch + + $PROJ_DIR$\..\LWIP\arch\sys_arch.c + + + + core + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\asn1_dec.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\asn1_enc.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\autoip.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\def.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\dhcp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\dns.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\icmp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\igmp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\inet.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\inet_chksum.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\init.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\ip.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\ip_addr.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\ipv4\ip_frag.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\mem.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\memp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\mib2.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\mib_structs.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\msg_in.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\snmp\msg_out.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\netif.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\pbuf.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\raw.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\stats.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\sys.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\tcp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\tcp_in.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\tcp_out.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\timers.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\core\udp.c + + + + Lib + + $PROJ_DIR$\..\LWIP\Lib\sock_utils.c + + + $PROJ_DIR$\..\LWIP\Lib\sock_utils.h + + + + netif + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\netif\etharp.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\netif\ethernetif.c + + + $PROJ_DIR$\..\LWIP\lwip-1.4.1\netif\slipif.c + + + + + uCOS-II + + Ports + + ARM-Cortex-M4 + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_cpu.h + + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_cpu_a.asm + + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_cpu_c.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Ports\ARM-Cortex-M4\os_dbg.c + + + + uC-CPU + + ARM-Cortex-M4 + + $PROJ_DIR$\..\OS2\uC-CPU\ARM-Cortex-M4\cpu.h + + + $PROJ_DIR$\..\OS2\uC-CPU\ARM-Cortex-M4\cpu_a.asm + + + $PROJ_DIR$\..\OS2\uC-CPU\ARM-Cortex-M4\cpu_c.c + + + + $PROJ_DIR$\..\OS2\uC-CPU\cpu_core.c + + + $PROJ_DIR$\..\OS2\uC-CPU\cpu_core.h + + + $PROJ_DIR$\..\OS2\uC-CPU\cpu_def.h + + + + + Source + + $PROJ_DIR$\..\APP\Header\os_cfg.h + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_core.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_flag.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_mbox.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_mem.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_mutex.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_q.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_sem.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_task.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_time.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\os_tmr.c + + + $PROJ_DIR$\..\OS2\uCOS-II\Source\ucos_ii.h + + + + uC-LIB + + Ports + + ARM-Cortex-M4 + + $PROJ_DIR$\..\OS2\uC-LIB\Ports\ARM-Cortex-M4\lib_mem_a.asm + + + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_ascii.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_ascii.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_def.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_math.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_math.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_mem.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_mem.h + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_str.c + + + $PROJ_DIR$\..\OS2\uC-LIB\lib_str.h + + + + + $PROJ_DIR$\..\..\..\Users\Administrator\AppData\Roaming\Tencent\QQ\Temp\{F}SQO_E9%Q2@~G%E(835ZQ.png + + diff --git a/PROJECT/OS2.ewd b/PROJECT/OS2.ewd index fe8d3df..60cc5c5 100644 --- a/PROJECT/OS2.ewd +++ b/PROJECT/OS2.ewd @@ -1,6 +1,6 @@ - 3 + 4 Debug @@ -11,7 +11,7 @@ C-SPY 2 - 32 + 33 1 1 + + + + + + + + @@ -457,6 +489,39 @@ + + E2_ID + 2 + + 0 + 1 + 1 + + + + + + + + GDBSERVER_ID 2 @@ -1072,7 +1137,7 @@ STLINK_ID 2 - 7 + 8 1 1 + + @@ -1417,7 +1490,7 @@ @@ -1987,6 +2100,39 @@ + + E2_ID + 2 + + 0 + 1 + 0 + + + + + + + + GDBSERVER_ID 2 @@ -2602,7 +2748,7 @@ STLINK_ID 2 - 7 + 8 1 0 + + @@ -2947,7 +3101,7 @@ ICCARM 2 - 37 + 38 1 1 + + AARM 2 - 11 + 12 1 1 + @@ -717,19 +742,11 @@ inputOutputBased - - BUILDACTION - 1 - - - - - ILINK 0 - 26 + 27 1 1 + + @@ -1112,6 +1137,11 @@ + + BUILDACTION + 2 + + Release @@ -1123,7 +1153,7 @@ General 3 - 34 + 36 1 0 + + + ICCARM 2 - 37 + 38 1 0 + + AARM 2 - 11 + 12 1 0 + @@ -1816,19 +1871,11 @@ inputOutputBased - - BUILDACTION - 1 - - - - - ILINK 0 - 26 + 27 1 0 + + @@ -2211,6 +2266,11 @@ + + BUILDACTION + 2 + + APP @@ -2575,7 +2635,7 @@ ICCARM - 37 + 38 0 1 + + diff --git a/PROJECT/OS2.ewt b/PROJECT/OS2.ewt index a612241..da35f8b 100644 --- a/PROJECT/OS2.ewt +++ b/PROJECT/OS2.ewt @@ -1,6 +1,6 @@ - 3 + 4 Debug @@ -9,9 +9,9 @@ 1 C-STAT - 515 + 517 - 515 + 517 0 @@ -25,1317 +25,1323 @@ Debug\C-STAT - 2.3.2 + 2.5.2 - + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + - + - + - + - - - - - - + + + + + + - + - - - + + + - - - + + + - + - - + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - + - - - - - - - - - + + + + + + + + + - + - + - - - - - - + + + + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - + + + - - + + - + - - - - - - + + + + + + - - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - + + + + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - + + + - - - - - - + + + + + + - - - - + + + + - - + + - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - + - + - + - + - - - + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - + + - + - + - - - - - - - - + + + + + + + + - + - - - + + + - - - - + + + + - - + + - + - - - + + + - - - + + + - + - - + + - - - - - + + + + + - + - - + + - - - - + + + + - - + + - - - + + + - - - - - + + + + + - + - + - + - + - + @@ -1428,9 +1434,9 @@ 0 C-STAT - 515 + 517 - 515 + 517 0 @@ -1444,1317 +1450,1323 @@ Release\C-STAT - 2.3.2 + 2.5.2 - + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - + - - + + - + - + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - + + + + + + + + - + - + - + - - - - - - + + + + + + - + - - - + + + - - - + + + - + - - + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - + - - - - - - - - - + + + + + + + + + - + - + - - - - - - + + + + + + - - + + - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - + + + - - - - + + + + - - - - - - - - - - - - + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - + + + - - + + - + - - - - - - + + + + + + - - + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - + + + + + - + - - - - - - - - - - - + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - + + + - - - - - - - - - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - + + - - - - - - - - - - - - - + + + + + + + + + + + + + - - + + - - - - - + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - - - - - - - - - - - + + + + + + + + + + + + - + - + - - - + + + - - - - - - + + + + + + - - - - + + + + - - + + - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + - + - + - + - + - - - + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + - - - - + + + + - - + + - + - + - - - - - - - - + + + + + + + + - + - - - + + + - - - - + + + + - - + + - + - - - + + + - - - + + + - + - - + + - - - - - + + + + + - + - - + + - - - - + + + + - - + + - - - + + + - - - - - + + + + + - + - + - + - + - +