link.icf 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*###ICF### Section handled by ICF editor, don't touch! ****/
  2. /*-Editor annotation file-*/
  3. /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */
  4. /*-Specials-*/
  5. define symbol __ICFEDIT_intvec_start__ = 0x00000000;
  6. /*-Memory Regions-*/
  7. define symbol __ICFEDIT_region_ROM_start__ = 0x10000000;
  8. define symbol __ICFEDIT_region_ROM_end__ = 0x1003FFFF;
  9. define symbol __ICFEDIT_region_RAM_start__ = 0x10050000;
  10. define symbol __ICFEDIT_region_RAM_end__ = 0x1005FFFF;
  11. /*-Sizes-*/
  12. define symbol __ICFEDIT_size_cstack__ = 0x0400;
  13. define symbol __ICFEDIT_size_heap__ = 0x0000;
  14. /**** End of ICF editor section. ###ICF###*/
  15. define memory mem with size = 4G;
  16. define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
  17. define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
  18. define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
  19. initialize by copy { readwrite };
  20. do not initialize { section .noinit };
  21. /* Create region for OPENAMP */
  22. /* !!! These 4 lines can be commented if OPENAMP is not used !!!*/
  23. define symbol __OPENAMP_region_start__ = 0x10040000;
  24. define symbol __OPENAMP_region_size__ = 0x8000;
  25. export symbol __OPENAMP_region_start__;
  26. export symbol __OPENAMP_region_size__;
  27. place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
  28. place in ROM_region { readonly };
  29. place in RAM_region { readwrite, last block CSTACK};