Compare commits

..

No commits in common. 'main' and 'before_die' have entirely different histories.

1
.gitignore vendored

@ -1 +0,0 @@
OBJ/*

@ -1,6 +0,0 @@
{
"files.associations": {
"w25q128_ins.h": "c",
"usart.h": "c"
}
}

@ -1,7 +1,5 @@
#include "PID.h" #include "PID.h"
#include "Relays.h" #include "Relays.h"
#include "USART.h"
#include "rs485.h"
extern u16 tem; extern u16 tem;
float cold_tem=0; float cold_tem=0;
float red_tem=0; float red_tem=0;
@ -10,160 +8,92 @@ float ki = 0.001;
float kd=340; float kd=340;
extern u8 hot_clod_flag; extern u8 hot_clod_flag;
extern u8 gpio_state; extern u8 gpio_state;
extern int T;
unsigned int num = 0;
PID pid; PID pid;
u8 rs485speed[8] = {0x01, 0x06, 0x60, 0x00, 0x00, 0x09, 0xBB, 0xAA}; // speed control for compressor controller
int min_speed_count = 1500;
int max_speed_count = 6000;
void PID_Init() void PID_Init()
{ {
// pid.set_tem=tem;// user set temperature //pid.set_tem=tem;//用户设定温度
// if flash have not a vaild value, just set a default value pid.Kp=170;
if (pid.Kp < 1e-7) { pid.Kp = 40; } pid.t=500;//PID计算周期
if (pid.Ki < 1e-7) { pid.Ki = 0.001; } //pid.Ti=5000000;//积分时间
if (pid.Kd < 1e-7) { pid.Kd = 340; } //pid.Td=1000;//微分时间
if (pid.tem_threshold < 0.0001) { pid.tem_threshold = 0.2; } pid.pwmcycle=200;//pwm周期200
pid.t = 500; // PID calc period
// pid.Ti=5000000;// integral time
// pid.Td=1000;// differential time
pid.pwmcycle = 200; // pwm cycle 200
pid.OUT0=1; pid.OUT0=1;
pid.C1ms=0; pid.C1ms=0;
} }
/** void PID_Calc() //pid计算
* send speed count to compressor controller
*/
void send_speed_signal(int speed) {
rs485speed[4] = speed / 256;
rs485speed[5] = speed % 256;
RS485_3_Init(9600);
RS485_3_Send_Data(rs485speed, 8);
delay_xms(30);
RS485_1_Init(9600);
}
void PID_Calc() // pid calc
{ {
// float DelEk; // The difference between the last two deviations float DelEk;//最近两次偏差之差
// // float td;
// float out;
// if (pid.C1ms < (pid.t)) // The calculation cycle has not yet arrived
// {
// return;
// }
// // if (pid.set_tem > pid.now_tem)
// // {
// // pid.Ek = pid.set_tem - pid.now_tem;
// // }
// // else
// // {
// // pid.Ek = pid.now_tem - pid.set_tem;
// // }
// pid.Ek = pid.now_tem - pid.set_tem;
// pid.Pout = pid.Kp * pid.Ek; // Proportional output
// pid.SEk += pid.Ek; // Total historical deviation
// DelEk = pid.Ek - pid.Ek_1; // The difference between the last two deviations
// // ti=pid.t/pid.Ti;
// // ki=ti*pid.Kp;
// pid.Iout = pid.Ki * pid.SEk; // integral output
// // td=pid.Td/pid.t; //float td;
// // kd=pid.Kp*td;
// pid.Dout = pid.Kd * DelEk; // difference output float out;
// if (pid.Dout < 0) if(pid.C1ms<(pid.t)) //计算周期未到
// { {
// pid.Dout = 0 - pid.Dout; return ;
// } }
if(pid.set_tem>pid.now_tem+1)
// // out= pid.Pout+pid.Iout+ pid.Dout; {
// out = pid.Pout; //得到当前的偏差值,设置温度大于实际温度,加热,关闭四通阀
// if (out > pid.pwmcycle) //GPIO_ResetBits(GPIOA,GPIO_Pin_1);//关闭四通阀
// { HC595_Send_Byte(gpio_state&=0xFB);//关闭四通阀 &=1111 1011 0xFB
// pid.OUT = pid.pwmcycle; hot_clod_flag=2;
// }
// else if (out <= 0)
// {
// pid.OUT = pid.OUT0;
// }
// else
// {
// pid.OUT = out;
// }
// pid.Ek_1 = pid.Ek; // udpate difference
// pid.C1ms = 0;
// // speed count
// int speed_count = pid.OUT / 200.0 * (max_speed_count - min_speed_count) + min_speed_count;
// if (speed_count > 6000) {
// speed_count = 6000;
// }
// if (pid.now_tem < pid.set_tem + pid.tem_offset - pid.tem_threshold)
// {
// // Obtain the current deviation value
// // when the target temperature is 1 degree Celsius higher than the actual temperature, heat up
// // close compressor open heater
// /*GPIO1->Alarm bell GPIO3->heater GPIO4->Fresh air fan GPIO5->humidifier GPIO6->compressor */
// // HC595_Send_Byte(gpio_state &= 0xDF);//close compressor &=1101 1111 0xDF
// HC595_Send_Byte(gpio_state |= 0x04); // open heater |=0000 0100 0x04
// speed_count = 1000; // close compressor
// hot_clod_flag = 2;
//pid.Iout=0; //pid.Iout=0;
// } else if (pid.now_tem > pid.set_tem + pid.tem_offset - pid.tem_threshold && pid.now_tem < pid.set_tem + pid.tem_offset + pid.tem_threshold) }
// { if(pid.now_tem>pid.set_tem+1)
// HC595_Send_Byte(gpio_state &= 0xFB); // close heater &=1111 1011 0xFB {
// speed_count = 1000; // close compressor //得到当前的偏差值,设置温度小于实际温度
//GPIO_SetBits(GPIOA,GPIO_Pin_1);//打开四通阀,制冷
HC595_Send_Byte(gpio_state|=0x04);//打开四通阀,制冷 |=0000 0100
hot_clod_flag=1;
//pid.Iout=0;
}
if(pid.set_tem>pid.now_tem)
{
pid.Ek=pid.set_tem-pid.now_tem;
}
else
{
pid.Ek=pid.now_tem-pid.set_tem;
}
pid.Pout=pid.Kp*pid.Ek; //比例输出
// hot_clod_flag = 0; pid.SEk+=pid.Ek; //历史偏差总和
// // pid.Iout=0;
// } else if (pid.now_tem > pid.set_tem + pid.tem_offset + pid.tem_threshold)
// {
// // Obtain the current deviation value
// // when the target temperature is lower than the actual temperature, refrigerate
// // open compressor close heater
// HC595_Send_Byte(gpio_state &= 0xFB); // close heater &=1111 1011 0xFB
DelEk=pid.Ek-pid.Ek_1; //最近两次偏差之差
// // // 0-200 correspond 0-100%, if pid.out=50, percentage means 25% //num=50*400/200=100 100/400=25% //ti=pid.t/pid.Ti;
// // num = (((pid.OUT * 400) / pid.pwmcycle) - 1); // Conversion of pid.OUT and PWM Duty Cycle Values //ki=ti*pid.Kp;
// // TIM_SetCompare3(TIM3, num / 4);
// // printf("%d\r\n",num);
// // HC595_Send_Byte(gpio_state|=0x20);//open compressor |=0010 0000
// hot_clod_flag = 1;
// // pid.Iout=0;
// }
// send_speed_signal(speed_count); pid.Iout=ki*pid.SEk; //积分输出
send_speed_signal(1500);
// if (hot_clod_flag == 1 && T <= tem - 3) // During the refrigeration process, the actual temperature drops by 0.3 degrees Celsius below the set temperature // td=pid.Td/pid.t;
// { //
// HC595_Send_Byte(gpio_state&=0xDB);// close compressor and heater &=1101 1011 0xDB // kd=pid.Kp*td;
// // num = 0;
// // TIM_SetCompare3(TIM3, 0); // close compressor
// speed_count = 1000;
// hot_clod_flag = 0;
// }
// if (hot_clod_flag == 2 && T >= tem) // while heat, T above tem pid.Dout=kd*DelEk; //微分输出
// { if(pid.Dout<0)
// HC595_Send_Byte(gpio_state&=0xDB);//close compressor and heater &=1101 1011 0xDB {
// num = 0; pid.Dout=0-pid.Dout;
// TIM_SetCompare3(TIM3, 0); // close compressor }
// hot_clod_flag = 0;
// }
//out= pid.Pout+ pid.Iout+ pid.Dout;
out= pid.Pout+pid.Iout+ pid.Dout;
// HC595_Send_Byte(gpio_state&=0xDB);// close compressor and heater &=1101 1011 0xDB if(out>pid.pwmcycle)
{
pid.OUT=pid.pwmcycle;
}
else if(out<=0)
{
pid.OUT=pid.OUT0;
}
else
{
pid.OUT=out;
}
pid.Ek_1=pid.Ek; //更新偏差
pid.C1ms=0;
} }

@ -1,26 +1,22 @@
#ifndef _PID_H #ifndef _PID_H
#define _PID_H #define _PID_H
#include "SysTick.h"
void PID_Init(void); void PID_Init(void);
void PID_Calc(void); void PID_Calc(void);
typedef struct Pid typedef struct Pid
{ {
float set_tem;// User settings float set_tem;//用户设定值
float now_tem;// current temperature float now_tem;//当前温度
float Kp; // 110 float Kp;
float Ki; // 0.001 int t; //PID计算周期--采样周期
float Kd; // 340
int t; // PID calculation cycle - sampling cycle
float Ti; float Ti;
float Td; float Td;
float Ek; // This deviation float Ek; //本次偏差
float Ek_1;// Last deviation float Ek_1;//上次偏差
float SEk; // The sum of historical deviations float SEk; //历史偏差之和
float Iout; float Iout;
float Pout; float Pout;
@ -32,13 +28,9 @@ typedef struct Pid
int C1ms; int C1ms;
int pwmcycle;// PWM cycle int pwmcycle;//pwm周期
int times; int times;
float tem_offset;
float tem_threshold;
}PID; }PID;
extern PID pid; extern PID pid;

@ -63,7 +63,7 @@ void PWM2_Init(uint16_t Per,uint16_t Psc)
GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;
GPIO_InitStructure.GPIO_Mode=GPIO_Mode_AF_PP; GPIO_InitStructure.GPIO_Mode=GPIO_Mode_AF_PP;
GPIO_InitStructure.GPIO_Pin=GPIO_Pin_11; //TIM1_CH4 GPIO_InitStructure.GPIO_Pin=GPIO_Pin_11; //TIM2_CH1
GPIO_InitStructure.GPIO_Speed=GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Speed=GPIO_Speed_50MHz;
GPIO_Init(GPIOA,&GPIO_InitStructure); GPIO_Init(GPIOA,&GPIO_InitStructure);

