zhangbo
2025-02-17 14ab6568e654336568c4f116526657ef8a415647
对比更改通讯参数
已修改23个文件
35996 ■■■■ 文件已修改
keil/JLinkLog.txt 13060 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/JLinkSettings.ini 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Listings/uwb_simple_example.map 6803 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.build_log.htm 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.hex 10691 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example.htm 3668 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/Objects/uwb_simple_example_MK8000 Release.dep 218 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/board/board.c 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/board/board.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/components/hal/pan_port.c 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/components/hal/pan_rf.c 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/drivers/PCA9555.c 234 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/drivers/PCA9555.h 115 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/drivers/Usart.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/drivers/mk_uwb.c 补丁 | 查看 | 原始文档 | blame | 历史
keil/include/main/main.c 414 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/lora_3029.c 423 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/lora_3029.h 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/sn74hc595.c 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/uwb_app.c 98 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/uwb_simple_example.uvoptx 111 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pin_config.c 73 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
user_config.h 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
keil/JLinkLog.txt
ÎļþÌ«´ó
keil/JLinkSettings.ini
@@ -22,8 +22,8 @@
VerifyDownload = 1
AllowCaching = 1
EnableFlashDL = 2
Override = 0
Device="MK8000"
Override = 1
Device="HC32F46x"
[GENERAL]
WorkRAMSize = 0x00
WorkRAMAddr = 0x00
keil/Listings/uwb_simple_example.map
ÎļþÌ«´ó
keil/Objects/uwb_simple_example.build_log.htm
@@ -21,20 +21,14 @@
Dialog DLL:      TARMCM1.DLL V1.14.2.0
 
