Re: ATSAME54P20A--定址

作者 AdamSyu 於 2020年05月22日 12:02:14
看起來是Compiler強佔民房了, 目前不知道實際的用途,
但確實是拿了0x20000000的位置, 放了一些東西....
0x20000000的位置, 看起來使用無望..

makefile

.bss (NOLOAD) :
    {
        . =
ALIGN(4);
        
__bss_start__ = .;
        
_sbss = . ;
        
_szero = .;
        *(
COMMON)
        . =
ALIGN(4);
        
__bss_end__ = .;
        
_ebss = . ;
        
_ezero = .;
    } >
DATA_REGION


.map

.bss            0x20000000        0x0
                0x20000000                
. = ALIGN (0x4)
                
0x20000000                __bss_start__ = .
                
0x20000000                _sbss = .
                
0x20000000                _szero = .
*(
COMMON)
                
0x20000000                . = ALIGN (0x4)
                
0x20000000                __bss_end__ = .
                
0x20000000                _ebss = .
                
0x20000000                _ezero = .
                
0x20000000                . = ALIGN (0x4)
                
0x20000000                _end = .
                
0x2003ffff                _ram_end_ = ((ORIGIN (ram) + LENGTH (ram)) - 0x1)

來自: http://www.microchip.com.tw/newbb/viewtopic.php?forum=11&topic_id=22894&post_id=80677