@ -2,13 +2,13 @@
#include "PID.h" #include "PID.h"
void TIM2_Init(void) void TIM3_Init(void)
{ {
NVIC_InitTypeDef NVIC_InitStructure; NVIC_InitTypeDef NVIC_InitStructure;
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure; TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM2, ENABLE); RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3, ENABLE);
NVIC_InitStructure.NVIC_IRQChannel = TIM2_IRQn; NVIC_InitStructure.NVIC_IRQChannel = TIM3_IRQn;
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 3; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 3;
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure); NVIC_Init(&NVIC_InitStructure);
@ -17,55 +17,48 @@ void TIM2_Init(void)
TIM_TimeBaseStructure.TIM_Period = 1000; // 10KHz TIM_TimeBaseStructure.TIM_Period = 1000; // 10KHz
TIM_TimeBaseStructure.TIM_Prescaler = (72 - 1); // 1MHz TIM_TimeBaseStructure.TIM_Prescaler = (72 - 1); // 1MHz
TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up; TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;
TIM_TimeBaseInit(TIM2, &TIM_TimeBaseStructure); TIM_TimeBaseInit(TIM3, &TIM_TimeBaseStructure);
TIM_ITConfig(TIM2, TIM_IT_Update, ENABLE); TIM_ITConfig(TIM3, TIM_IT_Update, ENABLE);
TIM_ClearITPendingBit(TIM2, TIM_IT_Update); TIM_ClearITPendingBit(TIM3, TIM_IT_Update);
TIM_Cmd(TIM2,ENABLE); TIM_Cmd(TIM3,ENABLE);
} }
void TIM2_IRQHandler(void) void TIM3_IRQHandler(void)
{ {
if(TIM_GetITStatus(TIM2,TIM_IT_Update)) if(TIM_GetITStatus(TIM3,TIM_IT_Update))
{ {
pid.C1ms++; pid.C1ms++;
TIM_ClearITPendingBit(TIM2, TIM_IT_Update); //清除中断标志 TIM_ClearITPendingBit(TIM3, TIM_IT_Update); //Çå³ýÖжϱêÖ¾
} }
} }
void TimePwm_init(int arr,int psc)// void TimePwm_init(int arr,int psc)
{ {
RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3,ENABLE);
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB,ENABLE);
// RCC_APB2PeriphClockCmd(RCC_APB2Periph_AFIO, ENABLE);
// GPIO_PinRemapConfig(GPIO_PartialRemap1_TIM2, ENABLE);
// GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);
GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;
TIM_TimeBaseInitTypeDef TIM_TimeBaseStructure;
TIM_OCInitTypeDef TIM_OCInitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB | RCC_APB2Periph_AFIO, ENABLE);
//GPIO_PinRemapConfig(GPIO_PartialRemap_TIM3, ENABLE);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; //TIM3_CH3
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP;
GPIO_InitStructure.GPIO_Pin=GPIO_Pin_0; //PA1 TIM2_CH2
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOB, &GPIO_InitStructure); GPIO_Init(GPIOB, &GPIO_InitStructure);
TIM_TimeBaseInitTypeDef TIM_TimeBaseInitStructure; RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM3, ENABLE);
TIM_TimeBaseInitStructure.TIM_ClockDivision=TIM_CKD_DIV1;
TIM_TimeBaseInitStructure.TIM_CounterMode=TIM_CounterMode_Up;
TIM_TimeBaseInitStructure.TIM_Period=arr; //ARR
TIM_TimeBaseInitStructure.TIM_Prescaler=psc; //PSC
TIM_TimeBaseInitStructure.TIM_RepetitionCounter=0;
TIM_TimeBaseInit(TIM3,&TIM_TimeBaseInitStructure);
TIM_OCInitTypeDef TIM_OCInitStructure; TIM_TimeBaseStructure.TIM_Period = arr;
TIM_OCStructInit(&TIM_OCInitStructure);//给结构体赋初始值 TIM_TimeBaseStructure.TIM_Prescaler =psc;
TIM_TimeBaseStructure.TIM_ClockDivision = 0;
TIM_TimeBaseStructure.TIM_CounterMode = TIM_CounterMode_Up;
TIM_TimeBaseInit(TIM3, &TIM_TimeBaseStructure);
TIM_OCInitStructure.TIM_OCMode=TIM_OCMode_PWM1;//输出比较模式 TIM_OCInitStructure.TIM_OCMode = TIM_OCMode_PWM2;
TIM_OCInitStructure.TIM_OCPolarity=TIM_OCPolarity_High;//输出比较极性
TIM_OCInitStructure.TIM_OutputState = TIM_OutputState_Enable; TIM_OCInitStructure.TIM_OutputState = TIM_OutputState_Enable;
TIM_OCInitStructure.TIM_Pulse=0; //CCR的值 TIM_OCInitStructure.TIM_OCPolarity = TIM_OCPolarity_Low;
TIM_OC3Init(TIM3,&TIM_OCInitStructure);//TIM_OC1Init()函数用来初始化输出比较单元 TIM_OC3Init(TIM3, &TIM_OCInitStructure);
TIM_OC3PreloadConfig(TIM3, TIM_OCPreload_Enable);
TIM_Cmd(TIM3,ENABLE);//定时器使能 TIM_Cmd(TIM3, ENABLE);
} }

@ -3,9 +3,9 @@
#include "system.h" #include "system.h"
void TIM2_Init(void); void TIM3_Init(void);
void PWM_OUT(void); void PWM_OUT(void);
void TimePwm_init(int arr,int psc);// void TimePwm_init(int arr,int psc);
#endif #endif

