MIMXRT1052xxxxx_sdram.scf 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. #! armcc -E
  2. /*
  3. ** ###################################################################
  4. ** Processors: MIMXRT1052CVL5A
  5. ** MIMXRT1052DVL6A
  6. **
  7. ** Compiler: Keil ARM C/C++ Compiler
  8. ** Reference manual: IMXRT1050RM Rev.C, 08/2017
  9. ** Version: rev. 0.1, 2017-01-10
  10. ** Build: b170927
  11. **
  12. ** Abstract:
  13. ** Linker file for the Keil ARM C/C++ Compiler
  14. **
  15. ** Copyright 2016 Freescale Semiconductor, Inc.
  16. ** Copyright 2016-2017 NXP
  17. ** Redistribution and use in source and binary forms, with or without modification,
  18. ** are permitted provided that the following conditions are met:
  19. **
  20. ** 1. Redistributions of source code must retain the above copyright notice, this list
  21. ** of conditions and the following disclaimer.
  22. **
  23. ** 2. Redistributions in binary form must reproduce the above copyright notice, this
  24. ** list of conditions and the following disclaimer in the documentation and/or
  25. ** other materials provided with the distribution.
  26. **
  27. ** 3. Neither the name of the copyright holder nor the names of its
  28. ** contributors may be used to endorse or promote products derived from this
  29. ** software without specific prior written permission.
  30. **
  31. ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  32. ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  33. ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  34. ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
  35. ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  36. ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  37. ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  38. ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  39. ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  40. ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  41. **
  42. ** http: www.nxp.com
  43. ** mail: support@nxp.com
  44. **
  45. ** ###################################################################
  46. */
  47. #define m_interrupts_start 0x00000000
  48. #define m_interrupts_size 0x00000400
  49. #define m_text_start 0x00000400
  50. #define m_text_size 0x0001FC00
  51. #define m_data_start 0x80000000
  52. #define m_data_size 0x01E00000
  53. #define m_ncache_start 0x81E00000
  54. #define m_ncache_size 0x00200000
  55. /* Sizes */
  56. #if (defined(__stack_size__))
  57. #define Stack_Size __stack_size__
  58. #else
  59. #define Stack_Size 0x0400
  60. #endif
  61. #if (defined(__heap_size__))
  62. #define Heap_Size __heap_size__
  63. #else
  64. #define Heap_Size 0x0400
  65. #endif
  66. LR_m_text m_text_start m_text_size { ; load region size_region
  67. ER_m_text m_text_start m_text_size { ; load address = execution address
  68. * (InRoot$$Sections)
  69. .ANY (+RO)
  70. }
  71. RW_m_data m_data_start m_data_size-Stack_Size-Heap_Size { ; RW data
  72. .ANY (+RW +ZI)
  73. *(m_usb_dma_init_data)
  74. *(m_usb_dma_noninit_data)
  75. }
  76. RW_m_ncache m_ncache_start m_ncache_size { ; ncache RW data
  77. * (NonCacheable.init)
  78. * (NonCacheable)
  79. }
  80. ARM_LIB_HEAP +0 EMPTY Heap_Size { ; Heap region growing up
  81. }
  82. ARM_LIB_STACK m_data_start+m_data_size EMPTY -Stack_Size { ; Stack region growing down
  83. }
  84. }
  85. LR_m_interrupts m_interrupts_start m_interrupts_size {
  86. VECTOR_ROM m_interrupts_start m_interrupts_size { ; load address = execution address
  87. * (RESET,+FIRST)
  88. }
  89. }