amt630hv160_awtk.icf 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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__ = 0x60000000;
  6. /*-Memory Regions-*/
  7. define symbol __ICFEDIT_region_ROM_start__ = 0x60000000;
  8. define symbol __ICFEDIT_region_ROM_end__ = 0x603FFFFF;
  9. define symbol __ICFEDIT_region_RAM_start__ = 0x60400000;
  10. define symbol __ICFEDIT_region_RAM_end__ = 0x677FFFFF;
  11. /*-Sizes-*/
  12. define symbol __ICFEDIT_size_cstack__ = 0x4000;
  13. define symbol __ICFEDIT_size_svcstack__ = 0x1000;
  14. define symbol __ICFEDIT_size_irqstack__ = 0x1000;
  15. define symbol __ICFEDIT_size_fiqstack__ = 0x1000;
  16. define symbol __ICFEDIT_size_undstack__ = 0x1000;
  17. define symbol __ICFEDIT_size_abtstack__ = 0x4000;
  18. define symbol __ICFEDIT_size_heap__ = 0;
  19. /**** End of ICF editor section. ###ICF###*/
  20. define memory mem with size = 4G;
  21. define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
  22. define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
  23. // XM CORE位于片内SRAM
  24. define region XM_CORE_ROM_IRAM_region = mem:[from 0x300100 to 0x302FFF];
  25. define region XM_CORE_RAM_IRAM_region = mem:[from 0x303000 to 0x303FFF];
  26. define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
  27. define block SVC_STACK with alignment = 8, size = __ICFEDIT_size_svcstack__ { };
  28. define block IRQ_STACK with alignment = 8, size = __ICFEDIT_size_irqstack__ { };
  29. define block FIQ_STACK with alignment = 8, size = __ICFEDIT_size_fiqstack__ { };
  30. define block UND_STACK with alignment = 8, size = __ICFEDIT_size_undstack__ { };
  31. define block ABT_STACK with alignment = 8, size = __ICFEDIT_size_abtstack__ { };
  32. define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
  33. initialize by copy { readwrite };
  34. //initialize by copy with packing = none { section __DLIB_PERTHREAD }; // Required in a multi-threaded application
  35. do not initialize { section .noinit };
  36. place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
  37. place in XM_CORE_ROM_IRAM_region {
  38. //ro object os_change_task.o,
  39. };
  40. place in XM_CORE_RAM_IRAM_region {
  41. //readwrite object os_change_task.o,
  42. };
  43. place in ROM_region { readonly };
  44. place in RAM_region { readwrite,
  45. block CSTACK, block SVC_STACK, block IRQ_STACK, block FIQ_STACK,
  46. block UND_STACK, block ABT_STACK, block HEAP };