Other Parts Discussed in Thread: Z-STACK
Hi ALL:
now I want to use the watch dog timer isr ,but when I add the watch dog timeout interrupt service and Compile error!
HAL_ISR_FUNCTION(halWatchDogIsr, WDT_VECTOR)
{
HAL_ENTER_ISR();
WDTIF = 0;
HAL_EXIT_ISR();
}
when I comment the above code and compile without errors
the IAR error:
Error[e16]: Segment CRC (size: 0x4 align: 0) is too long for segment definition. At least 0x4 more bytes needed. The problem occurred while processing the segment placement command
"-Z(CODE)CRC=0x0888-0x088B", where at the moment of placement the available memory ranges were "-none-"
Reserved ranges relevant to this placement:
CODE:800-88d INTVEC
BIT:0-7 BREG
BIT:80-87 SFR_AN
BIT:90-97 SFR_AN
BIT:a0-af SFR_AN
BIT:b8-c7 SFR_AN
BIT:d8-df SFR_AN
BIT:e8-ef SFR_AN
BIT:f8-ff SFR_AN
Error while running Linker
now I don't know how to solve this question!