From bc9eb4269da36a1ef611688453a472fc8e4118db Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期三, 11 九月 2024 10:12:33 +0800
Subject: [PATCH] V1.5标签修改测距break位置和修改部分宏定义切换时的判定代码,并加入打印版本号

---
 keil/Objects/uwb_simple_example.build_log.htm |  208 +++++++++++++++++++++++++++++-----------------------
 1 files changed, 116 insertions(+), 92 deletions(-)

diff --git a/keil/Objects/uwb_simple_example.build_log.htm b/keil/Objects/uwb_simple_example.build_log.htm
index fab19cd..2656ca0 100644
--- a/keil/Objects/uwb_simple_example.build_log.htm
+++ b/keil/Objects/uwb_simple_example.build_log.htm
@@ -21,20 +21,24 @@
 Dialog DLL:      TARMCM1.DLL V1.14.2.0
  
 <h2>Project:</h2>
-D:\project chen\uwb_MK8000_example_ss_twr_qiang_Tag_gai\keil\uwb_simple_example.uvprojx
-Project File Date:  08/27/2024
+D:\project chen\ChinaUWBProject - 副本 (2)\keil\uwb_simple_example.uvprojx
+Project File Date:  09/11/2024
 
 <h2>Output:</h2>
 *** Using Compiler 'V6.14', folder: 'd:\Keil_v5\ARM\ARMCLANG\Bin'
 Rebuild target 'MK8000 Release'
+compiling system_MK800X.c...
 compiling cmp_svec.c...
 compiling startup_MK800X.c...
-compiling system_MK800X.c...
-compiling mk_power.c...
-compiling mk_reset.c...
+compiling mk_misc.c...
+compiling mk_dma.c...
+compiling mk_flash.c...
 compiling mk_io.c...
-compiling mk_aes.c...
+compiling mk_reset.c...
+compiling mk_dual_timer.c...
 compiling mk_clock.c...
+compiling mk_calib.c...
+compiling mk_gpio.c...
 include/drivers/mk_adc.c(411): warning: format specifies type 'int' but the argument has type 'void *' [-Wformat]
 LOG_INFO(TRACE_MODULE_APP, "Chip adc callback %d degree\r\n", data);
                                               ~~              ^~~~
@@ -46,14 +50,10 @@
                                                                         ~~~     ^~~~~~~~~~~
 1 warning generated.
 compiling mk_adc.c...
-compiling mk_calib.c...
-compiling mk_dual_timer.c...
-compiling mk_gpio.c...
-compiling mk_dma.c...
-compiling mk_misc.c...
+compiling mk_power.c...
+compiling mk_aes.c...
 compiling mk_rtc.c...
 compiling mk_sleep_timer.c...
-compiling mk_flash.c...
 compiling mk_wdt.c...
 include/drivers/global_param.c(9): warning: no previous prototype for function 'parameter_check' [-Wmissing-prototypes]
 uint8_t parameter_check(void)
@@ -241,8 +241,6 @@
 ^
 31 warnings generated.
 compiling serial_at_cmd_app.c...
-compiling mk_uart.c...
-compiling mk_trace.c...
 include/drivers/Usart.c(10): warning: no previous extern declaration for non-static variable 'm_EUART_TxFrm_Tail' [-Wmissing-variable-declarations]
 volatile int8_t m_EUART_TxFrm_Tail = 0;                                 //<CA><FD><BE>莘<A2><CB><CD>帧<B6><D3><C1><D0>尾指<D5><EB>
                 ^
@@ -347,6 +345,80 @@
 ^
 19 warnings generated.
 compiling Usart.c...
