zhangbo
2025-04-16 e9fc03943f7a429c6c9d0e7123ba637f317805be
现在更换为N303的GPS,添加完休眠的版本,室外功耗55ma,室内25ma
已修改13个文件
17011 ■■■■ 文件已修改
keil/JLinkLog.txt 8016 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Listings/uwb_simple_example.map 6865 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.build_log.htm 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.htm 1883 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example_MK8000 Release.dep 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/board/board.c 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/components/internet/src/AIR780EFSM.c 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/drivers/PCA9555.c 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/main/main.c 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/src/GPS.c 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/src/TCPClient.c 补丁 | 查看 | 原始文档 | blame | 历史
keil/uwb_app.c 44 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/uwb_simple_example.uvoptx 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/JLinkLog.txt
ÎļþÌ«´ó
keil/Listings/uwb_simple_example.map
ÎļþÌ«´ó
keil/Objects/uwb_simple_example.build_log.htm
@@ -21,13 +21,13 @@
Dialog DLL:      TARMCM1.DLL V1.14.2.0
 
<h2>Project:</h2>
D:\download\ChinaUWBProject-e4d167a7d5e73b58a7d4adbc8b91499dc1e2d4c4\keil\uwb_simple_example.uvprojx
D:\zhangbo\2024\Code\ChinaUWB\广哈移植\ChinaUWBProject - shandong - å‰¯æœ¬\keil\uwb_simple_example.uvprojx
Project File Date:  04/07/2025
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'D:\keil\ARM\ARMCLANG\Bin'
Build Project 'uwb_simple_example' - Target 'MK8000 Release'
After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\download\ChinaUWBProject-e4d167a7d5e73b58a7d4adbc8b91499dc1e2d4c4\keil\Objects\uwb_simple_example.axf"
After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\zhangbo\2024\Code\ChinaUWB\广哈移植\ChinaUWBProject - shandong - å‰¯æœ¬\keil\Objects\uwb_simple_example.axf"
".\Objects\uwb_simple_example.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
@@ -42,7 +42,7 @@
  D:\keil\pack\MKSEMI\MK800X_DFP\1.0.3\Device\Include
