只是个简单的点亮LED程序,分散加载文件如下 ROM_LOAD 0x00000000 ;// Origination Point of Code (Code in Flash) { ROM_EXEC 0x00000000 ;// Origination Point of Executing { Startup.o (vectors, +First) * (+RO) }
IRAM 0x40000040 ;// Origination Point of Internal SRAM { ;// 0x40000000 ~ 0x4000003F for Vector (Redundancy) Startup.o (MyStacks) } HEAP +0 UNINIT { Startup.o (Heap) } STACKS_BOTTOM +0 UNINIT { Startup.o (StackBottom) }
STACKS 0x40004000 UNINIT ;// End Point of Internal SRAM { Startup.o (Stacks) }
} 编译时显示出错信息 Error : L6224E: Could not place Startup.o(HeapTop) in any Execution region.
Error : L6224E: Could not place libspace.o(.bss) in any Execution region.
================================================================================
Image component sizes
Code RO Data RW Data ZI Data Debug
956 76 0 1032 9760 Object Totals
708 0 0 0 860 Library Totals
================================================================================
Code RO Data RW Data ZI Data Debug
1664 76 0 1032 10620 Grand Totals
================================================================================
Total RO Size(Code + RO Data) 1740 ( 1.70kB)
Total RW Size(RW Data + ZI Data) 1032 ( 1.01kB)
Total ROM Size(Code + RO Data + RW Data) 1740 ( 1.70kB)
================================================================================
Finished: 0 information, 0 warning and 2 error messages. 请问是怎么回事?????? 我用的是2214,没有用片外FLASH和RAM 分散加载文件应该怎么配置?????
|