+compiling mk_trace.c...
+compiling mk_uart.c...
+dw_app.c(1): warning: In file included from...
+./dw_app.h(45): warning: no newline at end of file [-Wnewline-eof]
+#endif
+      ^
+dw_app.c(131): warning: implicit conversion turns floating-point number into integer: 'double' to 'int32_t' (aka 'int') [-Wfloat-conversion]
+            nearbase_distlist[i]  = distance+anc_distoffset[i];//offset未<BC><D3>
+                                  ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~
+dw_app.c(139): warning: no newline at end of file [-Wnewline-eof]
+//#endif
+        ^
+dw_app.c(10): warning: no previous extern declaration for non-static variable 'tof' [-Wmissing-variable-declarations]
+double tof,distance;
+       ^
+dw_app.c(10): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double tof,distance;
+^
+dw_app.c(10): warning: no previous extern declaration for non-static variable 'distance' [-Wmissing-variable-declarations]
+double tof,distance;
+           ^
+dw_app.c(10): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double tof,distance;
+^
+dw_app.c(25): warning: no previous extern declaration for non-static variable 'temp_freq_offset' [-Wmissing-variable-declarations]
+int32_t temp_freq_offset;
+        ^
+dw_app.c(25): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int32_t temp_freq_offset;
+^
+dw_app.c(26): warning: no previous extern declaration for non-static variable 'tround_temp' [-Wmissing-variable-declarations]
+int64_t tround_temp,treply_temp;
+        ^
+dw_app.c(26): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int64_t tround_temp,treply_temp;
+^
+dw_app.c(26): warning: no previous extern declaration for non-static variable 'treply_temp' [-Wmissing-variable-declarations]
+int64_t tround_temp,treply_temp;
+                    ^
+dw_app.c(26): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int64_t tround_temp,treply_temp;
+^
+dw_app.c(27): warning: no previous extern declaration for non-static variable 'tof_i' [-Wmissing-variable-declarations]
+int32_t tof_i;
+        ^
+dw_app.c(27): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+int32_t tof_i;
+^
+dw_app.c(28): warning: no previous extern declaration for non-static variable 'tof_i_ui' [-Wmissing-variable-declarations]
+uint32_t tof_i_ui;
+         ^
+dw_app.c(28): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+uint32_t tof_i_ui;
+^
+dw_app.c(29): warning: no previous extern declaration for non-static variable 'tof_f' [-Wmissing-variable-declarations]
+double tof_f;
+       ^
+dw_app.c(29): note: declare 'static' if the variable is not intended to be used outside of this translation unit
+double tof_f;
+^
+dw_app.c(8): warning: unused variable 'clockOffsetRatio' [-Wunused-variable]
+static float clockOffsetRatio;
+             ^
+dw_app.c(9): warning: unused variable 'rtd_init' [-Wunused-variable]
+static double rtd_init, rtd_resp;
+              ^
+dw_app.c(9): warning: unused variable 'rtd_resp' [-Wunused-variable]
+static double rtd_init, rtd_resp;
+                        ^
+dw_app.c(14): warning: unused variable 'anc_clockoffset' [-Wunused-variable]
+static int32_t anc_clockoffset[MAX_NEARBASE_NUM];
+               ^
+15 warnings generated.
+compiling dw_app.c...
 include/drivers/Usart1.c(12): warning: no previous extern declaration for non-static variable 'm_EUART1_TxFrm_Tail' [-Wmissing-variable-declarations]
 volatile int8_t m_EUART1_TxFrm_Tail = 0;                                        //<CA><FD><BE>莘<A2><CB><CD>帧<B6><D3><C1><D0>尾指<D5><EB>
                 ^
@@ -442,77 +514,9 @@
 ^
 17 warnings generated.
 compiling Usart1.c...
