Переглянути джерело

Работаю над тестированием

unknown 7 місяців тому
батько
коміт
08325bda3d

+ 27 - 9
fw/modules/io/digital_input.c

@@ -14,8 +14,8 @@
 din_t d_inputs[DI_NUMBER] = {
     {GPIOB, GPIO_PINS_11, 0, 0, 0, false, false}, // 1   
     {GPIOB, GPIO_PINS_10, 0, 0, 0, false, false}, // 2
-    {GPIOE, GPIO_PINS_14, 0, 0, 0, false, false}, // 3 перенесли {GPIOB, GPIO_PINS_1,  1, GPIO_PORT_SOURCE_GPIOB, GPIO_PINS_SOURCE1,  0},
-    {GPIOE, GPIO_PINS_15, 0, 0, 0, false, false}, // 4 перенесли {GPIOB, GPIO_PINS_0,  1, GPIO_PORT_SOURCE_GPIOB, GPIO_PINS_SOURCE0,  0},
+    {GPIOB, GPIO_PINS_1,  0, 0, 0, false, false}, // 3 перенесли {GPIOB, GPIO_PINS_1,  1, GPIO_PORT_SOURCE_GPIOB, GPIO_PINS_SOURCE1,  0},
+    {GPIOB, GPIO_PINS_0,  0, 0, 0, false, false}, // 4 перенесли {GPIOB, GPIO_PINS_0,  1, GPIO_PORT_SOURCE_GPIOB, GPIO_PINS_SOURCE0,  0},
     {GPIOA, GPIO_PINS_3,  0, 0, 0, false, false}, // 5
     {GPIOA, GPIO_PINS_2,  0, 0, 0, false, false}, // 6
     {GPIOA, GPIO_PINS_1,  0, 0, 0, false, false}, // 7
@@ -257,8 +257,9 @@ void di_task(void *params)
 {
     uint8_t out_state = 0; // текущее состояние выхода (для определения аварий)
     uint8_t out_value = 0; // текущее значение на выходе (для определения аварий)
+    uint8_t led_index = 0;
     flag_status in_err_state = RESET; // текущее состояние на датчике аварий (значение на пине)
-    
+        
     for (;;)
     {
         // Дискретные входы
@@ -295,6 +296,11 @@ void di_task(void *params)
                 out_value = settings.dout[i].value;
             }
              
+            if (i < 4)
+                led_index = i + 12;
+            else
+                led_index = i - 4 + 20;
+            
             // Текущее состояние пина аварий
             in_err_state = gpio_input_data_bit_read(di_load[i].port, di_load[i].pin);
             
@@ -302,24 +308,36 @@ void di_task(void *params)
             // то обновляем слово состояний датчиков обрыва нагрузки
             if (out_value == 0)
             {
-                if (out_state == 0)
+                if (out_state == 0) {
                     di_load_state_bit &= ~(1 << i);
-                else if (in_err_state == RESET)
+                    leds[led_index].state = LED_OFF;    
+                }
+                else if (in_err_state == RESET) {
                     di_load_state_bit &= ~(1 << i);
-                else 
+                    leds[led_index].state = LED_OFF;
+                }
+                else {
+                    leds[led_index].state = LED_ON;
                     di_load_state_bit |= 1 << i;
+                }    
             }
               
             // Если выход замкнут (соответствующий бит в 1),
             // то обновляем слово состояний неисправности выходов
             else
             {
-                if (out_state == 0)
+                if (out_state == 0) {
                     di_output_state_bit &= ~(1 << i);
-                if (in_err_state == RESET)
+                    leds[led_index].state = LED_OFF;
+                }
+                if (in_err_state == RESET) {
                     di_output_state_bit |= 1 << i;
-                else
+                    leds[led_index].state = LED_ON;
+                }
+                else {
                     di_output_state_bit &= ~(1 << i);
+                    leds[led_index].state = LED_OFF;
+                }
             }
         }
         vTaskDelay(100);

+ 18 - 4
fw/modules/io/digital_output.c

@@ -166,8 +166,10 @@ void do_set_common(void)
 void do_update(do_t *out, uint8_t i)
 {
     // Если выход выключен - ничего не меняем
-    //if (!out->state)
-    //    return;
+    if (!out->state)
+        return;
+  
+    uint8_t led_index = 0;
   
     // Режим ШИМ
     if (out->mode) {
@@ -177,6 +179,16 @@ void do_update(do_t *out, uint8_t i)
     else {
         outputs[i].mode = 0;
         do_set_out(&outputs[i], out->value);
+        
+        if (i < 4)
+            led_index = i + 8;
+        else
+            led_index = i - 4 + 24;
+          
+        if (out->value == 1)
+            leds[led_index].state = LED_ON;
+        else
+            leds[led_index].state = LED_OFF;
     }
 }
 
@@ -203,10 +215,12 @@ void do_set_pwm(uint16_t period, uint16_t duty, uint8_t index)
 // Дергает пином.
 void do_set_out(out_t *out, uint8_t val)
 {
-    if (val)
+    if (val) {
         gpio_bits_set(out->port, out->pin);
-    else
+    }    
+    else {
         gpio_bits_reset(out->port, out->pin);
+    }
 }
 
 


+ 576 - 577
project/ewarm/iap/iap.dep

@@ -5,1657 +5,1656 @@
     <configuration>
         <name>Debug</name>
         <outputs>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_adc.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</file>
             <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_adc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\FreeRTOSConfig.h</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\main.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\at32f403a_407.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\at32f403a_407.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\FreeRTOSConfig.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mux.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_sdio.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dma.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_adc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\fr_timers.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\sys_api.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dma.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_crc.h</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_debug.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\tim_delay.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\queue.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\list.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mb.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dac.h</file>
-            <file>$PROJ_DIR$\Debug\Exe\iap.out</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_exint.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usart.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_can.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\sys_hal.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\portserial.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\utility.o</file>
-            <file>$TOOLKIT_DIR$\lib\shb_l.a</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_exint.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\extended_sram.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_i2c.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_xmc.h</file>
-            <file>$PROJ_DIR$\Debug\List\iap.map</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_bpr.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_gpio.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_flash.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wwdt.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_exint.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\mpu_armv7.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_iccarm.h</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_acc.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_tmr.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_def.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus_params.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mux.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.o</file>
-            <file>$TOOLKIT_DIR$\lib\m7M_tls.a</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wdt.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_rtc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbrtu.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.h</file>
-            <file>$PROJ_DIR$\AT32F403AxG.icf</file>
-            <file>$PROJ_DIR$\Debug\Obj\utility.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\porttimer.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.o</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.h</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\semphr.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\tim_delay.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dac.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\intrinsics.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\croutine.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.h</file>
-            <file>$TOOLKIT_DIR$\lib\dl7M_tlf.a</file>
-            <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\list.h</file>
-            <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncother.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\rtc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncother.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\startup_at32f403a_407.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbascii.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus_params.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\extended_sram.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\portevent.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\common_gpio.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_pwc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\iap.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\event_groups.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\portother.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\sys_api.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\modbus.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\utility.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\core_cm4.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\wdt.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dma.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\queue.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.o</file>
             <file>$PROJ_DIR$\Debug\Obj\mbcrc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\event_groups.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dac.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\tasks.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\wdt.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\heap_4.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\semphr.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\queue.xcl</file>
             <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\core_cm4.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\usart.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\event_groups.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_rtc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usart.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\porttimer.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_tmr.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\heap_4.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\tasks.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\usart.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dac.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_def.h</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\utility.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbascii.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_crm.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_tmr.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbutils.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\porttimer.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\deprecated_definitions.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncholding.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_pwc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\portasm.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\main.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\heap_4.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\iar_intrinsics_common.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbcrc.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\sys_hal.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_gpio.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.h</file>
             <file>$PROJ_DIR$\..\..\..\shared\wdt\wdt.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbutils.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\string.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\settings_api.o</file>
             <file>$PROJ_DIR$\Debug\Obj\port.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbascii.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\wdt.o</file>
             <file>$PROJ_DIR$\Debug\Obj\mbutils.o</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\deprecated_definitions.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbcrc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\iar_intrinsics_common.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\wdt.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\heap_4.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\FreeRTOS.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\mpu_wrappers.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_tmr.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\main.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\string.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncfile.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\portasm.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\settings_api.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\StackMacros.h</file>
             <file>$PROJ_DIR$\..\..\..\output\iap.bin</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.o</file>
             <file>$PROJ_DIR$\Debug\Obj\fr_timers.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\iap.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\portother.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_rtc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\port.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\list.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\tasks.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\rtc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.o</file>
             <file>$PROJ_DIR$\Debug\Obj\portevent.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.o</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_acc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbrtu.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\tasks.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\queue.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\portable.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_emac.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_acc.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_misc.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\StackMacros.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_pwc.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usb.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\list.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.xcl</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\fr_timers.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_emac.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\rtc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\mpu_wrappers.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\queue.h</file>
             <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\portother.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_gpio.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\event_groups.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_pwc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_board.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\port.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbrtu.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crm.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_stdlib.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_compiler.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\common_gpio.xcl</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_spi.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\mb.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\settings_api.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\portserial.o</file>
-            <file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\croutine.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.o</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\common_gpio.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</file>
-            <file>$PROJ_DIR$\..\..\..\iap\modules\io\io.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\croutine.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\event_groups.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\portable.h</file>
             <file>$PROJ_DIR$\..\..\..\iap\user\main.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_clock.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\iap.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_spi.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mb.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\projdefs.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\settings_api.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_gpio.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usb.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\peripherals\inc\common_gpio.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\common_gpio.xcl</file>
             <file>$TOOLKIT_DIR$\inc\c\stdio.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_i2c.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\croutine.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\stdlib.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Full.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\task.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\projdefs.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\croutine.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\iap.pbd</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_version.h</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\io\io.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_misc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_emac.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\queue.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_flash.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\sys_hal.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\tim_delay.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_exint.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dac.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_exint.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_i2c.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_usart.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\extended_sram.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_debug.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_can.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mb.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_bpr.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_sdio.o</file>
+            <file>$PROJ_DIR$\Debug\Exe\iap.out</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_sdio.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_debug.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_xmc.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_dma.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus.o</file>
             <file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_crc.h</file>
+            <file>$TOOLKIT_DIR$\lib\shb_l.a</file>
+            <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_xmc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdiag.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\utility.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\sys_api.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\system_at32f403a_407.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\fr_timers.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_gpio.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\list.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\portserial.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_can.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\io\mux.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_crc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mux.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_adc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_dma.xcl</file>
+            <file>$PROJ_DIR$\Debug\List\iap.map</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbframe.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mb.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\model\model_cfg.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbport.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portevent.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\utils\utility.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_version.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Full.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbproto.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\board\common.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\port.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_conf.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbframe.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\board\common_config.h</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mb.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbfunc.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portmacro.h</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</file>
-            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</file>
             <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbconfig.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\board\common_config.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbproto.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portmacro.h</file>
             <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</file>
-            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\include\mbport.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_conf.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.h</file>
+            <file>$TOOLKIT_DIR$\lib\m7M_tls.a</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_bpr.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\cmsis_iccarm.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mux.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_misc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_spi.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_pwc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\utility.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\core_support\mpu_armv7.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus_params.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\tim_delay.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_usb.o</file>
+            <file>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\event_groups.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbrtu.o</file>
+            <file>$PROJ_DIR$\AT32F403AxG.icf</file>
+            <file>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\include\list.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wdt.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_exint.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_rtc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\croutine.o</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_acc.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfunccoils.xcl</file>
+            <file>$TOOLKIT_DIR$\lib\rt7M_tl.a</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_tmr.h</file>
+            <file>$PROJ_DIR$\..\..\..\libs\artery\drivers\inc\at32f403a_407_wwdt.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\FreeRTOS-openocd.o</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.h</file>
+            <file>$TOOLKIT_DIR$\lib\dl7M_tlf.a</file>
+            <file>$PROJ_DIR$\Debug\Obj\rtc.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_int.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wdt.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\extended_sram.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\utility.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</file>
+            <file>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\sys_api.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbascii.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_adc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus.xcl</file>
+            <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\startup_at32f403a_407.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\intrinsics.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\modbus_params.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.h</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_wwdt.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\portevent.xcl</file>
+            <file>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncother.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\iap.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\common_gpio.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\portother.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncother.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncinput.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\mbfuncdisc.o</file>
+            <file>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\at32f403a_407_flash.o</file>
         </outputs>
         <file>
             <name>[ROOT_NODE]</name>
             <outputs>
                 <tool>
                     <name>ILINK</name>
-                    <file> 60 76</file>
+                    <file> 160 187</file>
                 </tool>
             </outputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_adc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 92</file>
+                    <file> 73</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 38</file>
+                    <file> 293</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 49 257 202 211 115 36 267 222 198 305 114 201 204 265 122</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\io\mux.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 193</file>
+                    <file> 255</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 249</file>
+                    <file> 183</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 180 257 171 202 211 115 36 267 222 198 305 114 201 204 109 221 50 302 289 265 122 314 285 298 288 191 151 251 227 264</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 181 126 72 95 295 3 125 117 54 233 297 61 102 138 269</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 140</file>
+                    <file> 166</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 209</file>
+                    <file> 294</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 106 180 257 171 202 211 115 36 267 222 198 305 114 201 204 109 221 50 302 289 265 122 314 285 298 234 141 81 273 264 191 151</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 218 265 28 195 207 72 95 295 3 125 117 54 233 297 61 102 138 269 201 219 126 152 217 66 41 26 103 184 45 131 101 133 76 40</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\user\main.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 131</file>
+                    <file> 75</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 91</file>
+                    <file> 79</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 163 302 289 202 211 115 36 267 222 198 305 114 201 204 265 122 314 285 108 257 191 151</file>
+                    <file> 118 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 19 133 295 111 218 72 95 3 125 117 54 233 297 61 102 138 269 103 26 265 131 126 66 41 184 195 207 201 219 181 76 40</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 135</file>
+                    <file> 175</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 78</file>
+                    <file> 128</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 120 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 80</file>
+                    <file> 93</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 145</file>
+                    <file> 99</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 298 108 163 302 289 202 211 115 36 267 222 198 305 114 201 204 265 122 314 285 257 81 262 180 171 109 221 50 106 256 234 264 191 151</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 216</file>
+                    <file> 253</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 239</file>
+                    <file> 104</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\modbus\modbus_params.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 61</file>
+                    <file> 298</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 71</file>
+                    <file> 262</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 28 195 207 72 95 295 3 125 117 54 233 297 61 102 138 269 201 219 265 126 76 40</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</name>
+            <outputs>
+                <tool>
+                    <name>AARM</name>
+                    <file> 296</file>
+                </tool>
+            </outputs>
+        </file>
+        <file>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 146</file>
+                    <file> 89</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 244</file>
+                    <file> 180</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_can.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 233</file>
+                    <file> 23</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 44</file>
+                    <file> 182</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\user\at32f403a_407_int.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 168</file>
+                    <file> 284</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 156</file>
+                    <file> 188</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 303 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\iap\iap.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 127</file>
+                    <file> 305</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 150</file>
+                    <file> 120</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 45 66 126 41 72 95 295 3 125 117 54 233 297 61 102 26 103 184 195 207 138 269 201 219 218 101 266 152 198 133 76 40</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_adc.c</name>
+            <name>$PROJ_DIR$\..\..\..\iap\modules\settings\settings_api.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 208</file>
+                    <file> 80</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 144</file>
+                    <file> 127</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 66 126 41 72 95 295 3 125 117 54 233 297 61 102 26 103 184 195 207 138 269 201 219 218 205 76 40 136 112 133</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</name>
+            <name>$PROJ_DIR$\Debug\Exe\iap.out</name>
             <outputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 177</file>
+                    <name>OBJCOPY</name>
+                    <file> 82</file>
                 </tool>
                 <tool>
-                    <name>BICOMP</name>
-                    <file> 174</file>
+                    <name>ILINK</name>
+                    <file> 187</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <name>ILINK</name>
+                    <file> 268 93 73 46 253 89 119 23 110 25 58 18 91 147 313 65 30 284 256 57 86 159 257 74 29 264 285 97 51 306 273 116 154 83 280 59 305 178 75 123 292 22 124 122 311 21 39 310 309 267 69 166 298 255 107 78 92 308 114 36 143 283 80 296 174 64 175 38 263 173 70 169 277 252 282</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 165</file>
+                    <file> 22</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 37</file>
+                    <file> 63</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 207 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 295 3 125 117 54 233 297 61 102 138 269</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 52</file>
+                    <file> 69</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 190</file>
+                    <file> 50</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 133</file>
+                    <file> 123</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 46</file>
+                    <file> 157</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 216 189 214 152</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 186</file>
+                    <file> 267</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 43</file>
+                    <file> 108</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 152 189 251</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 253</file>
+                    <file> 306</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 220</file>
+                    <file> 132</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 261 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 131 126 72 95 295 3 125 117 54 233 297 61 102 138 269 140</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\iap\user\main.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 183</file>
+                    <file> 122</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 226</file>
+                    <file> 172</file>
                 </tool>
             </outputs>
-            <inputs>
-                <tool>
-                    <name>ICCARM</name>
-                    <file> 260 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 107 264 115 261 298 202 211 36 267 222 198 305 114 201 204 265 122 221 109 108 256 257 180 171 50 302 289 314 285 49 191 151</file>
-                </tool>
-            </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 97</file>
+                    <file> 311</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 70</file>
+                    <file> 32</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 189 216</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 210</file>
+                    <file> 124</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 134</file>
+                    <file> 276</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 189 216</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 154</file>
+                    <file> 143</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 111</file>
+                    <file> 27</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 72 95 62 3 125 117 54 233 297 170 61 102 138 269 103</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 200</file>
+                    <file> 38</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 64</file>
+                    <file> 88</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 72 95 62 3 125 117 54 233 297 170 61 102 138 269 101 81 133</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portevent.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 212</file>
+                    <file> 92</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 173</file>
+                    <file> 302</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 72 95 98 60 43 137 167 295 62 3 125 117 54 233 297 170 61 102 138 269 103 195 207 6 16 139 113 254 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 201 219</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 206</file>
+                    <file> 21</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 63</file>
+                    <file> 77</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 189 216 133</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 121</file>
+                    <file> 310</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 235</file>
+                    <file> 100</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 189 216</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 149</file>
+                    <file> 114</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 40</file>
+                    <file> 179</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 19 133 295 72 95 3 125 117 54 233 297 61 102 138 269 195 207 201 219 217 126 181 136 112</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\cmsis\cm4\device_support\startup\iar\startup_at32f403a_407.s</name>
-            <outputs>
-                <tool>
-                    <name>AARM</name>
-                    <file> 128</file>
-                </tool>
-            </outputs>
-        </file>
-        <file>
-            <name>$PROJ_DIR$\..\..\..\iap\user\system_at32f403a_407.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 53</file>
+                    <file> 36</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 214</file>
+                    <file> 53</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 295 3 125 117 54 233 297 61 102 138 269 207 195 201 219 181 126</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 185</file>
+                    <file> 309</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 241</file>
+                    <file> 304</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 189 216</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 99</file>
+                    <file> 263</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 192</file>
+                    <file> 146</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 217 126 181</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_bpr.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 98</file>
+                    <file> 308</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 238</file>
+                    <file> 84</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 72 95 62 3 125 117 54 233 297 170 61 102 138 269 26 103 195 207 6 16 139 113 254 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 201 219</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 181</file>
+                    <file> 292</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 138</file>
+                    <file> 48</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 216 261 189 251</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_acc.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 217</file>
+                    <file> 39</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 223</file>
+                    <file> 56</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 293 176 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 136 98 60 43 137 167 295 112 76 40 207 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 72 95 3 125 117 54 233 297 61 102 138 269 195 201 219 189 216</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\Debug\Exe\iap.out</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_sdio.c</name>
             <outputs>
                 <tool>
-                    <name>ILINK</name>
-                    <file> 76</file>
+                    <name>ICCARM</name>
+                    <file> 159</file>
                 </tool>
                 <tool>
-                    <name>OBJCOPY</name>
-                    <file> 205</file>
+                    <name>BICOMP</name>
+                    <file> 52</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>ILINK</name>
-                    <file> 102 217 208 159 98 233 253 165 216 154 200 149 206 61 121 185 146 135 99 181 212 52 133 177 168 97 127 210 186 137 116 243 72 207 93 175 140 57 183 248 130 153 242 230 139 167 105 117 124 100 197 80 131 92 213 182 215 142 250 104 56 125 193 128 45 184 53 157 110 68 196 69 123 94 119</file>
+                    <name>ICCARM</name>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usart.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 184</file>
+                    <file> 29</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 66</file>
+                    <file> 35</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 178 187 158 170 284 270 118 50 257 298 27 169 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 288 264 115</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_usb.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 72</file>
+                    <file> 264</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 132</file>
+                    <file> 153</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 101 273 257</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_debug.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 196</file>
+                    <file> 58</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 160</file>
+                    <file> 155</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 188</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_pwc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 45</file>
+                    <file> 57</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 143</file>
+                    <file> 258</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 178 187 158 170 284 270 50 257 118 180 27 169 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 171 202 211 115 36 267 222 198 305 114 201 204 109 221 302 289 265 122 314 285 298 288 164 191 151 264</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portother.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wwdt.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 142</file>
+                    <file> 97</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 240</file>
+                    <file> 301</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 202 211 178 36 267 222 198 305 114 74 201 204 265 122 109 221 302 289 27 169 283 245 86 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 314 285</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\peripherals\src\common_gpio.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_emac.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 137</file>
+                    <file> 91</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 246</file>
+                    <file> 142</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 256 257 202 211 115 36 267 222 198 305 114 201 204 265 122 259</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\porttimer.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_wdt.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 104</file>
+                    <file> 285</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 179</file>
+                    <file> 31</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 115 36 267 222 198 305 114 201 204 265 122 289 302 314 285 49 257</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\mb.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 248</file>
+                    <file> 107</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 58</file>
+                    <file> 68</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 311 294 303 81</file>
+                    <file> 297 170 60 43 137 167 61 72 95 98 295 62 3 125 117 54 233 102 138 269</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\tim_delay.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_xmc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 110</file>
+                    <file> 51</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 54</file>
+                    <file> 164</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 262 257 49</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portevent.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 215</file>
+                    <file> 59</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 136</file>
+                    <file> 71</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 202 211 187 158 170 284 270 115 178 36 267 222 198 305 114 74 201 204 265 122 221 302 289 27 169 283 245 86 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 314 285</file>
+                    <file> 136 98 60 43 137 167 295 112 72 95 62 3 125 117 54 233 297 170 61 102 138 269</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\port\portserial.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_spi.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 250</file>
+                    <file> 257</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 67</file>
+                    <file> 163</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 107 264 115 202 211 36 267 222 198 305 114 201 204 265 122 302 289 314 285 262 257 49 251 227</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_i2c.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 159</file>
+                    <file> 30</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 231</file>
+                    <file> 134</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 107 264 187 158 170 284 270 115 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbcrc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 153</file>
+                    <file> 116</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 199</file>
+                    <file> 24</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 289 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 115 36 267 222 198 305 114 201 204 265 122</file>
+                    <file> 136 98 60 43 137 167 295 112 72 95 62 3 125 117 54 233 297 170 61 102 138 269 101 266</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\rtu\mbrtu.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 100</file>
+                    <file> 83</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 218</file>
+                    <file> 176</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 81 294 129</file>
+                    <file> 136 98 60 43 137 167 295 112 72 95 62 3 125 117 54 233 297 170 61 102 138 269 103 101</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_crm.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 125</file>
+                    <file> 110</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 237</file>
+                    <file> 96</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 164 27 169 178 187 158 170 284 270 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 180 257 171 202 211 115 36 267 222 198 305 114 201 204 109 221 50 302 289 265 122 314 285 298 191 151 264</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\utils\utility.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dac.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 68</file>
+                    <file> 25</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 103</file>
+                    <file> 42</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 202 211 187 158 170 284 270 115 178 36 267 222 198 305 114 74 201 204 265 122 221 109 147 120 27 169 283 245 86 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 264 191 151</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\fr_timers.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_rtc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 207</file>
+                    <file> 86</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 42</file>
+                    <file> 33</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 202 211 178 36 267 222 198 305 114 74 201 204 265 122 221 234</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_misc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 57</file>
+                    <file> 256</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 232</file>
+                    <file> 55</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 202 211 178 36 267 222 198 305 114 74 201 204 122</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\memmang\heap_4.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</name>
             <outputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 175</file>
-                </tool>
-                <tool>
-                    <name>BICOMP</name>
-                    <file> 161</file>
+                    <name>AARM</name>
+                    <file> 78</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 202 211 178 36 267 222 198 305 114 74 201 204 265 122</file>
+                    <name>AARM</name>
+                    <file> 3</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdisc.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_gpio.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 139</file>
+                    <file> 65</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 162</file>
+                    <file> 129</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 294 311</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncother.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_tmr.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 124</file>
+                    <file> 74</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 126</file>
+                    <file> 37</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 294 311</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\portasm.s</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</name>
             <outputs>
                 <tool>
-                    <name>AARM</name>
-                    <file> 182</file>
+                    <name>ICCARM</name>
+                    <file> 280</file>
+                </tool>
+                <tool>
+                    <name>BICOMP</name>
+                    <file> 34</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
-                    <name>AARM</name>
-                    <file> 36</file>
+                    <name>ICCARM</name>
+                    <file> 72 95 98 60 43 137 167 295 62 3 125 117 54 233 297 170 61 102</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\queue.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\list.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 56</file>
+                    <file> 178</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 152</file>
+                    <file> 87</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 202 211 178 36 267 222 198 305 114 74 201 204 265 122 221</file>
+                    <file> 136 98 60 43 137 167 295 112 72 95 62 3 125 117 54 233 297 170 61 102 269</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\portable\IAR\ARM_CM4F\port.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_flash.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 213</file>
+                    <file> 313</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 194</file>
+                    <file> 85</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 114 74 158 170 284 270 201 202 211 187 115 178 36 267 222 198 305 204 265 122</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfunccoils.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\system\at32f403a_407_clock.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 242</file>
+                    <file> 119</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 112</file>
+                    <file> 109</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 294 311</file>
+                    <file> 111 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncholding.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 105</file>
+                    <file> 273</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 155</file>
+                    <file> 135</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 294 311</file>
+                    <file> 72 95 98 60 43 137 167 295 62 3 125 117 54 233 297 170 61 102 138 269 115</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncinput.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_dma.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 117</file>
+                    <file> 18</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 203</file>
+                    <file> 186</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 294 311</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\croutine.c</name>
+            <name>$PROJ_DIR$\..\..\..\libs\artery\drivers\src\at32f403a_407_exint.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116</file>
+                    <file> 147</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 252</file>
+                    <file> 149</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 202 211 187 158 170 284 270 115 178 36 267 222 198 305 114 74 201 204 265 122 268</file>
+                    <file> 239 49 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\tasks.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\utils\utility.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 157</file>
+                    <file> 173</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 219</file>
+                    <file> 259</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 202 211 178 36 267 222 198 305 114 74 201 204 265 122 234 225 264</file>
+                    <file> 72 95 98 60 43 137 167 295 62 3 125 117 54 233 297 170 61 102 138 269 103 26 47 303 6 16 139 113 254 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 133 76 40</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncdiag.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\utils\at32f403a_407_board.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 230</file>
+                    <file> 46</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 55</file>
+                    <file> 106</file>
                 </tool>
             </outputs>
+            <inputs>
+                <tool>
+                    <name>ICCARM</name>
+                    <file> 19 133 98 60 43 137 167 295 6 16 62 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94</file>
+                </tool>
+            </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\FreeRTOS-openocd.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\rtc\rtc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 93</file>
+                    <file> 283</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 166</file>
+                    <file> 90</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 202 211 187 158 170 284 270 115 178 36 267 222 198 305 114 74 201 204</file>
+                    <file> 20 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 66 126 41 72 95 295 3 125 117 54 233 297 61 102 26 103 184 195 207 138 269 201 219 218 76 40 133</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbfuncfile.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\wdt\wdt.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 167</file>
+                    <file> 70</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 148</file>
+                    <file> 17</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 294 311 264</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 67</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\functions\mbutils.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_api.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 197</file>
+                    <file> 174</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 189</file>
+                    <file> 291</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285</file>
+                    <file> 62 98 60 43 137 167 184 126 299 66 6 16 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 41 72 95 295 3 125 117 54 233 297 61 102 26 103 195 207 138 269 201 219 218 205 20 76 40 133</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\libs\thirdparty\freertos\event_groups.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\utils\extended_sram.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 243</file>
+                    <file> 154</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 172</file>
+                    <file> 286</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 202 211 178 36 267 222 198 305 114 74 201 204 265 122 234 141</file>
+                    <file> 6 16 62 98 60 43 137 167 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 275 198 126</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\..\shared\freemodbus\ascii\mbascii.c</name>
+            <name>$PROJ_DIR$\..\..\..\shared\sys\sys_hal.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 130</file>
+                    <file> 64</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 195</file>
+                    <file> 145</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 251 187 158 170 284 270 115 227 191 151 289 27 169 178 283 245 86 74 85 87 90 293 176 89 96 77 79 73 62 228 65 41 59 247 47 51 82 48 83 95 84 39 75 88 224 229 236 202 211 36 267 222 198 305 114 201 204 265 122 302 314 285 311 113 294 129</file>
+                    <file> 62 98 60 43 137 167 299 184 126 218 6 16 139 113 254 170 260 281 44 239 49 278 272 158 177 150 151 105 156 185 148 121 165 162 144 168 279 270 271 161 171 274 141 130 94 205 133 295</file>
                 </tool>
             </inputs>
         </file>

Різницю між файлами не показано, бо вона завелика
+ 762 - 772
project/ewarm/module_universal_io.dep


+ 5 - 1
tools/digital_io.py

@@ -147,6 +147,10 @@ class IO_Digital(IO_Module):
         'Состояние выходов вкл./выкл. (битовое поле)'
         self.modbus.write_holding_register(DioReg.OUT_STATE.value, val)
 
+    def set_output_state(self, output, val):
+        'Состояние выхода вкл./выкл.'
+        ret = self.modbus.read_holding_registers(DioReg.OUT_STATE.value, 1)[0]
+        self.set_outputs_state(SysUtils.set_bit(ret, output - 1, val))
 
     def set_outputs_state_save(self, val):
         'Состояние выходов вкл./выкл. в безопасном режиме (битовое поле)'
@@ -160,7 +164,7 @@ class IO_Digital(IO_Module):
 
     def set_output(self, output, val):
         'Установить значение на конкретном выходе [1..8]'
-        ret = self.modbus.read_holding_registers(DioReg.OUT_BITS.value, 1)
+        ret = self.modbus.read_holding_registers(DioReg.OUT_BITS.value, 1)[0]
         self.set_outputs(SysUtils.set_bit(ret, output - 1, val))
 
 

+ 1 - 1
tools/io_module.py

@@ -20,7 +20,7 @@ class SysUtils:
             word |= 0b1 << number
         else:
             word &= ~(0b1 << number)
-        print(word)
+        # print(word)
         return word
 
 

+ 12 - 1
tools/modbus.py

@@ -58,7 +58,18 @@ class Modbus(ModbusMixin):
     # def __init__(self, tty: str, brate: int, address: int):
     def __init__(self, serial: Serial, address: int):
         self.serial = serial
-        self.address = address
+        self._address = address
+
+    @property
+    def address(self):
+        return self._address
+    
+    @address.setter
+    def address(self, address):
+        if not isinstance(address, int) or address < 1 or address > 255:
+            print("Адрес задан неверно")
+        else:
+            self._address = address
 
     @classmethod
     def test(cls):

BIN
tools/requirements.txt


+ 1 - 1
tools/tester.py

@@ -30,7 +30,7 @@ class Tester:
         elif answers['action'] == 'Прошить IAP и FW [MAO_4]':
             self.write_iap_fw('bin_ao/fw.bin', 'bin_iap/iap.bin')
 
-
+    
     def write_iap_fw(self, path_to_fw, path_to_iap):
         print(Fore.YELLOW + "Переведите устройство в режим загрузчика и нажмите 'Enter'")
         input()

+ 191 - 7
tools/tester_dio.py

@@ -2,23 +2,194 @@ from tester import *
 from modbus import Modbus
 from digital_io import IO_Digital
 from serial import Serial
+import colorama
+from colorama import Fore
+
 
 class DIO_Tester(Tester):
     def __init__(self, dut_debug_port, mb_port, tester_addr=1, dut_address=2):
         super().__init__(dut_debug_port)
 
         serial_port = Serial(mb_port, 115200, timeout=0.05, parity='N', xonxoff=False)
-        modbus = Modbus(serial_port, tester_addr)
-        self.dev_tester = IO_Digital(modbus)
+        self.modbus_tester = Modbus(serial_port, tester_addr)
+        self.modbus_dut = Modbus(serial_port, dut_address)
+        
+        self.tester = IO_Digital(self.modbus_tester)
+        self.dut = IO_Digital(self.modbus_dut)
+
+
+    def startup(self):
+        """Предварительная настройка tester, dut"""
+        
+        # Отключаем безопасные режимы
+        self.tester.sys.set_save_mode(0)
+        self.dut.sys.set_save_mode(0)        
+
+        # Подача питания на DUT
+        self.tester.set_output(1, 1)
+        time.sleep(0.3)
+
+
+    def test_di(self):
+        """Тест цифровых вхдов"""
+        print('[Тестер] Установка выхода 2 --> 0')
+        self.tester.set_output(2, 0)
+        time.sleep(0.5)
+
+        ret = self.dut.get_inputs_bit()
+        even_inputs = ret[::2] # четные
+        odd_inputs = ret[1::2] # нечетные
+
+        if odd_inputs != '1111':
+            print(Fore.RED + f'Нечетные входы не замкнуты [{odd_inputs}]. ERROR.')
+        else:
+            print(Fore.GREEN + 'Нечетные входы замкнуты. OK.')
+
+        if even_inputs != '0000':
+            print(Fore.RED + f'Четные входы не разомкнуты [{even_inputs}]. ERROR.')
+        else:
+            print(Fore.GREEN + 'Четные входы разомкнуты. OK.')
+
+        print('[Тестер] Установка выхода 2 --> 1')
+        self.tester.set_output(2, 1)
+        time.sleep(0.5)
+
+        ret = self.dut.get_inputs_bit()
+        even_inputs = ret[::2] # четные
+        odd_inputs = ret[1::2] # нечетные
+
+        if odd_inputs != '0000':
+            print(Fore.RED + f'Нечетные входы не разомкнуты [{odd_inputs}]. ERROR.')
+        else:
+            print(Fore.GREEN + 'Нечетные входы разомкнуты. OK.')
+
+        if even_inputs != '1111':
+            print(Fore.RED + f'Четные входы не замкнуты [{even_inputs}]. ERROR.')
+        else:
+            print(Fore.GREEN + 'Четные входы замкнуты. OK.')
+
+
+    def test_do(self, do_number=1):
+        """Проверка выхода"""
+
+        self.dut.set_outputs_state(0b0000_0001)
+        self.dut.set_outputs(0b1111_1111)
+        time.sleep(1)
+        self.dut.set_outputs(0b1111_1110)
+        time_start = time.time()
+        time.sleep(1)
+        while True:
+            ret = self.dut.get_loads_bit()
+            time.sleep(0.1)
+            if ret != '00000000':
+                print(ret)
+                print(time.time() - time_start)
+                break
+
+
+        return
+        self.dut.set_outputs(0b1111_1100)
+        time.sleep(1)
+        ret = self.dut.get_loads_bit()
+        print(ret)
 
 
 
+    def test_rtc(self):
+        """Проверка часов, батарейки и переключателя modbus адреса"""
+        print("[Tester] Установка времени на DUT")
+        self.dut.sys.set_rtc()
+        # Снимаем питание с DUT
+        self.tester.set_output(1, 0)
+        print(Fore.YELLOW + "Переключите адрес на DUT в положение 'все переключатели вверх'.")
+        print(Fore.YELLOW + "Затем нажмите 'Enter'")
+        input()
+        # Подаем питание на DUT
+        self.tester.set_output(1, 1)
+        time.sleep(3)
+
+        # Меняем modbus-адрес DUT 
+        self.modbus_dut.address = 15
+        dut_time = self.dut.sys.get_rtc()
+        print("Время DUT", dut_time)
+
+        print(time.time() + self.dut.sys.utc_offset, dut_time/1000.0)
+        print(abs(dut_time/1000.0 - (time.time() + self.dut.sys.utc_offset)))
+
+        if abs(dut_time/1000.0 - (time.time() + self.dut.sys.utc_offset)) > 1:
+            print(Fore.RED + f'Время не соответствует реальному. ERROR.')
+        else:
+            print(Fore.GREEN + 'Тест RTC и переключателя адреса. OK.')
+ 
+
+    def test_led(self):
+
+        # Зеленые LED индикациии входов
+        print(Fore.YELLOW + "Посмотрите на зеленые светодиоды индикации входов")
+        self.tester.set_output(2, 1)
+        time.sleep(1)
+        self.tester.set_output(2, 0)
+        time.sleep(1)
+        self.tester.set_output(2, 1)
+        time.sleep(1)
+        self.tester.set_output(2, 0)
+        print("Нажмите 'Enter'")
+        input()
+
+        # Зеленые LED индикации 
+        print(Fore.YELLOW + "Посмотрите на зеленые светодиоды индикации выходов")
+        time.sleep(2)
+        # включаем все выходы
+        self.dut.set_outputs_state(0b1111_1111)
+        for i in range(1, 9):
+            self.dut.set_output(i, 1)
+            time.sleep(1)
+        for i in range(8, 0, -1):
+            self.dut.set_output(i, 0)
+            time.sleep(1)
+        print("Нажмите 'Enter'")
+        input()
+
+        # Красные LED индикации нагрузки/аварии выходов
+        print(Fore.YELLOW + "Посмотрите на красные светодиоды индикации аварий")
+        time.sleep(2)
+
+        self.dut.set_outputs_state(0b0000_0000)
+        time.sleep(2)
+
+        for i in range(1, 9):
+            self.dut.set_output_state(i, 1)
+            time.sleep(1)
+        for i in range(8, 0, -1):
+            self.dut.set_output_state(i, 0)
+            time.sleep(1)
+
+        print("Нажмите 'Enter'")
+        input()
+
+
+    def foo(self):
+        print(self.modbus_dut.address)
+        print(self.modbus_tester.address)
+
+        self.modbus_dut.address = 15
+        print(self.modbus_dut.address)
+
     def menu(self):
+
+        self.tester.set_output(1, 1)
+        self.startup()
+                
         questions = [
 	    inquirer.List('action',
                 message="Тестирование MDIO_88",
                 choices=['Прошить IAP и FW', 
-                        'Получить системные настройки'],
+                        'Получить системные настройки',
+                        'Полный тест',
+                        'Тест цифровых входов',
+                        'Тест выхода 1',
+                        'Тест RTC',
+                        'Тест LED'],
             ),
 	    ]
         answers = inquirer.prompt(questions)
@@ -26,16 +197,29 @@ class DIO_Tester(Tester):
         if answers['action'] == 'Прошить IAP и FW':
             self.write_iap_fw('bin_dio/fw.bin', 'bin_iap/iap.bin')
         elif answers['action'] == 'Получить системные настройки':
-            print('получение системных настроек')
-            # self.dev_tester.sys.get_system_vars()
-            print(self.dev_tester.sys.get_uptime())
+            print('Получение системных настроек')
+            self.dut.sys.get_system_vars()
+        elif answers['action'] == 'Полный тест':
+            print('Запуск цикла тестирования')
+        elif answers['action'] == 'Тест цифровых входов':
+            self.test_di()
+        elif answers['action'] == 'Тест выхода 1':
+            self.test_do()
+        elif answers['action'] == 'Тест RTC':
+            self.test_rtc()
+        elif answers['action'] == 'Тест LED':
+            self.test_led()
+
+
 
 
 
 
 def main():
-    tester = DIO_Tester('COM53', 'COM58', 1, 2)
+    tester = DIO_Tester('COM3', 'COM11', 1, 2)
     tester.menu()
+    # tester.foo()
+    # tester.dut_powerup()
 
 
 if __name__ == '__main__':

Деякі файли не було показано, через те що забагато файлів було змінено