<h2>Project:</h2>
D:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX\keil\uwb_simple_example.uvprojx
D:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX - BT\keil\uwb_simple_example.uvprojx
Project File Date:  12/23/2024
<h2>Output:</h2>
*** Using Compiler 'V6.14', folder: 'D:\keil\ARM\ARMCLANG\Bin'
Build Project 'uwb_simple_example' - Target 'MK8000 Release'
compiling main.c...
linking...
D:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX\keil\include\devices\MK800X\Source\ARM\MK800X_ac6_copy.sct(25): warning: L6314W: No section matches pattern *(.XIP_SECTION).
Program Size: Code=77080 RO-data=9772 RW-data=1664 ZI-data=28992
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:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX\keil\Objects\uwb_simple_example.axf"
".\Objects\uwb_simple_example.axf" - 0 Error(s), 1 Warning(s).
After Build - User command #1: fromelf.exe --bincombined -o "Output\uwb_simple_example.bin" "D:\zhangbo\2024\Code\ChinaUWB\ChinaUWBProject-biaoqian-RX - BT\keil\Objects\uwb_simple_example.axf"
".\Objects\uwb_simple_example.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
@@ -48,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:01
Build Time Elapsed:  00:00:00
</pre>
</body>
</html>
keil/Objects/uwb_simple_example.hex
ÎļþÌ«´ó
keil/Objects/uwb_simple_example.htm
ÎļþÌ«´ó
keil/Objects/uwb_simple_example_MK8000 Release.dep
@@ -16,7 +16,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_mac.h)(0x67206CDD)
I (include\drivers\mk_phy.h)(0x67206CDD)
F (.\include\components\algo\lib\lib_aoa.lib)(0x67206CDE)()
@@ -58,7 +58,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
@@ -81,7 +81,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
@@ -103,7 +103,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
@@ -112,7 +112,7 @@
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_rtc.h)(0x67206CDC)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
F (.\include\drivers\mk_clock.c)(0x67206CDC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_clock.o -MD)
@@ -130,7 +130,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
F (.\include\drivers\mk_dma.c)(0x672473BD)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_dma.o -MD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_common.h)(0x67206CDC)
@@ -146,7 +146,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
@@ -167,7 +167,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
@@ -189,7 +189,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
@@ -212,7 +212,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_io.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
@@ -235,7 +235,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
F (.\include\drivers\mk_misc.c)(0x67206CDC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_misc.o -MD)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
@@ -252,7 +252,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dual_timer.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
@@ -275,7 +275,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -309,7 +309,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -329,7 +329,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
@@ -337,7 +337,7 @@
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_sleep_timer.h)(0x67206CDC)
F (.\include\drivers\mk_sleep_timer.c)(0x67206CDC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_sleep_timer.o -MD)
F (.\include\drivers\mk_sleep_timer.c)(0x676E68DF)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_sleep_timer.o -MD)
I (include\drivers\mk_sleep_timer.h)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -352,7 +352,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -374,7 +374,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
@@ -399,14 +399,14 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_misc.h)(0x67206CDC)
F (.\include\drivers\mk_uwb.c)(0x67206CDD)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_uwb.o -MD)
F (.\include\drivers\mk_uwb.c)(0x6780D662)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_uwb.o -MD)
I (include\drivers\mk_uwb.h)(0x67206CDD)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -421,7 +421,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_mac.h)(0x67206CDD)
I (include\drivers\mk_phy.h)(0x67206CDD)
I (include\drivers\mk_reset.h)(0x67206CDC)
@@ -434,7 +434,7 @@
I (include\drivers\mk_aes.h)(0x67206CDC)
I (include\drivers\mk_lsp.h)(0x67206CDD)
I (include\drivers\mk_power.h)(0x67206CDC)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
F (.\include\drivers\mk_wdt.c)(0x67206CDC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_wdt.o -MD)
@@ -452,16 +452,16 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
F (.\sn74hc595.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/sn74hc595.o -MD)
F (.\sn74hc595.c)(0x67AC72F5)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/sn74hc595.o -MD)
I (..\keil\sn74hc595.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -475,7 +475,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -499,7 +499,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
@@ -521,7 +521,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\drivers\mk_reset.h)(0x67206CDC)
I (include\drivers\mk_trace.h)(0x67206CDC)
@@ -529,9 +529,9 @@
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
F (.\include\drivers\mk_timer.h)(0x67206CDD)()
F (.\include\drivers\PCA9555.c)(0x67693492)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67693344)
I (include\board\board.h)(0x67206CDC)
F (.\include\drivers\PCA9555.c)(0x67AEA0D7)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67909B96)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -545,16 +545,18 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
F (.\include\drivers\PCA9555.h)(0x67693344)()
I (include\drivers\mk_power.h)(0x67206CDC)
I (..\keil\lora_3029.h)(0x67A9CCFF)
F (.\include\drivers\PCA9555.h)(0x67909B96)()
F (.\include\drivers\Usart1.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/usart1.o -MD)
I (include\drivers\Usart.h)(0x672050F0)
I (include\drivers\Usart.h)(0x67AC72E5)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
I (include\drivers\Usart1.h)(0x672050F0)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -570,11 +572,11 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_uart.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
F (.\include\drivers\Usart.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/usart.o -MD)
I (include\drivers\Usart.h)(0x672050F0)
I (include\drivers\Usart.h)(0x67AC72E5)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
@@ -590,11 +592,11 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
F (.\mk_4G.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/mk_4g.o -MD)
I (..\keil\mk_4G.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -608,7 +610,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -621,7 +623,7 @@
I (include\drivers\lis3dh_driver.h)(0x672050F0)
I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
I (include\drivers\mk_io.h)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
@@ -658,7 +660,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
@@ -668,7 +670,7 @@
I (include\drivers\global_param.h)(0x672B0902)
I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
I (include\drivers\Usart.h)(0x672050F0)
I (include\drivers\Usart.h)(0x67AC72E5)
I (include\drivers\mk_flash.h)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -681,18 +683,18 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
F (.\include\board\board.c)(0x67206CDC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67206CDC)
F (.\include\board\board.c)(0x676BB2E6)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -706,7 +708,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -722,7 +724,7 @@
I (include\drivers\mk_phy.h)(0x67206CDD)
I (include\components\wsf\include\wsf_nvm.h)(0x67206CDE)
I (include\components\wsf\include\wsf_types.h)(0x67206CDE)
F (..\pin_config.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x676BB89A)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -737,15 +739,16 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (include\board\board.h)(0x67206CDC)
I (..\user_config.h)(0x67AC72E5)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\Usart.h)(0x672050F0)
F (.\include\main\main.c)(0x67AD8A8E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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\Usart.h)(0x67AC72E5)
I (..\keil\lora_3029.h)(0x67A9CCFF)
F (.\include\main\main.c)(0x67B2A1AB)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -760,7 +763,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
@@ -775,13 +778,13 @@
I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
I (include\drivers\serial_at_cmd_app.h)(0x672050F0)
I (include\drivers\global_param.h)(0x672B0902)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
I (include\components\wsf\include\wsf_nvm.h)(0x67206CDE)
I (include\components\wsf\include\wsf_types.h)(0x67206CDE)
I (include\drivers\mk_power.h)(0x67206CDC)
I (include\drivers\Usart.h)(0x672050F0)
I (include\drivers\Usart.h)(0x67AC72E5)
I (include\drivers\mk_adc.h)(0x67206CDC)
I (include\drivers\mk_sleep_timer.h)(0x67206CDC)
I (include\drivers\lis3dh_driver.h)(0x672050F0)
@@ -801,10 +804,11 @@
I (include\src\TCPClient.h)(0x672050F0)
I (include\drivers\mk_spi.h)(0x67206CDD)
I (include\components\hal\pan_port.h)(0x672050F0)
I (include\components\hal\pan_rf.h)(0x676935DB)
I (include\drivers\PCA9555.h)(0x67693344)
I (include\components\hal\pan_rf.h)(0x676E1685)
I (include\drivers\PCA9555.h)(0x67909B96)
I (include\drivers\mk_timer.h)(0x67206CDD)
I (..\keil\lora_3029.h)(0x67AC6E8C)
I (..\keil\lora_3029.h)(0x67A9CCFF)
I (include\drivers\mk_phy.h)(0x67206CDD)
F (.\include\src\TCPClient.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x672050F0)
I (include\components\hido\Include\HIDO_TYpeDef.h)(0x672050F0)
@@ -832,17 +836,17 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
I (..\keil\mk_4G.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
I (..\keil\dw_app_anchor.h)(0x672050F0)
F (.\include\src\gps.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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 (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -856,14 +860,14 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
F (.\uwb_app.c)(0x675F8466)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67B29747)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -878,7 +882,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
@@ -892,11 +896,12 @@
I (include\components\algo\inc\lib_ranging.h)(0x67206CDE)
I (..\keil\dw_app_anchor.h)(0x672050F0)
I (include\drivers\global_param.h)(0x672B0902)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
F (.\lora_3029.c)(0x676900C7)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/lora_3029.o -MD)
I (..\keil\lora_3029.h)(0x67AC6E8C)
I (..\keil\lora_3029.h)(0x67A9CCFF)
F (.\lora_3029.c)(0x67B2DCA2)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/lora_3029.o -MD)
I (..\keil\lora_3029.h)(0x67A9CCFF)
I (include\drivers\mk_io.h)(0x67206CDC)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
@@ -911,7 +916,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_spi.h)(0x67206CDD)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\global_param.h)(0x672B0902)
@@ -919,13 +924,14 @@
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
I (include\components\hal\pan_rf.h)(0x676935DB)
I (include\drivers\PCA9555.h)(0x67693344)
I (include\board\board.h)(0x67206CDC)
I (include\components\hal\pan_rf.h)(0x676E1685)
I (include\drivers\PCA9555.h)(0x67909B96)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (..\keil\dw_app_anchor.h)(0x672050F0)
F (.\include\components\wsf\sources\port\baremetal\wsf_assert.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/components/wsf/include/platform -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 -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/wsf_assert.o -MD)
I (include\components\wsf\include\wsf_assert.h)(0x67206CDE)
I (include\components\wsf\include\wsf_trace.h)(0x67206CDE)
@@ -946,7 +952,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
F (.\include\components\wsf\sources\port\baremetal\wsf_buf.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/wsf_buf.o -MD)
I (include\components\wsf\include\wsf_types.h)(0x67206CDE)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -969,7 +975,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\components\wsf\include\wsf_heap.h)(0x67206CDE)
I (include\components\wsf\include\wsf_math.h)(0x67206CDE)
I (include\components\wsf\include\wsf_os.h)(0x67206CDE)
@@ -993,7 +999,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\components\wsf\include\wsf_trace.h)(0x67206CDE)
I (D:\keil\ARM\ARMCLANG\include\stdarg.h)(0x5DDFFD72)
I (include\components\wsf\include\wsf_os.h)(0x67206CDE)
@@ -1020,7 +1026,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\components\wsf\include\wsf_buf.h)(0x67206CDE)
I (include\components\wsf\include\wsf_math.h)(0x67206CDE)
I (include\components\wsf\include\wsf_os.h)(0x67206CDE)
@@ -1059,7 +1065,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\components\crc\crc.h)(0x67206CDE)
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
F (.\include\components\wsf\sources\port\baremetal\wsf_os.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/wsf_os.o -MD)
@@ -1088,7 +1094,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_power.h)(0x67206CDC)
F (.\include\components\wsf\sources\port\baremetal\wsf_queue.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/wsf_queue.o -MD)
I (include\components\wsf\include\wsf_types.h)(0x67206CDE)
@@ -1112,7 +1118,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
F (.\include\components\wsf\sources\port\baremetal\wsf_timer.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/wsf_timer.o -MD)
I (include\components\wsf\include\wsf_queue.h)(0x67206CDE)
I (include\components\wsf\include\wsf_types.h)(0x67206CDE)
@@ -1131,7 +1137,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
F (.\include\components\wsf\sources\port\baremetal\wsf_trace.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/wsf_trace.o -MD)
@@ -1155,7 +1161,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\components\wsf\include\wsf_assert.h)(0x67206CDE)
I (include\components\wsf\include\wsf_cs.h)(0x67206CDE)
F (.\include\components\wsf\sources\platform\pal_flash.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/components/wsf/sources/platform -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 -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/pal_flash.o -MD)
@@ -1174,7 +1180,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_flash.h)(0x67206CDC)
I (include\drivers\mk_dma.h)(0x672473BD)
I (include\drivers\mk_misc.h)(0x67206CDC)
@@ -1195,7 +1201,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\components\wsf\include\platform\pal_uart.h)(0x67206CDE)
I (include\drivers\mk_misc.h)(0x67206CDC)
I (include\drivers\mk_clock.h)(0x67206CDC)
@@ -1215,7 +1221,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
F (.\include\components\crc\crc.c)(0x67206CDE)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -ffunction-sections -w -I ./include/components/crc -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 -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/crc.o -MD)
I (include\components\crc\crc.h)(0x67206CDE)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -1244,7 +1250,7 @@
I (include\components\hido\Include\HIDO_VLQueue.h)(0x672050F0)
I (include\components\hido\Include\HIDO_BaseQueue.h)(0x672050F0)
I (..\keil\sn74hc595.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -1257,7 +1263,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1275,7 +1281,7 @@
I (include\components\hido\Include\HIDO_VLQueue.h)(0x672050F0)
I (include\components\hido\Include\HIDO_BaseQueue.h)(0x672050F0)
I (..\keil\sn74hc595.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -1289,7 +1295,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1318,7 +1324,7 @@
I (include\components\internet\inc\AIR780ECSQ.h)(0x672050F0)
I (include\components\internet\inc\AIR780EDriver.h)(0x672050F0)
I (..\keil\sn74hc595.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -1331,7 +1337,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1352,7 +1358,7 @@
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
I (include\components\internet\inc\AIR780EDriver.h)(0x672050F0)
I (..\keil\sn74hc595.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -1365,7 +1371,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1390,7 +1396,7 @@
I (include\components\internet\inc\AIR780EDriver.h)(0x672050F0)
I (include\components\internet\inc\Socket.h)(0x672050F0)
I (..\keil\sn74hc595.h)(0x672050F0)
I (include\board\board.h)(0x67206CDC)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
@@ -1404,7 +1410,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1454,18 +1460,18 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_dma.h)(0x672473BD)
F (.\include\components\hal\pan_port.c)(0x672050F0)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/pan_port.o -MD)
F (.\include\components\hal\pan_port.c)(0x676CF7C8)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/pan_port.o -MD)
I (include\components\hal\pan_port.h)(0x672050F0)
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
I (D:\keil\ARM\ARMCLANG\include\stdbool.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
I (include\components\hal\pan_rf.h)(0x676935DB)
I (include\drivers\PCA9555.h)(0x67693344)
I (include\board\board.h)(0x67206CDC)
I (include\components\hal\pan_rf.h)(0x676E1685)
I (include\drivers\PCA9555.h)(0x67909B96)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
@@ -1477,7 +1483,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1485,17 +1491,17 @@
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
I (include\drivers\mk_spi.h)(0x67206CDD)
I (..\keil\lora_3029.h)(0x67AC6E8C)
F (.\include\components\hal\pan_rf.c)(0x67693344)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/pan_rf.o -MD)
I (..\keil\lora_3029.h)(0x67A9CCFF)
F (.\include\components\hal\pan_rf.c)(0x6780BCB9)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0 -c -fno-rtti -funsigned-char -D__MICROLIB -gdwarf-3 -O0 -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 -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/pan_rf.o -MD)
I (include\components\hal\pan_port.h)(0x672050F0)
I (D:\keil\ARM\ARMCLANG\include\stdio.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdint.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\stdlib.h)(0x5DDFFD6A)
I (D:\keil\ARM\ARMCLANG\include\stdbool.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\math.h)(0x5DDFFD6C)
I (include\components\hal\pan_rf.h)(0x676935DB)
I (include\drivers\PCA9555.h)(0x67693344)
I (include\board\board.h)(0x67206CDC)
I (include\components\hal\pan_rf.h)(0x676E1685)
I (include\drivers\PCA9555.h)(0x67909B96)
I (include\board\board.h)(0x67AC74B2)
I (include\drivers\mk_common.h)(0x67206CDC)
I (D:\keil\ARM\ARMCLANG\include\stddef.h)(0x5DDFFD72)
I (D:\keil\ARM\ARMCLANG\include\string.h)(0x5DDFFD6C)
@@ -1507,7 +1513,7 @@
I (D:\keil\ARM\ARMCLANG\include\arm_compat.h)(0x5E0CC2EC)
I (D:\keil\ARM\ARMCLANG\include\arm_acle.h)(0x5E0CC318)
I (include\devices\MK800X\Include\system_MK800X.h)(0x67206CDC)
I (..\user_config.h)(0x6760D510)
I (..\user_config.h)(0x67AC72E5)
I (include\drivers\mk_trace.h)(0x67206CDC)
I (include\drivers\mk_uart.h)(0x672473BD)
I (include\drivers\mk_dma.h)(0x672473BD)
@@ -1515,4 +1521,4 @@
I (include\drivers\mk_gpio.h)(0x67206CDC)
I (include\drivers\mk_io.h)(0x67206CDC)
I (include\components\hal\pan_param.h)(0x672050F0)
I (..\keil\lora_3029.h)(0x67AC6E8C)
I (..\keil\lora_3029.h)(0x67A9CCFF)
keil/include/board/board.c
@@ -621,7 +621,7 @@
void board_led_init(void)
{
    gpio_pin_set_dir(BOARD_LED_1, GPIO_DIR_OUT, 0);
    gpio_pin_set_dir(BOARD_LED_2, GPIO_DIR_OUT, 0);
//    gpio_pin_set_dir(BOARD_LED_2, GPIO_DIR_OUT, 0);
}
void board_led_on(enum IO_PIN_T idx)
keil/include/board/board.h
@@ -83,7 +83,7 @@
/* Board leds */
#define BOARD_LED_1 IO_PIN_7
#define BOARD_LED_2 IO_PIN_8
//#define BOARD_LED_2 IO_PIN_8
/** UCI handshake pin, from host to slave  */
#define HOST2SLAVE_HS_GPIO (IO_PIN_17)
keil/include/components/hal/pan_port.c
@@ -64,6 +64,7 @@
{
//    PORT_SetBits(PortA, Pin04);
    gpio_pin_set(LORA_CS);
//      gpio_pin_set(LORA_CS2);
}
/**
@@ -75,6 +76,7 @@
{
//    PORT_ResetBits(PortA, Pin04);
    gpio_pin_clr(LORA_CS);
//      gpio_pin_clr(LORA_CS2);
}
/**
keil/include/components/hal/pan_rf.c
@@ -2368,8 +2368,8 @@
        }
        if(irq & REG_IRQ_RX_DONE)
        {
            RxDoneParams.Snr = rf_get_snr();
            RxDoneParams.Rssi = rf_get_rssi();
//            RxDoneParams.Snr = rf_get_snr();
//            RxDoneParams.Rssi = rf_get_rssi();
            RxDoneParams.Size = rf_recv_packet(RxDoneParams.Payload);
            irq &= ~REG_IRQ_RX_DONE;
            rf_clr_irq(REG_IRQ_RX_DONE);
@@ -2461,6 +2461,8 @@
//}
RF_Err_t rf_set_default_para(uint32_t freq, uint8_t sf)
{
      //RF_ASSERT(rf_set_mode(RF_MODE_STB3));
    RF_ASSERT(rf_set_freq(freq));
    RF_ASSERT(rf_set_sf(sf));    
    RF_ASSERT(rf_set_code_rate(DEFAULT_CR));
keil/include/drivers/PCA9555.c
@@ -1,23 +1,28 @@
#include "PCA9555.h"
#include "mk_power.h"
#include "lora_3029.h"
uint8_t gps_led_output_state,tts_enbale_output_state,wake_up_output_state,air780e_enable_output_state,sos_enable_output_state,gps_backup_output_state,gps_power_output_state,main_ri_output_state;//1组output IO口从左到右1.0~1.7
uint8_t mcu_a_output_state,chg_g_output_state,lora_irq_output_state,lora_nrst_output_state,adc_minius_output_state,input_5v_output_state,pwr_on_output_state,pwr_enable_output_state;//2组output IO口从左到右0.0~0.7
uint8_t pca9555writedata_config[10];//暂存寄存器所有配置的数组
uint8_t pca9555writedata_output[10];//暂存输出高低电平配置的数组
uint8_t pca9555writedata_input[10];//暂存输入寄存器所有配置的数组
uint8_t pca9555writedata_polarity[10];//暂存输入极性反转寄存器所有配置的数组
void IIC_gpio_pca_init(void)
{
    io_pin_mux_set(SDA_PIN, IO_FUNC0);
    io_pin_mux_set(SCL_PIN, IO_FUNC0);
uint8_t pin_flag=0;
//float WAKE_UP_count;
extern float nomove_count;
//void IIC2_Init(void)
//{
//    io_pin_mux_set(SDA_PIN, IO_FUNC0);
//    io_pin_mux_set(SCL_PIN, IO_FUNC0);
    gpio_pin_set_dir(SDA_PIN , GPIO_DIR_OUT, 1);
        //io_open_drain_set(SDA_PIN, 1);
    io_pull_set(SDA_PIN , IO_PULL_UP, IO_PULL_UP_LEVEL2);//输出高阻态
//    gpio_pin_set_dir(SDA_PIN , GPIO_DIR_OUT, 1);
//        //io_open_drain_set(SDA_PIN, 1);
//    io_pull_set(SDA_PIN , IO_PULL_UP, IO_PULL_UP_LEVEL2);//输出高阻态
    gpio_pin_set_dir(SCL_PIN , GPIO_DIR_OUT, 1);
    //io_open_drain_set(SCL_PIN, 1);
    io_pull_set(SCL_PIN , IO_HIGH_Z, IO_PULL_UP_NONE);
}
//    gpio_pin_set_dir(SCL_PIN , GPIO_DIR_OUT, 1);
//    //io_open_drain_set(SCL_PIN, 1);//设置开漏输出
//    io_pull_set(SCL_PIN , IO_HIGH_Z, IO_PULL_UP_NONE);
//}
void IIC2_pca_Start(void)
{
@@ -461,25 +466,25 @@
{PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
    uint16_t gpio_state;
    gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
    if(INPUT_5V_POSITION&gpio_state)
        return 1;
    else {
        return 0;
    }
//    if(INPUT_5V_POSITION&gpio_state)
//        return 1;
//    else {
//        return 0;
//    }
}
/*读取供电引脚的输入高低电平
  è¿”回值 é«˜1 ä½Ž0 ç”µå¹³
*/
int read_powerkey_input_pca(void)
{PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
    uint16_t gpio_state;
    gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
    if(PWR_ON_POSITION&gpio_state)
        return 1;
    else {
        return 0;
    }
}
//int read_powerkey_input_pca(void)
//{PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
//    uint16_t gpio_state;
//    gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
//    if(PWR_ON_POSITION&gpio_state)
//        return 1;
//    else {
//        return 0;
//    }
//}
/*读取SOS引脚的输入高低电平
  è¿”回值 é«˜1 ä½Ž0 ç”µå¹³
*/
@@ -497,47 +502,84 @@
    }
    
}
int read_userkey_input_pca_lora(uint8_t flag)
/*读取LORA_IRQ引脚的输入高低电平
  è¿”回值 é«˜1 ä½Ž0 ç”µå¹³
*/
int read_userkey_input_pca_lora()
{
    PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
    uint16_t gpio_state;
    gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
    if(SOS_ENBALE_POSITION&gpio_state)
    if(LORA_IRQ_POSITION&gpio_state)
    {
        return flag=1;
        return 1;
    }    
    else 
    {
        return flag=0;
        return 0;
    }
    
}
void PCA9555_init()
{
//IIC_gpio_pca_init();//配置IIC管脚
    PCA9555_Set_One_Value_Config(LORA_LED,0);         //设置LORALED为输出
      PCA9555_Set_One_Value_Config(UWB_LED,0);         //设置UWBLED为输出
      PCA9555_Set_One_Value_Config(BT_LED,0);           //设置BT_LED为输出
      PCA9555_Set_One_Value_Config(RED_LED,0);     //设置RED_LED为输出
      PCA9555_Set_One_Value_Config(GREEN_LED,0);   //设置GREEN_LED为输出
      //管脚
      PCA9555_Set_One_Value_Config(LORA_NRST,0);    //设置LORA_NRST为输出
      PCA9555_Set_One_Value_Config(BT_EN,0);            //设置BT_EN为输出
      PCA9555_Set_One_Value_Config(MOTO,0);       //设置MOTO为输出
    
    //PCA9555_write_config_port_data(PCA9555_DEVICE_ADDR,PCA_OUTPUT_CONFIG_MASK,PCA_OUTPUT_CONFIG_MASK);//全配置为输出
    //PCA9555_Set_One_Value_Polarity_input(PWR_ON,0);
    //PCA9555_write_config_port_data(PCA9555_DEVICE_ADDR,PCA_INPUT_CONFIG_MASK,PCA_INPUT_CONFIG_MASK);//全配置为输入
    //PCA9555_write_polarity_port_data(PCA9555_DEVICE_ADDR,0x00,0x00);//翻转
    //PCA9555_Set_One_Value_Config(WAKE_UP,1);
    //PCA9555_Set_All_Output(1);
        //PCA9555_Set_One_Value_Config(LORA_IRQ,1);        //设置LORAIRQ为输入
      PCA9555_Set_One_Value_Config(BT_IRQ,1);          //设置BT_IRQ为输入
    PCA9555_Set_One_Value_Config(WK_UP,1);            //设置WK_UP为输入
        PCA9555_Set_One_Value_Config(SOS_ENBALE,1);    //设置SOS为输入
      PCA9555_Set_One_Value_Config(IN_5V,1);      //设置IN_5V为输入
      PCA9555_Set_One_Value_Config(CHGN,1);      //设置CHGN为输入   //充电芯片输入芯片IIC输入脚
    
    PCA9555_Set_One_Value_Config(GPS_POWER,0);//设置GPS为输出
    PCA9555_Set_One_Value_Output(GPS_POWER,1);//拉高GPS
    PCA9555_Set_One_Value_Config(ADC_MINIUS,0);//设置ADC输出
    PCA9555_Set_One_Value_Output(ADC_MINIUS,1);//默认拉高
    PCA9555_Set_One_Value_Config(MCU_A,0);//设置串口复用芯片切换
    PCA9555_Set_One_Value_Output(MCU_A,1);//输出高电平为uart通讯
    PCA9555_Set_One_Value_Config(INPUT_5V,1);//设置5V输入检测
    PCA9555_Set_One_Value_Config(GPS_LED,0);//设置LED灯输出
    PCA9555_Set_One_Value_Output(GPS_LED,1);//输出高电平开启LED通闪烁
    PCA9555_Set_One_Value_Config(PWR_ENABLE,0);//设置电池上电是否给单片机供电
    PCA9555_Set_One_Value_Output(PWR_ENABLE,1);//高电平默认导通单片机供电
    PCA9555_Set_One_Value_Config(PWR_ON,1);//设置开关机按键输入
//      PCA9555_Set_One_Value_Output(BT_LED,0);
//      PCA9555_Set_One_Value_Output(UWB_LED,0);
//    PCA9555_Set_One_Value_Config(GPS_POWER,0);//设置GPS为输出
//    PCA9555_Set_One_Value_Output(GPS_POWER,1);//拉高GPS
//    PCA9555_Set_One_Value_Config(ADC_MINIUS,0);//设置ADC输出
//    PCA9555_Set_One_Value_Output(ADC_MINIUS,1);//默认拉高
//    PCA9555_Set_One_Value_Config(MCU_A,0);//设置串口复用芯片切换
//    PCA9555_Set_One_Value_Output(MCU_A,1);//输出高电平为uart通讯
//    PCA9555_Set_One_Value_Config(INPUT_5V,1);//设置5V输入检测
//    PCA9555_Set_One_Value_Config(GPS_LED,0);//设置LED灯输出
//    PCA9555_Set_One_Value_Output(GPS_LED,1);//输出高电平开启LED通闪烁
//    PCA9555_Set_One_Value_Config(PWR_ENABLE,0);//设置电池上电是否给单片机供电
//    PCA9555_Set_One_Value_Output(PWR_ENABLE,1);//高电平默认导通单片机供电
//    PCA9555_Set_One_Value_Config(PWR_ON,1);//设置开关机按键输入
//
//    PCA9555_Set_One_Value_Config(TTS_ENABLE,0);
//    PCA9555_Set_One_Value_Config(WAKE_UP,0);
    
    PCA9555_Set_One_Value_Config(SOS_ENBALE,1);//设置SOS按钮输入
//    PCA9555_Set_One_Value_Output(PWR_ON,0);//拉低
//    LORA_LED_ON;
//    UWB_LED_ON;
//    GREEN_LED_ON;
//    RED_LED_ON;
//    BT_LED_ON;
//存在复位问题
//    PCA9555_Set_One_Value_Config(SOS_ENBALE,1);//设置SOS按钮输入
  LORA_NRST_UP;
    LORA_LED_OFF;
    GREEN_LED_OFF;
    UWB_LED_OFF;
    RED_LED_OFF;
    BT_LED_OFF;
//    LORA_NRST_DOWN;
//  delay_us(10000);
//    MOTO_OFF;
    //PCA9555_Set_One_Value_Output(LORA_NRST,1);//拉高
    //PCA9555_readdata_from_output_register(PCA9555_DEVICE_ADDR,pca9555writedata_input);
    //PCA9555_Set_One_Value_Output(AIR780E_ENBALE,0);
    //PCA9555_Set_One_Value_Output(PWR_ON,0);
@@ -547,35 +589,101 @@
    
    //PCA9555_readdata_from_config_register(PCA9555_DEVICE_ADDR,pca9555writedata_config);
//    PCA9555_Set_All_Output(0);//全部拉低
    //PCA9555_Set_One_Value_Output(TTS_ENABLE,0);
    //PCA9555_Set_One_Value_Output(WAKE_UP,0);
    //测试
//PCA9555_Set_All_Output(1);//全部拉高
//PCA9555_Set_All_Output(0);//全部拉低
}
uint8_t LORA_IRQ_flag=0;
uint8_t Sos_state;
void SOS_irq_callback()
{
    Sos_state=!Sos_state;
    if(Sos_state)
    {
        UWB_LED_ON;
    }
    else
    {
        UWB_LED_OFF;
    }
}
//void WAKE_UP_irq_callback()
//{
//    WAKE_UP_count++;
//}
void move_handler()
{
    nomove_count=0;
      Sos_state=!Sos_state;
        if(Sos_state)
    {
    LORA_LED_ON;
    }
    else
    {
    LORA_LED_OFF;
    }
}
void check_input_change(void)
{
        uint16_t gpio_state;
        gpio_state=(uint16_t)pca9555writedata_input[0]<<8|pca9555writedata_input[1];
        if(LORA_IRQ_POSITION&gpio_state)
//        if(LORA_IRQ_POSITION&gpio_state)
//        {
//                //Lora_irq_callback();
//        }
//                else
//                {
//
//                }
                if(BT_IRQ_POSITION&gpio_state)
        {
               
        }
                if(!(SOS_ENBALE_POSITION&gpio_state))
                {
         SOS_irq_callback();
                }
              if(WK_UP_POSITION&gpio_state)
                {
         move_handler();
                }
        //uart_change_check(gpio_state);
}
static void pca_handler(enum IO_PIN_T pin)
//static void pca_input_detect_irq_handler(enum IO_PIN_T pin)
//{
//
//
//}
void pca_input_detection_init(GPIO_IRQ_HANDLER_T irq_handler)
{
        PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
        check_input_change();
        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, irq_handler);
        power_wakeup_enable((enum POWER_WAKEUP_SOURCE_T)PCA_INPUT_DETECT, POWER_WAKEUP_LEVEL_LOW);
}
//void pca_input_detection_init(GPIO_IRQ_HANDLER_T irq_handler)
//{
//                pca_input_detect_irq_handler=irq_handler;
//                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);
//}
keil/include/drivers/PCA9555.h
@@ -17,53 +17,97 @@
#define  PCA_INPUT_CONFIG_MASK 0xff
#define  SDA_0 gpio_pin_clr(SDA_PIN)
#define  SCL_0 gpio_pin_clr(SCL_PIN)
#define  PCA_INPUT_DETECT   IO_PIN_17
//输出和配置
#define MAX_GPIO_NUM 16
//0组
#define  MCU_A             0x01
#define  CHG_G             0x02
#define  LORA_IRQ     0x03
#define  LORA_NRST     0x04
#define  ADC_MINIUS 0x05
#define  INPUT_5V     0x06
#define  PWR_ON         0x07
#define  PWR_ENABLE 0x08
//1组
#define GPS_LED      0x09
#define TTS_ENABLE 0x0A
#define WAKE_UP      0x0B
#define AIR780E_ENBALE 0x0C
#define SOS_ENBALE 0x0D
#define GPS_BACKUP 0x0E
#define GPS_POWER  0x0F
#define MAIN_RI    0x10
////0组
//#define  MCU_A                    0x01
//#define  CHG_G                   0x02
//#define  LORA_IRQ           0x03
//#define  LORA_NRST             0x04
//#define  ADC_MINIUS         0x05
//#define  INPUT_5V             0x06
//#define  PWR_ON                 0x07
//#define  PWR_ENABLE         0x08
////1组
//#define GPS_LED                  0x09
//#define TTS_ENABLE             0x0A
//#define WAKE_UP                  0x0B
//#define AIR780E_ENBALE     0x0C
//#define SOS_ENBALE             0x0D
//#define GPS_BACKUP             0x0E
//#define GPS_POWER              0x0F
//#define MAIN_RI                0x10
//重新定义宏
//0组
#define  PWR_GND                   0x01
#define  IN_5V                   0x02
#define  CHGN                   0x03
#define  MOTO                     0x04
#define  BT_IRQ                0x05
#define  RED_LED               0x06
#define  GREEN_LED             0x07
#define  BT_LED             0x08
//1组
#define LORA_LED                  0x09
#define UWB_LED                0x0A
#define IO_KONG                 0x0B
#define LORA_IRQ          0x0C
#define LORA_NRST             0x0D
#define SOS_ENBALE             0x0E
#define WK_UP                      0x0F
#define BT_EN                    0x10
//输入寄存器INT判断数组对应位置
//input 0组
#define MCU_A_POSITION  (1<<(MAX_GPIO_NUM-MCU_A))
#define CHG_G_POSITION  (1<<(MAX_GPIO_NUM-CHG_G))
#define PWR_GND_POSITION  (1<<(MAX_GPIO_NUM-PWR_GND))
#define IN_5V_POSITION  (1<<(MAX_GPIO_NUM-IN_5V))
#define CHGN_POSITION  (1<<(MAX_GPIO_NUM-CHGN))
#define MOTO_POSITION  (1<<(MAX_GPIO_NUM-MOTO))
#define BT_IRQ_POSITION  (1<<(MAX_GPIO_NUM-BT_IRQ))
#define RED_LED_POSITION  (1<<(MAX_GPIO_NUM-RED_LED))
#define GREEN_LED_POSITION  (1<<(MAX_GPIO_NUM-GREEN_LED))
#define BT_LED_POSITION  (1<<(MAX_GPIO_NUM-BT_LED))
//input 1组
#define LORA_LED_POSITION  (1<<(MAX_GPIO_NUM-LORA_LED))
#define UWB_LED_POSITION  (1<<(MAX_GPIO_NUM-UWB_LED))
#define IO_KONG_POSITION  (1<<(MAX_GPIO_NUM-IO_KONG))
#define LORA_IRQ_POSITION  (1<<(MAX_GPIO_NUM-LORA_IRQ))
#define LORA_NRST_POSITION  (1<<(MAX_GPIO_NUM-LORA_NRST))
#define ADC_MINIUS_POSITION  (1<<(MAX_GPIO_NUM-ADC_MINIUS))
#define INPUT_5V_POSITION  (1<<(MAX_GPIO_NUM-INPUT_5V))
#define PWR_ON_POSITION  (1<<(MAX_GPIO_NUM-PWR_ON))
#define PWR_ENABLE_POSITION  (1<<(MAX_GPIO_NUM-PWR_ENABLE))
//input 1组
#define GPS_LED_POSITION  (1<<(MAX_GPIO_NUM-GPS_LED))
#define TTS_ENABLE_POSITION  (1<<(MAX_GPIO_NUM-TTS_ENABLE))
#define WAKE_UP_POSITION  (1<<(MAX_GPIO_NUM-WAKE_UP))
#define AIR780E_ENBALE_POSITION  (1<<(MAX_GPIO_NUM-AIR780E_ENBALE))
#define SOS_ENBALE_POSITION  (1<<(MAX_GPIO_NUM-SOS_ENBALE))
#define GPS_BACKUP_POSITION  (1<<(MAX_GPIO_NUM-GPS_BACKUP))
#define GPS_POWER_POSITION  (1<<(MAX_GPIO_NUM-GPS_POWER))
#define MAIN_RI_POSITION  (1<<(MAX_GPIO_NUM-MAIN_RI))
#define WK_UP_POSITION  (1<<(MAX_GPIO_NUM-WK_UP))
#define BT_EN_POSITION  (1<<(MAX_GPIO_NUM-BT_EN))
#define LORA_LED_ON      PCA9555_Set_One_Value_Output(LORA_LED,1)
#define LORA_LED_OFF     PCA9555_Set_One_Value_Output(LORA_LED,0)
#define UWB_LED_ON       PCA9555_Set_One_Value_Output(UWB_LED,1)
#define UWB_LED_OFF      PCA9555_Set_One_Value_Output(UWB_LED,0)
#define RED_LED_ON       PCA9555_Set_One_Value_Output(RED_LED,1)
#define RED_LED_OFF      PCA9555_Set_One_Value_Output(RED_LED,0)
#define GREEN_LED_ON     PCA9555_Set_One_Value_Output(GREEN_LED,1)
#define GREEN_LED_OFF    PCA9555_Set_One_Value_Output(GREEN_LED,0)
#define BT_LED_ON        PCA9555_Set_One_Value_Output(BT_LED,1)
#define BT_LED_OFF       PCA9555_Set_One_Value_Output(BT_LED,0)
#define MOTO_ON          PCA9555_Set_One_Value_Output(MOTO,1)
#define MOTO_OFF         PCA9555_Set_One_Value_Output(MOTO,0)
#define LORA_NRST_UP         PCA9555_Set_One_Value_Output(LORA_NRST,1)
#define LORA_NRST_DOWN     PCA9555_Set_One_Value_Output(LORA_NRST,0)
//uint8_t gps_led_output_state,tts_enbale_output_state,wake_up_output_state,air780e_enable_output_state,sos_enable_output_state,gps_backup_output_state,gps_power_output_state,main_ri_output_state;//1组output IO口从左到右1.0~1.7
//uint8_t mcu_a_output_state,chg_g_output_state,lora_irq_output_state,lora_nrst_output_state,adc_minius_output_state,input_5v_output_state,pwr_on_output_state,pwr_enable_output_state;//2组output IO口从左到右0.0~0.7
void IIC_gpio_pca_init(void);
//void IIC_gpio_pca_init(void);
void IIC2_pca_Start(void);
void IIC_pca_Ready(void);
void IIC2_pca_Stop(void);
@@ -83,4 +127,7 @@
void PCA9555_Set_One_Value_Polarity_input(unsigned char num,unsigned char value);
void PCA9555_init();
//拓展函数
int read_userkey_input_pca_lora(uint8_t flag);
int read_userkey_input_pca_lora();
static void pca_input_detect_irq_handler(enum IO_PIN_T pin);
//static void pca_handler(enum IO_PIN_T pin);
void pca_input_detection_init(GPIO_IRQ_HANDLER_T irq_handler);
keil/include/drivers/Usart.h
@@ -6,7 +6,7 @@
#include "stdint.h"
//#define BAUDRATE_19200
#define EU_485_PIN                GPIO_PIN_7
//#define EU_485_PIN                GPIO_PIN_7
#define EU_485_GPIO                GPIOB
#define OUT485_ENABLE         GPIO_WriteBit(EU_485_GPIO, EU_485_PIN, Bit_SET);
#define OUT485_DISABLE         GPIO_WriteBit(EU_485_GPIO, EU_485_PIN, Bit_RESET);
keil/include/drivers/mk_uwb.c
keil/include/main/main.c
@@ -69,6 +69,7 @@
#include "lora_3029.h"
#include "pan_rf.h"
#include "PCA9555.h"
#include "mk_phy.h"
#define DEBUG_MODE
extern int simple_main(void);
extern int temp_main(void);
@@ -83,6 +84,15 @@
#define WARING_LIMIT_TIME 10
#define UPDATE_TIME 10
/****************************************************************引脚宏定义**************************************************/
#define ADC_PIN                              IO_PIN_0
#define UART0_TX                                      IO_PIN_5
#define UART0_RX                                                         IO_PIN_6
#define UART1_TX                                                       IO_PIN_1
#define UART1_RX                                                         IO_PIN_14
/****************************************************************引脚宏定义**************************************************/
void test_Delay_us(uint16_t time);
void Lora_UploadHeartBeartPoll(void);
extern uint8_t mUsartReceivePack[100];
@@ -156,6 +166,7 @@
{
    uart_receive(UART_ID1,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart_receive_callback);
}
static void adc_callback(void *data, uint32_t number)
{
    uint32_t *result = (uint32_t *)data;
@@ -298,7 +309,9 @@
////        gpio_pin_clr(IO_PIN_5);//测试
    //    gpio_pin_set(IO_PIN_5);//测试
      // lora_wg_up=1;
       lora_tx_flag++;
//       lora_qiehuan++;
//    IO_control_init();
//    UWBPoll();
//    
@@ -335,14 +348,28 @@
    //GPS工作逻辑
}
void phy_timer_callback(uint32_t time)
{
 lora_tx_flag++;
}
uint8_t DMA_RXBuf_BT[200]={0};
void uart0_receive_callback()
{
    uint8_t buff[200]={0};
    memcpy(buff,m_EUART_DMA_RXBuf,100);
    if(buff[0]==0x55||buff[1]==0xAA||buff[2]==0x41)
    {
      uint8_t lenth=0;
        lenth=((buff[4]*2)+(buff[4]*2)+1);
        memcpy(DMA_RXBuf_BT,&buff[4],lenth);
    }
}
static void voltage_input_handler(enum IO_PIN_T pin)
{
}
static void move_handler(enum IO_PIN_T pin)
{
    nomove_count=0;
}
uint8_t flag_4G_recdata;
static void _4gUsart_handler(enum IO_PIN_T pin)
{
@@ -356,8 +383,8 @@
{
    Usart1ParseDataCallback = UsartParseDataHandler;//需改为默认为gps处理,UsartParseDataHandler为升级处理当调试时候改为
    parameter_init_anchor();//g_com_map表初始化角色默认为基站
    g_com_map[DEV_ID]=0x6789;
    g_com_map[GROUP_ID]=1;
    g_com_map[DEV_ID]=0x1234;
//    g_com_map[GROUP_ID]=1;
    dev_id=g_com_map[DEV_ID];//这里不太对
    group_id=g_com_map[GROUP_ID];//组ID
    tag_frequency = 1000/g_com_map[COM_INTERVAL];//测距频率这个存的是测距时间
@@ -472,7 +499,12 @@
#define TEST_SPI_INTERUPT_MODE 1
#define TEST_SPI_DMA_MODE 2
#define TEST_SPI_MODE TEST_SPI_POLL_MODE
void spi_gpio_init()
//#define ADC_PIN                              IO_PIN_0
//#define UART0_TX                                      IO_PIN_5
//#define UART0_RX                                                         IO_PIN_6
//#define UART1_TX                                                       IO_PIN_1
//#define UART1_RX
void Board_gpio_init()
{
    // SPI0 MOSI/MISO/CLK/CS
    io_pin_mux_set(LORA_CS, IO_FUNC0);
@@ -482,7 +514,29 @@
    io_pin_mux_set(LORA_MOSI, IO_FUNC2);
    io_pin_mux_set(LORA_MISO, IO_FUNC2);
    io_pin_mux_set(LORA_CLK, IO_FUNC2);
    io_pin_mux_set(LORA_DIO, IO_FUNC0);//spi中断
      io_pin_mux_set(LORA_DIO, IO_FUNC0);
//    io_pin_mux_set(LORA_DIO, IO_FUNC0);
//    gpio_pin_set_dir(LORA_DIO , GPIO_DIR_OUT, 0);
//    io_pull_set(LORA_DIO, IO_HIGH_Z, IO_PULL_UP_NONE);
//    io_pin_mux_set(LORA_CS2, IO_FUNC0);
//    gpio_pin_set_dir(LORA_CS2 , GPIO_DIR_OUT, 0);
//    io_pull_set(LORA_CS2, IO_HIGH_Z, IO_PULL_UP_NONE);
//      //ADC
//      io_pin_mux_set(ADC_PIN, IO_FUNC1);
//       io_pull_set(ADC_PIN, IO_HIGH_Z, IO_PULL_UP_NONE);
//    //串口0
//        io_pin_mux_set(UART0_RX, IO_FUNC4);
//    io_pin_mux_set(UART0_TX, IO_FUNC4);
//      board_debug_console_open(TRACE_PORT_UART0);
//      uart_receive(UART_ID0,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart0_receive_callback);//开启dma
//
//      //串口1
//        io_pin_mux_set(UART1_RX, IO_FUNC4);
//    io_pin_mux_set(UART1_TX, IO_FUNC4);
}
void spi_init()
{
@@ -529,19 +583,28 @@
extern uint16_t BufferSize;
static uint16_t source_id;
extern struct RxDoneMsg RxDoneParams;
uint32_t time_flag_lorarx=0;
uint32_t lora_huanxing_count=0;
uint16_t Lora_wangguanid=0;
extern uint16_t wg_report_freq,wg_report_id;
extern uint32_t wg_lost_count;
wg_state_enum wg_state = WG_Lost;
extern uint16_t current_count;
extern uint8_t rec_index,rec_secdelay;
extern uint8_t  yuyin_no_sleep_flag,no_rx_flag;
/********************************************************************************************************/
/********************************************************************************************************/
/********************************************************************************************************/
static uint16_t delaytime = 771;
extern uint16_t wg_report_freq,wg_report_id;
extern uint32_t wg_lost_count;
extern uint8_t shengji_flag;
extern uint8_t lora_jianting_flag,report_ancnum;
uint8_t imu_enable,motor_enable;
uint32_t time_flag_lorarx=0;
uint32_t lora_huanxing_count=0;
uint16_t Lora_wangguanid=0;
wg_state_enum wg_state = WG_Lost;
uint16_t wangguan_up_id;
uint8_t LoraUp_flag;
uint8_t imu_enable,motor_enable;
extern uint8_t shengji_flag;
uint16_t rec_wenjian_daxiao;
uint16_t recnum[3];
uint16_t recv_flag=0;
@@ -549,16 +612,24 @@
uint16_t CRC16=0;
uint16_t DEST_ID=0;
uint16_t rec_value,rec_delaytime,rx_count,datalen_offset;
//
uint16_t Loratx_flag=0;
uint16_t Lorarx_flag=0;
uint16_t Lorarx_time_out_flag=0;
uint8_t tx_buf[5]={0,1,0,1,1};
uint32_t sleep_time_count=0;
uint32_t uwb_ceju_count=0;
//ceshi
//uint8_t no_rx_flag=0;
//xtal_38m4_off_time(sleep_time_count);
/********************************************************************************************************/
static void Lora_irq_handler(enum IO_PIN_T pin)
{
            uint16_t checksum1;    
            rf_irq_process();
            //这里根据SDK的那个逻辑 ç”¨ä½ çš„æŽ¥å£çœ‹çœ‹
//        gpio_pin_set(IO_PIN_5);//测试
            no_rx_flag=0;
        tx_flag=rf_get_transmit_flag();
        recv_flag=rf_get_recv_flag();
            if(recv_flag == RADIO_FLAG_RXDONE)
@@ -568,14 +639,28 @@
                 memcpy(RX_Buffer,RxDoneParams.Payload,RxDoneParams.Size);
                    BufferSize=RxDoneParams.Size;
                     lora_huanxing_count++;
                    if(RX_Buffer[0]==0x04&&RX_Buffer[1]=='I'&&RX_Buffer[2]=='N'&&RX_Buffer[3]=='G')
           if(RX_Buffer[MSG_TYPE_IDX]==LORA_MSGTYPE_RANGEPOLL)
                        {
             
                            time_flag_lorarx=phy_timer_count_get();
//                            time_flag_lorarx=phy_timer_count_get();
                      uwb_open();
                      //gpio_pin_clr(IO_PIN_5);//测试
                            UwbRange();
                        //rf_enter_continous_rx(); //重新进入接收模式
                        //LORA_REV_uwb_up=1;
                      uwb_ceju_count++;
                        }
//       if(RX_Buffer[0]==0x04,RX_Buffer[1]=='O',RX_Buffer[2]=='N',RX_Buffer[3]=='G')
//       {
//              gpio_pin_set(IO_PIN_5);//测试
////                            time_flag_lorarx=phy_timer_count_get();
//                      uwb_open();
//                      gpio_pin_clr(IO_PIN_5);
//                            UwbRange();
//
//                      uwb_ceju_count++;
//                        //rf_enter_continous_rx(); //重新进入接收模式
//                        //LORA_REV_uwb_up=1;
//                        }
                 if(RX_Buffer[MSG_TYPE_IDX]==LORA_MSGTYPE_WGRESPTAG)
                        {
                            checksum1=Checksum_u16(RX_Buffer,BufferSize-2);
@@ -598,23 +683,27 @@
                                        {
                                                case WGRSP_RWTAG_NONE:
//                        current_count = HAL_LPTIM_ReadCounter(&hlptim1);
//                        wg_report_freq = RX_Buffer[POLL_FREQ_IDX]+400;
//                        memcpy(&rec_delaytime,&RX_Buffer[NEXTPOLL_TIME_IDX],2);
//                        if(report_ancnum<2)
//                        {
//                            datalen_offset = report_ancnum*85;
//                        }else{
//                            datalen_offset = (report_ancnum-1)*46+85;
//                        }
//                        rec_secdelay = RX_Buffer[PWTAG_SECDELAY_IDX];
//                        if(BufferSize!=13||rec_secdelay>20)
//                        {
//                            rec_secdelay = 0;
//                        }
//
//                        target_count = current_count + rec_delaytime*3.2768 - delaytime-datalen_offset;
//                        while(target_count>=32768)
//                            target_count-=32768;
                                                 // sleep_time_count=xtal_38m4_off_time();
                        wg_report_freq = RX_Buffer[POLL_FREQ_IDX]+400;
                        memcpy(&rec_delaytime,&RX_Buffer[NEXTPOLL_TIME_IDX],2);
                        if(report_ancnum<2)
                        {
                            datalen_offset = report_ancnum*85;
                        }else{
                            datalen_offset = (report_ancnum-1)*46+85;
                        }
                        rec_secdelay = RX_Buffer[PWTAG_SECDELAY_IDX];
                        if(BufferSize!=13||rec_secdelay>20)
                        {
                            rec_secdelay = 0;
                        }
                        sleep_time_count = rec_delaytime*3.2768 - delaytime-datalen_offset;
                        while(sleep_time_count>=32768)
                            sleep_time_count-=32768;
                                                sleep_timer_start(sleep_time_count);
                                            //sleep_timer_start(sleep_time_count);sleep_timer_start(__MS_TO_32K_CNT(1000));//测试
//                                                #define __MS_TO_32K_CNT(ms) ((uint32_t)((float)(ms)*32768.0f / 1000.0f))
//                        __HAL_LPTIM_COMPARE_SET(&hlptim1, target_count);
                       // rx_count = HAL_LPTIM_ReadCounter(&hlptim1);
                     //   printf("tx %d,rx %d,delay %d",current_count>>5,rx_count>>5,rec_delaytime);
@@ -667,7 +756,19 @@
                                }
                            }                        
    if(!no_rx_flag)
    {
        if(lora_jianting_flag)
        {
                        uint32_t para;
//            SwitchLoraSettings(UWB_CHANNEL_FRQ+group_id,UWB_CHANNEL_SF,0);
            rf_set_mode(RF_MODE_STB3);
                        para=(UWB_CHANNEL_FRQ+group_id)*1000000;
                        rf_set_freq(para);
                        rf_set_sf(UWB_CHANNEL_SF);
            rf_enter_continous_rx();
        }
    }
                
      }
            if(tx_flag == RADIO_FLAG_TXDONE)
@@ -675,39 +776,49 @@
                 //rf_set_mode(RF_MODE_STB3);
                 rf_set_transmit_flag(RADIO_FLAG_IDLE);
                    Loratx_flag++;
//                #ifdef DEBUG_BOXING
//            //gpio_pin_clr(IO_PIN_5);//测试
//            gpio_pin_set(IO_PIN_5);//测试
//                #endif
                rf_enter_single_timeout_rx(100);
             // rf_enter_single_rx();
            //        rf_enter_continous_rx();
        }
        if((recv_flag == RADIO_FLAG_RXTIMEOUT))
        {
//                            #ifdef DEBUG_BOXING
//                            gpio_pin_clr(IO_PIN_5);//测试
//                //        gpio_pin_set(IO_PIN_5);//测试
//                            #endif
                    //这个超时接收是会自动重启的,所以必须将芯片状态置成STB3这样就退出了连续接收状态
                      rf_set_mode(RF_MODE_STB3);
                    //这个超时接收是会自动重启的,所以必须将芯片状态置成STB3这样就退出了连续接收状态
                        Lorarx_time_out_flag++;
                      rf_set_recv_flag(RADIO_FLAG_IDLE);
                        rf_set_freq(UWB_CHANNEL_FRQ+group_id*10000000);
                        rf_set_sf(UWB_CHANNEL_SF);
                    if(lora_jianting_flag)
                    {
                        uint32_t para;
//            SwitchLoraSettings(UWB_CHANNEL_FRQ+group_id,UWB_CHANNEL_SF,0);
            rf_set_mode(RF_MODE_STB3);
                        para=(UWB_CHANNEL_FRQ+group_id)*1000000;
                        rf_set_freq(para);
                        rf_set_sf(UWB_CHANNEL_SF);
            rf_enter_continous_rx();
                     }
                    //  rf_clr_irq(REG_IRQ_RX_TIMEOUT);
                 //  rf_enter_single_timeout_rx(100);
        }
                if((recv_flag == RADIO_FLAG_RXERR))
                {
                    rf_set_recv_flag(RADIO_FLAG_IDLE);
                    if(lora_jianting_flag)
                    {
                        uint32_t para;
//            SwitchLoraSettings(UWB_CHANNEL_FRQ+group_id,UWB_CHANNEL_SF,0);
            rf_set_mode(RF_MODE_STB3);
                        para=(UWB_CHANNEL_FRQ+group_id)*1000000;
                        rf_set_freq(para);
                        rf_set_sf(UWB_CHANNEL_SF);
            rf_enter_continous_rx();
                     }
                }
                
}
@@ -715,10 +826,15 @@
{
//        io_pin_mux_set(_4G_USART_RX_Pin,IO_FUNC0);//把原先io å˜ä¸ºæ™®é€šGPIO
        gpio_pin_set_dir(LORA_DIO , GPIO_DIR_IN, 0);
        io_pull_set(LORA_DIO, IO_HIGH_Z, IO_PULL_UP_NONE);
        io_pull_set(LORA_DIO, IO_HIGH_Z, IO_PULL_UP_LEVEL4);
        gpio_enable_irq(LORA_DIO, GPIO_IRQ_TYPE_RISING_EDGE, irq_handler);
}
extern uint8_t pca9555writedata_input[10];//暂存输入寄存器所有配置的数组
static void pca_handler(enum IO_PIN_T pin)
{
      PCA9555_readdata(PCA9555_DEVICE_ADDR,pca9555writedata_input);//读输入寄存器的值
      check_input_change();
}
uint8_t io14_state;
uint16_t  lora_freq=0;
uint16_t  lora_up_count=0;
@@ -728,99 +844,43 @@
{
    board_clock_run();
//    boot_deinit();
//    board_pins_config();
    board_debug_console_open(TRACE_PORT_UART1);
    // Reset reason
    reset_cause_get();
    reset_cause_clear();
    // Load calibration parameters from NVM
//    uint32_t internal_flash = (REG_READ(0x40000018) >> 17) & 0x1;
//    uint32_t external_flash = (REG_READ(0x40010030) >> 28) & 0x3;
//    if (internal_flash || external_flash == 1)
//    {
//        WsfNvmInit();
//        board_calibration_params_load();
//        flash_close(FLASH_ID0);
//    }
//    else
//    {
//        board_calibration_params_default();
//    }
    // Chip calibration
    calib_chip();
    // Disable watchdog timer
    wdt_close(WDT_ID0);
//    LOG_INFO(TRACE_MODULE_APP, "UWB simple example\r\n");
    // open system timer
    //sys_timer_open();
//    // TODO 4G
//    Uart_Register(UART_ID_4G, UART_ID0);
//    Internet_Init();
//    TCPClient_Init();
    gpio_open();
    
//     struct TIMER_CFG_T timer_cfg = {
//        .extin_type = TIMER_EXTIN_NONE,
//        .load = 0x1000000,
//        .int_en = true,
//        .callback = timer_callback,
//    };
//    timer_open(TIMER_ID0, &timer_cfg);
    spi_gpio_init();
    Board_gpio_init();
    //board_led_init();
    spi_init();
        //PCA9555_init();
//        gpio_pin_clr(LORA_CS);
//        gpio_pin_clr(LORA_MOSI);
//        gpio_pin_clr(LORA_MISO);
//        gpio_pin_clr(LORA_CLK);
//        gpio_pin_set(LORA_CLK);
//        gpio_pin_set(LORA_DIO);
    Board_LORA_NVIC_Init(Lora_irq_handler);
    Lora_init();
        //lora_freq=DEFAULT_up_FREQ+g_com_map[GROUP_ID];
    // rf_set_default_para(DEFAULT_up_FREQ+g_com_map[GROUP_ID],DEFAULT_up_SF);
        rf_set_default_para(DEFAULT_WG_SET_FREQ,DEFAULT_WG_SET_SF);
        //rf_enter_continous_rx();
    //    rf_enter_continous_rx();
//        if((rf_single_tx_data(TXBuffer,10,0))!= OK)
//    {
//
//    }
        //rf_set_default_para(DEFAULT_WG_SET_FREQ,DEFAULT_WG_SET_SF);
    //    rf_set_default_para(DEFAULT_up_FREQ,DEFAULT_up_SF);
//
    //rf_enter_continous_tx();
//    rf_set_transmit_flag(RADIO_FLAG_TXDONE);
//    rf_set_transmit_flag(RADIO_FLAG_TXDONE);
//    if(rf_continous_tx_send_data(tx_test_buf, TX_LEN) != 0)
//    {
//        error_cnt++;
//    }
//    else
//    {
//        successful_cnt ++;
//    }
//  while (rf_get_transmit_flag() == RADIO_FLAG_IDLE) ;
//
//  rf_set_transmit_flag(RADIO_FLAG_IDLE);
//    adc_open(&usr_adc_cfg);
//    IIC2_Init();
//    Accelerometer_Init();
//    IO_control_init();
//    io_pin_mux_set(SCL_PIN, IO_FUNC0);//测试测距波形
//    gpio_pin_set_dir(SCL_PIN , GPIO_DIR_OUT, 0);
//    io_pull_set(SCL_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
//    gps_air780_power_change(0,1);//开启gps,4G
////加速度计初始化必须在IO_control_init之前因为复用SDA引脚
        //LIS3DH_Data_Init();
//        PCA9555_init();
//    adc_get(&sample[0], NUM_SAMPLES, adc_callback);//adc采样
           Program_Init();
//#ifdef DEBUG_BOXING
//        io_pin_mux_set(IO_PIN_5,IO_FUNC0);
//        gpio_pin_set_dir(IO_PIN_5,GPIO_DIR_OUT,0);
//        io_pull_set(IO_PIN_5,IO_PULL_DOWN,IO_PULL_UP_LEVEL4);
//#endif
      // rf_single_tx_data(TXBuffer,10,2);
//    uart_receive(UART_ID1,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart_receive_callback);
@@ -829,93 +889,27 @@
//    power_init();
//      AIR780E_Reset(); //4G模块重启,耗时1.5秒,这个是无法同步的关键
    sleep_timer_open(true, SLEEP_TIMER_MODE_RELOAD, sleep_timer_callback);
        sleep_timer_start(__MS_TO_32K_CNT(1000));//测试
#ifdef DEBUG_BOXING
        io_pin_mux_set(IO_PIN_5,IO_FUNC0);
        gpio_pin_set_dir(IO_PIN_5,GPIO_DIR_OUT,0);
        io_pull_set(IO_PIN_5,IO_PULL_DOWN,IO_PULL_UP_LEVEL4);
#endif
    //rf_enter_single_timeout_rx(1000);
//    board_acceleration_detection_init(move_handler);
          //rf_enter_single_timeout_rx(900);
        //rf_enter_single_timeout_rx(500);
      //rf_enter_single_rx();
//        sleep_time_count=xtal_38m4_off_time();
//      pca_input_detection_init(pca_handler);
//#ifdef DEBUG_BOXING
//        io_pin_mux_set(IO_PIN_5,IO_FUNC0);
//        gpio_pin_set_dir(IO_PIN_5,GPIO_DIR_OUT,0);
//        io_pull_set(IO_PIN_5,IO_PULL_DOWN,IO_PULL_UP_LEVEL4);
//#endif
    Uwbinit();
    while (1)
    { 
//     rf_irq_process();
     //rf_enter_single_rx();
//        RED_LED_OFF;
//        BT_LED_OFF;
//        //    gpio_pin_clr(IO_PIN_5);
        Lora_Tx_Poll();
//        if((rf_single_tx_data(TXBuffer,10,0))!= OK)
//    {
//
//    }
            //        #ifdef DEBUG_BOXING
//         gpio_pin_clr(IO_PIN_5);//测试
//        gpio_pin_set(IO_PIN_5);//测试
//        test_Delay_us(1000);
//        gpio_pin_set(IO_PIN_5);//测试
//         test_Delay_us(100000);
//             test_Delay_us(100000);
//             test_Delay_us(100000);
//        gpio_pin_clr(IO_PIN_5);//测试
//        test_Delay_us(2000);
//        gpio_pin_set(IO_PIN_5);//测试
//        test_Delay_us(1000);
//        gpio_pin_clr(IO_PIN_5);//测试
//            if(LORA_REV_uwb_up)
//            {
//              LORA_REV_uwb_up=0;
//                UwbRange();
//            }
        
       // UwbRange();
//        rf_irq_process();
//        if(rf_get_transmit_flag() == RADIO_FLAG_TXDONE)
//        {
//            rf_set_transmit_flag(RADIO_FLAG_IDLE);
//            rf_delay_ms(1000);
//            if(rf_continous_tx_send_data(tx_test_buf, TX_LEN) != 0)
//            {
//                error_cnt++;
//            }
//            else
//            {
//                successful_cnt ++;
////                DDL_Printf("Tx cnt %d\r\n", cnt );
//            }
//        }
////
//
////            io14_state=gpio_pin_get_val(LORA_DIO);
//            rf_set_transmit_flag(RADIO_FLAG_IDLE);
//            rf_delay_ms(1000);
//            rf_enter_continous_tx();
////            rf_set_transmit_flag(RADIO_FLAG_TXDONE);
//            if(rf_continous_tx_send_data(tx_test_buf, TX_LEN) != OK)
//            {
////                rf_enter_continous_rx();
//            }
//            else
//            {
//                successful_cnt ++;
//            }
//          while (rf_get_transmit_flag() == RADIO_FLAG_IDLE) ;
//
//          rf_set_transmit_flag(RADIO_FLAG_IDLE);
        
//        if(flag_TCP_reconnectting||IfTCPConnected())
//        {
keil/lora_3029.c
@@ -3,6 +3,7 @@
#include "global_param.h"
#include "pan_port.h"
#include "pan_rf.h"
#include "dw_app_anchor.h"
//#include "WS2812.h"
//#include "pan_port.h"
//#include "pan_param.h"
@@ -30,9 +31,12 @@
static uint8_t rx_buf[10] = {0x00};
//extern uint32_t uwbled,gpsled,loraled,powerled;
extern uint8_t bat_percent,taglist_num;
uint8_t report_ancnum;
uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM];
//uint8_t report_ancnum;
//uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM];
extern void spi_transfer_callback(void *dev, uint32_t err_code);
extern uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS];
extern uint8_t report_ancnum;
extern uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM];
void Lora_init(void)
{
//    rf_write_reg(0x04, 0x55);
@@ -53,7 +57,30 @@
    {
//                printf("LORA Init OK\r\n");
    }
}
//void TagListUpdate(void)
//{
//    uint16_t i,j=0,k=0,temp[TAG_NUM_IN_SYS];
//    for(i=0; i<taglist_num; i++)
//    {
//        if(tagofflinetime[i]++<REPORT_TAG_KEEPTIMES)
//        {
//            report_ancid[k]=tagid_list[i];
//            report_ancdist[k++]=tagdist_list[i];
//        }
//        if(tagofflinetime[i]++<TAG_KEEPTIMES)
//        {
//            tagid_list[j]=tagid_list[i];
//            tagdist_list[j] = tagdist_list[i];
//            tagofflinetime[j++]=tagofflinetime[i];
//        }
//    }
//    report_ancnum = k;
//    taglist_num=j;
//}
extern wg_state_enum wg_state;
uint8_t lora_sendbuffer[200];
uint8_t seq_num;
@@ -132,10 +159,15 @@
uint16_t test_temp[10]={0x1306,9688,1000};
uint16_t test_temp2[10]={0xff,0xcd,0x19};
int16_t intheight;            //气压
extern uint32_t dangqian_frqe;
extern uint16_t recnum[3];
extern uint32_t freq_list[4];
extern uint8_t DMA_RXBuf_BT[200];
extern uint8_t report_ancnum;
void LoraReportPoll(void)
{
    // delay_ms(100);
    uint8_t report_ancnum_bt=0;
#ifdef _USE_BAR
    GetPressAndHeight();
    intheight = Height*100;
@@ -149,8 +181,22 @@
    LoraReportFreqPoll();
    flag_getwgresp = 0;
   // wg_report_freq = REPORT_MANGE_CHANNEL_FRQ;
      rf_set_default_para(wg_report_freq,REPORT_CHANNEL_SF);
     //Lora_init();
        uint32_t para;
        para=freq_list[2] * 100000;
//        rf_set_freq(wg_report_freq*100000);
//        rf_set_carrier_wave_off();
//        rf_set_carrier_wave_on();
        rf_set_freq(para);
        //rf_set_sf(UWB_CHANNEL_SF);
//        rf_set_tx_power(para);
//        rf_set_carrier_wave_freq(freq_list[1] * 100000);
//      rf_set_freq(para);
        rf_set_sf(REPORT_CHANNEL_SF);
      //rf_set_default_para(wg_report_freq,REPORT_CHANNEL_SF);
   // SwitchLoraSettings(wg_report_freq,REPORT_CHANNEL_SF,g_com_map[LORA_POWER]);
      dangqian_frqe=rf_read_freq();
    if(heatbeat_count++>HEATBEAT_UPDATE_TIME && WG_Connected == wg_state) //如果心跳包到达上传时间,并且网关处于链接状态,就上传心跳包
    {
        heatbeat_count = 0;
@@ -182,7 +228,7 @@
    lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+30;
#else
    lora_sendbuffer[MSG_TYPE_IDX] = LORA_MSGTYPE_TAGMSGTOWG;
    lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+ANCID_IDX;
    lora_sendbuffer[MSG_LENGTH] = 4*report_ancnum+4*report_ancnum_bt+ANCID_IDX;
#endif
    memcpy(&lora_sendbuffer[SOURCE_ID_IDX],&g_com_map[DEV_ID],2);
    memcpy(&lora_sendbuffer[DEST_ID_IDX],&wg_report_id,2);
@@ -201,19 +247,37 @@
    lora_sendbuffer[GPS_CHAFENLINGQI] = gps_chafenlingqi;
#endif
    //  memcpy(&lora_sendbuffer[BAR_HEIGHT_IDX],&bar_height,2);
        memcpy(&report_ancid,test_temp,10);
        memcpy(&report_ancdist,test_temp2,10);
        report_ancnum=3;
//        memcpy(&report_ancid,test_temp,10);
//        memcpy(&report_ancdist,test_temp2,10);
    lora_sendbuffer[ANCNUM_IDX] = report_ancnum;
    memcpy(&lora_sendbuffer[ANCID_IDX],report_ancid,report_ancnum*2);
    memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum*2],report_ancdist,report_ancnum*2);
    uint8_t LORA_RETRANSNUSSION_BT=0;
    LORA_RETRANSNUSSION_BT=ANCID_IDX+report_ancnum*2+1;
        //LORA_RETRANSNUSSION_BT   report_ancnum_bt
        lora_sendbuffer[LORA_RETRANSNUSSION_BT] = 0x2D;                                                                                                             //蓝牙上传标识符
        DMA_RXBuf_BT[0]=report_ancnum_bt;                                                                                                                                              //蓝牙基站数量
    memcpy(&lora_sendbuffer[LORA_RETRANSNUSSION_BT],&DMA_RXBuf_BT[1],report_ancnum_bt*2);                                     //基站ID
    memcpy(&lora_sendbuffer[LORA_RETRANSNUSSION_BT+report_ancnum_bt*2],&DMA_RXBuf_BT[1+report_ancnum_bt*2],report_ancnum_bt*2);//基站距离
        if(lora_sendbuffer[LORA_RETRANSNUSSION_BT]==0x2D)
        {
        checksum = Checksum_u16(lora_sendbuffer,4*report_ancnum_bt+4*report_ancnum+ANCID_IDX+1);
        memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum_bt*4+report_ancnum*4+2],&checksum,2);
        }
        else
        {
    checksum = Checksum_u16(lora_sendbuffer,4*report_ancnum+ANCID_IDX);
    memcpy(&lora_sendbuffer[ANCID_IDX+report_ancnum*4],&checksum,2);
        }
        
        //rf_enter_continous_tx();