-dw_app.c(1): warning: In file included from...
-./dw_app.h(45): warning: no newline at end of file [-Wnewline-eof]
-#endif
-      ^
-dw_app.c(51): warning: implicit conversion loses floating-point precision: 'double' to 'float' [-Wimplicit-float-conversion]
-            clockOffsetRatio = anc_clockoffset[i] * (FREQ_OFFSET_MULTIPLIER * HERTZ_TO_PPM_MULTIPLIER_CHAN_5 / 1.0e6) ;//MK8000<D0><U+07B8><C4>
-                             ~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-dw_app.c(59): warning: implicit conversion turns floating-point number into integer: 'double' to 'int32_t' (aka 'int') [-Wfloat-conversion]
-            nearbase_distlist[i]  = distance+anc_distoffset[i];
-                                  ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~
-dw_app.c(131): warning: implicit conversion turns floating-point number into integer: 'double' to 'int32_t' (aka 'int') [-Wfloat-conversion]
-            nearbase_distlist[i]  = distance+anc_distoffset[i];//offset未<BC><D3>
-                                  ~ ~~~~~~~~^~~~~~~~~~~~~~~~~~
-dw_app.c(139): warning: no newline at end of file [-Wnewline-eof]
-//#endif
-        ^
-dw_app.c(10): warning: no previous extern declaration for non-static variable 'tof' [-Wmissing-variable-declarations]
-double tof,distance;
-       ^
-dw_app.c(10): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-double tof,distance;
-^
-dw_app.c(10): warning: no previous extern declaration for non-static variable 'distance' [-Wmissing-variable-declarations]
-double tof,distance;
-           ^
-dw_app.c(10): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-double tof,distance;
-^
-dw_app.c(25): warning: no previous extern declaration for non-static variable 'temp_freq_offset' [-Wmissing-variable-declarations]
-int32_t temp_freq_offset;
-        ^
-dw_app.c(25): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-int32_t temp_freq_offset;
-^
-dw_app.c(26): warning: no previous extern declaration for non-static variable 'tround_temp' [-Wmissing-variable-declarations]
-int64_t tround_temp,treply_temp;
-        ^
-dw_app.c(26): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-int64_t tround_temp,treply_temp;
-^
-dw_app.c(26): warning: no previous extern declaration for non-static variable 'treply_temp' [-Wmissing-variable-declarations]
-int64_t tround_temp,treply_temp;
-                    ^
-dw_app.c(26): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-int64_t tround_temp,treply_temp;
-^
-dw_app.c(27): warning: no previous extern declaration for non-static variable 'tof_i' [-Wmissing-variable-declarations]
-int32_t tof_i;
-        ^
-dw_app.c(27): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-int32_t tof_i;
-^
-dw_app.c(28): warning: no previous extern declaration for non-static variable 'tof_i_ui' [-Wmissing-variable-declarations]
-uint32_t tof_i_ui;
-         ^
-dw_app.c(28): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-uint32_t tof_i_ui;
-^
-dw_app.c(29): warning: no previous extern declaration for non-static variable 'tof_f' [-Wmissing-variable-declarations]
-double tof_f;
-       ^
-dw_app.c(29): note: declare 'static' if the variable is not intended to be used outside of this translation unit
-double tof_f;
-^
-13 warnings generated.
-compiling dw_app.c...
-compiling pin_config.c...
 compiling board.c...
+compiling pin_config.c...
 compiling wsf_assert.c...
-compiling wsf_buf.c...
-compiling wsf_bufio.c...
 include/main/main.c(57): warning: no previous extern declaration for non-static variable 'trx_buf' [-Wmissing-variable-declarations]
 uint8_t trx_buf[10] = {0};
         ^
@@ -552,10 +556,28 @@
 include/main/main.c(181): warning: implicit conversion loses integer precision: 'int' to 'uint8_t' (aka 'unsigned char') [-Wimplicit-int-conversion]
 tag_frequence=1000/g_com_map[COM_INTERVAL];     
              ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