@ -2,16 +2,14 @@
#include <stdio.h> #include <stdio.h>
#include "rs485.h" #include "rs485.h"
//u8 rx_buf[64]; //u8 rx_buf[64];
extern u8 RS485_RX_BUF_COPY[128]; extern u8 RS485_RX_BUF_COPY[128];
void bufcut_Init(u8 *RX_BUF,u8 *CUT_RX_BUF,u8 start_index, u8 end_index)
void bufcut_Init(u8 *TARGET_RX_BUF,u8 *SOURCE_CUT_RX_BUF,u8 start_index, u8 end_index)
{ {
int i, j = 0; int i, j = 0;
for (i = start_index; i < end_index; i++) for (i = start_index; i < end_index; i++)
{ {
TARGET_RX_BUF[j] = SOURCE_CUT_RX_BUF[i]; RX_BUF[j] = CUT_RX_BUF[i];
j++; j++;
} }
} }
@ -19,14 +17,14 @@ void bufcut_Init(u8 *TARGET_RX_BUF,u8 *SOURCE_CUT_RX_BUF,u8 start_index, u8 end
void RX_BUF_Init(void) void RX_BUF_Init(void)
{ {
int i=0; int i=0;
for(i=0;i<128;i++) for(i=0;i<64;i++)
{ {
RS485_RX_BUF[i]=0; RS485_RX_BUF[i]=0;
} }
} }
void RX_BUF_ZERO(u8 num)// set RS485_RX_BUF_COPY to 0 void RX_BUF_ZERO(u8 num)//把处理过的数组变为0
{ {
for(int i=0;i<num;i++) for(int i=0;i<num;i++)
{ {
@ -41,19 +39,14 @@ void RX_BUF_Transfer(u8 zero,u8 transfer_num)//
for (i = zero; i < 128 - transfer_num; i++) for (i = zero; i < 128 - transfer_num; i++)
{ {
RS485_RX_BUF[i] = RS485_RX_BUF[i + transfer_num];
RS485_RX_BUF_COPY[i] = RS485_RX_BUF_COPY[i + transfer_num]; RS485_RX_BUF_COPY[i] = RS485_RX_BUF_COPY[i + transfer_num];
} }
for (i = 128 - transfer_num; i < 128; i++) for (i = 128 - transfer_num; i < 128; i++)
{ {
RS485_RX_BUF[i] = 0;
RS485_RX_BUF_COPY[i] = 0; RS485_RX_BUF_COPY[i] = 0;
} }
RS485_RX_CNT -= transfer_num; //RS485_RX_CNT -= transfer_num;
if (RS485_RX_CNT < 0) {
RS485_RX_CNT = 0;
}
} }

@ -3,7 +3,7 @@
#include "system.h" #include "system.h"
u8 bufcut_Init(u8 *TARGET_RX_BUF,u8 *SOURCE_CUT_RX_BUF,u8 start_index, u8 end_index); u8 bufcut_Init(u8 *RX_BUF,u8 *CUT_RX_BUF,u8 start_index, u8 end_index);
void RX_BUF_Init(void); void RX_BUF_Init(void);
void RX_BUF_ZERO(u8 num); void RX_BUF_ZERO(u8 num);
void RX_BUF_Transfer(u8 zero,u8 transfer_num); void RX_BUF_Transfer(u8 zero,u8 transfer_num);

@ -4,10 +4,10 @@
#include "Relays.h" #include "Relays.h"
#include "myfreertos.h" #include "myfreertos.h"
u8 prev_sendbuf[41] = {0xEE, 0xB5, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFC, 0xFF, 0xFF};
u8 sendbuf[41] = {0xEE, 0xB5, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, u8 sendbuf[29]={0xEE,0xB5,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFC, 0xFF, 0xFF}; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFC,0xFF,0xFF};//发送给串口屏的实时数据
u8 sendbuf_crc[20]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, u8 sendbuf_crc[20]={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}; 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};
extern u8 global_buffer[64]; extern u8 global_buffer[64];
@ -47,7 +47,6 @@ u8 crc_num2 = 0xFF;
extern int T; extern int T;
extern int H; extern int H;
extern int C; extern int C;
extern PID pid;
//extern u16 RED_LIGHT; //extern u16 RED_LIGHT;
//extern u16 WHITE_LIGHT; //extern u16 WHITE_LIGHT;
//extern u16 BLUE_LIGHT; //extern u16 BLUE_LIGHT;
@ -57,7 +56,7 @@ extern PID pid;
//extern u8 white_light2; //extern u8 white_light2;
//extern u8 blue_light1; //extern u8 blue_light1;
//extern u8 blue_light2; //extern u8 blue_light2;
// CRC verifies the information added later on //CRC校验 自己后面添加的
const u8 auchCRCHi[] = { const u8 auchCRCHi[] = {
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0,0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
@ -73,6 +72,7 @@ const u8 auchCRCHi[] = {
0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1,0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1,0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,0x80, 0x41, 0x00, 0xC1, 0x81, 0x40} ; 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0,0x80, 0x41, 0x00, 0xC1, 0x81, 0x40} ;
const u8 auchCRCLo[] = { const u8 auchCRCLo[] = {
0x00, 0xC0, 0xC1, 0x01, 0xC3, 0x03, 0x02, 0xC2, 0xC6, 0x06,0x07, 0xC7, 0x05, 0xC5, 0xC4, 0x04, 0xCC, 0x0C, 0x0D, 0xCD, 0x00, 0xC0, 0xC1, 0x01, 0xC3, 0x03, 0x02, 0xC2, 0xC6, 0x06,0x07, 0xC7, 0x05, 0xC5, 0xC4, 0x04, 0xCC, 0x0C, 0x0D, 0xCD,
0x0F, 0xCF, 0xCE, 0x0E, 0x0A, 0xCA, 0xCB, 0x0B, 0xC9, 0x09,0x08, 0xC8, 0xD8, 0x18, 0x19, 0xD9, 0x1B, 0xDB, 0xDA, 0x1A, 0x0F, 0xCF, 0xCE, 0x0E, 0x0A, 0xCA, 0xCB, 0x0B, 0xC9, 0x09,0x08, 0xC8, 0xD8, 0x18, 0x19, 0xD9, 0x1B, 0xDB, 0xDA, 0x1A,
@ -88,29 +88,12 @@ const u8 auchCRCLo[] = {
0x99, 0x59, 0x58, 0x98, 0x88, 0x48, 0x49, 0x89, 0x4B, 0x8B,0x8A, 0x4A, 0x4E, 0x8E, 0x8F, 0x4F, 0x8D, 0x4D, 0x4C, 0x8C, 0x99, 0x59, 0x58, 0x98, 0x88, 0x48, 0x49, 0x89, 0x4B, 0x8B,0x8A, 0x4A, 0x4E, 0x8E, 0x8F, 0x4F, 0x8D, 0x4D, 0x4C, 0x8C,
0x44, 0x84, 0x85, 0x45, 0x87, 0x47, 0x46, 0x86, 0x82, 0x42,0x43, 0x83, 0x41, 0x81, 0x80, 0x40} ; 0x44, 0x84, 0x85, 0x45, 0x87, 0x47, 0x46, 0x86, 0x82, 0x42,0x43, 0x83, 0x41, 0x81, 0x80, 0x40} ;
u8 RS485_RX_BUF[128];
u8 RS485_RX_CNT = 0; u8 RS485_RX_BUF[128]; //接收缓冲,最大64个字节.
u8 RS485_RX_Flag = 0; u8 RS485_RX_CNT=0; //接收到的数据长度
/**
* return 1 if diff, 0 if same
*/
u8 cmp_str(u8 *prev, u8*curr, u8 len) {
for (u8 i = 0; i < len; i++) {
if (prev[i] != curr[i]) {
return 1;
}
}
return 0;
}
void cp_str_to_prev(u8 *prev, u8*curr, u8 len) { u8 RS485_RX_Flag=0; //接收到的数据标志
for (u8 i = 0; i < len; i++) {
prev[i] = curr[i];
}
}
void GetCRC16(u8 *puchMsg, u16 usDataLen,u8 *uchCRCHi,u8 *uchCRCLo) void GetCRC16(u8 *puchMsg, u16 usDataLen,u8 *uchCRCHi,u8 *uchCRCLo)
{ {
@ -125,10 +108,7 @@ void GetCRC16(u8 *puchMsg, u16 usDataLen, u8 *uchCRCHi, u8 *uchCRCLo)
} }
//return ((uchCRCHi<< 8) | (uchCRCLo)) ; //return ((uchCRCHi<< 8) | (uchCRCLo)) ;
} }
/** // 查表法计算CRC值并且校验
* Calculate CRC value using lookup table method and verify
* @return int 1 means success, 0 means false
*/
u8 CRC16_check(u8 *puchMsg, u16 usDataLen) u8 CRC16_check(u8 *puchMsg, u16 usDataLen)
{ {
u8 uchCRCHi = 0xFF ; u8 uchCRCHi = 0xFF ;
@ -142,6 +122,7 @@ u8 CRC16_check(u8 *puchMsg, u16 usDataLen)
} }
if(uchCRCHi==*puchMsg++&&uchCRCLo==*puchMsg++) if(uchCRCHi==*puchMsg++&&uchCRCLo==*puchMsg++)
{ {
//printf("CRC 校验成功\r\n"); // 调试使用
return 1; return 1;
} }
else else
@ -151,256 +132,264 @@ void USART1_IRQHandler(void)
{ {
u8 res; u8 res;
while (USART_GetITStatus(USART1, USART_IT_RXNE) != RESET) // receive data if(USART_GetITStatus(USART1, USART_IT_RXNE) != RESET) //接收到数据
{ {
res = USART_ReceiveData(USART1); // read received data res =USART_ReceiveData(USART1); //读取接收到的数据
if(RS485_RX_CNT<128) if(RS485_RX_CNT<128)
{ {
RS485_RX_BUF[RS485_RX_CNT] = res; // Record received values RS485_RX_BUF[RS485_RX_CNT]=res; //记录接收到的值
RS485_RX_CNT++; // Received data count increased by 1 RS485_RX_CNT++; //接收数据增加1
} }
} }
} }
void SN74CB3Q3253_Init(void) void SN74CB3Q3253_Init(void)
{ {
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE);
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOB, ENABLE); //使能PB端口时钟
GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5 | GPIO_Pin_6 | GPIO_Pin_7; // PB5 PB6 PB7 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_5| GPIO_Pin_6| GPIO_Pin_7; //PB5 PB6 PB7 端口配置, 推挽输出
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //推挽输出
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; // IO??????50MHz GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; //IO口速度为50MHz
GPIO_Init(GPIOB, &GPIO_InitStructure); GPIO_Init(GPIOB, &GPIO_InitStructure); //推挽输出 IO口速度为50MHz
GPIO_ResetBits(GPIOB, GPIO_Pin_7); // PB7????? GPIO_ResetBits(GPIOB,GPIO_Pin_7); //PB7输出低
} }
// RS485_1_Init->J6 ??PB5->S1,PB6->S0,PB7->USART_OE
// SN74CB3Q3253??<3F><>?????? - ??<3F><>???????????????????OE S1 S0???????001???1B2 2B2???
// pclk1:PCLK1??????(Mhz) //RS485_1_Init->J6 PB5->S1,PB6->S0,PB7->USART_OE
// bound:?????? //SN74CB3Q3253多路复用器 - 多路信号分离器的引脚配置为OE S1 S0对应的值为001使1B2 2B2响应
//初始化IO 串口1
//pclk1:PCLK1时钟频率(Mhz)
//bound:波特率
void RS485_1_Init(u32 bound) void RS485_1_Init(u32 bound)
{ {
SN74CB3Q3253_Init(); SN74CB3Q3253_Init();
GPIO_ResetBits(GPIOB, GPIO_Pin_5); // S1????????? GPIO_ResetBits(GPIOB,GPIO_Pin_5);//S1配置为低电平
GPIO_SetBits(GPIOB, GPIO_Pin_6); // S0????????? GPIO_SetBits(GPIOB,GPIO_Pin_6);//S0配置为高电平
GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure; USART_InitTypeDef USART_InitStructure;
NVIC_InitTypeDef NVIC_InitStructure; NVIC_InitTypeDef NVIC_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA|RCC_APB2Periph_GPIOB, ENABLE);//使能GPIOA,D时钟
RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1,ENABLE);//使能USART1时钟
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; //端口配置
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //推挽输出
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOB, &GPIO_InitStructure); GPIO_Init(GPIOB, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; //PA9 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; //PA9
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //复用推挽
GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_Init(GPIOA, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//PA10 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//PA10
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //浮空输入
GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_Init(GPIOA, &GPIO_InitStructure);
RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1,ENABLE);//复位串口1
RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1, DISABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1,DISABLE);//停止复位
USART_InitStructure.USART_BaudRate = bound; USART_InitStructure.USART_BaudRate = bound;//波特率设置
USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_WordLength = USART_WordLength_8b;//8位数据长度
USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_StopBits = USART_StopBits_1;//一个停止位
USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_Parity = USART_Parity_No;///奇偶校验位
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;//无硬件数据流控制
USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;//收发模式
USART_Init(USART1, &USART_InitStructure); USART_Init(USART1, &USART_InitStructure); ; //初始化串口
NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; //使能串口1中断
// NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0; //先占优先级2级
// // NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //???????2?? //NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //从优先级2级
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 5; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //使能外部中断通道
NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
NVIC_Init(&NVIC_InitStructure); USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);//开启中断
USART_Cmd(USART1, ENABLE); //使能串口
USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);
USART_Cmd(USART1, ENABLE); RS485_1_TX_EN=0; //默认为接收模式
RS485_1_TX_EN = 0;
} }
// RS485_2_Init->J7 ??PB5->S1,PB6->S0,PB7->USART_OE
// SN74CB3Q3253??<3F><>?????? - ??<3F><>???????????????????OE S1 S0???????000???1B1 2B1??? //RS485_2_Init->J7 PB5->S1,PB6->S0,PB7->USART_OE
//SN74CB3Q3253多路复用器 - 多路信号分离器的引脚配置为OE S1 S0对应的值为000使1B1 2B1响应
void RS485_2_Init(u32 bound) void RS485_2_Init(u32 bound)
{ {
SN74CB3Q3253_Init(); SN74CB3Q3253_Init();
GPIO_ResetBits(GPIOB, GPIO_Pin_5 | GPIO_Pin_6); GPIO_ResetBits(GPIOB,GPIO_Pin_5|GPIO_Pin_6);//S1,S0配置为低电平
GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure; USART_InitTypeDef USART_InitStructure;
NVIC_InitTypeDef NVIC_InitStructure; NVIC_InitTypeDef NVIC_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA|RCC_APB2Periph_GPIOB, ENABLE);//使能GPIOA,D时钟
RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1,ENABLE);//使能USART1时钟
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; //端口配置
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //推挽输出
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOB, &GPIO_InitStructure); GPIO_Init(GPIOB, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; //PA9 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; //PA9
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //复用推挽
GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_Init(GPIOA, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//PA10 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//PA10
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //浮空输入
GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_Init(GPIOA, &GPIO_InitStructure);
RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1,ENABLE);//复位串口1
RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1, DISABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1,DISABLE);//停止复位
USART_InitStructure.USART_BaudRate = bound; USART_InitStructure.USART_BaudRate = bound;//波特率设置
USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_WordLength = USART_WordLength_8b;//8位数据长度
USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_StopBits = USART_StopBits_1;//一个停止位
USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_Parity = USART_Parity_No;///奇偶校验位
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;//无硬件数据流控制
USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;//收发模式
USART_Init(USART1, &USART_InitStructure); USART_Init(USART1, &USART_InitStructure); ; //初始化串口
;
NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; //使能串口1中断
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 5; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; //先占优先级2级
// NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //???????2?? //NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //从优先级2级
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //使能外部中断通道
NVIC_Init(&NVIC_InitStructure); NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器
USART_ITConfig(USART1, USART_IT_RXNE, ENABLE); USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);//开启中断
USART_Cmd(USART1, ENABLE); USART_Cmd(USART1, ENABLE); //使能串口
RS485_2_TX_EN = 0; RS485_2_TX_EN=0; //默认为接收模式
} }
// RS485_3_Init->J7 ??PB5->S1,PB6->S0,PB7->USART_OE //RS485_3_Init->J7 PB5->S1,PB6->S0,PB7->USART_OE
// SN74CB3Q3253??<3F><>?????? - ??<3F><>???????????????????OE S1 S0???????010???1B3 2B3??? //SN74CB3Q3253多路复用器 - 多路信号分离器的引脚配置为OE S1 S0对应的值为010使1B3 2B3响应
void RS485_3_Init(u32 bound) void RS485_3_Init(u32 bound)
{ {
SN74CB3Q3253_Init(); SN74CB3Q3253_Init();
GPIO_ResetBits(GPIOB, GPIO_Pin_6); // S0????????? GPIO_ResetBits(GPIOB,GPIO_Pin_6);//S0配置为低电平
GPIO_SetBits(GPIOB, GPIO_Pin_5); // S1????????? GPIO_SetBits(GPIOB,GPIO_Pin_5);//S1配置为高电平
GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitTypeDef GPIO_InitStructure;
USART_InitTypeDef USART_InitStructure; USART_InitTypeDef USART_InitStructure;
NVIC_InitTypeDef NVIC_InitStructure; NVIC_InitTypeDef NVIC_InitStructure;
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA | RCC_APB2Periph_GPIOB, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA|RCC_APB2Periph_GPIOB, ENABLE);//使能GPIOA,D时钟
RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1, ENABLE); RCC_APB2PeriphClockCmd(RCC_APB2Periph_USART1,ENABLE);//使能USART1时钟
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_4; GPIO_InitStructure.GPIO_Pin = GPIO_Pin_4; //端口配置
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; //推挽输出
GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
GPIO_Init(GPIOB, &GPIO_InitStructure); GPIO_Init(GPIOB, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; //PA9 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; //PA9
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_AF_PP; //复用推挽
GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_Init(GPIOA, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//PA10 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10;//PA10
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_IN_FLOATING; //浮空输入
GPIO_Init(GPIOA, &GPIO_InitStructure); GPIO_Init(GPIOA, &GPIO_InitStructure);
RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1, ENABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1,ENABLE);//复位串口1
RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1, DISABLE); RCC_APB2PeriphResetCmd(RCC_APB2Periph_USART1,DISABLE);//停止复位
USART_InitStructure.USART_BaudRate = bound; USART_InitStructure.USART_BaudRate = bound;//波特率设置
USART_InitStructure.USART_WordLength = USART_WordLength_8b; USART_InitStructure.USART_WordLength = USART_WordLength_8b;//8位数据长度
USART_InitStructure.USART_StopBits = USART_StopBits_1; USART_InitStructure.USART_StopBits = USART_StopBits_1;//一个停止位
USART_InitStructure.USART_Parity = USART_Parity_No; USART_InitStructure.USART_Parity = USART_Parity_No;///奇偶校验位
USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None; USART_InitStructure.USART_HardwareFlowControl = USART_HardwareFlowControl_None;//无硬件数据流控制
USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx; USART_InitStructure.USART_Mode = USART_Mode_Rx | USART_Mode_Tx;//收发模式
USART_Init(USART1, &USART_InitStructure); USART_Init(USART1, &USART_InitStructure); ; //初始化串口
;
NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; //使能串口1中断
NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 1; //先占优先级2级
// NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //???????2?? //NVIC_InitStructure.NVIC_IRQChannelSubPriority = 3; //从优先级2级
NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; //使能外部中断通道
NVIC_Init(&NVIC_InitStructure); NVIC_Init(&NVIC_InitStructure); //根据NVIC_InitStruct中指定的参数初始化外设NVIC寄存器
USART_ITConfig(USART1, USART_IT_RXNE, ENABLE); USART_ITConfig(USART1, USART_IT_RXNE, ENABLE);//开启中断
USART_Cmd(USART1, ENABLE); USART_Cmd(USART1, ENABLE); //使能串口
RS485_3_TX_EN = 0; RS485_3_TX_EN=0; //默认为接收模式
} }
//RS485发送len个字节.
//buf:发送区首地址
//len:发送的字节数(为了和本代码的接收匹配,这里建议不要超过64个字节)
void RS485_1_Send_Data(u8 *buf,u8 len) void RS485_1_Send_Data(u8 *buf,u8 len)
{ {
u8 t; u8 t;
RS485_1_TX_EN = 1; RS485_1_TX_EN=1; //设置为发送模式
for (t = 0; t < len; t++) for(t=0;t<len;t++) //循环发送数据
{ {
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET) while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
;
USART_SendData(USART1,buf[t]); USART_SendData(USART1,buf[t]);
} }
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET) while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
;
RS485_RX_CNT=0; RS485_RX_CNT=0;
RS485_1_TX_EN = 0; RS485_1_TX_EN=0; //设置为接收模式
} }
void RS485_1_Send_Data_1(u8 *buf,u8 len) void RS485_1_Send_Data_1(u8 *buf,u8 len)
{ {
u8 t; u8 t;
RS485_1_TX_EN = 1; RS485_1_TX_EN=1; //设置为发送模式
for (t = 0; t < len; t++) for(t=0;t<len;t++) //循环发送数据
{ {
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET) while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
;
USART_SendData(USART1,buf[t]); USART_SendData(USART1,buf[t]);
} }
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET) while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
;
//RS485_RX_CNT=0; //RS485_RX_CNT=0;
RS485_1_TX_EN = 0; RS485_1_TX_EN=0; //设置为接收模式
} }
void RS485_1_Send_Data_2(void) //RS485发送len个字节.
//buf:发送区首地址
//len:发送的字节数(为了和本代码的接收匹配,这里建议不要超过64个字节)
void RS485_1_Send_Data_2(void)//上传温湿度二氧化碳
{ {
sendbuf[0]=0xEE; sendbuf[0]=0xEE;
sendbuf[1]=0xB5; sendbuf[1]=0xB5;
sendbuf[2]=0x05; sendbuf[2]=0x05;
sendbuf[37] = 0xFF; sendbuf[25]=0xFF;
sendbuf[38] = 0xFC; sendbuf[26]=0xFC;
sendbuf[27]=0xFF;
sendbuf[39] = 0xFF; sendbuf[28]=0xFF;
sendbuf[40] = 0xFF; u8 a;
// u8 a; RS485_1_TX_EN=1; //设置为发送模式
if (T <= 1000 && T >= -1000) if(T<=500)
{ {
if (T < 0) {
T = (~(T - 1)) & 0xFFFF; TEM1=RS485_RX_BUF_COPY[3];
} TEM2=RS485_RX_BUF_COPY[4];
TEM1 = (T & 0xFF00) >> 8;
TEM2 = T & 0x00FF;
} }
if(H<=1000) if(H<=1000)
{ {
HUM1 = (H & 0xFF00) >> 8; HUM1= RS485_RX_BUF_COPY[5];
HUM2 = H & 0x00FF; HUM2= RS485_RX_BUF_COPY[6];
} }
sendbuf[3]=TEM1; sendbuf[3]=TEM1;
sendbuf[4]=TEM2; sendbuf[4]=TEM2;
@ -425,123 +414,87 @@ void RS485_1_Send_Data_2(void)
white_light2=total[14 + 18 * (now_stage - 1)]; white_light2=total[14 + 18 * (now_stage - 1)];
} }
sendbuf[7]=red_light1; sendbuf[7]=red_light1;
sendbuf[8] = red_light2; sendbuf[8]=red_light2;//红光
sendbuf[9]=blue_light1; sendbuf[9]=blue_light1;
sendbuf[10] = blue_light2; sendbuf[10]=blue_light2; //蓝光
sendbuf[11]=white_light1; sendbuf[11]=white_light1;
sendbuf[12] = white_light2; sendbuf[12]=white_light2;//白光
if(C<=5000) if(C<=5000)
{ {
CO2_1 = (C & 0xFF00) >> 8; CO2_1=RS485_RX_BUF_COPY[19];
CO2_1 = C & 0x00FF; CO2_2=RS485_RX_BUF_COPY[20];
} }
sendbuf[13]=CO2_1; sendbuf[13]=CO2_1;
sendbuf[14]=CO2_2; sendbuf[14]=CO2_2;
if (now_stage > 0 && now_stage < 7 && total[3 + 18 * (now_stage - 1)] < 24 && total[4 + 18 * (now_stage - 1)] < 60 && chour < 24 && cminute < 60) if(now_stage<7&&total[3 + 18 * (now_stage - 1)]<24&&total[4 + 18 * (now_stage - 1)]<60&&chour<24&&cminute<60)
{ {
sendbuf[15] = now_stage; // current state sendbuf[15]=now_stage;//当前阶段
sendbuf[16] = total[3 + 18 * (now_stage - 1)]; // stage hour sendbuf[16]=total[3 + 18 * (now_stage - 1)];//阶段小时
sendbuf[17] = total[4 + 18 * (now_stage - 1)]; // stage minute sendbuf[17]=total[4 + 18 * (now_stage - 1)];//阶段分钟
sendbuf[18] = chour; // run hour sendbuf[18]=chour; //已运行小时数
sendbuf[19] = cminute; // run minute sendbuf[19]=cminute;//已运行分钟数
} }
// now_stage = 1; sendbuf[20]=hot_clod_flag;//加热制冷状态
sendbuf[15] = now_stage; // current state sendbuf[21]= humidity_flag;//加湿干燥状态
sendbuf[16] = total[3 + 18 * (now_stage - 1)]; // stage hour sendbuf[22]=ALARM;//报警状态状态
sendbuf[17] = total[4 + 18 * (now_stage - 1)]; // stage minute
sendbuf[18] = chour; // run hour bufcut_Init(sendbuf_crc,sendbuf,3,23);
sendbuf[19] = cminute; // run minute GetCRC16(sendbuf_crc,20,&crc_num1,&crc_num2);
sendbuf[20] = hot_clod_flag; // hot clod state sendbuf[23]=crc_num1;
sendbuf[21] = humidity_flag; // humidity state sendbuf[24]=crc_num2;
sendbuf[22] = ALARM; // ALARM state // for(int i=0;i<20;i++)
// {
sendbuf[23] = (int)pid.Kp / 256; // Kp 110 // printf("%x ",sendbuf_crc[i]);
sendbuf[24] = (int)pid.Kp % 256; // Kp 110 // }
sendbuf[25] = ((int)(pid.Ki * 100000)) / 256; // Ti 0.001 //
sendbuf[26] = ((int)(pid.Ki * 100000)) % 256; // Ti 0.001 // printf("\r\n");
sendbuf[27] = (int)pid.Kd / 256; // Td 340
sendbuf[28] = (int)pid.Kd % 256; // Td 340
// num = (((pid.OUT * 350) / pid.pwmcycle) - 1);
int out1 = pid.OUT;
// speed count
int speed_count = out1 / 200.0 * (6000 - 1500) + 1500;
if (speed_count > 6000)
{
speed_count = 6000;
}
sendbuf[29] = (speed_count) / 256;
sendbuf[30] = (speed_count) % 256;
// sendbuf[29] = ((int)(pid.OUT * 1000)) / 256;
// sendbuf[30] = ((int)(pid.OUT * 1000)) % 256;
// bufcut_Init(sendbuf_crc, sendbuf, 3, 31);
// GetCRC16(sendbuf_crc, 28, &crc_num1, &crc_num2);
int tem_offset_10times = (int)(pid.tem_offset * 10);
if (tem_offset_10times < 0) {
tem_offset_10times = (~(tem_offset_10times - 1)) & 0xFFFF;
}
sendbuf[31] = tem_offset_10times / 256; // tem offset
sendbuf[32] = tem_offset_10times % 256;
sendbuf[33] = ((int)(pid.tem_threshold * 10)) / 256; // tem threshold
sendbuf[34] = ((int)(pid.tem_threshold * 10)) % 256;
GetCRC16(sendbuf, 35, &crc_num1, &crc_num2);
sendbuf[35] = crc_num1;
sendbuf[36] = crc_num2;
// u8 tmpabc[] = {0xAA, 0xBB, 0xCC};
// RS485_1_Send_Data(tmpabc, 3);
// only when modify happen, then send
if (cmp_str(prev_sendbuf, sendbuf, 41) != 0) {
RS485_1_Send_Data(sendbuf, 41); // for(int i=0;i<29;i++)
// {
// printf("%x ",sendbuf[i]);
// }
cp_str_to_prev(prev_sendbuf, sendbuf, 41); //printf("%x\r\n",sendbuf[0]);
for(a=0;a<29;a++) //循环发送数据
{
while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
USART_SendData(USART1,sendbuf[a]);
//if(a==0)printf("%x\r\n",sendbuf[0]);
} }
while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
//RS485_RX_CNT=0;
RS485_1_TX_EN=0; //设置为接收模式
} }
/**
* sync environment params
*/
void RS485_1_Send_Data_3(void) void RS485_1_Send_Data_3(void)
{ {
u8 batchbuf[10] = {0xEE, 0xB5, 0x01, 0x00, 0x00, 0x00, 0xFF, 0xFC, 0xFF, 0xFF}; u8 batchbuf[8]={0xEE,0xB5,0x01,0x00,0xFF,0xFC,0xFF,0xFF};
u8 t; u8 t;
RS485_1_TX_EN = 1; RS485_1_TX_EN=1; //设置为发送模式
batchbuf[3]=NUM; batchbuf[3]=NUM;
NUM+=1; NUM+=1;
if (NUM > 6) if(NUM>6)NUM=1;
NUM = 1; for(t=0;t<8;t++) //循环发送数据
GetCRC16(batchbuf, 4, batchbuf + 4, batchbuf + 5);
for (t = 0; t < 10; t++)
{ {
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET) while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
;
USART_SendData(USART1,batchbuf[t]); USART_SendData(USART1,batchbuf[t]);
} }
while (USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET) while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
;
//RS485_RX_CNT=0; //RS485_RX_CNT=0;
RS485_1_TX_EN = 0; RS485_1_TX_EN=0; //设置为接收模式
} }
// void RS485_3_Send_Data_2(void) // void RS485_3_Send_Data_2(void)//上传当前周期(1),周期时长(2),已运行时长(2),红蓝白光(6),加热制冷状态(1),加湿除湿状态(1),报警状态(1)
//{ //{
// delay_ms(50); // delay_ms(50);
// u8 sendbuf[21]={0xEE,0xB5,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFC,0xFF,0xFF};//??????????????????? // u8 sendbuf[21]={0xEE,0xB5,0x05,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFC,0xFF,0xFF};//发送给串口屏的实时数据
// u8 a; // u8 a;
// GPIO8_Init(); // GPIO8_Init();
// GPIO_SetBits(GPIOB,GPIO_Pin_8); // GPIO_SetBits(GPIOB,GPIO_Pin_8);
// RS485_3_TX_EN=1; // RS485_3_TX_EN=1; //设置为发送模式
// sendbuf[3]=t; // sendbuf[3]=t;
// sendbuf[4]=total[3 + 18 * (t - 1)]; // sendbuf[4]=total[3 + 18 * (t - 1)];
// sendbuf[5]=total[4 + 18 * (t - 1)]; // sendbuf[5]=total[4 + 18 * (t - 1)];
@ -558,7 +511,7 @@ void RS485_1_Send_Data_3(void)
// sendbuf[16]=ALARM; // sendbuf[16]=ALARM;
// //
// //
// for(a=0;a<21;a++) // for(a=0;a<21;a++) //循环发送数据
// { // {
// while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); // while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
// USART_SendData(USART1,sendbuf[a]); // USART_SendData(USART1,sendbuf[a]);
@ -567,40 +520,48 @@ void RS485_1_Send_Data_3(void)
// while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); // while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
// RS485_RX_CNT=0; // RS485_RX_CNT=0;
// GPIO_ResetBits(GPIOB,GPIO_Pin_8); // GPIO_ResetBits(GPIOB,GPIO_Pin_8);
// RS485_3_TX_EN=0; // RS485_3_TX_EN=0; //设置为接收模式
//} //}
void RS485_3_Send_Data(u8 *buf,u8 len)
{ //RS485发送len个字节.
u8 t; //buf:发送区首地址
//len:发送的字节数(为了和本代码的接收匹配,这里建议不要超过64个字节)
//void RS485_3_Send_Data(u8 *buf,u8 len)
//{
// u8 t;
// GPIO8_Init(); // GPIO8_Init();
// GPIO_SetBits(GPIOB,GPIO_Pin_8); // GPIO_SetBits(GPIOB,GPIO_Pin_8);
RS485_3_TX_EN=1; // RS485_3_TX_EN=1; //设置为发送模式
for(t=0;t<len;t++) // for(t=0;t<len;t++) //循环发送数据
{ // {
while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); // while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
USART_SendData(USART1,buf[t]); // USART_SendData(USART1,buf[t]);
} // }
//
while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET); // while(USART_GetFlagStatus(USART1, USART_FLAG_TC) == RESET);
// RS485_RX_CNT=0; // RS485_RX_CNT=0;
// GPIO_ResetBits(GPIOB,GPIO_Pin_8); // GPIO_ResetBits(GPIOB,GPIO_Pin_8);
RS485_3_TX_EN=0; // RS485_3_TX_EN=0; //设置为接收模式
} //}
//RS485查询接收到的数据
//buf:接收缓存首地址
//len:读到的数据长度
void RS485_Receive_Data(u8 *buf,u8 *len) void RS485_Receive_Data(u8 *buf,u8 *len)
{ {
u8 rxlen=RS485_RX_CNT; u8 rxlen=RS485_RX_CNT;
u8 i=0; u8 i=0;
*len = 0; *len=0; //默认为0
delay_ms(10); delay_ms(10); //等待10ms,连续超过10ms没有接收到一个数据,则认为接收结束
if (rxlen == RS485_RX_CNT && rxlen) if(rxlen==RS485_RX_CNT&&rxlen)//接收到了数据,且接收完成了
{ {
for(i=0;i<rxlen;i++) for(i=0;i<rxlen;i++)
{ {
buf[i]=RS485_RX_BUF[i]; buf[i]=RS485_RX_BUF[i];
} }
*len = RS485_RX_CNT; *len=RS485_RX_CNT; //记录本次数据长度
RS485_RX_CNT = 0; RS485_RX_CNT=0; //清零
} }
} }