//    LORA_3029_SEND(lora_sendbuffer,ANCID_IDX+report_ancnum*4+2);
    LORA_3029_SINGLE_SEND(lora_sendbuffer,ANCID_IDX+report_ancnum*4+2,0);
    LORA_3029_SINGLE_SEND(lora_sendbuffer,ANCID_IDX+report_ancnum*4+report_ancnum_bt*2+4,0);
        
//            rf_single_tx_data(lora_sendbuffer,ANCID_IDX+report_ancnum*4+2,2);
    //rf_enter_continous_rx();
@@ -225,290 +289,17 @@
    recnum[i] = 0;
}
extern uint8_t report_ancnum;
static uint16_t delaytime = 1200;
static uint16_t source_id;
uint8_t rec_index,rec_secdelay;
//uint16_t rec_value,rec_delaytime,rx_count;
//uint16_t rec_value,rec_delaytime,rx_count,datalen_offset;
int32_t target_count;
uint8_t shengji_flag,time=5;
extern uint32_t uwbled,gpsled,loraled,powerled;
extern struct RxDoneMsg RxDoneParams;
//void OnRxDone( uint8_t *payload, uint16_t size, int16_t rssi, int8_t snr )
//{         uint16_t checksum1;
//        BufferSize = size;
//          memcpy(RX_Buffer,RxDoneParams.Payload,RxDoneParams.Size);
//       // memcpy( RX_Buffer, payload, BufferSize );
//        RssiValue = rssi;
//        SnrValue = snr;
//        //Radio.Standby();
//        no_rx_flag = 0;
//        lora_up_rec_flag=1;
////    if(RX_Buffer[MSG_TYPE_IDX]==LORA_MSGTYPE_RANGEPOLL)
////    {
////            UwbRange();
////            rf_delay_us(time*1000);
////       // UWB_RXStart(10);
////       // delay_ms(time);
////    }
//    if(RX_Buffer[MSG_TYPE_IDX]==LORA_MSGTYPE_WGRESPTAG)
//    {
//        checksum1=Checksum_u16(RX_Buffer,BufferSize-2);
//        if(!memcmp(&checksum1,&RX_Buffer[BufferSize-2],2))
//        if(!memcmp(&dev_id,&RX_Buffer[DEST_ID_IDX],2))
//        {
//           memcpy(&source_id,&RX_Buffer[SOURCE_ID_IDX],2);
//            if(wg_state==WG_Lost)
//            {
//                wg_state = WG_Connected;
//                wg_report_id = source_id;
//            }
//            if(!memcmp(&wg_report_id,&RX_Buffer[SOURCE_ID_IDX],2))
//            {
//                wg_lost_count = 0;
//                // loraled=GREEN;
//                switch(RX_Buffer[PWTAG_RW_FLAG_IDX])
//                {
//                    case WGRSP_RWTAG_NONE:
//                       // current_count = HAL_LPTIM_ReadCounter(&hlptim1);
//                        wg_report_freq = RX_Buffer[POLL_FREQ_IDX]+400;
//                        memcpy(&rec_delaytime,&RX_Buffer[NEXTPOLL_TIME_IDX],2);
//                    rec_secdelay = RX_Buffer[PWTAG_SECDELAY_IDX];
//                    if(BufferSize!=13||rec_secdelay>20)
//                    {
//                        rec_secdelay = 0;
//                    }
//
//                    if(report_ancnum<2)
//                    {
//                        datalen_offset = report_ancnum*85;
//                    }else{
//                        datalen_offset = (report_ancnum-1)*46+85;
//                    }
//
//                        target_count = current_count + rec_delaytime*3.2768 - delaytime-datalen_offset;
//                        while(target_count>=32768)
//                            target_count-=32768;
////                         __HAL_LPTIM_COMPARE_SET(&hlptim1, target_count);
////                        rx_count = HAL_LPTIM_ReadCounter(&hlptim1);
//                     //   printf("tx %d,rx %d,delay %d",current_count>>5,rx_count>>5,rec_delaytime);
//                        break;
//                    case WGRSP_RWTAG_READ:
//                        no_rx_flag = 1;
//                        //LoraSendComMap(WGRSP_RWTAG_READ);
//                        break;
//                    case WGRSP_RWTAG_WRITE:
//                        rec_index = RX_Buffer[PWTAG_WRITE_IDX_IDX];
//                        if(rec_index<=DEV_ID)
//                            return;
//                        if(rec_index==0xDD)
//                        {
////                             if(usart5_state==1)
////                             {
////                                Usart5Init();
////                                usart5_state=0;
////                             }
////                            HAL_GPIO_WritePin(GPIOC, GPIO_PIN_7, GPIO_PIN_SET);
////                            HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_SET);
////                            memcpy(&xiafayuyin_data,&RX_Buffer[PWTAG_WRITE_VALUE_IDX],BufferSize-PWTAG_WRITE_VALUE_IDX-2);
////                            yuyin_sendflag=1;
////                            yuyinzidongguan_time=0;
////                            yuyin_no_sleep_flag=1;
////                            SYN_FrameInfo(0,xiafayuyin_data); //播放内容
////                            memset(xiafayuyin_data,0,sizeof(xiafayuyin_data));
//                           // LoraRspWriteCommap(SUBMSG_WRITE_ANCPARA);
//                              no_rx_flag = 1;
//                        }else{
//                            memcpy(&rec_value,&RX_Buffer[PWTAG_WRITE_VALUE_IDX],2);
//                            g_com_map[rec_index/2] = rec_value;
//                            save_com_map_to_flash();
//                          //  LoraRspWriteCommap(SUBMSG_WRITE_ANCPARA);
////                            flag_writepara_needreset = 1;
//                            no_rx_flag = 1;
//                        }
//                        break;
//                    case WGRSP_RWTAG_UPDATE:
//                    rec_index = RX_Buffer[PWTAG_WRITE_IDX_IDX];
//                    switch(rec_index)
//                    {
//                        case 0xaa:  //升级下发
////                        memcpy(&rec_wenjian_daxiao,&RX_Buffer[WRITEPARA_VALUE_IDX],2);//文件大小
////                        if(rec_wenjian_daxiao>APP_SIZE||rec_wenjian_daxiao==0)
////                        {}//文件过大,超出范围
////                        else
////                        {
////                        memcpy(&wangguan_up_id,&RX_Buffer[SOURCE_ID_IDX],2);//网关ID å ç”¨2个字节
////                        shengji_flag=1;
////                        LoraUp_flag=1;
////                        }
//                            break;
//                    }
//                        break;
//                }
//            }
//        }
//    }
////    if(!no_rx_flag&&LoraUp_flag==0)
////    {
////        if(RX_Buffer[MSG_TYPE_IDX]!=LORA_MSGTYPE_RANGEPOLL)
////        SwitchLoraSettings(UWB_CHANNEL_FRQ+g_com_map[GROUP_ID],UWB_CHANNEL_SF,0);
////        Radio.Rx(0);
////    }
//}
//void LORA_mode_select(void)
//{
//    if(TX_RX_SELECT==1)
//    {
//     rf_enter_continous_tx();
//     printf("fasong \n");
//    }
//    else
//    {
//     rf_enter_continous_rx();
//     printf("jieshou\n");
//    }
//}
//void OnMaster(void)
//{
//    TX_RX_SELECT=1;
//  LORA_mode_select();
//    //frame header
//    send_buffer[MSG_F]=MSG_LORA_FH0;
//  send_buffer[MSG_H]=MSG_LORA_FH1;
//
//    send_buffer[MSG_Substance_event]=MSG_TTS;
//    send_buffer[MSG_Substance2]=0;
//
//    send_buffer[MESSAGE_TYPE_IDX] = DATA_LORA_TTS;
//    send_buffer[GROUP_ID_LORA] = GROUP_TAG_NUM;
//    rf_set_transmit_flag(RADIO_FLAG_TXDONE);
//  // tx
//  if(rf_get_transmit_flag()==RADIO_FLAG_TXDONE)
//    {
//        if(rf_continous_tx_send_data(send_buffer, 11) == OK)
//        {
//            printf("tx ok!\n");
//        }
//    while (rf_get_transmit_flag() == RADIO_FLAG_IDLE)
//    ;
//  rf_set_transmit_flag(RADIO_FLAG_IDLE);
//    }
//  //delay_ms(10000);
//
//}
//void OnSlave(void)
//{
//  uint8_t Rev_Frequency = 0;
//    rf_irq_process();
//     int j=2;
//  if (rf_get_recv_flag() == RADIO_FLAG_RXDONE)
//  {
//    // Rssi_dBm = RxDoneParams.Rssi; // RSSI çš„æµ‹é‡èŒƒå›´æ˜¯-60 åˆ°-140
//    // Snr_value = RxDoneParams.Snr;
//      // printf("Rx : SNR: %f ,RSSI: %f ,size: %d\r\n", Rssi_dBm, Snr_value,RxDoneParams.Size);
//    //rf_set_recv_flag(RADIO_FLAG_IDLE);
//        //printf("pack_size: %d\n",RxDoneParams.Size);
//        //printf("\n");
//        //memset(RF_RX_temp,0,RxDoneParams.Size);
//        switch(j)
//        {
//            case 1:
//            {
//              memcpy(RF_RX_temp1,RxDoneParams.Payload,RxDoneParams.Size);
//                Uart_Send(UART_ID_GPS, &RF_RX_temp1[11], RxDoneParams.Size-11);
//        rf_enter_continous_rx(); //重新进入接收模式
//                j++;
//                break;
//            }
//            case 2:
//            {
//        Warn_TTS_play();
////              memcpy(RF_RX_temp2,RxDoneParams.Payload,RxDoneParams.Size);
////                Uart_Send(UART_ID_GPS, &RF_RX_temp2[11], RxDoneParams.Size-11);
////        rf_enter_continous_rx(); //重新进入接收模式
////                j=0;
//             break;
//            }
//            memset(RF_RX_temp1,0,250);
//            memset(RF_RX_temp2,0,250);
//        }
//        //Rev_Frequency++;
//    //printf("Rev_Frequency: %d \n",Rev_Frequency);
//  }
//
//    if((rf_get_recv_flag() == RADIO_FLAG_RXTIMEOUT) || (rf_get_recv_flag() == RADIO_FLAG_RXERR))
//  {
//     rf_set_recv_flag(RADIO_FLAG_IDLE);
//     printf("Rxerr\r\n");
//  }
//}
//void Warn_TTS_play()
//{
//    uint8_t data[15]={0};
//    static HIDO_UINT32 Power_r = 0,Open_PJ,Group_id;
//    uint8_t MSG_DATA=0;
//
//    memcpy(data,RxDoneParams.Payload,11);
//    Group_id=data[GROUP_ID_LORA];
//
//    //delay_ms(5000);
//  //copy æ•°æ®å†…容
//    MSG_DATA=data[MSG_Substance_event];
//    data[MSG_Substance2]=0;
////    if(EC6000_FLAG==1)
////    {
//////    Open_PJ = sprintf(TTS_Lora_Open, "您已离开规定区域,请立刻返回");
////    //Open_PJ = sprintf(TTS_Lora_Open, "设备");
////    TTS_Play((HIDO_UINT8 *)TTS_Lora_Open, strlen(TTS_Lora_Open));
////    }
//    if(data[MSG_F]==MSG_LORA_FH0&&data[MSG_H]==MSG_LORA_FH1&&data[MESSAGE_TYPE_IDX]==DATA_LORA_TTS&&EC6000_FLAG==1)
//    {
//                if(Group_id==2)
//                {
//                switch(MSG_DATA)
//                {
//                    case 0x10 :
//                    {
//                    Open_PJ = sprintf(TTS_Lora_Open, "高压危险,请保持安全距离");
//                    TTS_Play((HIDO_UINT8 *)TTS_Lora_Open, strlen(TTS_Lora_Open));
//                    delay_ms(1000);
//                    break;
//                    }
//                    case 0x11 :
//                    {
//                    Open_PJ = sprintf(TTS_Lora_Open, "您已离开规定区域,请立刻返回");
//                    TTS_Play((HIDO_UINT8 *)TTS_Lora_Open, strlen(TTS_Lora_Open+5));
//                    break;
//                    }
//                    case 0x12 :
//                    {
//                    Open_PJ = sprintf(TTS_Lora_Open, "实验语音3");
//                    TTS_Play((HIDO_UINT8 *)TTS_Lora_Open, strlen(TTS_Lora_Open));
//                    break;
//                    }
//                }
//
//                }
//    }
//    memset(data,0,15);
//
//
//}
//extern     uint8_t Lora_tx_ancnum;
//extern   u8 lora_seq_nb2;
extern uint16_t lora_yingda_num;
@@ -535,6 +326,7 @@
        checksum = Checksum_u16(lora_sendbuffer,11+data_length);
        memcpy(&lora_sendbuffer[11+data_length],&checksum,2);
        LORA_3029_SINGLE_SEND(lora_sendbuffer,data_length+13,0);
          //++;
  //  Delay_Ms(100);
}
void LoraRspWriteCommap(uint8_t index)
@@ -562,6 +354,12 @@
extern uint8_t group_id;
uint16_t lora_send_count;
uint8_t mode_flag=0;
uint32_t frqe,dangqian_frqe;
uint32_t freq_list[4] = {DEFAULT_up_FREQ/100000,4730,4780,4910};
#define TX_LEN  10
extern uint8_t tx_test_buf[TX_LEN];
void Lora_Tx_Poll()
{
  
@@ -573,6 +371,8 @@
//        }
 if(lora_tx_flag)
    {
//            gpio_pin_set(IO_PIN_5);
        if(lora_send_count++%10==0||lora_jianting_flag)
        {
            lora_tx_flag=0;
@@ -614,14 +414,30 @@
                ti=0;
         //  group_min_dist[group_id] = 0xffff;
         //   Radio.Standby();
                        //rf_set_default_para(UWB_CHANNEL_FRQ+group_id,UWB_CHANNEL_SF);
                        //rf_antenna_close();
                        rf_set_mode(RF_MODE_STB3);
                        uint32_t para;
//                        frqe=((UWB_CHANNEL_FRQ+group_id)*100000);
                        para=freq_list[1] * 100000;
////                        rf_set_default_para(frqe,UWB_CHANNEL_SF);
//                        rf_set_carrier_wave_off();
//                  rf_set_carrier_wave_on();
                        rf_set_freq(para);
                        rf_set_sf(5);
//                        rf_set_tx_power(para);
//                  rf_set_carrier_wave_freq(freq_list[1] * 100000);
           // SwitchLoraSettings(UWB_CHANNEL_FRQ+group_id,UWB_CHANNEL_SF,0);
                        //rf_enter_single_timeout_rx(0);
                      dangqian_frqe=rf_read_freq();
                //        LoraSendComMap(WGRSP_RWTAG_READ);
                        //delay_us(5000);
//            rf_enter_continous_rx();
            //LedTask();
                        //LoraHeartBeartPoll();
//                      if(rf_continous_tx_send_data(tx_test_buf, TX_LEN) != OK)
//            {
//               while(1);
//            }
                    //    rf_get_mode();
            LoraReportPoll();
            // LedOff_task();
@@ -629,22 +445,15 @@
        }
    }
     
}
uint8_t TX_RX_SELECT=0;
//void OnMaster()
//{
//
//    rf_set_default_para(DEFAULT_WG_SET_FREQ,DEFAULT_WG_SET_SF);
//  rf_enter_continous_tx();//send_frame1, 19
// // LORA_3029_SEND(send_frame1, 19);
//
//}
int LORA_3029_SINGLE_SEND(uint8_t *buffer, uint8_t size,uint8_t time)
{
    if((rf_single_tx_data(lora_sendbuffer,size,time))!= OK)
        {
      //while(1);
      while(1);
        }    
        rf_delay_us(1);
        
@@ -657,29 +466,7 @@
}
//            rf_enter_continous_tx();
//            //rf_set_default_para(DEFAULT_WG_SET_FREQ,DEFAULT_WG_SET_SF);
//
//
//
//         rf_set_transmit_flag(RADIO_FLAG_TXDONE);
//
//
//             if(rf_get_transmit_flag() == RADIO_FLAG_TXDONE)
//        {
//          //
//                    if(rf_continous_tx_send_data(send_frame1, 20) == OK)
//                    {
//                    //printf("tx ok!\n");
//                    }
////                    while (rf_get_transmit_flag() ==!RADIO_FLAG_TXDONE)
////                    ;
//                while (rf_get_transmit_flag() ==!RADIO_FLAG_TXDONE)
//                ;
//
//        }
//
keil/lora_3029.h
@@ -2,11 +2,15 @@
#define __LORA_3029_H
#include "mk_io.h"
//BT板子更改了片选角
//#define LORA_CS IO_PIN_14
#define LORA_CS IO_PIN_8
#define LORA_MOSI IO_PIN_11
#define LORA_MISO IO_PIN_12
#define LORA_CLK IO_PIN_13
#define LORA_DIO IO_PIN_7
//#define LORA_DIO IO_PIN_4
#define ANC_MAX_NUM           50
#define LORA_REPORT_MAXANC_NUM  7
//#define TEST_FREQ
@@ -54,6 +58,9 @@
#define LORA_MSGTYPE_ANCHEARTBEAT_POLL  7//网关回复基站升级文件内容
#define LORA_MSGTYPE_TAGMSGTOWG         0x22//标签距离信息发给网关
#define LORA_MSGTYPE_TAGMSGTOWG_GPS     0x23//标签距离信息发给网关
#define LORA_MSGTYPE_TAGMSGTOWG_BT      0x26//标签距离信息蓝牙距离信息,信号强度,发给网关
#define LORA_MSGTYPE_WGRESPTAG         8//网关回复标签测距定位报文
#define LORA_MSGTYPE_TAGHEARTBEAT       0x33//标签心跳包上传
#define LORA_MSGTYPE_READPARARESP       0x39  //标签基站回复网关读取配置指令
@@ -105,6 +112,8 @@
    #define BAR_HEIGHT_IDX      9  //气压高度
    #define ANCNUM_IDX          11  
    #define ANCID_IDX           12   //校验在4*ancnum+ANCID_IDX ä½ç½®
