My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sram.icf 1.7KB

123456789101112131415161718192021222324252627282930313233
  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. /*-Vector table start*/
  5. define symbol __ICFEDIT_vector_start__ = 0x20000000;
  6. /*-Memory Regions-*/
  7. define symbol __ICFEDIT_region_RAM0_start__ = 0x20000000;
  8. define symbol __ICFEDIT_region_RAM0_end__ = 0x20007FFF;
  9. define symbol __ICFEDIT_region_RAM1_start__ = 0x20080000;
  10. define symbol __ICFEDIT_region_RAM1_end__ = 0x20083FFF;
  11. /*-Sizes-*/
  12. define symbol __ICFEDIT_size_cstack__ = 0x900;
  13. define symbol __ICFEDIT_size_heap__ = 0x200;
  14. /*-Exports-*/
  15. export symbol __ICFEDIT_vector_start__;
  16. /**** End of ICF editor section. ###ICF###*/
  17. define memory mem with size = 4G;
  18. define region RAM0_region = mem:[from __ICFEDIT_region_RAM0_start__ to __ICFEDIT_region_RAM0_end__];
  19. define region RAM1_region = mem:[from __ICFEDIT_region_RAM1_start__ to __ICFEDIT_region_RAM1_end__];
  20. /*define region RAM_region = mem:[from __ICFEDIT_region_RAM0_start__+__ICFEDIT_size_vectors__ to __ICFEDIT_region_RAM0_end__] |
  21. mem:[from __ICFEDIT_region_RAM1_start__ to __ICFEDIT_region_RAM1_end__];*/
  22. /* define block RamVect with alignment = 8, size = __ICFEDIT_size_vectors__ { }; */
  23. define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
  24. define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
  25. initialize by copy { readwrite };
  26. do not initialize { section .noinit };
  27. place at address mem:__ICFEDIT_vector_start__ { readonly section .intvec };
  28. place in RAM0_region { readonly };
  29. place in RAM1_region { readwrite, block CSTACK, block HEAP };