@ -5,14 +5,15 @@
extern u8 RS485_RX_BUF[128]; //receive buffer, max 128 extern u8 RS485_RX_BUF[128]; //接收缓冲,最大64个字节
extern u8 RS485_RX_CNT; // received data length extern u8 RS485_RX_CNT; //接收到的数据长度
extern u8 RS485_RX_Flag_Num; extern u8 RS485_RX_Flag_Num;
extern u8 RS485_RX_Flag; extern u8 RS485_RX_Flag;
#define RS485_1_TX_EN PBout(11) // 485 mode control. 0:receiving; 1:Send //模式控制
#define RS485_2_TX_EN PBout(10) // 485 mode control. 0:receiving; 1:Send #define RS485_1_TX_EN PBout(11) //485模式控制.0,接收;1,发送.
#define RS485_3_TX_EN PBout(4) // 485 mode control. 0:receiving; 1:Send #define RS485_2_TX_EN PBout(10) //485模式控制.0,接收;1,发送.
#define RS485_3_TX_EN PBout(4) //485模式控制.0,接收;1,发送.
void RS485_1_Init(u32 bound); void RS485_1_Init(u32 bound);
@ -23,7 +24,7 @@ void RS485_1_Send_Data_1(u8 *buf,u8 len);
//void RS485_3_Send_Data_1(void); //void RS485_3_Send_Data_1(void);
void RS485_1_Send_Data_2(void); void RS485_1_Send_Data_2(void);
void RS485_1_Send_Data_3(void); void RS485_1_Send_Data_3(void);
void RS485_3_Send_Data(u8 *buf,u8 len); //void RS485_3_Send_Data(u8 *buf,u8 len);
void RS485_Receive_Data(u8 *buf,u8 *len); void RS485_Receive_Data(u8 *buf,u8 *len);
void SN74CB3Q3253_Init(void); void SN74CB3Q3253_Init(void);
u8 CRC16_check(u8 *puchMsg, u16 usDataLen); u8 CRC16_check(u8 *puchMsg, u16 usDataLen);