<h2>Collection of Component Files used:</h2>
Build Time Elapsed:  00:00:00
Build Time Elapsed:  00:00:01
</pre>
</body>
</html>
keil/Objects/uwb_simple_example.htm
ÎļþÌ«´ó
keil/Objects/uwb_simple_example_MK8000 Release.dep
@@ -262,7 +262,7 @@
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_sleep_timer.h)(0x67EB5872)
I (include\drivers\mk_reset.h)(0x67EB5872)
F (.\include\drivers\PCA9555.c)(0x67F37509)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/pca9555.o -MD)
F (.\include\drivers\PCA9555.c)(0x67FF1D19)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/drivers -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/pca9555.o -MD)
I (include\drivers\PCA9555.h)(0x67EB5872)
I (include\board\board.h)(0x67EB5872)
I (include\drivers\mk_common.h)(0x67EB5872)
@@ -696,7 +696,7 @@
I (include\drivers\mk_io.h)(0x67EB5872)
I (include\drivers\DBG.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_TypeDef.h)(0x67EB5872)
F (.\include\board\board.c)(0x67EB5872)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/board.o -MD)
F (.\include\board\board.c)(0x67FE1514)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/board.o -MD)
I (include\board\board.h)(0x67EB5872)
I (include\drivers\mk_common.h)(0x67EB5872)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -725,7 +725,7 @@
I (include\drivers\mk_uwb.h)(0x67EB5872)
I (include\drivers\mk_mac.h)(0x67EB5872)
I (include\drivers\mk_phy.h)(0x67EB5872)
F (..\pin_config.c)(0x67EB5872)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/pin_config.o -MD)
F (..\pin_config.c)(0x67FCCA19)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/pin_config.o -MD)
I (include\drivers\mk_io.h)(0x67EB5872)
I (include\drivers\mk_common.h)(0x67EB5872)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -748,7 +748,7 @@
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67EB5872)
I (include\drivers\Usart.h)(0x67EB5872)
F (.\include\main\main.c)(0x67F5EC2B)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/main.o -MD)
F (.\include\main\main.c)(0x67FF6198)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/main.o -MD)
I (include\drivers\mk_trace.h)(0x67EB5872)
I (include\drivers\mk_common.h)(0x67EB5872)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -804,7 +804,7 @@
I (include\drivers\PCA9555.h)(0x67EB5872)
I (include\drivers\WS2812.h)(0x67EB5872)
I (include\drivers\DBG.h)(0x67EB5872)
F (.\include\src\TCPClient.c)(0x67F396F1)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/tcpclient.o -MD)
F (.\include\src\TCPClient.c)(0x67FF4B57)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/tcpclient.o -MD)
I (include\src\TCPClient.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_TYpeDef.h)(0x67EB5872)
I (include\components\internet\inc\Socket.h)(0x67EB5872)
@@ -842,7 +842,7 @@
I (..\keil\dw_app_anchor.h)(0x67EB5872)
I (include\drivers\PCA9555.h)(0x67EB5872)
I (include\drivers\WS2812.h)(0x67EB5872)
F (.\uwb_app.c)(0x67F390F4)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/uwb_app.o -MD)
F (.\uwb_app.c)(0x67FF1D19)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/uwb_app.o -MD)
I (include\drivers\mk_trace.h)(0x67EB5872)
I (include\drivers\mk_common.h)(0x67EB5872)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -909,7 +909,7 @@
I (include\drivers\mk_gpio.h)(0x67EB5872)
I (include\drivers\mk_io.h)(0x67EB5872)
I (include\drivers\mk_calib.h)(0x67EB5872)
F (.\include\src\GPS.c)(0x67F4DF1F)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/gps.o -MD)
F (.\include\src\GPS.c)(0x67FF4691)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I ./include/board -I ../keil -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/gps.o -MD)
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
@@ -1413,7 +1413,7 @@
I (include\components\hido\Include\HIDO_Timer.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_Debug.h)(0x67EB5872)
I (include\components\internet\inc\ATConfig.h)(0x67EB5872)
F (.\include\components\internet\src\AIR780EDriver.c)(0x67EB5872)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/air780edriver.o -MD)
F (.\include\components\internet\src\AIR780EDriver.c)(0x67FF4B41)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/air780edriver.o -MD)
I (include\components\internet\inc\AIR780EDriver.h)(0x67EB5872)
I (include\components\internet\inc\Socket.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_TypeDef.h)(0x67EB5872)
@@ -1450,7 +1450,7 @@
I (include\components\hido\Include\HIDO_Debug.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_Log.h)(0x67EB5872)
I (include\drivers\DBG.h)(0x67EB5872)
F (.\include\components\internet\src\AIR780EFSM.c)(0x67EB5872)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/air780efsm.o -MD)
F (.\include\components\internet\src\AIR780EFSM.c)(0x67FF0B28)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O3 -ffunction-sections -w -I .. -I ./include/board -I ./include/CMSIS/Include -I ./include/components/algo/inc -I ./include/components/crc -I ./include/components/libc -I ./include/components/wsf/include -I ./include/components/wsf/include/platform -I ./include/devices/MK800X/Include -I ./include/drivers -I ./include/components/hido/Include -I ./include/components/internet/inc -I ./include/components/hal -I ../keil -I ./include/src -I ./include/components/internet/src -Wno-declaration-after-statement -Wno-double-promotion -Wno-extra-semi-stmt -Wno-gnu-zero-variadic-macro-arguments -Wno-padded -Wno-unused-parameter -I./RTE/_MK8000_Release -ID:/keil/pack/MKSEMI/MK800X_DFP/1.0.3/Device/Include -ID:/keil/ARM/CMSIS/Include -D__UVISION_VERSION="530" -D_RTE_ -DUWB_EN -DSTD_LIBC -o ./objects/air780efsm.o -MD)
I (include\components\internet\inc\AIR780EFSM.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_TypeDef.h)(0x67EB5872)
I (include\components\hido\Include\HIDO_ATLite.h)(0x67EB5872)
keil/include/board/board.c
@@ -431,7 +431,7 @@
        gpio_pin_set_dir(PCA_INPUT_DETECT , GPIO_DIR_IN, 0);
    io_pull_set(PCA_INPUT_DETECT, IO_PULL_UP, IO_PULL_UP_LEVEL2);
    gpio_enable_irq(PCA_INPUT_DETECT, GPIO_IRQ_TYPE_FALLING_EDGE, pca_input_detect_irq_handler);
    power_wakeup_enable((enum POWER_WAKEUP_SOURCE_T)PCA_INPUT_DETECT, POWER_WAKEUP_LEVEL_LOW);
