举个列子:
__no_init volatile unsigned char PA_ODR @0x5000;
__no_init volatile unsigned char PA_ODR1 @0x5000;
// 指向同一个地址要报错,老版本的IAR 就不会有这个问题
Error[Lp025]: absolute section .near.noinit (main.o #11) ([0x005000-0x005000]) overlaps with absolute section .near.noinit (main.o #9) ([0x005000-0x005000])
|