@ -5,17 +5,13 @@
#include "rtc.h" #include "rtc.h"
#include "SysTick.h" #include "SysTick.h"
#include "myfreertos.h" #include "myfreertos.h"
// extern u8 buf[51];
extern u8 RS485_RX_BUF[128];// extern u8 RS485_RX_BUF[128];//
//extern u8 buf[51];
extern u8 store_stage; extern u8 store_stage;
u8 read_stage = 1; // stage from flash u8 read_stage=1;//从flash读取出来的阶段号
extern u8 now_stage; extern u8 now_stage;
extern u8 chour; extern u8 chour;
extern u8 cminute; extern u8 cminute;
extern PID pid;
u16 current_minute=0; u16 current_minute=0;
u16 total_minute=0; u16 total_minute=0;
/* /*
@ -31,9 +27,9 @@ u8 total[] = {0xEE, 0XEE, 0x01, 0x04, 0x00, 0x00, 0xFA, 0x02, 0xBC, 0x00, 0x64,
0xEE,0XEE,0x05,0x04,0x00,0x00,0xFA,0x02,0xBC,0x00,0x64,0x00,0x64,0x00,0x64,0xFF,0xFF,0xFF, 0xEE,0XEE,0x05,0x04,0x00,0x00,0xFA,0x02,0xBC,0x00,0x64,0x00,0x64,0x00,0x64,0xFF,0xFF,0xFF,
0xEE,0XEE,0x06,0x04,0x00,0x00,0xFA,0x02,0xBC,0x00,0x64,0x00,0x64,0x00,0x64,0xFF,0xFF,0xFF}; 0xEE,0XEE,0x06,0x04,0x00,0x00,0xFA,0x02,0xBC,0x00,0x64,0x00,0x64,0x00,0x64,0xFF,0xFF,0xFF};
void Array(u8* n,u8 *hour,u8* min,u16* tem,u16* hum,u16* red,u16 *blue,u16* white) void Array(u8* n,u8 *hour,u8* min,u16* tem,u16* hum,u16* red,u16 *blue,u16* white)
{ {
*hour=(total[3 + 18 * (*n - 1)]); *hour=(total[3 + 18 * (*n - 1)]);
*min=(total[4 + 18 * (*n - 1)]); *min=(total[4 + 18 * (*n - 1)]);
*tem=(total[5 + 18 * (*n - 1)]<<8|total[6 + 18 * (*n - 1)]);//温度 *tem=(total[5 + 18 * (*n - 1)]<<8|total[6 + 18 * (*n - 1)]);//温度
@ -41,93 +37,33 @@ void Array(u8 *n, u8 *hour, u8 *min, u16 *tem, u16 *hum, u16 *red, u16 *blue, u1
*red=(total[9 + 18 * (*n - 1)]<<8|total[10 + 18 * (*n - 1)]);//红光 *red=(total[9 + 18 * (*n - 1)]<<8|total[10 + 18 * (*n - 1)]);//红光
*blue=(total[11 + 18 * (*n - 1)]<<8|total[12+ 18* (*n - 1)]);//蓝光 *blue=(total[11 + 18 * (*n - 1)]<<8|total[12+ 18* (*n - 1)]);//蓝光
*white=(total[13 + 18 * (*n - 1)]<<8|total[14 + 18 * (*n - 1)]);//白光 *white=(total[13 + 18 * (*n - 1)]<<8|total[14 + 18 * (*n - 1)]);//白光
} }
uint8_t ArrayRead[108]; uint8_t ArrayRead[108];
uint8_t ArrayWrite[108]; uint8_t ArrayWrite[108];
uint8_t pidsRead[10];
uint8_t pidsWrite[10];
void Write_Init(void) void Write_Init(void)
{ {
W25QXX_Init(); W25QXX_Init();
W25QXX_Erase_Sector(0x000000); W25QXX_Erase_Sector(0x000000);
delay_ms(150);
W25QXX_Write_NoCheck(total,0x000000,108);//把数据写入flash
W25QXX_Write(total, 0x000000, 108); // write data to flash W25QXX_Write_NoCheck(&store_stage,0x00006D,1);//把当前运行阶段写入flash
if (store_stage <= 0 || store_stage > 6) { W25QXX_Read(ArrayRead,0x000000,108);//把数据读出来
store_stage = 1;
}
W25QXX_Write(&store_stage, 0x001000, 1); // write current stage to flash
pidsWrite[0] = (int)pid.Kp / 256; // Kp 110
pidsWrite[1] = (int)(pid.Kp) % 256; // Kp 110
pidsWrite[2] = ((int)(pid.Ki * 100000)) / 256; // Ti 0.001
pidsWrite[3] = ((int)(pid.Ki * 100000)) % 256; // Ti 0.001
pidsWrite[4] = (int)pid.Kd / 256; // Td 340
pidsWrite[5] = (int)pid.Kd % 256; // Td 340
int tem_offset_10times = (int)(pid.tem_offset * 10);
if (tem_offset_10times < 0) {
tem_offset_10times = (~(tem_offset_10times - 1)) & 0xFFFF;
}
pidsWrite[6] = tem_offset_10times / 256;
pidsWrite[7] = tem_offset_10times % 256;
pidsWrite[8] = ((int)(pid.tem_threshold * 10)) / 256;
pidsWrite[9] = ((int)(pid.tem_threshold * 10)) % 256;
// // wtite p i d
W25QXX_Write(pidsWrite, 0x002000, 10); // p i d tem_offset tem_threshold, 2bytes for each
W25QXX_Read(ArrayRead, 0x000000, 108);
} }
void Read_Init(void) void Read_Init(void)
{ {
W25QXX_Init(); W25QXX_Init();
W25QXX_Read(ArrayRead, 0x000000, 108); W25QXX_Read(ArrayRead,0x000000,108);//把数据读出来
bufcut_Init(total, ArrayRead, 0, 108); bufcut_Init(total,ArrayRead,0,109);//把读出来的数据赋值给total数组
W25QXX_Read(&read_stage, 0x001000, 1); W25QXX_Read(&read_stage,0x00006D,1);
now_stage = read_stage; now_stage=read_stage;//读出来的阶段赋值给当前阶段
// if (now_stage <= 0 || now_stage > 6) {
// now_stage = 3;
// }
// now_stage = 3;
// read p i d
W25QXX_Read(pidsRead, 0x002000, 8); // p i d tem_offset tem_threshold, 2bytes for each
float Kp = pidsRead[0] * 256.0 + pidsRead[1];
float Ki = (pidsRead[2] * 256.0 + pidsRead[3]) / 100000.0;
float Kd = pidsRead[4] * 256.0 + pidsRead[5];
int tem_offset_10times = pidsRead[6] * 256.0 + pidsRead[7];
// Negative tem offset treatment
if (tem_offset_10times & 0x8000)
{
tem_offset_10times = ((~tem_offset_10times + 1) & 0xFFFF);
}
float tem_offset = tem_offset_10times / 10.0;
float tem_threshold = (pidsRead[8] * 256.0 + pidsRead[9]) / 10.0;
// pid.Kp = 120;
if (Kp > 1e-3) { pid.Kp = Kp; }
if (Ki > 1e-3) { pid.Ki = Ki; }
if (Kd > 1e-3) { pid.Kd = Kd; }
pid.tem_offset = tem_offset;
if (tem_threshold > 1e-3) { pid.tem_threshold = tem_threshold; }
// pid.Ki = 0.002;
// pid.Kd = 300;
// pid.Kp = pidsRead[0] * 256.0 + pidsRead[1];
// pid.Ki = (pidsRead[2] * 256.0 + pidsRead[3]) / 100000.0;
// pid.Kd = pidsRead[4] * 256.0 + pidsRead[5];
//printf("%d\r\n",now_stage); //printf("%d\r\n",now_stage);
//printf("\r\n"); //printf("\r\n");
//printf("\r\n"); //printf("\r\n");
@ -135,9 +71,11 @@ void Read_Init(void)
// { // {
// printf("%d ",ArrayRead[i]); // printf("%d ",ArrayRead[i]);
// } // }
} }
void Analysis(u8 *n, u16 *i, u8 *rs485_rx_buf)
void Analysis(u8* n,u16 *i,u8*rs485_rx_buf)//(阶段号,数组值序号,)解析函数
{ {
*n=rs485_rx_buf[3]; *n=rs485_rx_buf[3];
*i=rs485_rx_buf[4]; *i=rs485_rx_buf[4];
@ -155,9 +93,11 @@ void Analysis(u8 *n, u16 *i, u8 *rs485_rx_buf)
total[(2 * (*i) - 3) + 18 * (*n - 1)]=rs485_rx_buf[5]; total[(2 * (*i) - 3) + 18 * (*n - 1)]=rs485_rx_buf[5];
total[(2 * (*i) - 2) + 18 * (*n - 1)]=rs485_rx_buf[6]; total[(2 * (*i) - 2) + 18 * (*n - 1)]=rs485_rx_buf[6];
} }
} }
void Batch_synchronization(u8 *n, u8 *rs485_rx_buf) // batch sync void Batch_synchronization(u8 *n,u8*rs485_rx_buf)//批量同步
{ {
*n=rs485_rx_buf[3]; *n=rs485_rx_buf[3];
@ -165,9 +105,13 @@ void Batch_synchronization(u8 *n, u8 *rs485_rx_buf) // batch sync
for( i=4;i<16;i++) for( i=4;i<16;i++)
{ {
total[(i-1)+ 18 * (*n - 1)]=rs485_rx_buf[i]; total[(i-1)+ 18 * (*n - 1)]=rs485_rx_buf[i];
} }
} }
u8 timelong_Compare() u8 timelong_Compare()
{ {
RTC_Get(&chour,&cminute);//获得当前小时与分钟 RTC_Get(&chour,&cminute);//获得当前小时与分钟
@ -189,6 +133,7 @@ u8 timelong_Compare()
} }
store_stage=now_stage; store_stage=now_stage;
return now_stage; return now_stage;
} }
int isAllZeros(u8 arr[], int size) int isAllZeros(u8 arr[], int size)
@ -202,3 +147,4 @@ int isAllZeros(u8 arr[], int size)
} }
return 1; // 返回1表示全为0 return 1; // 返回1表示全为0
} }

@ -0,0 +1,2 @@
[EXTDLL]
Count=0

Binary file not shown.

@ -0,0 +1,50 @@
<html>
<body>
<pre>
<h1>µVision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: µVision V5.36.0.0
Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: Mr.L Microsoft, Microsoft, LIC=WHYH9-4JJ1V-450T5-G85AT-S94MZ-4MGW9
Tool Versions:
Toolchain: MDK-ARM Plus Version: 5.36.0.0
Toolchain Path: D:\MDK5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.06 update 7 (build 960)
Assembler: Armasm.exe V5.06 update 7 (build 960)
Linker/Locator: ArmLink.exe V5.06 update 7 (build 960)
Library Manager: ArmAr.exe V5.06 update 7 (build 960)
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
CPU DLL: SARMCM3.DLL V5.36.0.0
Dialog DLL: DCM.DLL V1.17.3.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.9.0
Dialog DLL: TCM.DLL V1.53.0.0
<h2>Project:</h2>
D:\×ÀÃæ\stm32-control _freertos - NO2 - serial1 - pid - ¸±±¾\control_freertos\USER\control.uvprojx
Project File Date: 11/19/2023
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\MDK5\ARM\ARMCC\Bin'
Build target 'LED'
compiling myfreertos.c...
linking...
Program Size: Code=25672 RO-data=804 RW-data=1524 ZI-data=13220
FromELF: creating hex file...
"..\OBJ\LED.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
Package Vendor: Keil
http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.3.0.pack
Keil.STM32F1xx_DFP.2.3.0
STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
<h2>Collection of Component include folders:</h2>
D:\MDK5\ARM\Keil\STM32F1xx_DFP\2.3.0\Device\Include
<h2>Collection of Component Files used:</h2>
Build Time Elapsed: 00:00:03
</pre>
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,77 @@
--cpu Cortex-M3
"..\obj\main.o"
"..\obj\stm32f10x_it.o"
"..\obj\system_stm32f10x.o"
"..\obj\pwm.o"
"..\obj\myspi.o"
"..\obj\w25q128.o"
"..\obj\relays.o"
"..\obj\write.o"
"..\obj\osc.o"
"..\obj\rs485.o"
"..\obj\rtc.o"
"..\obj\bufcut.o"
"..\obj\iwdg.o"
"..\obj\pid.o"
"..\obj\pwmout.o"
"..\obj\system.o"
"..\obj\systick.o"
"..\obj\usart.o"
"..\obj\core_cm3.o"
"..\obj\startup_stm32f10x_md.o"
"..\obj\misc.o"
"..\obj\stm32f10x_gpio.o"
"..\obj\stm32f10x_dbgmcu.o"
"..\obj\stm32f10x_rcc.o"
"..\obj\stm32f10x_usart.o"
"..\obj\stm32f10x_adc.o"
"..\obj\stm32f10x_bkp.o"
"..\obj\stm32f10x_can.o"
"..\obj\stm32f10x_cec.o"
"..\obj\stm32f10x_crc.o"
"..\obj\stm32f10x_dac.o"
"..\obj\stm32f10x_dma.o"
"..\obj\stm32f10x_exti.o"
"..\obj\stm32f10x_flash.o"
"..\obj\stm32f10x_fsmc.o"
"..\obj\stm32f10x_i2c.o"
"..\obj\stm32f10x_iwdg.o"
"..\obj\stm32f10x_pwr.o"
"..\obj\stm32f10x_rtc.o"
"..\obj\stm32f10x_sdio.o"
"..\obj\stm32f10x_spi.o"
"..\obj\stm32f10x_tim.o"
"..\obj\stm32f10x_wwdg.o"
"..\obj\socket.o"
"..\obj\spi.o"
"..\obj\utility.o"
"..\obj\w5500.o"
"..\obj\w5500api.o"
"..\obj\dns.o"
"..\obj\dhcp.o"
"..\obj\cjson.o"
"..\obj\mqttconnectclient.o"
"..\obj\mqttconnectserver.o"
"..\obj\mqttdeserializepublish.o"
"..\obj\mqttformat.o"
"..\obj\mqttpacket.o"
"..\obj\mqttserializepublish.o"
"..\obj\mqttsubscribeclient.o"
"..\obj\mqttsubscribeserver.o"
"..\obj\mqttunsubscribeclient.o"
"..\obj\mqttunsubscribeserver.o"
"..\obj\mqtt_api.o"
"..\obj\md5.o"
"..\obj\croutine.o"
"..\obj\event_groups.o"
"..\obj\list.o"
"..\obj\tasks.o"
"..\obj\timers.o"
"..\obj\queue.o"
"..\obj\port.o"
"..\obj\heap_4.o"
"..\obj\myfreertos.o"
--library_type=microlib --strict --scatter "..\OBJ\LED.sct"
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list ".\Listings\LED.map" -o ..\OBJ\LED.axf

@ -0,0 +1,16 @@
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x08000000 0x00010000 { ; load region size_region
ER_IROM1 0x08000000 0x00010000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
.ANY (+XO)
}
RW_IRAM1 0x20000000 0x00005000 { ; RW data
.ANY (+RW +ZI)
}
}

Binary file not shown.

@ -0,0 +1,32 @@
..\obj\bufcut.o: ..\HARDWARE\bufcut.c
..\obj\bufcut.o: ..\USER\stm32f10x.h
..\obj\bufcut.o: ..\CORE\core_cm3.h
..\obj\bufcut.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\bufcut.o: ..\USER\system_stm32f10x.h
..\obj\bufcut.o: ..\USER\stm32f10x_conf.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\bufcut.o: ..\USER\stm32f10x.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\bufcut.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\bufcut.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\bufcut.o: ..\HARDWARE\rs485.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,9 @@
..\obj\cjson.o: ..\MQTT\lib\cJSON.c
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\math.h
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdlib.h
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\float.h
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\limits.h
..\obj\cjson.o: D:\MDK5\ARM\ARMCC\Bin\..\include\ctype.h
..\obj\cjson.o: ..\MQTT\lib\cJSON.h

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

@ -0,0 +1,2 @@
..\obj\core_cm3.o: ..\CORE\core_cm3.c
..\obj\core_cm3.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,45 @@
..\obj\croutine.o: ..\FreeRTOS\croutine.c
..\obj\croutine.o: ..\FreeRTOS\include\FreeRTOS.h
..\obj\croutine.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stddef.h
..\obj\croutine.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\croutine.o: ..\FreeRTOS\include\FreeRTOSConfig.h
..\obj\croutine.o: ..\SYSTEM\system.h
..\obj\croutine.o: ..\USER\stm32f10x.h
..\obj\croutine.o: ..\CORE\core_cm3.h
..\obj\croutine.o: ..\USER\system_stm32f10x.h
..\obj\croutine.o: ..\USER\stm32f10x_conf.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\croutine.o: ..\USER\stm32f10x.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\croutine.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\croutine.o: ..\SYSTEM\usart.h
..\obj\croutine.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\croutine.o: ..\FreeRTOS\include\projdefs.h
..\obj\croutine.o: ..\FreeRTOS\include\portable.h
..\obj\croutine.o: ..\FreeRTOS\include\deprecated_definitions.h
..\obj\croutine.o: ..\FreeRTOS\portable\RVDS\ARM_CM3\portmacro.h
..\obj\croutine.o: ..\FreeRTOS\include\mpu_wrappers.h
..\obj\croutine.o: ..\FreeRTOS\include\task.h
..\obj\croutine.o: ..\FreeRTOS\include\list.h
..\obj\croutine.o: ..\FreeRTOS\include\croutine.h
..\obj\croutine.o: ..\FreeRTOS\include\list.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,42 @@
..\obj\dhcp.o: ..\dhcp\dhcp.c
..\obj\dhcp.o: ..\dhcp\dhcp.h
..\obj\dhcp.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\dhcp.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h
..\obj\dhcp.o: ..\w5500\w5500api.h
..\obj\dhcp.o: ..\SYSTEM\SysTick.h
..\obj\dhcp.o: ..\SYSTEM\system.h
..\obj\dhcp.o: ..\USER\stm32f10x.h
..\obj\dhcp.o: ..\CORE\core_cm3.h
..\obj\dhcp.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\dhcp.o: ..\USER\system_stm32f10x.h
..\obj\dhcp.o: ..\USER\stm32f10x_conf.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\dhcp.o: ..\USER\stm32f10x.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\dhcp.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\dhcp.o: ..\w5500\spi.h
..\obj\dhcp.o: ..\w5500\w5500.h
..\obj\dhcp.o: ..\w5500\Types.h
..\obj\dhcp.o: ..\w5500\socket.h
..\obj\dhcp.o: ..\w5500\utility.h
..\obj\dhcp.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdarg.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,43 @@
..\obj\dns.o: ..\dns\dns.c
..\obj\dns.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\dns.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h
..\obj\dns.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdlib.h
..\obj\dns.o: ..\USER\stm32f10x.h
..\obj\dns.o: ..\CORE\core_cm3.h
..\obj\dns.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\dns.o: ..\USER\system_stm32f10x.h
..\obj\dns.o: ..\USER\stm32f10x_conf.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\dns.o: ..\USER\stm32f10x.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\dns.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\dns.o: ..\dns\dns.h
..\obj\dns.o: ..\w5500\w5500api.h
..\obj\dns.o: ..\SYSTEM\SysTick.h
..\obj\dns.o: ..\SYSTEM\system.h
..\obj\dns.o: ..\w5500\spi.h
..\obj\dns.o: ..\w5500\w5500.h
..\obj\dns.o: ..\w5500\Types.h
..\obj\dns.o: ..\w5500\socket.h
..\obj\dns.o: ..\w5500\utility.h
..\obj\dns.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdarg.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,46 @@
..\obj\event_groups.o: ..\FreeRTOS\event_groups.c
..\obj\event_groups.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdlib.h
..\obj\event_groups.o: ..\FreeRTOS\include\FreeRTOS.h
..\obj\event_groups.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stddef.h
..\obj\event_groups.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\event_groups.o: ..\FreeRTOS\include\FreeRTOSConfig.h
..\obj\event_groups.o: ..\SYSTEM\system.h
..\obj\event_groups.o: ..\USER\stm32f10x.h
..\obj\event_groups.o: ..\CORE\core_cm3.h
..\obj\event_groups.o: ..\USER\system_stm32f10x.h
..\obj\event_groups.o: ..\USER\stm32f10x_conf.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\event_groups.o: ..\USER\stm32f10x.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\event_groups.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\event_groups.o: ..\SYSTEM\usart.h
..\obj\event_groups.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\event_groups.o: ..\FreeRTOS\include\projdefs.h
..\obj\event_groups.o: ..\FreeRTOS\include\portable.h
..\obj\event_groups.o: ..\FreeRTOS\include\deprecated_definitions.h
..\obj\event_groups.o: ..\FreeRTOS\portable\RVDS\ARM_CM3\portmacro.h
..\obj\event_groups.o: ..\FreeRTOS\include\mpu_wrappers.h
..\obj\event_groups.o: ..\FreeRTOS\include\task.h
..\obj\event_groups.o: ..\FreeRTOS\include\list.h
..\obj\event_groups.o: ..\FreeRTOS\include\timers.h
..\obj\event_groups.o: ..\FreeRTOS\include\event_groups.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\heap_4.o: ..\FreeRTOS\portable\MemMang\heap_4.c
..\obj\heap_4.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdlib.h
..\obj\heap_4.o: ..\FreeRTOS\include\FreeRTOS.h
..\obj\heap_4.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stddef.h
..\obj\heap_4.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\heap_4.o: ..\FreeRTOS\include\FreeRTOSConfig.h
..\obj\heap_4.o: ..\SYSTEM\system.h
..\obj\heap_4.o: ..\USER\stm32f10x.h
..\obj\heap_4.o: ..\CORE\core_cm3.h
..\obj\heap_4.o: ..\USER\system_stm32f10x.h
..\obj\heap_4.o: ..\USER\stm32f10x_conf.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\heap_4.o: ..\USER\stm32f10x.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\heap_4.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\heap_4.o: ..\SYSTEM\usart.h
..\obj\heap_4.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\heap_4.o: ..\FreeRTOS\include\projdefs.h
..\obj\heap_4.o: ..\FreeRTOS\include\portable.h
..\obj\heap_4.o: ..\FreeRTOS\include\deprecated_definitions.h
..\obj\heap_4.o: ..\FreeRTOS\portable\RVDS\ARM_CM3\portmacro.h
..\obj\heap_4.o: ..\FreeRTOS\include\mpu_wrappers.h
..\obj\heap_4.o: ..\FreeRTOS\include\task.h
..\obj\heap_4.o: ..\FreeRTOS\include\list.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,32 @@
..\obj\iwdg.o: ..\HARDWARE\iwdg.c
..\obj\iwdg.o: ..\HARDWARE\iwdg.h
..\obj\iwdg.o: ..\SYSTEM\system.h
..\obj\iwdg.o: ..\USER\stm32f10x.h
..\obj\iwdg.o: ..\CORE\core_cm3.h
..\obj\iwdg.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\iwdg.o: ..\USER\system_stm32f10x.h
..\obj\iwdg.o: ..\USER\stm32f10x_conf.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\iwdg.o: ..\USER\stm32f10x.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\iwdg.o: ..\STM32F10x_FWLib\inc\misc.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,43 @@
..\obj\list.o: ..\FreeRTOS\list.c
..\obj\list.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdlib.h
..\obj\list.o: ..\FreeRTOS\include\FreeRTOS.h
..\obj\list.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stddef.h
..\obj\list.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\list.o: ..\FreeRTOS\include\FreeRTOSConfig.h
..\obj\list.o: ..\SYSTEM\system.h
..\obj\list.o: ..\USER\stm32f10x.h
..\obj\list.o: ..\CORE\core_cm3.h
..\obj\list.o: ..\USER\system_stm32f10x.h
..\obj\list.o: ..\USER\stm32f10x_conf.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\list.o: ..\USER\stm32f10x.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\list.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\list.o: ..\SYSTEM\usart.h
..\obj\list.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\list.o: ..\FreeRTOS\include\projdefs.h
..\obj\list.o: ..\FreeRTOS\include\portable.h
..\obj\list.o: ..\FreeRTOS\include\deprecated_definitions.h
..\obj\list.o: ..\FreeRTOS\portable\RVDS\ARM_CM3\portmacro.h
..\obj\list.o: ..\FreeRTOS\include\mpu_wrappers.h
..\obj\list.o: ..\FreeRTOS\include\list.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,65 @@
..\obj\main.o: main.c
..\obj\main.o: ..\myfreertos\myfreertos.h
..\obj\main.o: ..\FreeRTOS\include\FreeRTOS.h
..\obj\main.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stddef.h
..\obj\main.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\main.o: ..\FreeRTOS\include\FreeRTOSConfig.h
..\obj\main.o: ..\SYSTEM\system.h
..\obj\main.o: ..\USER\stm32f10x.h
..\obj\main.o: ..\CORE\core_cm3.h
..\obj\main.o: ..\USER\system_stm32f10x.h
..\obj\main.o: ..\USER\stm32f10x_conf.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\main.o: ..\USER\stm32f10x.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\main.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\main.o: ..\SYSTEM\usart.h
..\obj\main.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\main.o: ..\FreeRTOS\include\projdefs.h
..\obj\main.o: ..\FreeRTOS\include\portable.h
..\obj\main.o: ..\FreeRTOS\include\deprecated_definitions.h
..\obj\main.o: ..\FreeRTOS\portable\RVDS\ARM_CM3\portmacro.h
..\obj\main.o: ..\FreeRTOS\include\mpu_wrappers.h
..\obj\main.o: ..\FreeRTOS\include\task.h
..\obj\main.o: ..\FreeRTOS\include\list.h
..\obj\main.o: ..\SYSTEM\SysTick.h
..\obj\main.o: ..\HARDWARE\W25Q128_Ins.h
..\obj\main.o: ..\HARDWARE\rs485.h
..\obj\main.o: ..\HARDWARE\write.h
..\obj\main.o: ..\HARDWARE\Relays.h
..\obj\main.o: ..\HARDWARE\OSC.h
..\obj\main.o: ..\HARDWARE\PWM.h
..\obj\main.o: ..\HARDWARE\rtc.h
..\obj\main.o: ..\HARDWARE\bufcut.h
..\obj\main.o: ..\HARDWARE\iwdg.h
..\obj\main.o: ..\HARDWARE\PID.h
..\obj\main.o: ..\HARDWARE\PWMOUT.h
..\obj\main.o: ..\w5500\w5500api.h
..\obj\main.o: ..\w5500\spi.h
..\obj\main.o: ..\w5500\w5500.h
..\obj\main.o: ..\w5500\Types.h
..\obj\main.o: ..\w5500\socket.h
..\obj\main.o: ..\dhcp\dhcp.h
..\obj\main.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h
..\obj\main.o: ..\dns\dns.h
..\obj\main.o: ..\MQTT\mqtt_api.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,33 @@
..\obj\md5.o: ..\md5\md5.c
..\obj\md5.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h
..\obj\md5.o: ..\w5500\types.h
..\obj\md5.o: ..\md5\md5.h
..\obj\md5.o: ..\USER\stm32f10x.h
..\obj\md5.o: ..\CORE\core_cm3.h
..\obj\md5.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\md5.o: ..\USER\system_stm32f10x.h
..\obj\md5.o: ..\USER\stm32f10x_conf.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\md5.o: ..\USER\stm32f10x.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\md5.o: ..\STM32F10x_FWLib\inc\misc.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,31 @@
..\obj\misc.o: ..\STM32F10x_FWLib\src\misc.c
..\obj\misc.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\misc.o: ..\USER\stm32f10x.h
..\obj\misc.o: ..\CORE\core_cm3.h
..\obj\misc.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\misc.o: ..\USER\system_stm32f10x.h
..\obj\misc.o: ..\USER\stm32f10x_conf.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\misc.o: ..\USER\stm32f10x.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\misc.o: ..\STM32F10x_FWLib\inc\misc.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,49 @@
..\obj\mqtt_api.o: ..\MQTT\mqtt_api.c
..\obj\mqtt_api.o: ..\MQTT\mqtt_api.h
..\obj\mqtt_api.o: ..\w5500\w5500api.h
..\obj\mqtt_api.o: ..\SYSTEM\SysTick.h
..\obj\mqtt_api.o: ..\SYSTEM\system.h
..\obj\mqtt_api.o: ..\USER\stm32f10x.h
..\obj\mqtt_api.o: ..\CORE\core_cm3.h
..\obj\mqtt_api.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqtt_api.o: ..\USER\system_stm32f10x.h
..\obj\mqtt_api.o: ..\USER\stm32f10x_conf.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqtt_api.o: ..\USER\stm32f10x.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqtt_api.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqtt_api.o: ..\w5500\spi.h
..\obj\mqtt_api.o: ..\w5500\w5500.h
..\obj\mqtt_api.o: ..\w5500\Types.h
..\obj\mqtt_api.o: ..\w5500\socket.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqtt_api.o: ..\MQTT\lib\StackTrace.h
..\obj\mqtt_api.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqtt_api.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqtt_api.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdlib.h
..\obj\mqtt_api.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTConnectClient.c
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttconnectclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttconnectclient.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttconnectclient.o: ..\w5500\socket.h
..\obj\mqttconnectclient.o: ..\USER\stm32f10x.h
..\obj\mqttconnectclient.o: ..\CORE\core_cm3.h
..\obj\mqttconnectclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttconnectclient.o: ..\USER\system_stm32f10x.h
..\obj\mqttconnectclient.o: ..\USER\stm32f10x_conf.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttconnectclient.o: ..\USER\stm32f10x.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttconnectclient.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttconnectclient.o: ..\w5500\w5500.h
..\obj\mqttconnectclient.o: ..\w5500\spi.h
..\obj\mqttconnectclient.o: ..\w5500\Types.h
..\obj\mqttconnectclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTConnectServer.c
..\obj\mqttconnectserver.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttconnectserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttconnectserver.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttconnectserver.o: ..\w5500\socket.h
..\obj\mqttconnectserver.o: ..\USER\stm32f10x.h
..\obj\mqttconnectserver.o: ..\CORE\core_cm3.h
..\obj\mqttconnectserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttconnectserver.o: ..\USER\system_stm32f10x.h
..\obj\mqttconnectserver.o: ..\USER\stm32f10x_conf.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttconnectserver.o: ..\USER\stm32f10x.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttconnectserver.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttconnectserver.o: ..\w5500\w5500.h
..\obj\mqttconnectserver.o: ..\w5500\spi.h
..\obj\mqttconnectserver.o: ..\w5500\Types.h
..\obj\mqttconnectserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTDeserializePublish.c
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttdeserializepublish.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttdeserializepublish.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttdeserializepublish.o: ..\w5500\socket.h
..\obj\mqttdeserializepublish.o: ..\USER\stm32f10x.h
..\obj\mqttdeserializepublish.o: ..\CORE\core_cm3.h
..\obj\mqttdeserializepublish.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttdeserializepublish.o: ..\USER\system_stm32f10x.h
..\obj\mqttdeserializepublish.o: ..\USER\stm32f10x_conf.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttdeserializepublish.o: ..\USER\stm32f10x.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttdeserializepublish.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttdeserializepublish.o: ..\w5500\w5500.h
..\obj\mqttdeserializepublish.o: ..\w5500\spi.h
..\obj\mqttdeserializepublish.o: ..\w5500\Types.h
..\obj\mqttdeserializepublish.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttformat.o: ..\MQTT\lib\MQTTFormat.c
..\obj\mqttformat.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttformat.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttformat.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttformat.o: ..\w5500\socket.h
..\obj\mqttformat.o: ..\USER\stm32f10x.h
..\obj\mqttformat.o: ..\CORE\core_cm3.h
..\obj\mqttformat.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttformat.o: ..\USER\system_stm32f10x.h
..\obj\mqttformat.o: ..\USER\stm32f10x_conf.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttformat.o: ..\USER\stm32f10x.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttformat.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttformat.o: ..\w5500\w5500.h
..\obj\mqttformat.o: ..\w5500\spi.h
..\obj\mqttformat.o: ..\w5500\Types.h
..\obj\mqttformat.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTPacket.c
..\obj\mqttpacket.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttpacket.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttpacket.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttpacket.o: ..\w5500\socket.h
..\obj\mqttpacket.o: ..\USER\stm32f10x.h
..\obj\mqttpacket.o: ..\CORE\core_cm3.h
..\obj\mqttpacket.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttpacket.o: ..\USER\system_stm32f10x.h
..\obj\mqttpacket.o: ..\USER\stm32f10x_conf.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttpacket.o: ..\USER\stm32f10x.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttpacket.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttpacket.o: ..\w5500\w5500.h
..\obj\mqttpacket.o: ..\w5500\spi.h
..\obj\mqttpacket.o: ..\w5500\Types.h
..\obj\mqttpacket.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTSerializePublish.c
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttserializepublish.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttserializepublish.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttserializepublish.o: ..\w5500\socket.h
..\obj\mqttserializepublish.o: ..\USER\stm32f10x.h
..\obj\mqttserializepublish.o: ..\CORE\core_cm3.h
..\obj\mqttserializepublish.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttserializepublish.o: ..\USER\system_stm32f10x.h
..\obj\mqttserializepublish.o: ..\USER\stm32f10x_conf.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttserializepublish.o: ..\USER\stm32f10x.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttserializepublish.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttserializepublish.o: ..\w5500\w5500.h
..\obj\mqttserializepublish.o: ..\w5500\spi.h
..\obj\mqttserializepublish.o: ..\w5500\Types.h
..\obj\mqttserializepublish.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTSubscribeClient.c
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttsubscribeclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttsubscribeclient.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttsubscribeclient.o: ..\w5500\socket.h
..\obj\mqttsubscribeclient.o: ..\USER\stm32f10x.h
..\obj\mqttsubscribeclient.o: ..\CORE\core_cm3.h
..\obj\mqttsubscribeclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttsubscribeclient.o: ..\USER\system_stm32f10x.h
..\obj\mqttsubscribeclient.o: ..\USER\stm32f10x_conf.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttsubscribeclient.o: ..\USER\stm32f10x.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttsubscribeclient.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttsubscribeclient.o: ..\w5500\w5500.h
..\obj\mqttsubscribeclient.o: ..\w5500\spi.h
..\obj\mqttsubscribeclient.o: ..\w5500\Types.h
..\obj\mqttsubscribeclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTSubscribeServer.c
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttsubscribeserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttsubscribeserver.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttsubscribeserver.o: ..\w5500\socket.h
..\obj\mqttsubscribeserver.o: ..\USER\stm32f10x.h
..\obj\mqttsubscribeserver.o: ..\CORE\core_cm3.h
..\obj\mqttsubscribeserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttsubscribeserver.o: ..\USER\system_stm32f10x.h
..\obj\mqttsubscribeserver.o: ..\USER\stm32f10x_conf.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttsubscribeserver.o: ..\USER\stm32f10x.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttsubscribeserver.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttsubscribeserver.o: ..\w5500\w5500.h
..\obj\mqttsubscribeserver.o: ..\w5500\spi.h
..\obj\mqttsubscribeserver.o: ..\w5500\Types.h
..\obj\mqttsubscribeserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTUnsubscribeClient.c
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttunsubscribeclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttunsubscribeclient.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttunsubscribeclient.o: ..\w5500\socket.h
..\obj\mqttunsubscribeclient.o: ..\USER\stm32f10x.h
..\obj\mqttunsubscribeclient.o: ..\CORE\core_cm3.h
..\obj\mqttunsubscribeclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttunsubscribeclient.o: ..\USER\system_stm32f10x.h
..\obj\mqttunsubscribeclient.o: ..\USER\stm32f10x_conf.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttunsubscribeclient.o: ..\USER\stm32f10x.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttunsubscribeclient.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttunsubscribeclient.o: ..\w5500\w5500.h
..\obj\mqttunsubscribeclient.o: ..\w5500\spi.h
..\obj\mqttunsubscribeclient.o: ..\w5500\Types.h
..\obj\mqttunsubscribeclient.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,44 @@
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTUnsubscribeServer.c
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTConnect.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTPublish.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTSubscribe.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTUnsubscribe.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTFormat.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\StackTrace.h
..\obj\mqttunsubscribeserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\mqttunsubscribeserver.o: ..\MQTT\lib\MQTTPacket.h
..\obj\mqttunsubscribeserver.o: ..\w5500\socket.h
..\obj\mqttunsubscribeserver.o: ..\USER\stm32f10x.h
..\obj\mqttunsubscribeserver.o: ..\CORE\core_cm3.h
..\obj\mqttunsubscribeserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\mqttunsubscribeserver.o: ..\USER\system_stm32f10x.h
..\obj\mqttunsubscribeserver.o: ..\USER\stm32f10x_conf.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\mqttunsubscribeserver.o: ..\USER\stm32f10x.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\mqttunsubscribeserver.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\mqttunsubscribeserver.o: ..\w5500\w5500.h
..\obj\mqttunsubscribeserver.o: ..\w5500\spi.h
..\obj\mqttunsubscribeserver.o: ..\w5500\Types.h
..\obj\mqttunsubscribeserver.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,65 @@
..\obj\myfreertos.o: ..\myfreertos\myfreertos.c
..\obj\myfreertos.o: ..\myfreertos\myfreertos.h
..\obj\myfreertos.o: ..\FreeRTOS\include\FreeRTOS.h
..\obj\myfreertos.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stddef.h
..\obj\myfreertos.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\myfreertos.o: ..\FreeRTOS\include\FreeRTOSConfig.h
..\obj\myfreertos.o: ..\SYSTEM\system.h
..\obj\myfreertos.o: ..\USER\stm32f10x.h
..\obj\myfreertos.o: ..\CORE\core_cm3.h
..\obj\myfreertos.o: ..\USER\system_stm32f10x.h
..\obj\myfreertos.o: ..\USER\stm32f10x_conf.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\myfreertos.o: ..\USER\stm32f10x.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\myfreertos.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\myfreertos.o: ..\SYSTEM\usart.h
..\obj\myfreertos.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\myfreertos.o: ..\FreeRTOS\include\projdefs.h
..\obj\myfreertos.o: ..\FreeRTOS\include\portable.h
..\obj\myfreertos.o: ..\FreeRTOS\include\deprecated_definitions.h
..\obj\myfreertos.o: ..\FreeRTOS\portable\RVDS\ARM_CM3\portmacro.h
..\obj\myfreertos.o: ..\FreeRTOS\include\mpu_wrappers.h
..\obj\myfreertos.o: ..\FreeRTOS\include\task.h
..\obj\myfreertos.o: ..\FreeRTOS\include\list.h
..\obj\myfreertos.o: ..\SYSTEM\SysTick.h
..\obj\myfreertos.o: ..\HARDWARE\W25Q128_Ins.h
..\obj\myfreertos.o: ..\HARDWARE\rs485.h
..\obj\myfreertos.o: ..\HARDWARE\write.h
..\obj\myfreertos.o: ..\HARDWARE\Relays.h
..\obj\myfreertos.o: ..\HARDWARE\OSC.h
..\obj\myfreertos.o: ..\HARDWARE\PWM.h
..\obj\myfreertos.o: ..\HARDWARE\rtc.h
..\obj\myfreertos.o: ..\HARDWARE\bufcut.h
..\obj\myfreertos.o: ..\HARDWARE\iwdg.h
..\obj\myfreertos.o: ..\HARDWARE\PID.h
..\obj\myfreertos.o: ..\HARDWARE\PWMOUT.h
..\obj\myfreertos.o: ..\w5500\w5500api.h
..\obj\myfreertos.o: ..\w5500\spi.h
..\obj\myfreertos.o: ..\w5500\w5500.h
..\obj\myfreertos.o: ..\w5500\Types.h
..\obj\myfreertos.o: ..\w5500\socket.h
..\obj\myfreertos.o: ..\dhcp\dhcp.h
..\obj\myfreertos.o: D:\MDK5\ARM\ARMCC\Bin\..\include\string.h
..\obj\myfreertos.o: ..\dns\dns.h
..\obj\myfreertos.o: ..\MQTT\mqtt_api.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,32 @@
..\obj\myspi.o: ..\HARDWARE\MYSPI.c
..\obj\myspi.o: ..\HARDWARE\MYSPI.h
..\obj\myspi.o: ..\SYSTEM\system.h
..\obj\myspi.o: ..\USER\stm32f10x.h
..\obj\myspi.o: ..\CORE\core_cm3.h
..\obj\myspi.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\myspi.o: ..\USER\system_stm32f10x.h
..\obj\myspi.o: ..\USER\stm32f10x_conf.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\myspi.o: ..\USER\stm32f10x.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\myspi.o: ..\STM32F10x_FWLib\inc\misc.h

Binary file not shown.

Binary file not shown.

@ -0,0 +1,34 @@
..\obj\osc.o: ..\HARDWARE\OSC.c
..\obj\osc.o: ..\USER\stm32f10x.h
..\obj\osc.o: ..\CORE\core_cm3.h
..\obj\osc.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdint.h
..\obj\osc.o: ..\USER\system_stm32f10x.h
..\obj\osc.o: ..\USER\stm32f10x_conf.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_adc.h
..\obj\osc.o: ..\USER\stm32f10x.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_bkp.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_can.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_cec.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_crc.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dac.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dbgmcu.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_dma.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_exti.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_flash.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_fsmc.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_gpio.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_i2c.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_iwdg.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_pwr.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rcc.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_rtc.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_sdio.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_spi.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_tim.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_usart.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\stm32f10x_wwdg.h
..\obj\osc.o: ..\STM32F10x_FWLib\inc\misc.h
..\obj\osc.o: ..\SYSTEM\USART.h
..\obj\osc.o: ..\SYSTEM\system.h
..\obj\osc.o: D:\MDK5\ARM\ARMCC\Bin\..\include\stdio.h
..\obj\osc.o: ..\SYSTEM\SysTick.h

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save