浏览代码

* fixed memory sizes
* fixed objdump parameters

git-svn-id: trunk@13299 -

florian 16 年之前
父节点
当前提交
a4eb523d0e
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      compiler/systems/t_embed.pas

+ 3 - 3
compiler/systems/t_embed.pas

@@ -226,8 +226,8 @@ begin
           Add('ENTRY(_START)');
           Add('MEMORY');
           Add('{');
-          Add('    flash : ORIGIN = 0, LENGTH = 128K');
-          Add('    ram : ORIGIN = 0x40000000, LENGTH = 4K');
+          Add('    flash : ORIGIN = 0, LENGTH = 256K');
+          Add('    ram : ORIGIN = 0x40000000, LENGTH = 16K');
           Add('}');
         end;
       ct_at91sam7s256,
@@ -344,7 +344,7 @@ begin
 { Post process }
   if success then
     begin
-      success:=DoExec(FindUtil(utilsprefix+'objcopy'),'-O hex '+
+      success:=DoExec(FindUtil(utilsprefix+'objcopy'),'-O ihex '+
         ChangeFileExt(current_module.exefilename^,'.elf')+' '+
         ChangeFileExt(current_module.exefilename^,'.hex'),true,false);
     end;