-include/main/main.c(226): warning: implicit declaration of function 'reset_cause_get' is invalid in C99 [-Wimplicit-function-declaration]
+include/main/main.c(183): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+LOG_INFO(TRACE_MODULE_APP,"<C9>璞窱D: %x .\r\n",dev_id);
+                           ^~~~
+./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
+#define LOG_INFO(LOG_MODULE, str, ...) TRACE(LOG_MODULE, TRACE_LEVEL_INFO, str, ##__VA_ARGS__)
+                                                                           ^~~
+./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
+#define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
+                                                                        ^~~
+include/main/main.c(184): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
+LOG_INFO(TRACE_MODULE_APP,"<B9>碳<FE><B0>姹�:UWB-<B1><EA>签 V%d.%d. \r\n",g_com_map[VERSION]>>8,g_com_map[VERSION]&0xff);
+                           ^~~~~~~~~~~~       ~~~~~~~~
+./include/drivers\mk_trace.h(170): note: expanded from macro 'LOG_INFO'
+#define LOG_INFO(LOG_MODULE, str, ...) TRACE(LOG_MODULE, TRACE_LEVEL_INFO, str, ##__VA_ARGS__)
+                                                                           ^~~
+./include/drivers\mk_trace.h(132): note: expanded from macro 'TRACE'
+#define TRACE(module, level, str, ...) trace_printf((module), (level), (str), ##__VA_ARGS__)
+                                                                        ^~~
+include/main/main.c(229): warning: implicit declaration of function 'reset_cause_get' is invalid in C99 [-Wimplicit-function-declaration]
     reset_cause_get();
     ^
-include/main/main.c(227): warning: implicit declaration of function 'reset_cause_clear' is invalid in C99 [-Wimplicit-function-declaration]
+include/main/main.c(230): warning: implicit declaration of function 'reset_cause_clear' is invalid in C99 [-Wimplicit-function-declaration]
     reset_cause_clear();
     ^
 include/main/main.c(67): warning: no previous extern declaration for non-static variable 'enable_sleep_count' [-Wmissing-variable-declarations]
@@ -594,15 +616,17 @@
 include/main/main.c(171): warning: unused function 'voltage_input_handler' [-Wunused-function]
 static void voltage_input_handler(enum IO_PIN_T pin)
             ^
-18 warnings generated.
+20 warnings generated.
 compiling main.c...
 compiling wsf_heap.c...
+compiling wsf_bufio.c...
+compiling wsf_buf.c...
 compiling wsf_msg.c...
 compiling wsf_nvm.c...
-compiling wsf_queue.c...
 compiling wsf_os.c...
-compiling wsf_timer.c...
+compiling wsf_queue.c...
 compiling wsf_trace.c...
+compiling wsf_timer.c...
 compiling pal_flash.c...
 compiling pal_uart.c...
 compiling pal_sys.c...
@@ -991,11 +1015,11 @@
 compiling libc.c...
 linking...
 .\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION).
-Program Size: Code=48612 RO-data=7140 RW-data=1272 ZI-data=24952  
+Program Size: Code=49184 RO-data=7260 RW-data=1272 ZI-data=24940  
 Finished: 0 information, 1 warning and 0 error messages.
 FromELF: creating hex file...
-After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\project chen\uwb_MK8000_example_ss_twr_qiang_Tag_gai\keil\Objects\uwb_simple_example.axf"
-".\Objects\uwb_simple_example.axf" - 0 Error(s), 178 Warning(s).
+After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\project chen\ChinaUWBProject - 副本 (2)\keil\Objects\uwb_simple_example.axf"
+".\Objects\uwb_simple_example.axf" - 0 Error(s), 182 Warning(s).
 
 <h2>Software Packages used:</h2>
 
@@ -1009,7 +1033,7 @@
   d:\Users\xookk\AppData\Local\Arm\Packs\MKSEMI\MK800X_DFP\1.0.3\Device\Include
 
 <h2>Collection of Component Files used:</h2>
-Build Time Elapsed:  00:00:10
+Build Time Elapsed:  00:00:11
 </pre>
 </body>
 </html>

--
Gitblit v1.9.3