WLMCP.icf 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*###ICF### Section handled by ICF editor, don't touch! ****/
  2. /*-Editor annotation file-*/
  3. /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
  4. /*-Specials-*/
  5. define symbol __ICFEDIT_intvec_start__ = 0x08003000;
  6. /*-Memory Regions-*/
  7. define symbol __ICFEDIT_region_ROM_start__ = 0x08003000;
  8. define symbol __ICFEDIT_region_ROM_end__ = 0x0803DFEF;
  9. define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
  10. define symbol __ICFEDIT_region_RAM_end__ = 0x20017FFF;
  11. define symbol __ICFEDIT_region_CLASSB_start__ = 0x20000050; //RAM
  12. define symbol __ICFEDIT_region_CLASSB_end__ = 0x20017FFF; //RAM
  13. define symbol __ICFEDIT_region_PNT_start__ = 0x20000030;
  14. define symbol __ICFEDIT_region_BUF_start__ = 0x20000000;
  15. define symbol __region_RUN_TIME_RAM_BUF_start__ = 0x20000000; //0x20000004;
  16. define symbol __region_RUN_TIME_RAM_PNT_satrt__ = 0x20000030;
  17. define symbol __region_CLASS_B_RAM_start__ = 0x20000050;
  18. define symbol __region_CLASS_B_RAM_REV__satrt__ = 0x20000050;
  19. /*-Sizes-*/
  20. define symbol __ICFEDIT_size_cstack__ = 0x2000;
  21. define symbol __ICFEDIT_size_heap__ = 0x2000;
  22. define symbol __ICFEDIT_size_stack_bottom__ = 0x10;
  23. /**** End of ICF editor section. ###ICF###*/
  24. export symbol __ICFEDIT_region_ROM_start__;
  25. export symbol __ICFEDIT_region_ROM_end__;
  26. export symbol __ICFEDIT_region_CLASSB_start__;
  27. export symbol __ICFEDIT_region_CLASSB_end__;
  28. export symbol __ICFEDIT_region_PNT_start__;
  29. export symbol __ICFEDIT_region_BUF_start__;
  30. define memory mem with size = 4G;
  31. define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
  32. define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];
  33. define region RUN_TIME_RAM_BUF_region = mem:[from __region_RUN_TIME_RAM_BUF_start__ to 0x2000002F];
  34. define region RUN_TIME_RAM_PNT_region = mem:[from __region_RUN_TIME_RAM_PNT_satrt__ to 0x2000004F];
  35. define region CLASS_B_RAM_region = mem:[from __region_CLASS_B_RAM_start__ to __ICFEDIT_region_CLASSB_end__];
  36. define region CLASS_B_RAM_REV_region = mem:[from __region_CLASS_B_RAM_REV__satrt__ to __ICFEDIT_region_CLASSB_end__];
  37. define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
  38. define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };
  39. define block STACK_BOTTOM_B with alignment = 8, size = __ICFEDIT_size_stack_bottom__ { section STACK_BOTTOM };
  40. define block stack_order with fixed order { block HEAP,block STACK_BOTTOM_B, block CSTACK };
  41. initialize by copy { readwrite };
  42. do not initialize { section .noinit, section STACK_BOTTOM, section RUN_TIME_RAM_BUF, section RUN_TIME_RAM_PNT,
  43. section CLASS_B_RAM, section CLASS_B_RAM_REV };
  44. place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
  45. place at address mem: 0x0803DFF0{ readonly section .CRCsection };
  46. keep {section .CRCsection };
  47. place in CLASS_B_RAM_region
  48. { readwrite data section CLASS_B_RAM };
  49. place in CLASS_B_RAM_REV_region
  50. { readwrite data section CLASS_B_RAM_REV };
  51. place in RUN_TIME_RAM_BUF_region
  52. { readwrite data section RUN_TIME_RAM_BUF};//RUN_TIME_RAM_PNT };
  53. place in RUN_TIME_RAM_PNT_region
  54. { readwrite data section RUN_TIME_RAM_PNT };
  55. place in ROM_region { readonly };
  56. /*place in RAM_region { readwrite,
  57. block CSTACK, block HEAP };*/
  58. place at end of RAM_region { readwrite, block stack_order };/*ly*/