diff --git a/app/inc/hardware.h b/app/inc/hardware.h index 8b56258..f9f14aa 100644 --- a/app/inc/hardware.h +++ b/app/inc/hardware.h @@ -1,20 +1,11 @@ #ifndef __HARDWARE_H #define __HARDWARE_H -/*接收数组大小*/ -#define MODBUS_RX_BUF_SIZE 256 -/*发送数组大小*/ -#define MODBUS_TX_BUF_SIZE 256 - -/*modbus通信波特率*/ -#define MODBUS_USART_BAUDRATE 115200 +#include"modbus.h" extern uint8_t ModbusRxBuf[MODBUS_RX_BUF_SIZE]; -extern uint16_t ModbusRxLen; extern uint8_t ModbusTxBuf[MODBUS_TX_BUF_SIZE]; -extern uint16_t ModbusTxLen; - void ModbusHardwareInit(void); diff --git a/app/main.c b/app/main.c index ab7c3bd..422ea6b 100644 --- a/app/main.c +++ b/app/main.c @@ -4,20 +4,16 @@ /*定义信号量*/ OS_EVENT* ModbusReceived; /*接收到modbus请求报文*/ - /*定义任务栈*/ static OS_STK AppTaskStartStk[APP_TASK_START_STK_SIZE]; static OS_STK AppTaskModbusParseStk[APP_TASK_MODBUS_PARSE_STK_SIZE]; - /*定义任务主体函数*/ -void AppTaskStart (void *p_arg); +static void AppTaskStart (void *p_arg); void AppTaskModbusParse (void *p_arg); - - int main() { Sys_Config(); /* stm32系统初始化配置 */ diff --git a/app/src/hardware.c b/app/src/hardware.c index ada84f8..2e5de6a 100644 --- a/app/src/hardware.c +++ b/app/src/hardware.c @@ -2,12 +2,6 @@ #include "hardware.h" -uint8_t ModbusRxBuf[MODBUS_RX_BUF_SIZE]; /*接收数组*/ -uint16_t ModbusRxLen = 0; /*接收数据长度*/ -uint8_t ModbusTxBuf[MODBUS_TX_BUF_SIZE]; /*发送数组*/ -uint16_t ModbusTxLen = 0; /*发送数据长度*/ - - void ModbusGpioInit(void) { GPIO_InitTypeDef GPIO_InitStructure; @@ -79,7 +73,7 @@ void ModbusDmaInit(void) DMA_InitStructure.DMA_PeripheralBaseAddr = (uint32_t)&(USART1->DR); /*设置DMA外设端地址为USART1数据寄存器地址*/ DMA_InitStructure.DMA_Memory0BaseAddr = (uint32_t)ModbusRxBuf; /*设置DMA存储器目标地址*/ DMA_InitStructure.DMA_DIR = DMA_DIR_MemoryToPeripheral; /*传输方向为内存->外设*/ - DMA_InitStructure.DMA_BufferSize = MODBUS_RX_BUF_SIZE; /*设置传输字节数*/ + DMA_InitStructure.DMA_BufferSize = 256; /*设置传输字节数*/ DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable; /*禁止外设地址递增*/ DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable; /*使能内存地址自增*/ DMA_InitStructure.DMA_PeripheralDataSize = DMA_PeripheralDataSize_Byte; /*设置外设数据宽度为1字节(8位)*/ diff --git a/iar/settings/uCOS_Modbus.dnx b/iar/settings/uCOS_Modbus.dnx index e605a67..eb8ac50 100644 --- a/iar/settings/uCOS_Modbus.dnx +++ b/iar/settings/uCOS_Modbus.dnx @@ -18,13 +18,13 @@ 30303031 - 0 - 0 _ 0 _ 0 + 0 + 0 - 3881723374 + 1307598136 _ 0 @@ -120,6 +120,12 @@ 1 0 + + 0 + + + 0 + _ 0 _ "" @@ -129,6 +135,10 @@ _ "" _ 0 + + 0 + 0 + 0 3 @@ -142,14 +152,4 @@ 1 - - 0 - - - 0 - - - 0 - 0 - diff --git a/iar/uCOS_Modbus.dep b/iar/uCOS_Modbus.dep index 0d09836..edfed7b 100644 --- a/iar/uCOS_Modbus.dep +++ b/iar/uCOS_Modbus.dep @@ -5,373 +5,364 @@ Debug - $PROJ_DIR$\..\cmsis\core_cmFunc.h - $PROJ_DIR$\..\app\main.c - $PROJ_DIR$\..\cmsis\core_cm4.h - $PROJ_DIR$\startup_stm32f40xx.s - $PROJ_DIR$\..\cmsis\stm32f4xx.h - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - $PROJ_DIR$\..\drivers\inc\misc.h - $PROJ_DIR$\..\app\inc\hardware.h - $PROJ_DIR$\..\cmsis\core_cm4_simd.h - $PROJ_DIR$\..\app\src\hardware.c - $PROJ_DIR$\..\app\main.h - $PROJ_DIR$\..\cmsis\core_cmInstr.h - $PROJ_DIR$\..\cmsis\system_stm32f4xx.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_iwdg.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_i2c.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_fsmc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_usart.h $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_pwr.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_gpio.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_wwdg.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_spi.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dbgmcu.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_syscfg.h + $PROJ_DIR$\..\drivers\src\misc.c $PROJ_DIR$\..\drivers\inc\stm32f4xx_can.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_gpio.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_crc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_exti.h + $PROJ_DIR$\..\drivers\inc\misc.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_hash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_pwr.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_cryp.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_adc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_flash.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_syscfg.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_usart.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_rcc.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dcmi.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_iwdg.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_sdio.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_tim.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_fsmc.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_rng.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_flash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_adc.h + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c $PROJ_DIR$\..\drivers\inc\stm32f4xx_dac.h - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\drivers\inc\stm32f4xx_dcmi.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_dma.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_exti.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_dbgmcu.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_i2c.h - $PROJ_DIR$\..\drivers\inc\stm32f4xx_hash.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_rng.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_tim.h $PROJ_DIR$\..\drivers\inc\stm32f4xx_rtc.h - $PROJ_DIR$\Debug\Obj\misc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.xcl - $PROJ_DIR$\Debug\Obj\app.__cstat.et - $PROJ_DIR$\Debug\Obj\os_q.xcl - $PROJ_DIR$\Debug\Obj\os_core.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\..\drivers\inc\stm32f4xx_sdio.h + $PROJ_DIR$\..\drivers\inc\stm32f4xx_spi.h + $PROJ_DIR$\..\cmsis\core_cm4_simd.h + $PROJ_DIR$\..\cmsis\core_cmFunc.h + $PROJ_DIR$\..\cmsis\core_cmInstr.h + $PROJ_DIR$\..\app\inc\hardware.h + $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\cmsis\stm32f4xx.h + $PROJ_DIR$\..\cmsis\system_stm32f4xx.h + $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\app\main.h + $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\cmsis\core_cm4.h + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.__cstat.et + $PROJ_DIR$\Debug\Obj\os_tmr.__cstat.et $PROJ_DIR$\Debug\Obj\sys_cfg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.o - $PROJ_DIR$\Debug\Obj\os_cpu_c.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.xcl + $PROJ_DIR$\Debug\Obj\os_mutex.__cstat.et + $PROJ_DIR$\Debug\Exe\uCOS_Modbus.bin + $PROJ_DIR$\Debug\Obj\app.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Debug\Obj\os_tmr.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.__cstat.et + $PROJ_DIR$\Debug\Obj\modbus.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.o - $PROJ_DIR$\Debug\Obj\os_dbg.xcl - $PROJ_DIR$\Debug\Obj\os_flag.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.__cstat.et - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.o $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.__cstat.et - $PROJ_DIR$\Debug\Obj\hardware.o - $PROJ_DIR$\Debug\Obj\os_cpu_a.o - $PROJ_DIR$\Debug\Obj\os_mutex.o - $PROJ_DIR$\Debug\Obj\os_task.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.o - $PROJ_DIR$\Debug\Obj\os_time.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.o - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.xcl - $PROJ_DIR$\Debug\Obj\modbus.o - $PROJ_DIR$\Debug\Obj\os_task.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.__cstat.et + $PROJ_DIR$\Debug\Obj\os_flag.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.xcl + $PROJ_DIR$\Debug\Obj\os_sem.xcl + $PROJ_DIR$\Debug\Obj\startup_stm32f40xx.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.o + $PROJ_DIR$\Debug\Obj\os_q.o + $PROJ_DIR$\Debug\Obj\os_flag.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.o $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.__cstat.et - $PROJ_DIR$\Debug\Obj\os_time.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.xcl + $PROJ_DIR$\Debug\Obj\utils.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.__cstat.et + $PROJ_DIR$\Debug\Obj\misc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.xcl + $PROJ_DIR$\Debug\Obj\main.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_can.xcl + $PROJ_DIR$\Debug\Obj\os_mbox.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.__cstat.et + $PROJ_DIR$\Debug\Obj\os_cpu_c.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.o $PROJ_DIR$\Debug\Obj\os_tmr.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.xcl - $PROJ_DIR$\Debug\Exe\uCOS_Modbus.bin - $PROJ_DIR$\Debug\Obj\main.__cstat.et - $PROJ_DIR$\Debug\Obj\os_q.o - $PROJ_DIR$\Debug\Obj\system_stm32f4xx.o + $PROJ_DIR$\Debug\Obj\hardware.__cstat.et + $PROJ_DIR$\Debug\Obj\os_task.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.o + $PROJ_DIR$\Debug\Obj\os_dbg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.o $PROJ_DIR$\Debug\Exe\uCOS_Modbus.out - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.o - $PROJ_DIR$\Debug\Obj\utils.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.__cstat.et - $PROJ_DIR$\Debug\Obj\modbus.__cstat.et $PROJ_DIR$\Debug\Obj\sys_cfg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.xcl - $PROJ_DIR$\Debug\Obj\os_q.__cstat.et - $PROJ_DIR$\Debug\Obj\os_sem.__cstat.et - $PROJ_DIR$\Debug\Obj\os_mem.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.xcl - $PROJ_DIR$\Debug\Obj\os_time.o $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.o - $PROJ_DIR$\..\app\src\app.c - $PROJ_DIR$\Debug\Obj\os_dbg.__cstat.et - $PROJ_DIR$\Debug\Obj\main.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.o - $PROJ_DIR$\Debug\Obj\modbus.xcl - $PROJ_DIR$\Debug\Obj\hardware.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.__cstat.et - $PROJ_DIR$\Debug\Obj\os_core.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.__cstat.et + $PROJ_DIR$\Debug\Obj\hardware.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.o + $PROJ_DIR$\Debug\Obj\os_time.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.__cstat.et + $PROJ_DIR$\Debug\Obj\os_sem.o + $PROJ_DIR$\Debug\List\uCOS_Modbus.map + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.xcl + $PROJ_DIR$\Debug\Obj\os_time.xcl + $PROJ_DIR$\Debug\Obj\os_cpu_a.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.xcl $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.__cstat.et $PROJ_DIR$\Debug\Obj\os_mem.o - $PROJ_DIR$\Debug\Obj\os_cpu_c.xcl - $PROJ_DIR$\Debug\Obj\os_tmr.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.o $PROJ_DIR$\Debug\Obj\hardware.xcl - $PROJ_DIR$\Debug\Obj\utils.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.o - $PROJ_DIR$\Debug\Obj\os_task.xcl - $PROJ_DIR$\Debug\Obj\main.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_usart.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_dbgmcu.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Debug\Obj\sys_cfg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.o + $PROJ_DIR$\Debug\Obj\os_dbg.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.xcl + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.xcl $PROJ_DIR$\Debug\Obj\os_mem.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.__cstat.et - $PROJ_DIR$\Debug\Obj\startup_stm32f40xx.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.xcl - $PROJ_DIR$\Debug\Obj\os_sem.xcl + $PROJ_DIR$\Debug\Obj\utils.xcl + $PROJ_DIR$\Debug\Obj\os_q.__cstat.et + $PROJ_DIR$\Debug\Obj\os_mutex.o $PROJ_DIR$\Debug\Obj\stm32f4xx_dma.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.__cstat.et - $PROJ_DIR$\Debug\Obj\os_mutex.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_can.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_tim.__cstat.et - $PROJ_DIR$\Debug\Obj\misc.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_pwr.o - $PROJ_DIR$\Debug\Obj\os_mbox.o - $PROJ_DIR$\Debug\Obj\misc.__cstat.et + $PROJ_DIR$\Debug\Obj\main.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.o - $PROJ_DIR$\Debug\Obj\os_mbox.__cstat.et - $PROJ_DIR$\Debug\Obj\os_sem.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.xcl + $TOOLKIT_DIR$\inc\c\DLib_Defaults.h $PROJ_DIR$\Debug\Obj\os_mutex.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.o - $PROJ_DIR$\Debug\Obj\os_dbg.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_fsmc.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.o - $PROJ_DIR$\Debug\Obj\os_cpu_c.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_it.xcl - $PROJ_DIR$\Debug\Obj\os_core.__cstat.et - $PROJ_DIR$\Debug\Obj\utils.xcl - $PROJ_DIR$\Debug\Obj\os_flag.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_syscfg.__cstat.et - $PROJ_DIR$\Debug\Obj\sys_cfg.__cstat.et $PROJ_DIR$\Debug\Obj\stm32f4xx_can.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.o + $PROJ_DIR$\Debug\Obj\modbus.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.__cstat.et + $TOOLKIT_DIR$\lib\m7M_tls.a + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_aes.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_rcc.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_it.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_crc.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_des.__cstat.et + $PROJ_DIR$\Debug\Obj\main.xcl + $TOOLKIT_DIR$\lib\shb_l.a + $PROJ_DIR$\Debug\Obj\os_core.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.__cstat.et + $TOOLKIT_DIR$\inc\c\stdint.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_iwdg.xcl $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.__cstat.et + $TOOLKIT_DIR$\lib\rt7M_tl.a + $TOOLKIT_DIR$\lib\dl7M_tln.a + $PROJ_DIR$\Debug\Obj\system_stm32f4xx.__cstat.et + $PROJ_DIR$\Debug\Obj\os_cpu_c.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Debug\Obj\os_core.o + $PROJ_DIR$\Debug\Obj\os_mem.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_rtc.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_dcmi.o + $PROJ_DIR$\Debug\Obj\os_mbox.o $TOOLKIT_DIR$\inc\c\ysizet.h - $TOOLKIT_DIR$\inc\c\ycheck.h - $TOOLKIT_DIR$\inc\c\iccarm_builtin.h - $TOOLKIT_DIR$\inc\c\yvals.h - $TOOLKIT_DIR$\inc\c\DLib_Defaults.h - $TOOLKIT_DIR$\inc\c\string.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\Debug\Obj\os_mbox.__cstat.et + $PROJ_DIR$\..\app\src\app.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_exti.xcl + $PROJ_DIR$\Debug\Obj\os_sem.__cstat.et + $PROJ_DIR$\Debug\Obj\utils.__cstat.et + $TOOLKIT_DIR$\inc\c\DLib_Product.h + $TOOLKIT_DIR$\config\linker\ST\stm32f407xG.icf $TOOLKIT_DIR$\inc\c\DLib_Product_string.h - $TOOLKIT_DIR$\inc\c\stdint.h + $TOOLKIT_DIR$\inc\c\yvals.h + $PROJ_DIR$\Debug\Obj\misc.o + $PROJ_DIR$\Debug\Obj\misc.xcl $TOOLKIT_DIR$\inc\c\DLib_Config_Normal.h - $TOOLKIT_DIR$\inc\c\DLib_Product.h + $TOOLKIT_DIR$\inc\c\ycheck.h $TOOLKIT_DIR$\inc\c\cmsis_iar.h - $TOOLKIT_DIR$\lib\dl7M_tln.a - $TOOLKIT_DIR$\lib\m7M_tls.a - $TOOLKIT_DIR$\lib\rt7M_tl.a - $TOOLKIT_DIR$\config\linker\ST\stm32f407xG.icf - $TOOLKIT_DIR$\lib\shb_l.a - $PROJ_DIR$\Debug\List\uCOS_Modbus.map - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.xcl - $PROJ_DIR$\..\user\stm32f4xx_it.h + $PROJ_DIR$\Debug\Obj\os_core.__cstat.et + $PROJ_DIR$\Debug\Obj\modbus.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp_tdes.o + $TOOLKIT_DIR$\inc\c\iccarm_builtin.h + $PROJ_DIR$\Debug\Obj\os_task.xcl + $TOOLKIT_DIR$\inc\c\string.h + $PROJ_DIR$\Debug\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Debug\Obj\os_dbg.o + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.o + $PROJ_DIR$\Debug\Obj\os_flag.__cstat.et + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c $PROJ_DIR$\Debug\Obj\app.xcl - $PROJ_DIR$\..\ucos_ii\source\os_mem.c - $PROJ_DIR$\..\ucos_ii\source\os_core.c - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_md5.xcl + $PROJ_DIR$\Debug\Obj\os_q.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_hash.xcl + $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.xcl + $PROJ_DIR$\Debug\Obj\os_cpu_c.__cstat.et $PROJ_DIR$\..\ucos_ii\source\os.h - $PROJ_DIR$\Debug\Obj\stm32f4xx_adc.__cstat.et - $PROJ_DIR$\Debug\Obj\stm32f4xx_rng.o - $PROJ_DIR$\Debug\Obj\stm32f4xx_flash.o - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_sdio.o $PROJ_DIR$\..\ucos_ii\source\os_q.c - $PROJ_DIR$\..\ucos_ii\source\os_sem.c - $PROJ_DIR$\..\user\os_cfg.h - $PROJ_DIR$\..\user\sys_cfg.c - $PROJ_DIR$\..\ucos_ii\source\os_task.c $PROJ_DIR$\..\user\stm32f4xx_it.c - $PROJ_DIR$\..\user\utils.c - $PROJ_DIR$\Debug\Obj\stm32f4xx_i2c.xcl - $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.__cstat.et + $PROJ_DIR$\Debug\Obj\os_task.__cstat.et + $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\user\stm32f4xx_it.h + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\user\sys_cfg.h $PROJ_DIR$\..\ucos_ii\source\os_time.c - $PROJ_DIR$\Debug\Obj\os_tmr.__cstat.et - $PROJ_DIR$\..\ucos_ii\source\os_flag.c - $PROJ_DIR$\Debug\Obj\stm32f4xx_hash_sha1.o - $PROJ_DIR$\..\ucos_ii\source\ucos_ii.h - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c $PROJ_DIR$\..\user\stm32f4xx_conf.h - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - $PROJ_DIR$\Debug\Obj\os_flag.__cstat.et + $PROJ_DIR$\Debug\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\..\ucos_ii\source\os_core.c $PROJ_DIR$\..\user\app_cfg.h - $PROJ_DIR$\Debug\Obj\os_mbox.xcl - $PROJ_DIR$\..\user\sys_cfg.h - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\ucos_ii\source\ucos_ii.h + $PROJ_DIR$\..\user\os_cfg.h + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\Debug\Obj\os_time.__cstat.et + $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\Debug\Obj\stm32f4xx_gpio.__cstat.et + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c $PROJ_DIR$\..\modbus\modbus.h $PROJ_DIR$\..\ucos_ii\ports\os_cpu.h - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c [ROOT_NODE] ILINK - 94 205 + 105 117 - $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c - ICCARM - 115 + __cstat + 145 - __cstat - 91 + ICCARM + 74 BICOMP - 137 + 87 ICCARM - 10 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 7 230 235 219 258 212 237 257 + 9 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\drivers\src\misc.c - AARM - 148 + __cstat + 80 - - - - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - ICCARM - 93 - - - __cstat - 59 + 189 BICOMP - 77 + 190 ICCARM - 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 13 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 - $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c - ICCARM - 69 + __cstat + 158 - __cstat - 118 + ICCARM + 156 BICOMP - 127 + 86 ICCARM - 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 7 + 11 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - ICCARM - 156 + __cstat + 81 - __cstat - 185 + ICCARM + 205 BICOMP @@ -381,122 +372,131 @@ ICCARM - 21 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 22 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c - ICCARM - 73 + __cstat + 196 - __cstat - 171 + ICCARM + 231 BICOMP - 78 + 60 ICCARM - 22 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 16 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - ICCARM - 188 + __cstat + 153 - __cstat - 121 + ICCARM + 98 BICOMP - 89 + 76 ICCARM - 23 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 16 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\startup_stm32f40xx.s - ICCARM - 152 + AARM + 67 + + + + $PROJ_DIR$\..\app\main.c + __cstat - 126 + 141 + + + ICCARM + 85 BICOMP - 82 + 160 ICCARM - 23 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 40 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 35 259 227 226 228 260 213 221 - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\app\src\hardware.c - ICCARM - 146 + __cstat + 96 - __cstat - 213 + ICCARM + 108 BICOMP - 169 + 128 ICCARM - 24 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 35 259 227 226 228 260 - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - ICCARM - 158 + __cstat + 170 - __cstat - 161 + ICCARM + 118 BICOMP - 44 + 135 ICCARM - 6 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 + 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 @@ -505,17 +505,17 @@ OBJCOPY - 90 + 50 ILINK - 205 + 117 ILINK - 203 69 115 158 79 120 70 176 173 57 160 123 71 92 166 80 110 88 148 146 156 73 188 152 49 76 55 130 97 151 164 215 52 172 87 142 229 102 83 95 159 139 214 112 116 175 135 122 60 167 50 93 128 204 202 201 200 + 186 108 85 189 195 173 121 171 202 64 177 126 139 70 116 97 111 95 67 205 74 156 231 98 129 197 148 89 176 140 68 172 110 61 132 146 131 113 127 157 54 94 69 100 214 112 75 123 104 224 46 118 78 161 168 150 169 @@ -524,7 +524,7 @@ __cstat - 46 + 51 BICOMP @@ -533,186 +533,186 @@ - $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - ICCARM - 123 + __cstat + 49 - __cstat - 144 + ICCARM + 139 BICOMP - 106 + 144 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c - ICCARM - 120 + __cstat + 138 - __cstat - 180 + ICCARM + 70 BICOMP - 48 + 209 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\user\stm32f4xx_it.c - ICCARM - 160 + __cstat + 101 - __cstat - 165 + ICCARM + 127 BICOMP - 236 + 155 ICCARM - 230 235 219 258 + 219 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\user\sys_cfg.c - ICCARM - 92 + __cstat + 130 - __cstat - 104 + ICCARM + 46 BICOMP - 47 + 106 ICCARM - 230 235 219 258 + 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 228 221 - $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c - ICCARM - 166 + __cstat + 180 - __cstat - 105 + ICCARM + 177 BICOMP - 150 + 88 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c - ICCARM - 50 + __cstat + 234 - __cstat - 184 + ICCARM + 111 BICOMP - 100 + 120 ICCARM - 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 219 237 + 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c - ICCARM - 80 + __cstat + 194 - __cstat - 72 + ICCARM + 173 BICOMP - 136 + 162 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - ICCARM - 83 + __cstat + 45 - __cstat - 75 + ICCARM + 95 BICOMP - 179 + 53 ICCARM - 207 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 230 235 219 258 + 227 226 228 260 @@ -720,767 +720,767 @@ $PROJ_DIR$\..\user\utils.c - ICCARM - 128 + __cstat + 184 - __cstat - 96 + ICCARM + 78 BICOMP - 181 + 137 ICCARM - 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c - ICCARM - 110 + __cstat + 217 - __cstat - 86 + ICCARM + 97 BICOMP - 74 + 199 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c - ICCARM - 57 + __cstat + 183 - __cstat - 234 + ICCARM + 116 BICOMP - 182 + 66 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c - ICCARM - 88 + __cstat + 206 - __cstat - 227 + ICCARM + 64 BICOMP - 125 + 71 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c - ICCARM - 71 + __cstat + 136 - __cstat - 155 + ICCARM + 126 BICOMP - 170 + 174 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - ICCARM - 55 + __cstat + 73 - __cstat - 119 + ICCARM + 172 BICOMP - 66 + 211 ICCARM - 36 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 21 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - ICCARM - 95 + __cstat + 59 - __cstat - 98 + ICCARM + 54 BICOMP - 107 + 102 ICCARM - 31 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 17 28 43 32 20 26 33 27 19 6 + 15 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - ICCARM - 76 + __cstat + 115 - __cstat - 187 + ICCARM + 75 BICOMP - 84 + 72 ICCARM - 23 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 7 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - ICCARM - 112 + __cstat + 63 - __cstat - 147 + ICCARM + 68 BICOMP - 108 + 182 ICCARM - 43 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 32 20 26 33 27 19 6 + 12 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\modbus\modbus.c - ICCARM - 164 + __cstat + 147 - __cstat - 145 + ICCARM + 195 BICOMP - 51 + 56 ICCARM - 39 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 227 226 228 260 213 200 178 187 259 - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - ICCARM - 215 + __cstat + 125 - __cstat - 132 + ICCARM + 110 BICOMP - 45 + 84 ICCARM - 25 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 2 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c - ICCARM - 49 + __cstat + 166 - __cstat - 68 + ICCARM + 197 BICOMP - 109 + 122 ICCARM - 23 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 16 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - ICCARM - 130 + __cstat + 55 - __cstat - 143 + ICCARM + 140 BICOMP - 103 + 77 ICCARM - 40 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 26 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - ICCARM - 172 + __cstat + 163 - __cstat - 153 + ICCARM + 100 BICOMP - 129 + 175 ICCARM - 18 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 41 31 17 28 43 32 20 26 33 27 19 6 + 29 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - ICCARM - 87 + AARM + 121 + + + + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + __cstat - 62 + 44 + + + ICCARM + 131 BICOMP - 133 + 83 ICCARM - 42 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 14 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c - ICCARM - 229 + __cstat + 92 - __cstat - 58 + ICCARM + 94 BICOMP - 206 + 154 ICCARM - 42 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 17 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - ICCARM - 214 + __cstat + 99 - __cstat - 177 + ICCARM + 202 BICOMP - 178 + 133 ICCARM - 35 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 227 226 228 260 - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - ICCARM - 116 + __cstat + 167 - __cstat - 67 + ICCARM + 69 BICOMP - 168 + 47 ICCARM - 32 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 20 26 33 27 19 6 + 27 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c - ICCARM - 52 + __cstat + 107 - __cstat - 141 + ICCARM + 104 BICOMP - 174 + 119 ICCARM - 34 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 18 41 31 17 28 43 32 20 26 33 27 19 6 + 3 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c - ICCARM - 135 + __cstat + 58 - __cstat - 183 + ICCARM + 123 BICOMP - 163 + 109 ICCARM - 26 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 33 27 19 6 + 28 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - ICCARM - 122 + __cstat + 237 - __cstat - 157 + ICCARM + 61 BICOMP - 149 + 52 ICCARM - 33 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 27 19 6 + 10 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - ICCARM - 60 + __cstat + 124 - __cstat - 111 + ICCARM + 113 BICOMP - 138 + 48 ICCARM - 27 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 19 6 + 1 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - ICCARM - 167 + __cstat + 62 - __cstat - 225 + ICCARM + 214 BICOMP - 162 + 152 ICCARM - 19 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 6 + 30 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 31 7 28 3 5 13 - $PROJ_DIR$\..\modbus\modbus.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - ICCARM - 79 + __cstat + 204 - __cstat - 99 + ICCARM + 224 BICOMP - 117 + 142 ICCARM - 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 7 230 235 219 258 212 237 194 189 195 257 + 5 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 13 - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - ICCARM - 173 + __cstat + 103 - __cstat - 114 + ICCARM + 89 BICOMP - 56 + 57 ICCARM - 230 235 219 258 + 6 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - - - AARM - 70 - - - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - ICCARM - 176 + __cstat + 212 - __cstat - 53 + ICCARM + 171 BICOMP - 124 + 91 ICCARM - 230 235 219 258 + 227 226 228 260 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c - ICCARM - 151 + __cstat + 114 - __cstat - 134 + ICCARM + 157 BICOMP - 140 + 165 ICCARM - 38 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 0 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - ICCARM - 142 + __cstat + 79 - __cstat - 85 + ICCARM + 176 BICOMP - 211 + 93 ICCARM - 42 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 25 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c - ICCARM - 97 + __cstat + 151 - __cstat - 131 + ICCARM + 112 BICOMP - 186 + 201 ICCARM - 30 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 20 26 33 27 19 6 + 31 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - ICCARM + __cstat 159 - __cstat - 54 + ICCARM + 129 BICOMP - 101 + 82 ICCARM - 17 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 28 43 32 20 26 33 27 19 6 + 16 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c - ICCARM - 102 + __cstat + 149 - __cstat - 64 + ICCARM + 146 BICOMP - 224 + 134 ICCARM - 41 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 31 17 28 43 32 20 26 33 27 19 6 + 14 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - ICCARM - 139 + __cstat + 90 - __cstat - 154 + ICCARM + 148 BICOMP - 63 + 179 ICCARM - 28 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 43 32 20 26 33 27 19 6 + 24 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c - ICCARM - 175 + __cstat + 203 - __cstat - 81 + ICCARM + 132 BICOMP - 61 + 210 ICCARM - 20 4 2 196 190 192 193 197 198 11 199 191 0 8 12 232 22 40 38 39 25 34 18 41 31 17 28 43 32 26 33 27 19 6 + 14 37 42 164 192 188 143 191 185 34 193 198 33 32 38 223 11 6 26 12 21 2 10 1 0 15 17 29 30 31 7 28 3 5 13 @@ -1488,339 +1488,339 @@ Release - $PROJ_DIR$\..\app\main.c - $PROJ_DIR$\startup_stm32f40xx.s - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c - $PROJ_DIR$\..\app\src\hardware.c $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\misc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c - $PROJ_DIR$\..\drivers\src\misc.c - $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.o - $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.xcl - $PROJ_DIR$\Release\Obj\utils.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.o - $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.o - $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.xcl - $PROJ_DIR$\Release\Obj\os_dbg.o - $PROJ_DIR$\Release\Obj\os_q.o - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.o + $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + $PROJ_DIR$\Release\Obj\stm32f4xx_tim.o + $PROJ_DIR$\Release\Obj\os_sem.o $PROJ_DIR$\Release\Obj\os_task.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dma.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.o - $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.o - $PROJ_DIR$\Release\Obj\misc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_can.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.xcl - $PROJ_DIR$\Release\Obj\os_flag.o - $PROJ_DIR$\Release\Obj\os_mem.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_adc.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_exti.xcl - $PROJ_DIR$\Release\Obj\os_mbox.o - $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.o - $PROJ_DIR$\Release\Obj\stm32f4xx_adc.o - $PROJ_DIR$\Release\Obj\os_flag.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_usart.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_exti.o - $PROJ_DIR$\Release\Obj\stm32f4xx_crc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_hash.o - $PROJ_DIR$\Release\Obj\os_mutex.xcl $PROJ_DIR$\Release\Obj\os_core.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_flash.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dma.o - $PROJ_DIR$\Release\Obj\os_time.o + $PROJ_DIR$\Release\Obj\os_mbox.o + $PROJ_DIR$\Release\Obj\stm32f4xx_exti.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_rng.o + $PROJ_DIR$\Release\Obj\main.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.o + $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.o + $PROJ_DIR$\Release\Obj\os_mem.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_tim.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_rng.xcl + $PROJ_DIR$\Release\Obj\os_mutex.xcl + $PROJ_DIR$\Release\Obj\main.o + $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.xcl + $PROJ_DIR$\Release\Obj\os_tmr.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.o + $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_usart.o + $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.o + $PROJ_DIR$\Release\Obj\os_mbox.xcl + $PROJ_DIR$\Release\Obj\system_stm32f4xx.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.o + $PROJ_DIR$\Release\Obj\os_time.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.o - $PROJ_DIR$\Release\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.o - $PROJ_DIR$\Release\Obj\startup_stm32f40xx.o - $PROJ_DIR$\Release\Obj\stm32f4xx_can.o - $PROJ_DIR$\Release\Obj\stm32f4xx_tim.o + $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_dma.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_usart.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_sdio.o + $PROJ_DIR$\Release\Obj\os_cpu_c.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_flash.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.o + $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.o + $PROJ_DIR$\Release\Obj\os_tmr.o + $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.xcl + $PROJ_DIR$\Release\Exe\uCOS_Modbus.out $PROJ_DIR$\Release\Obj\misc.o - $PROJ_DIR$\Release\Obj\os_cpu_c.o - $PROJ_DIR$\Release\Obj\os_mutex.o - $PROJ_DIR$\Release\Obj\stm32f4xx_it.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_spi.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dbgmcu.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.xcl - $PROJ_DIR$\Release\Obj\utils.o - $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.o - $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.xcl + $PROJ_DIR$\Release\Obj\os_mem.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.xcl $PROJ_DIR$\Release\Obj\hardware.o + $PROJ_DIR$\Release\Obj\stm32f4xx_rcc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_it.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dac.xcl - $PROJ_DIR$\Release\Obj\hardware.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash.xcl - $PROJ_DIR$\Release\Obj\os_task.o - $PROJ_DIR$\Release\Exe\uCOS_Modbus.out - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.xcl - $PROJ_DIR$\Release\Obj\os_tmr.o - $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.o - $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.o - $PROJ_DIR$\Release\Obj\os_sem.o - $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.xcl - $PROJ_DIR$\Release\Obj\os_cpu_c.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_spi.o - $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.o + $PROJ_DIR$\Release\Obj\os_dbg.xcl $PROJ_DIR$\Release\Obj\os_q.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rng.o - $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.xcl - $PROJ_DIR$\Release\Obj\os_sem.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash.xcl + $PROJ_DIR$\Release\Obj\os_task.o + $PROJ_DIR$\Release\Obj\stm32f4xx_fsmc.xcl $PROJ_DIR$\Release\Obj\stm32f4xx_syscfg.o - $PROJ_DIR$\Release\Obj\sys_cfg.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_hash_sha1.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_rng.xcl - $PROJ_DIR$\Release\Obj\os_mem.o - $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.o - $PROJ_DIR$\Release\Obj\sys_cfg.o - $PROJ_DIR$\Release\Obj\main.o - $PROJ_DIR$\Release\Obj\stm32f4xx_dac.o + $PROJ_DIR$\Release\Obj\os_mutex.o + $PROJ_DIR$\Release\Obj\os_dbg.o + $PROJ_DIR$\Release\Obj\utils.o + $PROJ_DIR$\Release\Obj\stm32f4xx_can.o + $PROJ_DIR$\Release\Obj\stm32f4xx_crc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_it.xcl $PROJ_DIR$\Release\Obj\os_cpu_a.o - $PROJ_DIR$\Release\Obj\stm32f4xx_tim.xcl - $PROJ_DIR$\Release\Obj\os_tmr.xcl - $PROJ_DIR$\Release\Obj\system_stm32f4xx.o - $PROJ_DIR$\Release\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Release\Obj\stm32f4xx_hash_md5.xcl $PROJ_DIR$\Release\Obj\os_core.o - $PROJ_DIR$\Release\Obj\stm32f4xx_usart.o + $PROJ_DIR$\Release\Obj\stm32f4xx_crc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_adc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dma.o + $PROJ_DIR$\Release\Obj\stm32f4xx_gpio.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_des.o + $PROJ_DIR$\Release\Obj\stm32f4xx_exti.o + $PROJ_DIR$\Release\Obj\sys_cfg.xcl + $PROJ_DIR$\Release\Obj\os_flag.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dcmi.o + $PROJ_DIR$\Release\Obj\os_flag.xcl + $PROJ_DIR$\Release\Obj\os_q.o + $PROJ_DIR$\Release\Obj\stm32f4xx_i2c.xcl $PROJ_DIR$\Release\Obj\system_stm32f4xx.xcl - $PROJ_DIR$\Release\Obj\os_time.xcl - $PROJ_DIR$\Release\Obj\stm32f4xx_iwdg.xcl - $PROJ_DIR$\Release\Obj\os_dbg.xcl - $PROJ_DIR$\Release\Obj\os_mbox.xcl - $PROJ_DIR$\Release\Obj\main.xcl - $PROJ_DIR$\..\ucos_ii\source\os_mem.c - $PROJ_DIR$\..\ucos_ii\source\os_core.c - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.o + $PROJ_DIR$\Release\Obj\stm32f4xx_flash.o + $PROJ_DIR$\Release\Obj\utils.xcl + $PROJ_DIR$\Release\Obj\sys_cfg.o + $PROJ_DIR$\Release\Obj\stm32f4xx_dac.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_spi.xcl + $PROJ_DIR$\Release\Obj\os_time.o + $PROJ_DIR$\Release\Obj\misc.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_hash.o + $PROJ_DIR$\Release\Obj\stm32f4xx_adc.xcl + $PROJ_DIR$\Release\Obj\startup_stm32f40xx.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_aes.xcl + $PROJ_DIR$\Release\Obj\os_sem.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_rtc.xcl + $PROJ_DIR$\Release\Obj\os_cpu_c.o + $PROJ_DIR$\Release\Obj\stm32f4xx_cryp_tdes.o + $PROJ_DIR$\Release\Obj\stm32f4xx_can.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_pwr.xcl + $PROJ_DIR$\Release\Obj\stm32f4xx_wwdg.xcl + $PROJ_DIR$\Release\Obj\hardware.xcl + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c $PROJ_DIR$\..\ucos_ii\source\os_q.c - $PROJ_DIR$\..\ucos_ii\source\os_sem.c - $PROJ_DIR$\..\user\sys_cfg.c - $PROJ_DIR$\..\ucos_ii\source\os_task.c $PROJ_DIR$\..\user\stm32f4xx_it.c - $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c $PROJ_DIR$\..\ucos_ii\source\os_time.c - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c $PROJ_DIR$\..\ucos_ii\source\os_tmr.c - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\user\utils.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c $PROJ_DIR$\..\ucos_ii\ports\os_cpu_c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c [ROOT_NODE] ILINK - 73 + 52 - $PROJ_DIR$\..\app\main.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c ICCARM - 96 + 72 BICOMP - 110 + 107 - $PROJ_DIR$\startup_stm32f40xx.s + $PROJ_DIR$\..\drivers\src\misc.c - AARM + ICCARM 53 + + BICOMP + 98 + - $PROJ_DIR$\..\cmsis\system_stm32f4xx.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c ICCARM - 101 + 78 BICOMP - 105 + 73 - $PROJ_DIR$\..\app\src\hardware.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c ICCARM - 67 + 79 BICOMP - 70 + 100 - $PROJ_DIR$\..\drivers\src\stm32f4xx_can.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c ICCARM - 54 + 18 BICOMP - 28 + 55 - $PROJ_DIR$\..\drivers\src\stm32f4xx_crc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c ICCARM - 42 + 48 BICOMP - 51 + 102 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp.c + $PROJ_DIR$\startup_stm32f40xx.s - ICCARM - 26 - - - BICOMP - 25 + AARM + 101 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_aes.c + $PROJ_DIR$\..\app\main.c ICCARM - 23 + 25 BICOMP - 40 + 17 - $PROJ_DIR$\..\drivers\src\stm32f4xx_adc.c + $PROJ_DIR$\..\app\src\hardware.c ICCARM - 37 + 57 BICOMP - 32 + 110 - $PROJ_DIR$\..\drivers\src\misc.c + $PROJ_DIR$\..\cmsis\system_stm32f4xx.c ICCARM - 56 + 33 BICOMP - 27 + 90 - $PROJ_DIR$\..\ucos_ii\source\os_mem.c + $PROJ_DIR$\..\ucos_ii\source\os_mutex.c ICCARM - 93 + 69 BICOMP - 31 + 24 - $PROJ_DIR$\..\ucos_ii\source\os_core.c + $PROJ_DIR$\..\ucos_ii\source\os_q.c ICCARM - 103 + 88 BICOMP - 45 + 64 - $PROJ_DIR$\..\ucos_ii\source\os_mbox.c + $PROJ_DIR$\..\user\stm32f4xx_it.c ICCARM - 34 + 60 BICOMP - 109 + 74 - $PROJ_DIR$\..\ucos_ii\source\os_q.c + $PROJ_DIR$\..\user\sys_cfg.c ICCARM - 19 + 94 BICOMP @@ -1829,54 +1829,54 @@ - $PROJ_DIR$\..\ucos_ii\source\os_sem.c + $PROJ_DIR$\..\ucos_ii\source\os_mbox.c ICCARM - 78 + 14 BICOMP - 88 + 32 - $PROJ_DIR$\..\user\sys_cfg.c + $PROJ_DIR$\..\ucos_ii\source\os_time.c ICCARM - 95 + 97 BICOMP - 90 + 35 - $PROJ_DIR$\..\ucos_ii\source\os_task.c + $PROJ_DIR$\..\ucos_ii\source\os_core.c ICCARM - 72 + 77 BICOMP - 21 + 13 - $PROJ_DIR$\..\user\stm32f4xx_it.c + $PROJ_DIR$\..\ucos_ii\source\os_tmr.c ICCARM - 68 + 50 BICOMP - 59 + 27 @@ -1885,319 +1885,319 @@ ICCARM - 64 + 71 BICOMP - 13 + 93 - $PROJ_DIR$\..\ucos_ii\source\os_time.c + $PROJ_DIR$\..\ucos_ii\source\os_task.c ICCARM - 49 + 66 BICOMP - 106 + 12 - $PROJ_DIR$\..\ucos_ii\source\os_flag.c + $PROJ_DIR$\..\ucos_ii\source\os_sem.c ICCARM - 30 + 11 BICOMP - 38 + 103 - $PROJ_DIR$\..\ucos_ii\source\os_tmr.c + $PROJ_DIR$\..\ucos_ii\source\os_flag.c ICCARM - 75 + 85 BICOMP - 100 + 87 - $PROJ_DIR$\..\ucos_ii\source\os_mutex.c + $PROJ_DIR$\..\ucos_ii\source\os_mem.c ICCARM - 58 + 54 BICOMP - 44 + 20 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c ICCARM - 97 + 92 BICOMP - 69 + 47 - $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c ICCARM - 76 + 19 BICOMP - 107 + 108 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c ICCARM - 81 + 68 BICOMP - 47 + 56 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c ICCARM - 65 + 83 BICOMP - 11 + 15 - $PROJ_DIR$\..\drivers\src\stm32f4xx_exti.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c ICCARM - 41 + 29 BICOMP - 33 + 67 - $PROJ_DIR$\..\drivers\src\stm32f4xx_flash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_tdes.c ICCARM - 102 + 106 BICOMP - 46 + 38 - $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c ICCARM - 16 + 80 BICOMP - 12 + 41 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rtc.c ICCARM - 52 + 91 BICOMP - 62 + 104 - $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c + $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm - ICCARM - 83 - - - BICOMP - 85 + AARM + 75 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c ICCARM - 43 + 28 BICOMP - 71 + 59 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_sha1.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c ICCARM - 20 + 34 BICOMP - 91 + 58 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c + $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c ICCARM - 86 + 70 BICOMP - 92 + 63 - $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_rng.c ICCARM - 36 + 16 BICOMP - 17 + 23 - $PROJ_DIR$\..\drivers\src\stm32f4xx_fsmc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c ICCARM - 24 + 30 BICOMP - 15 + 44 - $PROJ_DIR$\..\drivers\src\stm32f4xx_syscfg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c ICCARM - 89 + 10 BICOMP - 87 + 22 - $PROJ_DIR$\..\drivers\src\stm32f4xx_tim.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_gpio.c ICCARM - 55 + 81 BICOMP - 99 + 40 - $PROJ_DIR$\..\drivers\src\stm32f4xx_usart.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c ICCARM - 104 + 49 BICOMP - 39 + 89 - $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_sdio.c ICCARM - 94 + 45 BICOMP - 66 + 26 - $PROJ_DIR$\..\ucos_ii\ports\os_dbg.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_wwdg.c ICCARM - 18 + 42 BICOMP - 108 + 109 - $PROJ_DIR$\..\ucos_ii\ports\os_cpu_a.asm + $PROJ_DIR$\..\drivers\src\stm32f4xx_dbgmcu.c - AARM - 98 + ICCARM + 39 + + + BICOMP + 21 @@ -2206,102 +2206,102 @@ ICCARM - 57 + 105 BICOMP - 80 + 46 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dma.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_iwdg.c ICCARM - 48 + 31 BICOMP - 22 + 51 - $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c ICCARM - 50 + 86 BICOMP - 74 + 61 - $PROJ_DIR$\..\drivers\src\stm32f4xx_dcmi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c ICCARM - 10 + 62 BICOMP - 63 + 96 - $PROJ_DIR$\..\drivers\src\stm32f4xx_pwr.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_cryp_des.c ICCARM - 77 + 82 BICOMP - 79 + 43 - $PROJ_DIR$\..\drivers\src\stm32f4xx_i2c.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash_md5.c ICCARM - 14 + 36 BICOMP - 35 + 76 - $PROJ_DIR$\..\drivers\src\stm32f4xx_rcc.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_dac.c ICCARM - 61 + 37 BICOMP - 29 + 95 - $PROJ_DIR$\..\drivers\src\stm32f4xx_spi.c + $PROJ_DIR$\..\drivers\src\stm32f4xx_hash.c ICCARM - 82 + 99 BICOMP - 60 + 65 diff --git a/modbus/modbus.c b/modbus/modbus.c index ab49c07..148bc7e 100644 --- a/modbus/modbus.c +++ b/modbus/modbus.c @@ -1,28 +1,31 @@ #include "stm32f4xx.h" -#include "hardware.h" #include "ucos_ii.h" #include "os.h" -#include "app_cfg.h" -#include "sys_cfg.h" #include "string.h" #include "modbus.h" -extern OS_EVENT* ModbusReceived; /*接收到modbus请求报文*/ - +uint8_t ModbusErr; /*0x270F + 1 = K10000 */ uint8_t ModbusCoil[1250]; /*10000/8=1250*/ uint16_t ModbusReg[10000]; -uint8_t ModbusErr; + +uint8_t ModbusRxBuf[MODBUS_RX_BUF_SIZE]; /*接收数组*/ +uint16_t ModbusRxLen = 0; /*接收数据长度*/ +uint8_t ModbusTxBuf[MODBUS_TX_BUF_SIZE]; /*发送数组*/ +uint16_t ModbusTxLen = 0; /*发送数据长度*/ + uint8_t ModbusErrReply(uint8_t func, uint8_t err); uint16_t Crc16(const uint8_t *data, uint16_t length); void AddCrc16(uint8_t *data, uint16_t length); int8_t ChcekCrc16(uint16_t recCrc16, uint8_t *data, uint16_t length); -uint8_t ModbusReadCoil(uint16_t addres, uint16_t num); -uint8_t ModbusWriteCoil(uint16_t addres, uint16_t num, uint8_t *data); -uint8_t ModbusReadReg(uint16_t addres, uint16_t num); -uint8_t ModbusWriteReg(uint16_t addres, uint16_t num, uint8_t *data); +uint8_t ModbusReadCoils(uint16_t addres, uint16_t num); +uint8_t ModbusWriteCoils(uint16_t addres, uint16_t num, uint8_t *data); +uint8_t ModbusReadRegs(uint16_t addres, uint16_t num); +uint8_t ModbusWriteRegs(uint16_t addres, uint16_t num, uint8_t *data); +uint8_t ModbusWriteReg(uint16_t addres, uint8_t *data); +uint8_t ModbusWriteCoil(uint16_t addres, uint8_t *data); /*USART接收空闲中断*/ @@ -91,7 +94,7 @@ void ModbusSend(uint8_t *txBuf, uint16_t len) /*modbus协议帧解析任务*/ void AppTaskModbusParse (void *p_arg) { - INT8U err; + OS_ERR err; MODBUS_FRAME frame; uint16_t rxLen; uint8_t rxBuf[256]; @@ -106,10 +109,11 @@ void AppTaskModbusParse (void *p_arg) memcpy(rxBuf, ModbusRxBuf, rxLen); /*拼接crc校验码(高前低后),接收到的数据帧crc校验码是低前高后*/ - frame.crc = ((uint16_t)(rxBuf[rxLen - 1])) | ((uint16_t)rxBuf[rxLen - 2] << 8); + frame.crc = ((uint16_t)(rxBuf[rxLen - 2])) | ((uint16_t)rxBuf[rxLen - 1] << 8); if(ChcekCrc16(frame.crc, rxBuf, rxLen) != 0) { /*crc校验错误,直接丢弃*/ + ModbusErr = ERR_CRC; continue; } @@ -117,6 +121,7 @@ void AppTaskModbusParse (void *p_arg) if(frame.slaveAddres != SLAVE_ADDRES) { /*从机地址错误,直接丢弃*/ + ModbusErr = ERR_SLAVE_ADDRES; continue; } @@ -128,41 +133,38 @@ void AppTaskModbusParse (void *p_arg) switch(frame.func) { case 0x01:/*读线圈*/ - ModbusReadCoil(frame.opeAddres, frame.opeNum); + ModbusErr = ModbusReadCoils(frame.opeAddres, frame.opeNum); break; case 0x03:/*读寄存器*/ - ModbusReadReg(frame.opeAddres, frame.opeNum); + ModbusErr = ModbusReadRegs(frame.opeAddres, frame.opeNum); break; case 0x0F:/*写多个线圈*/ frame.wNum = rxBuf[6]; memcpy(frame.wData, &rxBuf[7], frame.wNum); - - ModbusWriteCoil(frame.opeAddres, frame.opeNum, frame.wData); + ModbusErr = ModbusWriteCoils(frame.opeAddres, frame.opeNum, frame.wData); break; case 0x10:/*写多个寄存器*/ frame.wNum = rxBuf[6]; memcpy(frame.wData, &rxBuf[7], frame.wNum); - - ModbusWriteReg(frame.opeAddres, frame.opeNum, frame.wData); + ModbusErr = ModbusWriteRegs(frame.opeAddres, frame.opeNum, frame.wData); break; - // case 0x05:/*写单个线圈*/ - // ModbusWriteCoil(frame.opeAddres, 1, frame.wData); - - // break; - - // case 0x06:/*写单个寄存器*/ + case 0x05:/*写单个线圈*/ + memcpy(frame.wData, &rxBuf[4], 2); + ModbusErr = ModbusWriteCoil(frame.opeAddres, frame.wData); + break; - // ModbusWriteReg(frame.opeAddres, 1, frame.wData); - // break; + case 0x06:/*写单个寄存器*/ + memcpy(frame.wData, &rxBuf[4], 2); + ModbusErr = ModbusWriteReg(frame.opeAddres, frame.wData); + break; default:/*功能码错误*/ ModbusErr = ERR_FUNC; - ModbusErrReply(frame.func, ERR_FUNC); - + ModbusErr = ModbusErrReply(frame.func, ERR_FUNC); break; } /*启动发送*/ @@ -170,7 +172,7 @@ void AppTaskModbusParse (void *p_arg) } } -uint8_t ModbusReadCoil(uint16_t addres, uint16_t num) +uint8_t ModbusReadCoils(uint16_t addres, uint16_t num) { uint16_t byteIndI; /*字节索引*/ uint8_t bitIndI; /*位索引*/ @@ -186,13 +188,11 @@ uint8_t ModbusReadCoil(uint16_t addres, uint16_t num) /*操作地址超限*/ if(addres > 0x270F || (addres + (num - 1)) > 0x270F) { - ModbusErr = ERR_OPE_ADDRES; return ModbusErrReply(0x01, ERR_OPE_ADDRES); } /*操作数量超限*/ if(num == 0 || num > 2000) { - ModbusErr = ERR_DATA; return ModbusErrReply(0x01, ERR_DATA); } @@ -229,9 +229,11 @@ uint8_t ModbusReadCoil(uint16_t addres, uint16_t num) ModbusTxBuf[2] = dataLen; /*响应帧返回数据字节数*/ AddCrc16(ModbusTxBuf, 3 + dataLen); ModbusTxLen = 5 + dataLen; + + return 0; } -uint8_t ModbusWriteCoil(uint16_t addres, uint16_t num, uint8_t *data) +uint8_t ModbusWriteCoils(uint16_t addres, uint16_t num, uint8_t *data) { uint16_t byteIndI; uint8_t bitIndI; @@ -244,13 +246,11 @@ uint8_t ModbusWriteCoil(uint16_t addres, uint16_t num, uint8_t *data) /*操作地址超限*/ if(addres > 0x270F || (addres + (num - 1)) > 0x270F) { - ModbusErr = ERR_OPE_ADDRES; return ModbusErrReply(0x0F, ERR_OPE_ADDRES); } /*操作数量超限*/ if(num == 0 || num > 1968) { - ModbusErr = ERR_DATA; return ModbusErrReply(0x0F, ERR_DATA); } @@ -267,46 +267,46 @@ uint8_t ModbusWriteCoil(uint16_t addres, uint16_t num, uint8_t *data) /*将写入值移位到要写入的位*/ writeVal = (uint8_t)1 << bitIndI; + /*对应位写入1*/ if(readVal != 0) { ModbusCoil[byteIndI] |= writeVal; } + /*对应位写入0*/ else { ModbusCoil[byteIndI] &= (~writeVal); } - - ModbusTxBuf[0] = SLAVE_ADDRES; - ModbusTxBuf[1] = 0x0F; - /*操作地址*/ - ModbusTxBuf[2] = (uint8_t)(addres >> 8); - ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); - /*成功写入的数量*/ - ModbusTxBuf[4] = (uint8_t)(num >> 8); - ModbusTxBuf[5] = (uint8_t)(num & 0x00FF); - AddCrc16(ModbusTxBuf, 6); - ModbusTxLen = 8; } + ModbusTxBuf[0] = SLAVE_ADDRES; + ModbusTxBuf[1] = 0x0F; + /*操作地址*/ + ModbusTxBuf[2] = (uint8_t)(addres >> 8); + ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); + /*成功写入的数量*/ + ModbusTxBuf[4] = (uint8_t)(num >> 8); + ModbusTxBuf[5] = (uint8_t)(num & 0x00FF); + AddCrc16(ModbusTxBuf, 6); + ModbusTxLen = 8; + + return 0; } -uint8_t ModbusReadReg(uint16_t addres, uint16_t num) +uint8_t ModbusReadRegs(uint16_t addres, uint16_t num) { uint8_t index; uint8_t readValH; uint8_t readValL; uint8_t dataLen; - /*操作地址超限*/ if(addres > 0x270F || (addres + (num - 1)) > 0x270F) { - ModbusErr = ERR_OPE_ADDRES; return ModbusErrReply(0x03, ERR_OPE_ADDRES); } /*操作数量超限*/ if(num == 0 || num > 125) { - ModbusErr = ERR_DATA; return ModbusErrReply(0x03, ERR_DATA); } @@ -326,9 +326,11 @@ uint8_t ModbusReadReg(uint16_t addres, uint16_t num) ModbusTxBuf[2] = dataLen; AddCrc16(ModbusTxBuf, 3 + dataLen); ModbusTxLen = 5 + dataLen; + + return 0; } -uint8_t ModbusWriteReg(uint16_t addres, uint16_t num, uint8_t *data) +uint8_t ModbusWriteRegs(uint16_t addres, uint16_t num, uint8_t *data) { uint8_t index; @@ -339,17 +341,14 @@ uint8_t ModbusWriteReg(uint16_t addres, uint16_t num, uint8_t *data) /*操作地址超限*/ if(addres > 0x270F || (addres + (num - 1)) > 0x270F) { - ModbusErr = ERR_OPE_ADDRES; return ModbusErrReply(0x10, ERR_OPE_ADDRES); } /*操作数量超限*/ if(num == 0 || num > 123) { - ModbusErr = ERR_DATA; return ModbusErrReply(0x10, ERR_DATA); } - for(uint16_t i = 0; i < num; i++) { index = i * 2; @@ -372,9 +371,95 @@ uint8_t ModbusWriteReg(uint16_t addres, uint16_t num, uint8_t *data) ModbusTxBuf[5] = (uint8_t)(num & 0x00FF); AddCrc16(ModbusTxBuf, 6); ModbusTxLen = 8; + + return 0; +} + +uint8_t ModbusWriteCoil(uint16_t addres, uint8_t *data) +{ + uint16_t byteIndI; + uint8_t bitIndI; + + uint16_t readVal; + uint8_t writeVal; + + /*操作地址超限*/ + if(addres > 0x270F) + { + return ModbusErrReply(0x0F, ERR_OPE_ADDRES); + } + + byteIndI = addres / 8; + bitIndI = addres % 8; + /*位掩码读取要写入的值*/ + readVal = ((uint16_t)data[0] << 8) | ((uint16_t)data[1] & 0x00FF); + /*将写入值移位到要写入的位*/ + writeVal = (uint8_t)1 << bitIndI; + + /*置on*/ + if(readVal == 0xFF00) + { + ModbusCoil[byteIndI] |= writeVal; + } + /*置off*/ + else if(readVal == 0x0000) + { + ModbusCoil[byteIndI] &= (~writeVal); + } + else + { + return ModbusErrReply(0x05, ERR_DATA); + } + + ModbusTxBuf[0] = SLAVE_ADDRES; + ModbusTxBuf[1] = 0x0F; + /*操作地址*/ + ModbusTxBuf[2] = (uint8_t)(addres >> 8); + ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); + /*成功写入*/ + ModbusTxBuf[4] = data[0]; + ModbusTxBuf[5] = data[1]; + AddCrc16(ModbusTxBuf, 6); + ModbusTxLen = 8; + + return 0; } +uint8_t ModbusWriteReg(uint16_t addres, uint8_t *data) +{ + uint8_t writeValH; + uint8_t writeValL; + uint16_t writeVal; + + /*操作地址超限*/ + if(addres > 0x270F) + { + return ModbusErrReply(0x10, ERR_OPE_ADDRES); + } + + writeValH = data[0]; + writeValL = data[1]; + /*将要写入两个8位值拼接为16位*/ + writeVal = ((uint16_t)writeValH << 8) | ((uint16_t)writeValL & 0x00FF); + ModbusReg[addres] = writeVal; + + ModbusTxBuf[0] = SLAVE_ADDRES; + ModbusTxBuf[1] = 0x10; + /*操作地址*/ + ModbusTxBuf[2] = (uint8_t)(addres >> 8); + ModbusTxBuf[3] = (uint8_t)(addres & 0x00FF); + /*成功写入*/ + ModbusTxBuf[4] = writeValH; + ModbusTxBuf[5] = writeValL; + AddCrc16(ModbusTxBuf, 6); + ModbusTxLen = 8; + + return 0; +} + + + uint8_t ModbusErrReply(uint8_t func, uint8_t err) { ModbusTxBuf[0] = SLAVE_ADDRES; diff --git a/modbus/modbus.h b/modbus/modbus.h index 67c16c3..7bb8d0d 100644 --- a/modbus/modbus.h +++ b/modbus/modbus.h @@ -3,13 +3,28 @@ #include "ucos_ii.h" + +/*接收数组大小*/ +#define MODBUS_RX_BUF_SIZE 256 +/*发送数组大小*/ +#define MODBUS_TX_BUF_SIZE 256 + +/*modbus通信波特率*/ +#define MODBUS_USART_BAUDRATE 115200 + +/*从机地址*/ #define SLAVE_ADDRES 0x01 +/*错误码*/ #define ERR_FUNC 0x01 #define ERR_OPE_ADDRES 0x02 #define ERR_DATA 0x03 #define ERR_SLAVE 0x04 +#define ERR_CRC 0x1F +#define ERR_SLAVE_ADDRES 0x2F + +/*modbus帧结构*/ typedef struct Modbus_Frame { uint8_t slaveAddres; /*从机地址*/ @@ -17,14 +32,15 @@ typedef struct Modbus_Frame uint16_t opeAddres; /*操作地址*/ uint16_t opeNum; /*操作数量*/ uint8_t wNum; /*写入字节数*/ - uint8_t wData[256]; /*写入数据*/ + uint8_t wData[256]; /*写入数据*/ uint16_t crc; /*CRC校验码*/ }MODBUS_FRAME; + +/*接收到数据帧信号量*/ extern OS_EVENT *ModbusReceived; -void AppTaskModbusParse(void *p_arg); -void AppTaskModbusSend(void *p_arg); + #endif