//    power_wakeup_enable((enum POWER_WAKEUP_SOURCE_T)PCA_INPUT_DETECT, POWER_WAKEUP_LEVEL_LOW);
}
void board_button_init(GPIO_IRQ_HANDLER_T irq_handler)
{
keil/include/components/internet/src/AIR780EFSM.c
@@ -842,7 +842,8 @@
    {
            { "AT+CIPRXF=1\r\n", AT_GENERAL_TIMEOUT_TIME, AT_CMD_RESULT_OK },
            { "AT+CIPMUX=1\r\n", AT_GENERAL_TIMEOUT_TIME, AT_CMD_RESULT_OK },
                        { "ATI\r\n", AT_GENERAL_TIMEOUT_TIME, AT_CMD_RESULT_OK },
                        { "AT*I\r\n", AT_GENERAL_TIMEOUT_TIME, AT_CMD_RESULT_OK },
                        { "AT+POWERMODE?\r\n", AT_GENERAL_TIMEOUT_TIME, AT_CMD_RESULT_OK },
            { "AT+CSTT=\"%s\",\"\",\"\"\r\n", 60000, AT_CMD_RESULT_OK | AT_CMD_RESULT_ERROR },
            { "AT+CIICR\r\n", 60000, AT_CMD_RESULT_OK | AT_CMD_RESULT_ERROR },
            { "AT+CIFSR\r\n", 1000, AT_CMD_RESULT_OK | AT_CMD_RESULT_TIMEOUT },
keil/include/drivers/PCA9555.c
@@ -583,4 +583,31 @@
//PCA9555_Set_All_Output(0);//全部拉低
}
void SOS_irq_callback()
{
}
extern float nomove_count;
void move_handler()
{
    nomove_count=0;
}
void check_input_change(void)
{
        uint16_t gpio_state;
        gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
                if(!(SOS_ENBALE_POSITION&gpio_state))
                {
         SOS_irq_callback();
                }
              if(WAKE_UP_POSITION&gpio_state)
                {
                 //移动
         move_handler();
                }
}
keil/include/main/main.c
@@ -39,6 +39,10 @@
#define WARING_LIMIT_TIME 10
#define UPDATE_TIME 10
//室内外阈值
#define XINGHAOQIANGDU_VALUE 100
#define WEIXINGSHULIANG_VALUE 5
extern uint8_t mUsartReceivePack[100];
extern uint8_t mUsart2ReceivePack[150];
@@ -96,7 +100,7 @@
    .flow = UART_FLOW_CONTROL_NONE,
    .rx_level = UART_RXFIFO_CHAR_1,
    .tx_level = UART_TXFIFO_EMPTY,
    .baud = BAUD_115200,
    .baud = BAUD_9600,
#if (TEST_UART_MODE == TEST_UART_POLL_MODE)
    .dma_en = false,
    .int_rx = false,
@@ -121,8 +125,10 @@
            trace_flush();
            lock = int_lock();
//                        LOG_INFO(TRACE_MODULE_APP, "进入深度休眠\r\n");
//                        gps_air780_power_change(0,0);//关闭gps,4G
              PCA9555_Set_One_Value_Output(MAIN_RI,1);
              PCA9555_Set_One_Value_Output(MAIN_RI,1);
            PCA9555_Set_One_Value_Output(GPS_POWER,0);//关闭gps,4G 
              PCA9555_Set_One_Value_Output(LED_POWER,0);//关闭DENG
            PCA9555_Set_One_Value_Output(AIR780E_ENBALE,0);//关闭gps,4G 
                            sleep_timer_stop();    
                        //adc_close();
@@ -176,8 +182,9 @@
uint32_t ledontime;
void IMUTask(void)
{
    if(nomove_count>g_com_map[NOMOVESLEEP_TIME]&&g_com_map[IMU_ENABLE]==2)
    {//power_wakeup_enable((enum POWER_WAKEUP_SOURCE_T)ACCLERATE_DETECT_Pin, POWER_WAKEUP_LEVEL_HIGH);
    if(nomove_count>g_com_map[NOMOVESLEEP_TIME]&&g_com_map[IMU_ENABLE]==1)
    {
        power_wakeup_enable((enum POWER_WAKEUP_SOURCE_T)PCA_INPUT_DETECT, POWER_WAKEUP_LEVEL_LOW);
        mcu_deep_sleep();
    }
}
@@ -280,7 +287,7 @@
//extern uint8_t ceshidata[500];
extern uint8_t ceshichangdu;
uint8_t gps_ntripsend;
extern uint8_t in_the_room_flag;
extern uint8_t lounei_flag;
extern uint16_t g_spsum_GSV,g_snum_GSV;
extern uint16_t g_spsum_GSV_sum;
@@ -288,11 +295,13 @@
extern uint8_t ceju_leave_flag;
extern uint8_t fixed_solution_count_minute;
uint8_t open_gps_time=0;
uint16_t uwb_time_count=0;
static void sleep_timer_callback(void *dev, uint32_t time)
{
if(secondtask_count++%2==0)
    {  
        open_gps_time++;            
        uwb_time_count++;
        input5v_time=1;
        flag_secondtask = 1;
        if(!read_5v_input_pca())
@@ -316,32 +325,34 @@
//        OpenUWB();
        }
//                in_the_room_flag=1;    
      if(30<open_gps_time<90)
      if(30<open_gps_time&&open_gps_time<=90)
            {
            Receive_g_spsum_Data(g_spsum_GSV);
            Receive_g_snum_Data(g_snum_GSV);
            if((g_spsum_GSV_sum<XINGHAOQIANGDU_VALUE||g_snum_GSV_sum<WEIXINGSHULIANG_VALUE)&&(fixed_solution_count_minute<30))
            {
            lounei_flag=1;
            }
            if((XINGHAOQIANGDU_VALUE<g_spsum_GSV_sum&&WEIXINGSHULIANG_VALUE<g_snum_GSV_sum)&&(fixed_solution_count_minute>30))
            {
            lounei_flag=0;
            }
            }
            if(open_gps_time>90)
            {
            if(ceju_leave_flag==1)
            {
            Receive_g_spsum_Data(g_spsum_GSV);
            Receive_g_snum_Data(g_snum_GSV);
            if(open_gps_time>90)
            {
             open_gps_time=90;
//            if((g_spsum_GSV_sum<200&&g_snum_GSV_sum<3)&&(fixed_solution_count_minute<30||fixed_solution_count_minute==0))
            if((g_spsum_GSV_sum<300||g_snum_GSV_sum<20)&&(fixed_solution_count_minute<30))
            if((g_spsum_GSV_sum<XINGHAOQIANGDU_VALUE||g_snum_GSV_sum<WEIXINGSHULIANG_VALUE)&&(fixed_solution_count_minute<30))
            {
            lounei_flag=1;
//            Switch_low_power_mode(lounei_flag);
            }
            if((400<g_spsum_GSV_sum&&10<g_snum_GSV_sum)&&(fixed_solution_count_minute>30))
//            if((200<g_spsum_GSV_sum&&3<g_snum_GSV_sum)&&(ceju_leave_flag==1))
            if((XINGHAOQIANGDU_VALUE<g_spsum_GSV_sum&&WEIXINGSHULIANG_VALUE<g_snum_GSV_sum)&&(fixed_solution_count_minute>30))
            {
            lounei_flag=0;
//            Switch_low_power_mode(lounei_flag);
            }
            } 
            
            if(heart_upload_time==60)
@@ -355,24 +366,28 @@
            }
            if(heart_upload_time==0||heart_upload_time==60)
            {
                TCPHeartBeatUpload();
                heart_upload_time=0;
            }
            heart_upload_time++;
            }
        }
            if(open_gps_time>149&&lounei_flag==1)
            {
            if(open_gps_time-90==60)
            {
                open_gps_time=90;
                TCPHeartBeatUpload();
            }
            
            }
        uwb_app_poll();
    }else{
    }
        else
        {
        flag_secondtask = 0;
    }
    if(gps_ntripsend==1)
@@ -386,25 +401,26 @@
static void pca_handler(enum IO_PIN_T pin)
{
    PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
    uint16_t gpio_state;
    gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
    test41++;
    if(WAKE_UP_POSITION&gpio_state)
    {
        nomove_count=0;
        test11++;
    }
//    if(!(MAIN_RI_POSITION&gpio_state))
    check_input_change();
//    uint16_t gpio_state;
//    gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
//    test41++;
//    if(WAKE_UP_POSITION&gpio_state)
//    {
//         flag_4G_recdata = 1;
//     delaysleep_count = 3;
//        test21++;
//        nomove_count=0;
//        test11++;
//    }
    if((PWR_ON_POSITION&gpio_state))
    {
        PowerTask();
        test31++;
    }
////    if(!(MAIN_RI_POSITION&gpio_state))
////    {
////         flag_4G_recdata = 1;
////     delaysleep_count = 3;
////        test21++;
////    }
//    if((PWR_ON_POSITION&gpio_state))
//    {
//        PowerTask();
//        test31++;
//    }
}
void _4gUsart_handler(enum IO_PIN_T pin)
@@ -699,7 +715,7 @@
    adc_get(&sample[0], NUM_SAMPLES, adc_callback);//adc采样
    pca_input_detection_init(pca_handler);//pca检测输入
    Uwb_init();
//    OpenUWB();
    OpenUWB();
//    DBG_SetMode(DBG_MODE_SHELL);
//    Shell_Init();
@@ -719,7 +735,7 @@
                PCA9555_Set_One_Value_Output(MCU_A,0);//输出低电平切换为GPS
    while (1)
    { 
              uwb_app_poll();
        Internet_Poll();
        HIDO_TimerPoll();
        HIDO_ATLitePoll();
keil/include/src/GPS.c
@@ -563,8 +563,9 @@
    }
  
    gps_ntripsend=1;
        if((heart_upload_time%UPLOAD_4G_TIME==0&&lounei_flag==0&&open_gps_time>120)||(open_gps_time%UPLOAD_4G_TIME==0&&lounei_flag==0&&open_gps_time<120))
        if((open_gps_time%UPLOAD_4G_TIME==0&&lounei_flag==0))
        {
        UDPClient_UploadGPS();
    NTRIPApp_ReportGGA(GPS_ParseGGA_data, _u32Len);        
        }
keil/include/src/TCPClient.c
keil/uwb_app.c
@@ -749,51 +749,17 @@
//}
//enumwltagstate wltag_state=RANGE;
uint32_t wltag_statetimer,wltag_uwbtimer;
extern uint16_t uwb_time_count;
int uwb_app_poll(void)
{
    switch(wltag_state)
    switch(uwb_time_count)
    {
    case RANGE:
//    time_flag=HIDO_TimerGetTick()-wltag_uwbtimer;
    if(HIDO_TimerGetTick()-wltag_uwbtimer>4&&uwb_rx_flag==0)
        {
            wltag_uwbtimer = HIDO_TimerGetTick();
            OpenUWB();
        }
        else if(HIDO_TimerGetTick()-wltag_uwbtimer>1&&uwb_rx_flag==1)
        {
//            time_flag=HIDO_TimerGetTick()-wltag_uwbtimer;
         wltag_uwbtimer = HIDO_TimerGetTick();
            case 1:
         CloseUWB();
        }
        if(uwb_losttimer>g_com_map[UWB_RNAGE_TIME])
        {
         wltag_statetimer = HIDO_TimerGetTick();
            if(uwb_rx_flag==0)//若要切换到搜索模式时没有开启则开启UWB
            {
                OpenUWB();
            }
     wltag_state = SEARCH;
        }
        break;
    case SEARCH:
        if(HIDO_TimerGetTick()-wltag_statetimer>1)
        {
            wltag_statetimer = HIDO_TimerGetTick();
            wltag_state = CLOSE;
            CloseUWB();
        }
        break;
    case CLOSE:
        if(HIDO_TimerGetTick()-wltag_statetimer>g_com_map[UWB_WAIT_TIME])
        {
            wltag_statetimer = HIDO_TimerGetTick();
            wltag_state = SEARCH;
            case 5:
            OpenUWB();        
        }
                        uwb_time_count=0;
        break;
    }
     UWBIdleTask();
keil/uwb_simple_example.uvoptx
@@ -120,7 +120,7 @@
        <SetRegEntry>
          <Number>0</Number>
          <Key>DLGUARM</Key>
          <Name>d</Name>
          <Name></Name>
        </SetRegEntry>
        <SetRegEntry>
          <Number>0</Number>
@@ -148,7 +148,24 @@
          <Name></Name>
        </SetRegEntry>
      </TargetDriverDllRegistry>
      <Breakpoint/>
      <Breakpoint>
        <Bp>
          <Number>0</Number>
          <Type>0</Type>
          <LineNumber>381</LineNumber>
          <EnabledFlag>1</EnabledFlag>
          <Address>75062</Address>
          <ByteObject>0</ByteObject>
          <HtxType>0</HtxType>
          <ManyObjects>0</ManyObjects>
          <SizeOfObject>0</SizeOfObject>
          <BreakByAccess>0</BreakByAccess>
          <BreakIfRCount>1</BreakIfRCount>
          <Filename>D:\zhangbo\2024\Code\ChinaUWB\骞垮搱绉绘\ChinaUWBProject - shandong - é“湰\keil\include\main\main.c</Filename>
          <ExecCommand></ExecCommand>
          <Expression>\\uwb_simple_example\include/main/main.c\381</Expression>
        </Bp>
      </Breakpoint>
      <WatchWindow1>
        <Ww>
          <count>0</count>
@@ -362,6 +379,21 @@
          <WinNumber>2</WinNumber>
          <ItemText>Gsv_count,0x0A</ItemText>
        </Ww>
        <Ww>
          <count>25</count>
          <WinNumber>2</WinNumber>
          <ItemText>open_gps_time,0x0A</ItemText>
        </Ww>
        <Ww>
          <count>26</count>
          <WinNumber>2</WinNumber>
          <ItemText>m_EUART_DMA_RXBuf</ItemText>
        </Ww>
        <Ww>
          <count>27</count>
          <WinNumber>2</WinNumber>
          <ItemText>uwb_time_count,0x0A</ItemText>
        </Ww>
      </WatchWindow2>
      <MemoryWindow1>
        <Mm>