修复开关控制组控的控制异常问题

修改PB开关状态组控处理,解决后32路的开关状态会复用上前32个回路的数据
This commit is contained in:
yanghongfeng
2026-01-19 15:32:11 +08:00
commit f25132cbe3
292 changed files with 44556 additions and 0 deletions

58
Source/ckcpu.ld Normal file
View File

@@ -0,0 +1,58 @@
MEMORY
{
ROM(RX) : ORIGIN = 0x00000000, LENGTH = 64K
RAM(RWX) : ORIGIN = 0x20000000, LENGTH = 4K
}
__kernel_stack = ORIGIN(RAM) + LENGTH(RAM) -8 ;
ENTRY(__start)
SECTIONS {
.text :
{
. = ALIGN(0x4) ;
*crt0.o (.text)
*(.text)
} >ROM
.RomCode :
{
. = ALIGN(0x4) ;
*(.text)
} >ROM
.rodata :
{
. = ALIGN(0x4) ;
*(.rodata)
*(.rodata.*)
. = ALIGN(0x4) ;
_end_rodata = .;
} >ROM
.data : AT(_end_rodata)
{
. = ALIGN(0x4) ;
_start_data = .;
*( .data );
. = ALIGN(0x4) ;
_end_data = .;
} >RAM
.bss :
{
. = ALIGN(0x4) ;
_bss_start = . ;
*(.sbss)
*(.sbss.*)
*(.scommon)
*(.bss)
*(.bss.*)
*(COMMON)
. = ALIGN(0x4) ;
_ebss = . ;
_end = . ;
end = . ;
} >RAM
}