//        #define LORA_RETRANSNUSSION_BT 13  //LORA转发蓝牙协议标识符
#endif
//#define LORA_MSGTYPE_WGRESPTAG         8//网关回复标签测距定位报文 æ ¼å¼
@@ -151,4 +160,6 @@
void OnMaster();
int LORA_3029_SINGLE_SEND(uint8_t *buffer, uint8_t size,uint8_t time);
int LORA_3029_CONTINOUS_SEND(uint8_t *buffer, uint8_t size);
#endif
keil/sn74hc595.c
@@ -1,21 +1,21 @@
#include "sn74hc595.h"
void IO_control_init(void)
{
//SDA->SER
    io_open_drain_set(SER_PIN, 0);
    io_pin_mux_set(SER_PIN,IO_FUNC0);//把原先io SDA变为普通GPIO
    gpio_pin_set_dir(SER_PIN , GPIO_DIR_OUT, 0);//复用原先GPIO引脚为SER
    io_pull_set(SER_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
//SRCLK
    io_pin_mux_set(SRCLK_PIN,IO_FUNC0);
    gpio_pin_set_dir(SRCLK_PIN , GPIO_DIR_OUT, 0);
    io_pull_set(SRCLK_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
//RCLK
    io_pin_mux_set(RCLK_PIN,IO_FUNC0);
    gpio_pin_set_dir(RCLK_PIN , GPIO_DIR_OUT, 0);
    io_pull_set(RCLK_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
}
//void IO_control_init(void)
//{
////SDA->SER
//    io_open_drain_set(SER_PIN, 0);
//    io_pin_mux_set(SER_PIN,IO_FUNC0);//把原先io SDA变为普通GPIO
//    gpio_pin_set_dir(SER_PIN , GPIO_DIR_OUT, 0);//复用原先GPIO引脚为SER
//    io_pull_set(SER_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
////SRCLK
//    io_pin_mux_set(SRCLK_PIN,IO_FUNC0);
//    gpio_pin_set_dir(SRCLK_PIN , GPIO_DIR_OUT, 0);
//    io_pull_set(SRCLK_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
////RCLK
//    io_pin_mux_set(RCLK_PIN,IO_FUNC0);
//    gpio_pin_set_dir(RCLK_PIN , GPIO_DIR_OUT, 0);
//    io_pull_set(RCLK_PIN , IO_PULL_DOWN, IO_PULL_UP_LEVEL4);
//}
void IO_LED_control_change(uint8_t data)
{
@@ -25,12 +25,12 @@
            SER_1;
        else
            SER_0;
        SRCLK_1;//将数据放入移位寄存器
        SRCLK_0;
//        SRCLK_1;//将数据放入移位寄存器
//        SRCLK_0;
        data>>=1;
    }
    RCLK_1;//将数据存入存储器并输出
    RCLK_0;
//    RCLK_1;//将数据存入存储器并输出
//    RCLK_0;
}
//高电平开启power,低电平关闭power
void gps_air780_power_change(uint8_t gps_state,uint8_t air_state)
keil/uwb_app.c
@@ -8,7 +8,13 @@
#include "dw_app_anchor.h"
#include "global_param.h"
#include "board.h"
#include "lora_3029.h"
#define TAG_KEEPTIMES           30
#define REPORT_TAG_KEEPTIMES     1
#define GROUP_NUM   3
uint16_t group_min_dist[GROUP_NUM+1];
extern int simple_main(void);
extern int temp_main(void);
@@ -25,7 +31,7 @@
//resp变量
static uint8_t frame_seq_nb2,battary,button,rec_nearbase_num,ancidlist_num;
static uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS];
uint16_t ancidlist_rec[TAG_NUM_IN_SYS],ancidlist_send[TAG_NUM_IN_SYS],rec_ancidlist[TAG_NUM_IN_SYS];
static int16_t rec_ancdistlist[TAG_NUM_IN_SYS];
extern uint8_t group_id;
static uint16_t anc_id_recv,tag_id_recv;
@@ -245,6 +251,7 @@
        temp_count= phy_timer_count_get();
        temp_internal=temp_count;
        resp_tx_num++;
              //gpio_pin_clr(IO_PIN_5);
        //LOG_INFO(TRACE_MODULE_APP, "poll_rx_num is %d,resp_tx_num is %d\r\n",poll_rx_num,resp_tx_num);
    }
}
@@ -301,20 +308,51 @@
        ts2 >>= 8;
    }
}
uint8_t report_ancnum;
uint16_t report_ancdist[ANC_MAX_NUM],report_ancid[ANC_MAX_NUM];
void TagListUpdate(void)
{
    uint8_t i,j=0;
    for(i=0; i<anchordata_num; i++)
    uint16_t i,j=0,k=0,temp[TAG_NUM_IN_SYS];
    for(i=0; i<taglist_num; i++)
    {
        if(tagofflinetime[i]++<QUIT_SLOT_TIME)
        if(tagofflinetime[i]++<REPORT_TAG_KEEPTIMES)
        {
            anchordata_id[j]=anchordata_id[i];
            report_ancid[k]=tagid_list[i];
            report_ancdist[k++]=tagdist_list[i];
        }
        if(tagofflinetime[i]++<TAG_KEEPTIMES)
        {
            tagid_list[j]=tagid_list[i];
            tagdist_list[j] = tagdist_list[i];
            tagofflinetime[j++]=tagofflinetime[i];
        }
    }
    anchordata_num=j;
    report_ancnum = k;
    taglist_num=j;
}
//void TagListUpdate(void)
//{
//    uint8_t i,j=0,k=0;
//    for(i=0; i<anchordata_num; i++)
//    {
//        if(tagofflinetime[i]++<QUIT_SLOT_TIME)
//        {
//            anchordata_id[j]=anchordata_id[i];
//            tagofflinetime[j++]=tagofflinetime[i];
//        }
//                //标签存活时间
//                if(tagofflinetime[i]++<TAG_KEEPTIMES)
//        {
//            tagid_list[k]=tagid_list[i];
//            tagdist_list[k] = tagdist_list[i];
//            tagofflinetime[k++]=tagofflinetime[i];
//        }
//    }
//    anchordata_num=j;
//        taglist_num=k;
//}
//static uint8_t tagofflinetime[ANC_MAX_NUM];
int flag1=0;
uint32_t temp_count7;
uint32_t timeceshi1;
@@ -356,9 +394,10 @@
//    temp_count1=phy_timer_count_get();
                
    while(mac_is_busy());
        tagofflinetime[taglist_pos] = 0;
    gpio_pin_clr(SCL_PIN);
}
uint16_t uwb_searchcount,range_timeout_us = 2000;
uint16_t uwb_searchcount,range_timeout_us = 2000000;
uint8_t flag_recsuccess;
extern uint8_t g_start_send_flag,search_open_flag = 1,link_success_flag;
@@ -373,6 +412,7 @@
uint32_t UWB_1003_count,UWB_6666_count=0;
int UwbRange(void)
{
    uint8_t i;
    uint16_t tempid;
    // The following peripherals will be initialized in the uwb_open function
@@ -397,16 +437,16 @@
//    ranging_frame_type_set(config.phy_cfg.sts_pkt_cfg);
    // Register rx interrupt callback function
//    mac_register_process_handler(tx_int_callback, rx_int_callback);
    mac_register_process_handler(tx_int_callback, rx_int_callback);
    receive_flag = 0;
        flag_recsuccess = 0;
//    temp_count3=phy_timer_count_get();
    //gpio_pin_set(SCL_PIN);
        time_count_dkjs=phy_timer_count_get();
    //    time_count_dkjs=phy_timer_count_get();
//        gpio_pin_set(IO_PIN_5);//测试
//        gpio_pin_clr(IO_PIN_5);
    uwb_rxflag=uwb_rx(0, 0, range_timeout_us);//开启接收
//            gpio_pin_clr(IO_PIN_5);
//        gpio_pin_clr(IO_PIN_5);//测试
        #ifdef DEBUG_BOXING
//        gpio_pin_clr(IO_PIN_5);//测试
@@ -440,8 +480,8 @@
    if(receive_flag==1)//成功接收
    {
        time_count_sdsj=phy_timer_count_get();
            UWB_shoudao_count++;
//                    gpio_pin_set(IO_PIN_5);//测试
//             gpio_pin_set(IO_PIN_5);
//        gpio_pin_clr(IO_PIN_5);
        #ifdef DEBUG_BOXING
//        gpio_pin_set(IO_PIN_5);//测试
@@ -450,9 +490,9 @@
//            timeceshi1=phy_timer_count_get();
//            temp_count7=poll_rx_en_start_u32;
        receive_flag=0;
        if(group_id==rx_buf[GROUP_ID_IDX]&&rx_buf[MESSAGE_TYPE_IDX] == MBX_POLL/*&&!memcmp(&rx_buf[TAG_ID_IDX],&g_com_map[BIND_DEV_ID],2)*/)//判断是否是和自己是同一组通讯的且为poll包
        if(group_id==rx_buf[GROUP_ID_IDX]&&rx_buf[MESSAGE_TYPE_IDX] == MBX_POLL)/*&&!memcmp(&rx_buf[TAG_ID_IDX],&g_com_map[BIND_DEV_ID],2)*///判断是否是和自己是同一组通讯的且为poll包
        {  
//                        UWB_shoudao_count++;
                        flag_recsuccess = 1;
//                      temp_count2=phy_timer_count_get();
            frame_seq_nb2 = rx_buf[SEQUENCE_IDX];//获取包序
@@ -462,26 +502,19 @@
                      //rec_nearbase_num=25;  
                    
            memcpy(&tag_id_recv,&rx_buf[TAG_ID_IDX],2);
            memcpy(rec_ancidlist,&rx_buf[FZ_NEARBASEID_INDEX],2*rec_nearbase_num);
            memcpy(rec_ancdistlist,&rx_buf[FZ_NEARBASEID_INDEX+2*rec_nearbase_num],2*rec_nearbase_num);
            memcpy(&rec_antdelay,&rx_buf[FZ_NEARBASEID_INDEX+rec_nearbase_num*4],2);
            // memcpy(&rec_antdelay,&rx_buf[FZ_NEARBASEID_INDEX+rec_nearbase_num*4],2);
//            timeceshi1=phy_timer_count_get();
//            temp_count7=poll_rx_en_start_u32;
                      taglist_pos=CmpTagInList(tag_id_recv);
            for(i=0; i<rec_nearbase_num; i++)
            {
                if(rec_ancidlist[i] == dev_id)
                {
                    rec_ancdistlist[i]+=(int16_t)g_com_map[DIST_OFFSET];
                    PushAnchorDataArray(tag_id_recv,rec_ancdistlist[i],battary);
                                        if(tag_id_recv==0x1003)
                                        {
                                            UWB_1003_count++;
                                        }
                                        else if(tag_id_recv==0x6666)
                                        {
                                        UWB_6666_count++;
                                        }
                                      UWB_fachu_count++;
//        #ifdef DEBUG_BOXING
////        gpio_pin_clr(IO_PIN_5);//测试
@@ -492,11 +525,19 @@
            for(i=0; i<rec_nearbase_num; i++)
            {
                memcpy(&tempid,&rx_buf[FZ_NEARBASEID_INDEX+i*2],2);
                if(tempid==dev_id)//也是比id如果有就更新没有就抢占
                    if(tempid==dev_id)
                {
                    seize_anchor=0;  //非抢占。已存在列表中
                    Anchor_RecNearPoll(i);
                                      UWB_qiangzhanfachu_count++;
                                      tagdist_list[taglist_pos]=rec_ancdistlist[i];
                        if(group_min_dist[group_id]>rec_ancdistlist[i])
                        {
                            group_min_dist[group_id] = rec_ancdistlist[i];
                        }
                        if(taglist_pos==taglist_num)// taglist_pos==taglist_num è¯´æ˜Žè¿™ä¸ªåŸºç«™ä¸åœ¨å½“前列表中
                        {   //tempid==dev_id è¯´æ˜ŽåŸºç«™ä¸‹å‘测距报文有这个标签的信息
                            taglist_num++;          //满足上述两种情况才会添加基站ID进入列表中,否则会出现标签不在基站列表中,标签也不响应的情况
                            tagid_list[taglist_pos] = tag_id_recv;
                        }
                    break;
                }
            }
@@ -523,6 +564,7 @@
    
    delay_us(1);
    uwb_rx_force_off(1);
//        gpio_pin_clr(IO_PIN_5);
//        #ifdef DEBUG_BOXING
//        gpio_pin_clr(IO_PIN_5);//测试.
//        #endif
keil/uwb_simple_example.uvoptx
@@ -148,24 +148,7 @@
          <Name></Name>
        </SetRegEntry>
      </TargetDriverDllRegistry>
      <Breakpoint>
        <Bp>
          <Number>0</Number>
          <Type>0</Type>
          <LineNumber>676</LineNumber>
          <EnabledFlag>1</EnabledFlag>
          <Address>10844</Address>
          <ByteObject>0</ByteObject>
          <HtxType>0</HtxType>
          <ManyObjects>0</ManyObjects>
          <SizeOfObject>0</SizeOfObject>
          <BreakByAccess>0</BreakByAccess>
          <BreakIfRCount>1</BreakIfRCount>
          <Filename>&lt;1&gt;.\include\main\main.c</Filename>
          <ExecCommand></ExecCommand>
          <Expression>\\uwb_simple_example\include/main/main.c\676</Expression>
        </Bp>
      </Breakpoint>
      <Breakpoint/>
      <WatchWindow1>
        <Ww>
          <count>0</count>
@@ -377,132 +360,82 @@
        <Ww>
          <count>0</count>
          <WinNumber>2</WinNumber>
          <ItemText>packet_transmit</ItemText>
          <ItemText>resp_tx_num</ItemText>
        </Ww>
        <Ww>
          <count>1</count>
          <WinNumber>2</WinNumber>
          <ItemText>RADIO_FLAG_IDLE</ItemText>
          <ItemText>distance,0x0A</ItemText>
        </Ww>
        <Ww>
          <count>2</count>
          <WinNumber>2</WinNumber>
          <ItemText>tx_flag</ItemText>
          <ItemText>rec_ancdistlist</ItemText>
        </Ww>
        <Ww>
          <count>3</count>
          <WinNumber>2</WinNumber>
          <ItemText>wg_report_freq,0x0A</ItemText>
          <ItemText>rec_ancidlist</ItemText>
        </Ww>
        <Ww>
          <count>4</count>
          <WinNumber>2</WinNumber>
          <ItemText>REPORT_CHANNEL_SF</ItemText>
          <ItemText>rec_antdelay</ItemText>
        </Ww>
        <Ww>
          <count>5</count>
          <WinNumber>2</WinNumber>
          <ItemText>RX_Buffer</ItemText>
          <ItemText>UWB_fachu_count,0x0A</ItemText>
        </Ww>
        <Ww>
          <count>6</count>
          <WinNumber>2</WinNumber>
          <ItemText>CRC16</ItemText>
          <ItemText>UWB_shoudao_count,0x0A</ItemText>
        </Ww>
        <Ww>
          <count>7</count>
          <WinNumber>2</WinNumber>
          <ItemText>DEST_ID</ItemText>
          <ItemText>report_ancnum</ItemText>
        </Ww>
        <Ww>
          <count>8</count>
          <WinNumber>2</WinNumber>
          <ItemText>wg_state</ItemText>
          <ItemText>report_ancid</ItemText>
        </Ww>
        <Ww>
          <count>9</count>
          <WinNumber>2</WinNumber>
          <ItemText>SOURCE_ID_IDX</ItemText>
          <ItemText>rec_ancdistlist</ItemText>
        </Ww>
        <Ww>
          <count>10</count>
          <WinNumber>2</WinNumber>
          <ItemText>lora_sendbuffer</ItemText>
          <ItemText>rec_ancidlist</ItemText>
        </Ww>
        <Ww>
          <count>11</count>
          <WinNumber>2</WinNumber>
          <ItemText>Loratx_flag</ItemText>
          <ItemText>FZ_NEARBASEID_INDEX</ItemText>
        </Ww>
        <Ww>
          <count>12</count>
          <WinNumber>2</WinNumber>
          <ItemText>Lorarx_time_out_flag,0x0A</ItemText>
          <ItemText>gpio_state</ItemText>
        </Ww>
        <Ww>
          <count>13</count>
          <WinNumber>2</WinNumber>
          <ItemText>recv_flag</ItemText>
          <ItemText>RX_Buffer</ItemText>
        </Ww>
        <Ww>
          <count>14</count>
          <WinNumber>2</WinNumber>
          <ItemText>rx_timeout,0x0A</ItemText>
          <ItemText>lora_sendbuffer</ItemText>
        </Ww>
        <Ww>
          <count>15</count>
          <WinNumber>2</WinNumber>
          <ItemText>wg_report_id</ItemText>
        </Ww>
        <Ww>
          <count>16</count>
          <WinNumber>2</WinNumber>
          <ItemText>wg_report_freq,0x0A</ItemText>
        </Ww>
        <Ww>
          <count>17</count>
          <WinNumber>2</WinNumber>
          <ItemText>wg_report_sf</ItemText>
        </Ww>
        <Ww>
          <count>18</count>
          <WinNumber>2</WinNumber>
          <ItemText>REG_OP_MODE</ItemText>
        </Ww>
        <Ww>
          <count>19</count>
          <WinNumber>2</WinNumber>
          <ItemText>temreg</ItemText>
        </Ww>
        <Ww>
          <count>20</count>
          <WinNumber>2</WinNumber>
          <ItemText>lora_huanxing_count</ItemText>
        </Ww>
        <Ww>
          <count>21</count>
          <WinNumber>2</WinNumber>
          <ItemText>lora_sendbuffer</ItemText>
        </Ww>
        <Ww>
          <count>22</count>
          <WinNumber>2</WinNumber>
          <ItemText>report_ancid</ItemText>
        </Ww>
        <Ww>
          <count>23</count>
          <WinNumber>2</WinNumber>
          <ItemText>report_ancdist</ItemText>
        </Ww>
        <Ww>
          <count>24</count>
          <WinNumber>2</WinNumber>
          <ItemText>tx_flag</ItemText>
        </Ww>
        <Ww>
          <count>25</count>
          <WinNumber>2</WinNumber>
          <ItemText>lora_sendbuffer</ItemText>
          <ItemText>checksum</ItemText>
        </Ww>
      </WatchWindow2>
      <MemoryWindow1>
@@ -537,7 +470,7 @@
        <aPa1>0</aPa1>
        <AscS4>0</AscS4>
        <aSer4>0</aSer4>
        <StkLoc>1</StkLoc>
        <StkLoc>0</StkLoc>
        <TrcWin>0</TrcWin>
        <newCpu>0</newCpu>
        <uProt>0</uProt>
@@ -560,7 +493,7 @@
  <Group>
    <GroupName>Algo</GroupName>
    <tvExp>1</tvExp>
    <tvExp>0</tvExp>
    <tvExpOptDlg>0</tvExpOptDlg>
    <cbSel>0</cbSel>
    <RteFlg>0</RteFlg>
@@ -604,7 +537,7 @@
  <Group>
    <GroupName>Device</GroupName>
    <tvExp>1</tvExp>
    <tvExp>0</tvExp>
    <tvExpOptDlg>0</tvExpOptDlg>
    <cbSel>0</cbSel>
    <RteFlg>0</RteFlg>
@@ -636,7 +569,7 @@
  <Group>
    <GroupName>Driver</GroupName>
    <tvExp>1</tvExp>
    <tvExp>0</tvExp>
    <tvExpOptDlg>0</tvExpOptDlg>
    <cbSel>0</cbSel>
    <RteFlg>0</RteFlg>
@@ -1388,7 +1321,7 @@
  <Group>
    <GroupName>Internet</GroupName>
    <tvExp>1</tvExp>
    <tvExp>0</tvExp>
    <tvExpOptDlg>0</tvExpOptDlg>
    <cbSel>0</cbSel>
    <RteFlg>0</RteFlg>
pin_config.c
@@ -41,37 +41,58 @@
#include "mk_io.h"
#include "board.h"
#include "Usart.h"
#include "lora_3029.h"
extern struct UART_CFG_T test_uart_cfg;
extern void uart_receive_callback(void *dev, uint32_t err_code);
void board_pins_config(void)
{
    // UART0 TX/RX
    io_pin_mux_set(IO_PIN_5, IO_FUNC4);
    io_pin_mux_set(IO_PIN_6, IO_FUNC4);
//void board_pins_config(void)
//{
//    // UART0 TX/RX
//    io_pin_mux_set(IO_PIN_5, IO_FUNC4);
//    io_pin_mux_set(IO_PIN_6, IO_FUNC4);
//    // UART1 RX/TX已修改复用引脚为ADC留出空间调试串口
    io_pin_mux_set(IO_PIN_10, IO_FUNC4);
    io_pin_mux_set(IO_PIN_9, IO_FUNC4);
////    // UART1 RX/TX已修改复用引脚为ADC留出空间调试串口
//    io_pin_mux_set(IO_PIN_10, IO_FUNC4);
//    io_pin_mux_set(IO_PIN_9, IO_FUNC4);
//
////        // UART1 RX/TX GPS端口
////        io_pin_mux_set(IO_PIN_14, IO_FUNC4);
////    io_pin_mux_set(IO_PIN_13, IO_FUNC4);
//
////        //测试
////        io_pin_mux_set(IO_PIN_14, IO_FUNC0);
////        io_pull_set(IO_PIN_14 , IO_HIGH_Z, IO_PULL_UP_NONE);
////        gpio_pin_set_dir(IO_PIN_14 ,GPIO_DIR_IN, 0);
////    io_pin_mux_set(IO_PIN_13, IO_FUNC0);
////        io_pull_set(IO_PIN_13 , IO_HIGH_Z, IO_PULL_UP_NONE);
////        gpio_pin_set_dir(IO_PIN_13 ,GPIO_DIR_IN, 0);
//
//    // Single ADC, If IO0 is set to negative input, the positive input is Vref, and vice versa
//    io_pin_mux_set(IO_PIN_0, IO_FUNC1);
//    io_pull_set(IO_PIN_0, IO_HIGH_Z, IO_PULL_UP_NONE);
//    //5V输入检测,下拉GPIO
//    gpio_pin_set_dir(INPUT_5V_Pin , GPIO_DIR_IN, 0);
//    io_pull_set(INPUT_5V_Pin , IO_HIGH_Z, IO_PULL_UP_NONE);
//}
//void board_pins_config(void)
//{
//    // UART0 TX/RX
//    io_pin_mux_set(IO_PIN_5, IO_FUNC4);
//    io_pin_mux_set(IO_PIN_6, IO_FUNC4);
//    //spi初始化
//        // SPI0 MOSI/MISO/CLK/CS
//    io_pin_mux_set(LORA_CS, IO_FUNC0);
//    gpio_pin_set_dir(LORA_CS , GPIO_DIR_OUT, 0);
//    io_pull_set(LORA_CS, IO_HIGH_Z, IO_PULL_UP_NONE);
//
//    io_pin_mux_set(LORA_MOSI, IO_FUNC2);
//    io_pin_mux_set(LORA_MISO, IO_FUNC2);
//    io_pin_mux_set(LORA_CLK, IO_FUNC2);
//    io_pin_mux_set(LORA_DIO, IO_FUNC0);//spi中断
//
    
//        // UART1 RX/TX GPS端口
//        io_pin_mux_set(IO_PIN_14, IO_FUNC4);
//    io_pin_mux_set(IO_PIN_13, IO_FUNC4);
//
            
//        //测试
//        io_pin_mux_set(IO_PIN_14, IO_FUNC0);
//        io_pull_set(IO_PIN_14 , IO_HIGH_Z, IO_PULL_UP_NONE);
//        gpio_pin_set_dir(IO_PIN_14 ,GPIO_DIR_IN, 0);
//    io_pin_mux_set(IO_PIN_13, IO_FUNC0);
//        io_pull_set(IO_PIN_13 , IO_HIGH_Z, IO_PULL_UP_NONE);
//        gpio_pin_set_dir(IO_PIN_13 ,GPIO_DIR_IN, 0);
    // Single ADC, If IO0 is set to negative input, the positive input is Vref, and vice versa
    io_pin_mux_set(IO_PIN_0, IO_FUNC1);
    io_pull_set(IO_PIN_0, IO_HIGH_Z, IO_PULL_UP_NONE);
    //5V输入检测,下拉GPIO
    gpio_pin_set_dir(INPUT_5V_Pin , GPIO_DIR_IN, 0);
    io_pull_set(INPUT_5V_Pin , IO_HIGH_Z, IO_PULL_UP_NONE);
}
//}
void Uart1GpsRecDebugSend(void)
{
    io_pin_mux_set(IO_PIN_14, IO_FUNC0);//把原先uart变为普通GPIO
user_config.h
@@ -180,10 +180,11 @@
#define SDA_PIN IO_PIN_3
#define SER_PIN IO_PIN_3
#define SCL_PIN IO_PIN_4
#define SRCLK_PIN IO_PIN_8
#define RCLK_PIN IO_PIN_7
//#define SRCLK_PIN IO_PIN_8
//#define RCLK_PIN IO_PIN_7
#define DEBUG_BOXING
#define WSF_EN
#define GROUPID_SWITCH
//#define TEST_FREQ
/* =========================================================================================================================== */
/* ================                                           End                                             ================ */