1、增加ExclCommUint_t结构体,用于排除指定通讯单元的MAC

2、修复了复位后重复定义各项参数的bug。只有从flash读取到的出厂标志位错误时,才会进入配置默认参数判断,否则会以从flash读取到的数据为配置参数
3、增加CheckCommUnitExcl函数,用于查询mac是否被排除

GateWay_Debug:
1、rs485配置函数增加了boot升级使能功能
2、增加了excu、exdel、exls命令,用于配置排除设备的增、删、查
3、para命令增加显示LpCfg参数

sx127x:
1、lora通道选择取消,通过修改频率来修改通道
This commit is contained in:
2026-05-21 17:30:35 +08:00
parent 37d8152227
commit 7103c8ddfb
9 changed files with 95 additions and 143 deletions
+6 -6
View File
@@ -341,7 +341,7 @@
<MiscControls>--diag_suppress=186,66</MiscControls>
<Define>__DEBUG,HC32F460,USE_DEVICE_DRIVER_LIB,JEUA</Define>
<Undefine></Undefine>
<IncludePath>..\..\..\driver\inc;..\..\..\mcu\common;..\source\User\Inc;..\source\Module\Debug;..\source\Module\SDCard;..\source\Module\FatFS\source;..\source\Module\SX127x</IncludePath>
<IncludePath>..\..\..\driver\inc;..\..\..\mcu\common;..\source\User\Inc;..\source\Module\GateWay_Debug;..\source\Module\SDCard;..\source\Module\FatFS\source;..\source\Module\SX127x</IncludePath>
</VariousControls>
</Cads>
<Aads>
@@ -586,12 +586,12 @@
</Files>
</Group>
<Group>
<GroupName>DebugCmd</GroupName>
<GroupName>GateWay_Debug</GroupName>
<Files>
<File>
<FileName>DebugCmd.c</FileName>
<FileType>1</FileType>
<FilePath>..\source\Module\DebugCmd\DebugCmd.c</FilePath>
<FilePath>..\source\Module\GateWay_Debug\DebugCmd.c</FilePath>
</File>
</Files>
</Group>
@@ -1267,7 +1267,7 @@
<MiscControls>--diag_suppress=186,66</MiscControls>
<Define>__DEBUG,HC32F460,USE_DEVICE_DRIVER_LIB,JEUA,BOOT_ENABLE</Define>
<Undefine></Undefine>
<IncludePath>..\..\..\driver\inc;..\..\..\mcu\common;..\source\User\Inc;..\source\Module\Debug;..\source\Module\SDCard;..\source\Module\FatFS\source;..\source\Module\sx127x;..\source\Module\DebugCmd</IncludePath>
<IncludePath>..\..\..\driver\inc;..\..\..\mcu\common;..\source\User\Inc;..\source\Module\Debug;..\source\Module\SDCard;..\source\Module\FatFS\source;..\source\Module\sx127x;..\source\Module\GateWay_Debug</IncludePath>
</VariousControls>
</Cads>
<Aads>
@@ -1512,12 +1512,12 @@
</Files>
</Group>
<Group>
<GroupName>DebugCmd</GroupName>
<GroupName>GateWay_Debug</GroupName>
<Files>
<File>
<FileName>DebugCmd.c</FileName>
<FileType>1</FileType>
<FilePath>..\source\Module\DebugCmd\DebugCmd.c</FilePath>
<FilePath>..\source\Module\GateWay_Debug\DebugCmd.c</FilePath>
</File>
</Files>
</Group>