diff --git a/PLSR/PLSR/Core/Inc/tim.h b/PLSR/PLSR/Core/Inc/tim.h index 0cc038b..1024251 100644 --- a/PLSR/PLSR/Core/Inc/tim.h +++ b/PLSR/PLSR/Core/Inc/tim.h @@ -139,7 +139,7 @@ typedef struct { typedef struct { uint8_t section_num; // 段号(1-10) uint32_t target_freq; // 目标频率(Hz) - uint32_t target_pulse; // 目标脉冲数 + int32_t target_pulse; // 目标脉冲数 uint8_t next_section; // 下一段号(0表示结束) PLSR_WaitCondition_t wait_condition; // 等待条件 } PLSR_SectionConfig_t; @@ -150,8 +150,8 @@ typedef struct { uint8_t current_section_num; // 当前段号 uint32_t current_freq; // 当前频率 uint32_t target_freq; // 目标频率 - uint32_t pulse_count; // 当前脉冲计数 - uint32_t prevPulseCount; // 上阶段目标脉冲 + int32_t pulse_count; // 当前脉冲计数 + int32_t prevPulseCount; // 上阶段目标脉冲 uint32_t start_freq; // 起始频率 uint32_t end_freq; // 结束频率 uint8_t output_port; // 输出端口选择 @@ -164,9 +164,9 @@ typedef struct { PLSR_RunState_t run_state; // 当前运行状态 // 三部分脉冲计数(重新定义用途) - uint32_t accel_pulse_count; // 第一部分脉冲数(可能是加速、减速或匀速) - uint32_t const_pulse_count; // 第二部分脉冲数(匀速) - uint32_t decel_pulse_count; // 第三部分脉冲数(减速到0) + int32_t accel_pulse_count; // 第一部分脉冲数(可能是加速、减速或匀速) + int32_t const_pulse_count; // 第二部分脉冲数(匀速) + int32_t decel_pulse_count; // 第三部分脉冲数(减速到0) // 新增:三部分状态标识 PLSR_RunState_t part1_state; // 第一部分状态(ACCEL/DECEL/CONST) diff --git a/PLSR/PLSR/Core/Src/tim.c b/PLSR/PLSR/Core/Src/tim.c index 39e98bb..303e801 100644 --- a/PLSR/PLSR/Core/Src/tim.c +++ b/PLSR/PLSR/Core/Src/tim.c @@ -1028,8 +1028,8 @@ void PLSR_TIM6_Stop(void) HAL_TIM_Base_Stop_IT(&htim6); } -static uint32_t AllPluse = 0; //总脉冲个数 -static uint32_t s_last_total_pulse = 0; //上次记录的总脉冲数,用于实时累加 +static int32_t AllPluse = 0; //总脉冲个数 +static int32_t s_last_total_pulse = 0; //上次记录的总脉冲数,用于实时累加 /** @@ -1037,12 +1037,13 @@ static uint32_t s_last_total_pulse = 0; //上次记录的总脉冲数,用于 * @param current_pulse_count 当前脉冲计数值 * @note 根据方向逻辑决定脉冲计数方向,支持TIM2和TIM6中断的不同计算方式 */ -static void PLSR_UpdateGlobalPulseCount(uint32_t current_pulse_count) +static void PLSR_UpdateGlobalPulseCount(int32_t current_pulse_count) { if (current_pulse_count > s_last_total_pulse) { - uint32_t pulse_increment = current_pulse_count - s_last_total_pulse; + int32_t pulse_increment = current_pulse_count - s_last_total_pulse; - if (g_plsr_route.dir_logic == 0) { + if (g_plsr_route.dir_logic == 0) + { // 方向逻辑为0:正逻辑,脉冲数递增 g_plsr_total_pulse_count += pulse_increment; } @@ -1050,14 +1051,13 @@ static void PLSR_UpdateGlobalPulseCount(uint32_t current_pulse_count) { // 方向逻辑为1:负逻辑,脉冲数递减(支持负数显示) g_plsr_total_pulse_count -= pulse_increment; - } - + } s_last_total_pulse = current_pulse_count; } // 将32位全局累加脉冲计数分解为两个16位寄存器(支持负数) - uint32_t unsigned_count = (uint32_t)g_plsr_total_pulse_count; // 转换为无符号数进行位操作 - ModbusSlave.holding_regs[0x1000] = unsigned_count & 0xFFFF; // 低16位 - ModbusSlave.holding_regs[0x1001] = (unsigned_count >> 16) & 0xFFFF; // 高16位 + int32_t signed_count = g_plsr_total_pulse_count; // 使用有符号数进行计算 + ModbusSlave.holding_regs[0x1000] = signed_count & 0xFFFF; // 低16位 + ModbusSlave.holding_regs[0x1001] = (signed_count >> 16) & 0xFFFF; // 高16位 } @@ -1087,9 +1087,9 @@ uint32_t integer_sqrt(uint32_t x) } void Calculate_PluseNum_Simplified(PLSR_RouteConfig_t *route) { - uint32_t accel_pulse_num = 0; // 加速过程脉冲数 - uint32_t decel_pulse_num = 0; // 减速过程脉冲数 - uint32_t const_pulse_num = 0; // 匀速过程脉冲数 + int32_t accel_pulse_num = 0; // 加速过程脉冲数 + int32_t decel_pulse_num = 0; // 减速过程脉冲数 + int32_t const_pulse_num = 0; // 匀速过程脉冲数 uint32_t accel_time = 0; // 加速时间(ms) uint32_t decel_time = 0; // 减速时间(ms) @@ -1109,7 +1109,7 @@ void Calculate_PluseNum_Simplified(PLSR_RouteConfig_t *route) uint32_t vt = current_section->target_freq; // 目标频率 uint32_t a = route->accel_rate; // 加速度 uint32_t d = route->decel_rate; // 减速度 - uint32_t total_pulses = 0; + int32_t total_pulses = 0; if(route->mode == PLSR_MODE_RELATIVE) { total_pulses = current_section->target_pulse; // 总脉冲数 @@ -1136,7 +1136,7 @@ void Calculate_PluseNum_Simplified(PLSR_RouteConfig_t *route) // 加速阶段脉冲数 = (起始频率 + 目标频率) * 时间 / 2000 // 使用梯形积分公式:面积 = (上底 + 下底) * 高 / 2 uint64_t temp_accel = (uint64_t)(v0 + vt) * accel_time; - uint32_t required_accel_pulses = (uint32_t)(temp_accel / 2000); + int32_t required_accel_pulses = (int32_t)(temp_accel / 2000); if (required_accel_pulses <= total_pulses) { @@ -1182,7 +1182,7 @@ void Calculate_PluseNum_Simplified(PLSR_RouteConfig_t *route) // 减速阶段脉冲数 = (起始频率 + 目标频率) * 时间 / 2000 uint64_t temp_decel = (uint64_t)(v0 + vt) * decel_time; - uint32_t required_decel_pulses = (uint32_t)(temp_decel / 2000); + int32_t required_decel_pulses = (int32_t)(temp_decel / 2000); if (required_decel_pulses <= total_pulses) { @@ -1240,9 +1240,9 @@ void Calculate_PluseNum_Simplified(PLSR_RouteConfig_t *route) } void Calculate_PluseNum(PLSR_RouteConfig_t *route) { - uint32_t part1_pulse_num = 0; // 第一部分脉冲数 - uint32_t part2_pulse_num = 0; // 第二部分脉冲数 - uint32_t part3_pulse_num = 0; // 第三部分脉冲数 + int32_t part1_pulse_num = 0; // 第一部分脉冲数 + int32_t part2_pulse_num = 0; // 第二部分脉冲数 + int32_t part3_pulse_num = 0; // 第三部分脉冲数 uint32_t part1_time = 0; // 第一部分时间(ms) uint32_t part2_time = 0; // 第二部分时间(ms) uint32_t part3_time = 0; // 第三部分时间(ms) @@ -1264,7 +1264,7 @@ void Calculate_PluseNum(PLSR_RouteConfig_t *route) uint32_t vf = 0; // 最终频率(必须为0) uint32_t a = route->accel_rate; // 加速度 uint32_t d = route->decel_rate; // 减速度 - uint32_t total_pulses = 0; + int32_t total_pulses = 0; if(route->mode == PLSR_MODE_RELATIVE) { total_pulses = current_section->target_pulse; // 总脉冲数 @@ -1327,7 +1327,7 @@ void Calculate_PluseNum(PLSR_RouteConfig_t *route) // 计算第二部分:匀速部分 PLSR_RunState_t part2_state = PLSR_STATE_CONST; - uint32_t used_pulses = part1_pulse_num + part3_pulse_num; + int32_t used_pulses = part1_pulse_num + part3_pulse_num; if (used_pulses < total_pulses) { // 有剩余脉冲用于匀速阶段 @@ -1344,7 +1344,7 @@ void Calculate_PluseNum(PLSR_RouteConfig_t *route) if (part3_pulse_num <= total_pulses) { // 第三部分可以完成,调整第一部分 - uint32_t remaining_pulses = total_pulses - part3_pulse_num; + int32_t remaining_pulses = total_pulses - part3_pulse_num; if (remaining_pulses > 0) { if (v0 < vt) { @@ -1495,7 +1495,8 @@ void PLSR_HandleSectionEnd(void) // 重置部分状态 g_plsr_route.current_part = PLSR_PART_COMPLETE; - if(g_plsr_route.current_section_num == g_plsr_route.section_num) + if(g_plsr_route.current_section_num == g_plsr_route.section_num + && g_plsr_route.section[g_plsr_route.current_section_num - 1].next_section == 0) { PLSR_Route_Stop(&g_plsr_route); } @@ -1527,7 +1528,7 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) { PLSR_PWM_Stop(); // 精确累加当前段已发送的脉冲数 - uint32_t current_section_pulses = __HAL_TIM_GetAutoreload(&htim2); + int32_t current_section_pulses = __HAL_TIM_GetAutoreload(&htim2); AllPluse += current_section_pulses; g_plsr_route.pulse_count = AllPluse; PLSR_UpdateGlobalPulseCount(AllPluse); @@ -1612,7 +1613,7 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) //printf("TIM2 CNT: %lu, Pulse Count: %lu\n", TIM2->CNT, AllPluse); // 计算当前段已发送的总脉冲数 - uint32_t current_pulse_count = AllPluse + current_tim2_count; + int32_t current_pulse_count = AllPluse + current_tim2_count; // 实时累加脉冲增量到全局计数器(根据方向逻辑决定递增或递减) PLSR_UpdateGlobalPulseCount(current_pulse_count); @@ -1658,7 +1659,7 @@ void PLSR_Route_Set(PLSR_RouteConfig_t* route) route->section[i].section_num = i + 1; route->section[i].target_freq = (((uint32_t)ModbusSlave.holding_regs[256+(16*i)]) | (uint32_t)ModbusSlave.holding_regs[257+(16*i)]<<16); - route->section[i].target_pulse = (((uint32_t)ModbusSlave.holding_regs[258+(16*i)]) | (uint32_t)ModbusSlave.holding_regs[259+(16*i)]<<16); + route->section[i].target_pulse = (((int32_t)ModbusSlave.holding_regs[258+(16*i)]) | (int32_t)ModbusSlave.holding_regs[259+(16*i)]<<16); route->section[i].wait_condition.wait_type = ModbusSlave.holding_regs[260+(16*i)]; route->section[i].next_section = ModbusSlave.holding_regs[261+(16*i)]; } @@ -1904,69 +1905,81 @@ void PLSR_Section_StartNewSection(PLSR_RouteConfig_t* route) * @retval None * @note 根据当前应该执行的部分设置TIM2参数 */ +/** + * @brief 设置三段式执行参数(消除递归调用) + * @param[in,out] route PLSR路径配置结构体指针 + * @note 使用循环结构替代递归调用,避免栈溢出风险 + */ void PLSR_SetupThreePartExecution(PLSR_RouteConfig_t* route) { - switch(route->current_part) + /* 使用循环替代递归调用,避免栈溢出 */ + while(route->current_part != PLSR_PART_COMPLETE) { - case PLSR_PART_1: - // 第一部分:根据状态设置对应的脉冲数 - if(route->part1_state == PLSR_STATE_ACCEL || - route->part1_state == PLSR_STATE_DECEL || - route->part1_state == PLSR_STATE_CONST) - { - __HAL_TIM_SetAutoreload(&htim2, route->accel_pulse_count); - route->run_state = route->part1_state; - route->target_freq = route->part1_target_freq; - } - else - { - // 第一部分无效,跳到第二部分 - route->current_part = PLSR_PART_2; - PLSR_SetupThreePartExecution(route); // 递归调用设置第二部分 - } - break; - - case PLSR_PART_2: - // 第二部分:匀速 - if(route->const_pulse_count > 0) - { - __HAL_TIM_SetAutoreload(&htim2, route->const_pulse_count); - route->run_state = route->part2_state; // 通常是PLSR_STATE_CONST - route->target_freq = route->part2_target_freq; - } - else - { - // 第二部分无效,跳到第三部分 - route->current_part = PLSR_PART_3; - PLSR_SetupThreePartExecution(route); // 递归调用设置第三部分 - } - break; - - case PLSR_PART_3: - // 第三部分:减速到0 - if(route->decel_pulse_count > 0) - { - __HAL_TIM_SetAutoreload(&htim2, route->decel_pulse_count); - route->run_state = route->part3_state; // 通常是PLSR_STATE_DECEL - route->target_freq = route->part3_target_freq; // 通常是0 - //printf("设置第三部分:减速,脉冲数=%lu,目标频率=%lu\n", - //route->decel_pulse_count, route->part3_target_freq); - } - else - { - // 第三部分无效,标记为完成 + switch(route->current_part) + { + case PLSR_PART_1: + // 第一部分:根据状态设置对应的脉冲数 + if(route->part1_state == PLSR_STATE_ACCEL || + route->part1_state == PLSR_STATE_DECEL || + route->part1_state == PLSR_STATE_CONST) + { + __HAL_TIM_SetAutoreload(&htim2, route->accel_pulse_count); + route->run_state = route->part1_state; + route->target_freq = route->part1_target_freq; + return; // 设置完成,退出函数 + } + else + { + // 第一部分无效,跳到第二部分 + route->current_part = PLSR_PART_2; + // 继续循环处理第二部分 + } + break; + + case PLSR_PART_2: + // 第二部分:匀速 + if(route->const_pulse_count > 0) + { + __HAL_TIM_SetAutoreload(&htim2, route->const_pulse_count); + route->run_state = route->part2_state; // 通常是PLSR_STATE_CONST + route->target_freq = route->part2_target_freq; + return; // 设置完成,退出函数 + } + else + { + // 第二部分无效,跳到第三部分 + route->current_part = PLSR_PART_3; + // 继续循环处理第三部分 + } + break; + + case PLSR_PART_3: + // 第三部分:减速到0 + if(route->decel_pulse_count > 0) + { + __HAL_TIM_SetAutoreload(&htim2, route->decel_pulse_count); + route->run_state = route->part3_state; // 通常是PLSR_STATE_DECEL + route->target_freq = route->part3_target_freq; // 通常是0 + return; // 设置完成,退出函数 + } + else + { + // 第三部分无效,标记为完成 + route->current_part = PLSR_PART_COMPLETE; + // 继续循环到PLSR_PART_COMPLETE处理 + } + break; + + default: + // 无效状态,强制退出 route->current_part = PLSR_PART_COMPLETE; - __HAL_TIM_SetAutoreload(&htim2, 1); // 设置最小值避免错误 - } - break; - - case PLSR_PART_COMPLETE: - default: - // 所有部分完成或无效状态 - __HAL_TIM_SetAutoreload(&htim2, 1); // 设置最小值 - route->run_state = PLSR_STATE_CONST; - break; + break; + } } + + // 所有部分完成或无效状态 + __HAL_TIM_SetAutoreload(&htim2, 1); // 设置最小值 + route->run_state = PLSR_STATE_CONST; } /** @@ -1988,16 +2001,28 @@ void PLSR_Section_SwitchNext(PLSR_RouteConfig_t* route) } // 绝对模式下prevPulseCount保持不变,因为每段的target_pulse已经是绝对位置 // 检查下一段是否有效 - if (next_section_num-1 == 0 || next_section_num > PLSR_MAX_SECTIONS) + if(next_section_num == 0 && current_section->section_num == route->section_num) + { + // 如果是最后一段且下一段为0,结束路径 + route->route_state = PLSR_ROUTE_COMPLETED; + PLSR_Route_Stop(route); + return; + } + if (next_section_num > PLSR_MAX_SECTIONS) { // 路径结束 route->route_state = PLSR_ROUTE_COMPLETED; PLSR_Route_Stop(route); return; } - - // 切换到下一段 - route->current_section_num = next_section_num; + if(next_section_num == 0) + { + route->current_section_num = current_section->section_num + 1; + } + else + { + route->current_section_num = next_section_num; // 切换到下一段 + } route->run_state = PLSR_STATE_IDLE; // 重新开始段处理 // 更新当前频率为上一段的目标频率 @@ -2039,7 +2064,7 @@ void PLSR_Accel_Process(PLSR_RouteConfig_t* route) if (route->run_state == PLSR_STATE_ACCEL) { // 计算频率增量 = 加速度 * 时间间隔 - uint32_t freq_increment = route->accel_rate * tim6_period_ms; + uint32_t freq_increment = (uint32_t)(route->accel_rate * tim6_period_ms); // 更新当前频率 route->current_freq += freq_increment; @@ -2061,7 +2086,7 @@ void PLSR_Accel_Process(PLSR_RouteConfig_t* route) else if (route->run_state == PLSR_STATE_DECEL) { // 计算频率减量 = 减速度 * 时间间隔 - uint32_t freq_decrement = route->decel_rate * tim6_period_ms; + uint32_t freq_decrement = (uint32_t)(route->decel_rate * tim6_period_ms); // 更新当前频率 if (route->current_freq > freq_decrement) { diff --git a/PLSR/PLSR/EWARM/settings/test.1.dnx b/PLSR/PLSR/EWARM/settings/test.1.dnx index 6cc2a2c..def6f57 100644 --- a/PLSR/PLSR/EWARM/settings/test.1.dnx +++ b/PLSR/PLSR/EWARM/settings/test.1.dnx @@ -12,12 +12,12 @@ 50 + 46232557 + _ 0 _ 0 0 2 - 46232557 - 2012208745 diff --git a/PLSR/PLSR/EWARM/test.1.dep b/PLSR/PLSR/EWARM/test.1.dep index 022f4db..f6c0a3f 100644 --- a/PLSR/PLSR/EWARM/test.1.dep +++ b/PLSR/PLSR/EWARM/test.1.dep @@ -5,675 +5,675 @@ test.1 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_crc.c - $PROJ_DIR$\..\Core\Src\system_stm32f4xx.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma.c $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c $PROJ_DIR$\..\Core\Src\usart.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c + $PROJ_DIR$\startup_stm32f407xx.s + $PROJ_DIR$\..\Core\Src\stm32f4xx_it.c + $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_timebase_tim.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c + $PROJ_DIR$\..\Core\Src\tim.c $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dac.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_exti.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_i2c.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_gpio.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_pwr.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rcc.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c + $PROJ_DIR$\..\Core\Src\main.c $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_msp.c - $PROJ_DIR$\..\Core\Src\tim.c - $PROJ_DIR$\startup_stm32f407xx.s + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c + $PROJ_DIR$\..\Core\Src\gpio.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c $PROJ_DIR$\..\Core\Src\dma.c - $PROJ_DIR$\..\Core\Src\modbus_crc.c - $PROJ_DIR$\..\Core\Src\main.c - $PROJ_DIR$\..\Core\Src\modbus_log.c - $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_timebase_tim.c - $PROJ_DIR$\..\Core\Src\stm32f4xx_it.c $PROJ_DIR$\..\Core\Src\flash_save.c - $PROJ_DIR$\..\Core\Src\gpio.c - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_tim_ex.o - $TOOLKIT_DIR$\inc\c\stdint.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_i2c_ex.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_spi.o - $PROJ_DIR$\..\Core\Inc\stm32f4xx_hal_conf.h - $TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_rcc.o - $TOOLKIT_DIR$\inc\c\yvals.h - $PROJ_DIR$\..\UCOS\Source\ucos_ii.h - $PROJ_DIR$\..\Drivers\CMSIS\Include\cmsis_version.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_dma.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_crc.o + $PROJ_DIR$\..\Core\Src\modbus_log.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c + $PROJ_DIR$\..\Core\Src\modbus_crc.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c + $PROJ_DIR$\..\Core\Src\system_stm32f4xx.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c $TOOLKIT_DIR$\lib\dl7M_tlf.a - $PROJ_DIR$\..\Core\Inc\flash_save.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_usart.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_dac.o - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h - $PROJ_DIR$\..\UCOS\Config\os_cfg.h - $PROJ_DIR$\test.1\Obj\system_stm32f4xx.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_flash_ramfunc.o - $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h - $PROJ_DIR$\..\Core\Inc\tim.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_msp.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_i2c.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_crc.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_timebase_tim.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h - $PROJ_DIR$\test.1\Obj\modbus_log.o - $TOOLKIT_DIR$\inc\c\DLib_Product.h - $PROJ_DIR$\test.1\Obj\dma.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_pwr.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_i2c_ex.o + $TOOLKIT_DIR$\lib\m7M_tls.a + $TOOLKIT_DIR$\inc\c\ctype.h + $PROJ_DIR$\test.1\Obj\os_cpu_a.o + $PROJ_DIR$\test.1\Obj\os_dbg.o + $PROJ_DIR$\..\UCOS\Source\os_trace.h $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_gpio.o + $PROJ_DIR$\..\Drivers\CMSIS\Include\mpu_armv7.h $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_pwr.o - $PROJ_DIR$\..\Core\Inc\main.h - $PROJ_DIR$\test.1\Exe\test.1.out + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_i2c.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_pwr_ex.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h $TOOLKIT_DIR$\inc\c\DLib_Product_string.h - $PROJ_DIR$\test.1\Obj\usart.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_usart.o + $PROJ_DIR$\test.1\Obj\os_cpu_c.o + $TOOLKIT_DIR$\lib\shb_l.a + $PROJ_DIR$\test.1\Obj\system_stm32f4xx.o $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_dma_ex.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_tim_ex.o + $TOOLKIT_DIR$\inc\c\string.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal.o $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_uart.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h - $TOOLKIT_DIR$\lib\m7M_tls.a - $PROJ_DIR$\test.1\Exe\test.1.hex - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h - $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h - $TOOLKIT_DIR$\inc\c\stdlib.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h - $TOOLKIT_DIR$\inc\c\ctype.h - $TOOLKIT_DIR$\lib\shb_l.a - $PROJ_DIR$\..\Core\Inc\usart.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_rcc_ex.o - $PROJ_DIR$\..\UCOS\Source\os_trace.h - $PROJ_DIR$\..\UCOS\Config\app_cfg.h - $PROJ_DIR$\test.1\Obj\ucos_ii.o - $PROJ_DIR$\test.1\Obj\tim.o - $TOOLKIT_DIR$\inc\c\stdio.h - $TOOLKIT_DIR$\inc\c\stddef.h - $PROJ_DIR$\stm32f407xx_flash.icf - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rng.c - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_tim.o - $PROJ_DIR$\..\Drivers\CMSIS\Include\cmsis_compiler.h $TOOLKIT_DIR$\inc\c\ysizet.h - $PROJ_DIR$\test.1\Obj\app_hooks.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_i2c.o - $PROJ_DIR$\..\UCOS\Ports\os_cpu_a.asm - $PROJ_DIR$\test.1\Obj\startup_stm32f407xx.o - $PROJ_DIR$\..\Drivers\CMSIS\Include\cmsis_iccarm.h - $PROJ_DIR$\test.1\Obj\os_dbg.o - $PROJ_DIR$\test.1\Obj\modbus_crc.o - $PROJ_DIR$\..\UCOS\Ports\os_dbg.c - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_exti.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_exti.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_flash_ex.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_msp.o $PROJ_DIR$\..\Core\Inc\modbus_log.h - $PROJ_DIR$\..\UCOS\Config\app_hooks.c - $PROJ_DIR$\test.1\Obj\flash_save.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_spi.c - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usart.c $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h - $PROJ_DIR$\..\UCOS\Ports\os_cpu_c.c - $PROJ_DIR$\..\UCOS\Source\ucos_ii.c $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_usart.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_dma.o - $PROJ_DIR$\test.1\Obj\main.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_tim.c - $TOOLKIT_DIR$\lib\rt7M_tl.a - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_sram.o - $PROJ_DIR$\..\UCOS\Ports\os_cpu.h - $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim.h + $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cm4.h $PROJ_DIR$\test.1\List\test.1.map - $TOOLKIT_DIR$\inc\c\math.h $PROJ_DIR$\test.1\Obj\gpio.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h - $PROJ_DIR$\..\Core\Inc\modbus_crc.h - $TOOLKIT_DIR$\inc\c\stdarg.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_rng.o - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h - $TOOLKIT_DIR$\inc\c\DLib_Config_Full.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_sram.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h + $TOOLKIT_DIR$\inc\c\yvals.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h + $TOOLKIT_DIR$\inc\c\stdio.h + $PROJ_DIR$\test.1\Obj\modbus_log.o $TOOLKIT_DIR$\inc\c\ycheck.h - $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_pwr_ex.o - $PROJ_DIR$\..\Drivers\CMSIS\Include\core_cm4.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_pwr.o - $PROJ_DIR$\..\Drivers\CMSIS\Include\mpu_armv7.h - $TOOLKIT_DIR$\inc\c\string.h - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_cortex.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_flash.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_flash_ex.o - $TOOLKIT_DIR$\inc\c\DLib_float_setup.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_dac.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_dma.o + $PROJ_DIR$\test.1\Obj\tim.o $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_exti.o + $PROJ_DIR$\test.1\Obj\main.o + $PROJ_DIR$\..\UCOS\Config\app_cfg.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_flash.o + $PROJ_DIR$\test.1\Exe\test.1.out + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h + $PROJ_DIR$\test.1\Obj\dma.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h + $PROJ_DIR$\test.1\Obj\modbus_crc.o $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_gpio.o - $PROJ_DIR$\test.1\Obj\os_cpu_c.o + $PROJ_DIR$\..\Core\Inc\main.h + $TOOLKIT_DIR$\inc\c\stdarg.h + $PROJ_DIR$\..\Drivers\CMSIS\Include\cmsis_version.h + $TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h + $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h + $PROJ_DIR$\..\Core\Inc\tim.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_spi.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_tim.o + $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_crc.o + $PROJ_DIR$\..\UCOS\Source\ucos_ii.h + $PROJ_DIR$\..\Core\Inc\flash_save.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_i2c.o + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $PROJ_DIR$\test.1\Obj\app_hooks.o + $PROJ_DIR$\stm32f407xx_flash.icf $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_wwdg.o - $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_rcc.o - $PROJ_DIR$\test.1\Obj\os_cpu_a.o + $PROJ_DIR$\..\Drivers\CMSIS\Include\cmsis_iccarm.h + $TOOLKIT_DIR$\inc\c\stdint.h $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_tim.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_flash_ramfunc.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_exti.o + $PROJ_DIR$\test.1\Obj\ucos_ii.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_pwr_ex.h + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_rng.o + $PROJ_DIR$\..\Drivers\CMSIS\Include\cmsis_compiler.h + $TOOLKIT_DIR$\inc\c\DLib_Config_Full.h + $PROJ_DIR$\..\Core\Inc\modbus_crc.h + $TOOLKIT_DIR$\lib\rt7M_tl.a + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_cortex.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_timebase_tim.o + $PROJ_DIR$\test.1\Obj\flash_save.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_rcc.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_crc.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_tim_ex.h + $TOOLKIT_DIR$\inc\c\math.h + $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h + $TOOLKIT_DIR$\inc\c\stddef.h + $PROJ_DIR$\test.1\Exe\test.1.hex + $PROJ_DIR$\..\UCOS\Ports\os_cpu.h + $PROJ_DIR$\..\UCOS\Config\os_cfg.h + $TOOLKIT_DIR$\inc\c\stdlib.h $PROJ_DIR$\test.1\Obj\stm32f4xx_it.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_rcc.o + $PROJ_DIR$\test.1\Obj\stm32f4xx_ll_dma.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_gpio.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_i2c.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rng.c + $PROJ_DIR$\..\UCOS\Ports\os_cpu_a.asm + $PROJ_DIR$\..\UCOS\Source\ucos_ii.c + $TOOLKIT_DIR$\inc\c\DLib_float_setup.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_exti.c + $PROJ_DIR$\..\Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c + $PROJ_DIR$\..\UCOS\Ports\os_cpu_c.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dac.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_spi.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_pwr.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_tim.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c + $PROJ_DIR$\..\UCOS\Config\app_hooks.c + $PROJ_DIR$\..\UCOS\Ports\os_dbg.c + $PROJ_DIR$\test.1\Obj\stm32f4xx_hal_rcc_ex.o + $PROJ_DIR$\..\Core\Inc\usart.h + $PROJ_DIR$\..\Core\Inc\stm32f4xx_hal_conf.h + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_crc.c + $PROJ_DIR$\test.1\Obj\startup_stm32f407xx.o + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rcc.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usart.c + $PROJ_DIR$\test.1\Obj\usart.o - [ROOT_NODE] + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c - ILINK - 81 139 + ICCARM + 135 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c + $PROJ_DIR$\..\Core\Src\usart.c ICCARM - 162 + 168 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c ICCARM - 136 + 38 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c + $PROJ_DIR$\startup_stm32f407xx.s - ICCARM - 121 + AARM + 165 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c + $PROJ_DIR$\..\Core\Src\stm32f4xx_it.c ICCARM - 65 + 134 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c + $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_timebase_tim.c ICCARM - 54 + 121 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c ICCARM - 157 + 112 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c + $PROJ_DIR$\..\Core\Src\tim.c ICCARM - 84 + 75 + + + ICCARM + 96 88 76 163 92 44 128 148 63 109 72 68 93 117 104 90 116 108 99 37 95 77 129 55 125 69 39 137 94 42 67 45 59 83 61 114 62 126 85 162 70 52 43 32 133 91 89 118 102 58 127 146 101 80 132 131 35 + + - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_crc.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c ICCARM - 56 + 53 - $PROJ_DIR$\..\Core\Src\system_stm32f4xx.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c ICCARM - 64 + 87 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c ICCARM - 132 + 41 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c + $PROJ_DIR$\..\Core\Src\main.c ICCARM - 50 + 79 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c + $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_msp.c ICCARM - 158 + 57 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c ICCARM - 79 + 50 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c + $PROJ_DIR$\..\Core\Src\gpio.c ICCARM - 108 + 65 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c ICCARM - 164 + 74 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c ICCARM - 98 + 56 - $PROJ_DIR$\..\Core\Src\usart.c + $PROJ_DIR$\..\Core\Src\dma.c ICCARM - 83 + 84 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c + $PROJ_DIR$\..\Core\Src\flash_save.c ICCARM - 71 + 122 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c + $PROJ_DIR$\..\Core\Src\modbus_log.c ICCARM - 151 + 71 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c ICCARM - 156 + 111 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_crc.c ICCARM - 73 + 100 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c + $PROJ_DIR$\..\Core\Src\modbus_crc.c ICCARM - 43 + 86 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c ICCARM - 112 + 30 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c + $PROJ_DIR$\..\Core\Src\system_stm32f4xx.c ICCARM - 130 + 49 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dac.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c ICCARM - 60 + 120 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c_ex.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c ICCARM - 45 + 81 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_i2c.c ICCARM - 85 + 40 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_exti.c + [ROOT_NODE] - ICCARM - 119 + ILINK + 82 64 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_i2c.c + $PROJ_DIR$\test.1\Exe\test.1.out - ICCARM - 69 + ILINK + 64 + + + OBJCOPY + 130 + + + ILINK + 106 105 84 122 65 79 86 71 33 47 34 165 53 120 100 74 50 112 81 56 111 87 40 30 57 38 41 135 161 66 98 51 121 54 60 107 134 124 73 136 78 36 103 29 123 115 97 110 46 49 75 113 168 48 119 31 28 + + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_gpio.c ICCARM - 78 + 36 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_pwr.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim_ex.c ICCARM - 153 + 51 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rcc.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c ICCARM - 165 + 54 - $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dma.c ICCARM - 68 + 136 - $PROJ_DIR$\..\Core\Src\tim.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_i2c.c ICCARM - 102 + 103 - - - ICCARM - 67 80 160 48 131 142 149 92 152 44 148 51 61 147 76 53 109 115 138 154 66 74 104 110 106 161 91 90 55 46 62 150 127 70 120 86 87 146 94 97 103 155 82 95 93 49 144 143 58 122 140 159 52 100 63 137 99 - - - $PROJ_DIR$\startup_stm32f407xx.s + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rng.c - AARM - 114 + ICCARM + 115 - $PROJ_DIR$\..\Core\Src\dma.c + $PROJ_DIR$\..\UCOS\Ports\os_cpu_a.asm - ICCARM - 77 + AARM + 33 - $PROJ_DIR$\..\Core\Src\modbus_crc.c + $PROJ_DIR$\..\UCOS\Source\ucos_ii.c ICCARM - 117 + 113 - $PROJ_DIR$\..\Core\Src\main.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_exti.c ICCARM - 133 + 78 - $PROJ_DIR$\..\Core\Src\modbus_log.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_usart.c ICCARM - 75 + 60 - $PROJ_DIR$\..\Core\Src\stm32f4xx_hal_timebase_tim.c + $PROJ_DIR$\..\UCOS\Ports\os_cpu_c.c ICCARM - 72 + 47 - $PROJ_DIR$\..\Core\Src\stm32f4xx_it.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c ICCARM - 168 + 161 - $PROJ_DIR$\..\Core\Src\flash_save.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_sram.c ICCARM - 124 + 66 - $PROJ_DIR$\..\Core\Src\gpio.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_tim.c ICCARM - 141 + 98 - $PROJ_DIR$\test.1\Exe\test.1.out + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_dac.c - ILINK - 139 - - - OBJCOPY - 89 + ICCARM + 73 - - - ILINK - 105 111 77 124 141 133 117 75 166 163 116 114 73 156 71 54 84 121 157 158 65 162 112 45 68 79 151 50 98 136 108 43 72 85 130 164 168 56 60 132 119 78 69 153 165 145 47 167 59 64 102 101 83 96 135 88 57 - - - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rng.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_spi.c ICCARM - 145 + 97 - $PROJ_DIR$\..\UCOS\Ports\os_cpu_a.asm + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_pwr.c - AARM - 166 + ICCARM + 29 - $PROJ_DIR$\..\UCOS\Ports\os_dbg.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_tim.c ICCARM - 116 + 110 - $PROJ_DIR$\..\UCOS\Config\app_hooks.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_wwdg.c ICCARM - 111 + 107 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_spi.c + $PROJ_DIR$\..\UCOS\Config\app_hooks.c ICCARM - 47 + 105 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usart.c + $PROJ_DIR$\..\UCOS\Ports\os_dbg.c ICCARM - 59 + 34 - $PROJ_DIR$\..\UCOS\Ports\os_cpu_c.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_crc.c ICCARM - 163 + 124 - $PROJ_DIR$\..\UCOS\Source\ucos_ii.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_rcc.c ICCARM - 101 + 123 - $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_tim.c + $PROJ_DIR$\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_ll_usart.c ICCARM - 167 + 46 diff --git a/PLSR/PLSR/EWARM/test.1/Exe/test.1.sim b/PLSR/PLSR/EWARM/test.1/Exe/test.1.sim index 8ea1381..110ca9c 100644 Binary files a/PLSR/PLSR/EWARM/test.1/Exe/test.1.sim and b/PLSR/PLSR/EWARM/test.1/Exe/test.1.sim differ