dr7f701374.ld 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  1. /*===========================================================================*/
  2. /* Module = dr7f701374.ld */
  3. /* Version = V1.21 */
  4. /* extracted from device file dr7f701373.dvf */
  5. /* by DeFiXRH850 0.9.1.0 */
  6. /*===========================================================================*/
  7. /* COPYRIGHT */
  8. /*===========================================================================*/
  9. /* Copyright (c) 2017 by Renesas Electronics Europe GmbH, */
  10. /* a company of the Renesas Electronics Corporation */
  11. /*===========================================================================*/
  12. /* Purpose: Template of linker directive file */
  13. /* */
  14. /*===========================================================================*/
  15. /* */
  16. /* Warranty Disclaimer */
  17. /* */
  18. /* Because the Product(s) is licensed free of charge, there is no warranty */
  19. /* of any kind whatsoever and expressly disclaimed and excluded by Renesas, */
  20. /* either expressed or implied, including but not limited to those for */
  21. /* non-infringement of intellectual property, merchantability and/or */
  22. /* fitness for the particular purpose. */
  23. /* Renesas shall not have any obligation to maintain, service or provide bug */
  24. /* fixes for the supplied Product(s) and/or the Application. */
  25. /* */
  26. /* Each User is solely responsible for determining the appropriateness of */
  27. /* using the Product(s) and assumes all risks associated with its exercise */
  28. /* of rights under this Agreement, including, but not limited to the risks */
  29. /* and costs of program errors, compliance with applicable laws, damage to */
  30. /* or loss of data, programs or equipment, and unavailability or */
  31. /* interruption of operations. */
  32. /* */
  33. /* Limitation of Liability */
  34. /* */
  35. /* In no event shall Renesas be liable to the User for any incidental, */
  36. /* consequential, indirect, or punitive damage (including but not limited */
  37. /* to lost profits) regardless of whether such liability is based on breach */
  38. /* of contract, tort, strict liability, breach of warranties, failure of */
  39. /* essential purpose or otherwise and even if advised of the possibility of */
  40. /* such damages. Renesas shall not be liable for any services or products */
  41. /* provided by third party vendors, developers or consultants identified or */
  42. /* referred to the User by Renesas in connection with the Product(s) and/or */
  43. /* the Application. */
  44. /* */
  45. /*===========================================================================*/
  46. /* Environment: */
  47. /* Device: R7F701373xABG */
  48. /* IDE: GHS Multi for V800 V6.xx or later */
  49. /*===========================================================================*/
  50. MEMORY
  51. {
  52. /* iROM_APP : ORIGIN = 0x00000000, LENGTH = 2M -256K //BOOT used*/
  53. /* iROM_APP : ORIGIN = 0x00000000, LENGTH = 2M */
  54. iROM_APP : ORIGIN = 0x00000000, LENGTH = 2M
  55. /* ------------------------------------------------------------------------ */
  56. /* Local RAM */
  57. /* ------------------------------------------------------------------------ */
  58. LR_PE1 : ORIGIN = 0xFEBE0000, LENGTH = 128K
  59. // LR_PE1 : ORIGIN = 0xFEBE0000, LENGTH = 100K
  60. LR_PE1_TOP : ORIGIN = . , LENGTH = 0
  61. // VX1000_A0 : ORIGIN = 0xFEEF9000, LENGTH = 28K
  62. // VX1000_TOP : ORIGIN = . , LENGTH = 0
  63. /* ------------------------------------------------------------------------ */
  64. /* Global RAM */
  65. /* ------------------------------------------------------------------------ */
  66. /* GRA : ORIGIN = 0xFEED8000, LENGTH = 148K
  67. // GRA_TOP : ORIGIN = . , LENGTH = 0
  68. VX1000_A0 : ORIGIN = 0xFEEFD000, LENGTH = 12K
  69. VX1000_TOP : ORIGIN = . , LENGTH = 0
  70. GRB : ORIGIN = 0xFEF00000, LENGTH = 160K
  71. GRA_TOP : ORIGIN = . , LENGTH = 0
  72. */
  73. /* ------------------------------------------------------------------------ */
  74. /* Global RAM */
  75. /* ------------------------------------------------------------------------ */
  76. GRA : ORIGIN = 0xFEED8000, LENGTH = 300K
  77. GRA_TOP : ORIGIN = . , LENGTH = 0
  78. VX1000_A0 : ORIGIN = 0xFEF23000, LENGTH = 20K
  79. VX1000_TOP : ORIGIN = . , LENGTH = 0
  80. /* ------------------------------------------------------------------------ */
  81. /* Stack */
  82. /* ------------------------------------------------------------------------ */
  83. STACK : ORIGIN = 0xFEDFF800, LENGTH = 2K
  84. STACK_TOP : ORIGIN = . , LENGTH = 0
  85. }
  86. SECTIONS
  87. {
  88. /* Start of internal ROM area (CFUAA) */
  89. /* .intvect 0x00000 align(16) :> iROM_APP */
  90. /* .intvect 0x0000 align(16) :> iROM_APP */
  91. .intvect 0x0000 align(16) :> iROM_APP /* start of interrupt vector. This section contains RESET and exception table for PE0 */
  92. .inttable align(0x200) :>.
  93. .inttable_end :>.
  94. .OS_EXCVEC align(512):
  95. {
  96. _OS_EXCVEC_OSCORE0_CODE_START = .;
  97. *(.OS_EXCVEC_OSCORE0) /* Startup code */
  98. _OS_EXCVEC_OSCORE0_CODE_END = .;
  99. . = align(512);
  100. } >.
  101. .rozdata :>. /* constant datas in ZDA area */
  102. .robase align(4) :>. /* initialize textpointer TP for SDA addressing */
  103. .rosdata align(4) :>. /* constant datas in SDA area */
  104. .rodata align(4) :>. /* constant datas in normal area */
  105. .multicore_init :>.
  106. .CONST_ROM_1BIT :>.
  107. .CONST_ROM_8BIT :>.
  108. .CONST_ROM_16BIT :>.
  109. .CONST_ROM_32BIT :>.
  110. .CONST_ROM_UNSPECIFIED :>.
  111. .CONST_FAR_ROM_1BIT :>.
  112. .CONST_FAR_ROM_8BIT :>.
  113. .CONST_FAR_ROM_16BIT :>.
  114. .CONST_FAR_ROM_32BIT :>.
  115. .CONST_FAR_ROM_UNSPECIFIED :>.
  116. .ADC_CFG_DATA_UNSPECIFIED :>.
  117. .DIO_CFG_DATA_UNSPECIFIED :>.
  118. .PORT_CFG_DATA_UNSPECIFIED :>.
  119. .ICU_CFG_DATA_UNSPECIFIED :>.
  120. .ICU_CFG_DBTOC_UNSPECIFIED :>.
  121. .SPI_CFG_DBTOC_UNSPECIFIED align(4) :>.
  122. .SPI_CFG_DATA_8BIT :>.
  123. .SPI_CFG_DATA_16BIT align(4) :>.
  124. .SPI_CFG_DATA_UNSPECIFIED align(4) :>.
  125. .GPT_CFG_DATA_UNSPECIFIED :>.
  126. .FLS_CFG_DATA_UNSPECIFIED :>.
  127. .DEFAULT_CODE_ROM :>.
  128. /* program code area */
  129. .text align(4) :>.
  130. .ADC_PUBLIC_CODE_ROM :>.
  131. .ADC_PRIVATE_CODE_ROM :>.
  132. .ADC_FAST_CODE_ROM :>.
  133. .ADC_APPL_CODE_ROM :>.
  134. .MCU_APPL_CODE_ROM :>.
  135. .MCU_PRIVATE_CODE_ROM :>.
  136. .MCU_PUBLIC_CODE_ROM :>.
  137. .MCU_FAST_CODE_ROM :>.
  138. .PORT_PUBLIC_CODE_ROM :>.
  139. .PORT_PRIVATE_CODE_ROM :>.
  140. .DIO_PUBLIC_CODE_ROM :>.
  141. .DIO_APPL_CODE_ROM :>.
  142. .SPI_PUBLIC_CODE_ROM :>.
  143. .SPI_PRIVATE_CODE_ROM :>.
  144. .SPI_APPL_CODE_ROM :>.
  145. .SPI_FAST_CODE_ROM :>.
  146. .GPT_PUBLIC_CODE_ROM :>.
  147. .GPT_PRIVATE_CODE_ROM :>.
  148. .GPT_APPL_CODE_ROM :>.
  149. .GPT_FAST_CODE_ROM :>.
  150. .ICU_PUBLIC_CODE_ROM :>.
  151. .ICU_PRIVATE_CODE_ROM :>.
  152. .ICU_APPL_CODE_ROM :>.
  153. .ICU_FAST_CODE_ROM :>.
  154. .PWM_PUBLIC_CODE_ROM :>.
  155. .PWM_PRIVATE_CODE_ROM :>.
  156. .PWM_APPL_CODE_ROM :>.
  157. .PWM_FAST_CODE_ROM :>.
  158. .FLS_SAMPLE_CODE_ROM :>.
  159. .FLS_PUBLIC_CODE_ROM :>.
  160. .FLS_PRIVATE_CODE_ROM :>.
  161. .FLS_APPL_CODE_ROM :>.
  162. .WDG_PUBLIC_CODE_ROM :>.
  163. .WDG_PRIVATE_CODE_ROM :>.
  164. .WDG_FAST_CODE_ROM :>.
  165. .WDG59_A_APPL_CODE_ROM :>.
  166. .WDG59_B_APPL_CODE_ROM :>.
  167. .OS_CODE :>.
  168. .OS_CONST :>.
  169. .OS_APPL_CONST :>.
  170. .fixaddr align(4) :>. /* ghs internal (compiler) */
  171. .fixtype align(4) :>. /* ghs internal (compiler) */
  172. .secinfo align(4) :>. /* ghs internal (runtime library) */
  173. .syscall align(4) :>. /* ghs internal (linker) */
  174. .romdata ROM(.data) :>. /* constant data to initialize variables (copied to RAM at startup)*/
  175. .romzdata ROM(.zdata) :>. /* constant data to initialize variables in ZDA area (copied to RAM at startup)*/
  176. .romsdata ROM(.sdata) :>. /* constant data to initialize variables in SDA area (copied to RAM at startup)*/
  177. .romtdata ROM(.tdata) :>. /* constant data to initialize variables in TDA area (copied to RAM at startup)*/
  178. .romsldata ROM(.sldata) :>. /* constant data to initialize variables in LSDA area (copied to GRAM at startup)*/
  179. .ROM.RAM_1BIT ROM(.RAM_1BIT) :>.
  180. .ROM.RAM_8BIT ROM(.RAM_8BIT) :>.
  181. .ROM.RAM_16BIT ROM(.RAM_16BIT) :>.
  182. .ROM.RAM_32BIT ROM(.RAM_32BIT) :>.
  183. .ROM.RAM_UNSPECIFIED ROM(.RAM_UNSPECIFIED) :>.
  184. .ROM.FAST_RAM_1BIT ROM(.FAST_RAM_1BIT) :>.
  185. .ROM.FAST_RAM_8BIT ROM(.FAST_RAM_8BIT) :>.
  186. .ROM.FAST_RAM_16BIT ROM(.FAST_RAM_16BIT) :>.
  187. .ROM.FAST_RAM_32BIT ROM(.FAST_RAM_32BIT) :>.
  188. .ROM.FAST_RAM_UNSPECIFIED ROM(.FAST_RAM_UNSPECIFIED) :>.
  189. .ROM.OS_INITVAR_OSCORE0 ROM(.OS_INITVAR_OSCORE0) :>.
  190. /*PE1 local ram*/
  191. .OS_INITVAR_OSCORE0 :>LR_PE1
  192. .OS_VAR_OSCORE0 :>.
  193. .OS_STACK_OSCORE0 :>.
  194. /* Start of internal RAM area (GRA) */
  195. .data align(4) :> GRA /* initialized data */
  196. .sdabase align(4) :>. /* initialize global pointer GP for SDA addressing */
  197. .zdata align(4) :>. /* initialized data in ZDA area */
  198. .sldata align(4) :>. /* initialized data in LSDA area */
  199. .sdata align(4) :>. /* initialized data in SDA area */
  200. .RAM_1BIT NOCLEAR :>. /* initialized data in SDA area */
  201. .RAM_8BIT NOCLEAR :>. /* initialized data in SDA area */
  202. .RAM_16BIT NOCLEAR align(4) :>. /* initialized data in SDA area */
  203. .RAM_32BIT NOCLEAR align(4) :>. /* initialized data in SDA area */
  204. .RAM_UNSPECIFIED NOCLEAR align(4) :>. /* initialized data in SDA area */
  205. .FAST_RAM_1BIT NOCLEAR :>. /* initialized data in SDA area */
  206. .FAST_RAM_8BIT NOCLEAR :>. /* initialized data in SDA area */
  207. .FAST_RAM_16BIT NOCLEAR align(4) :>. /* initialized data in SDA area */
  208. .FAST_RAM_32BIT NOCLEAR align(4) :>. /* initialized data in SDA area */
  209. .FAST_RAM_UNSPECIFIED NOCLEAR align(4) :>. /* initialized data in SDA area */
  210. .bss align(4) :>. /* zero initialized data */
  211. .zbss align(4) :>. /* zero initialized data in ZDA area */
  212. .slbss align(4) :>. /* zero initialized data in LSDA area */
  213. .sbss align(4) :>. /* zero initialized data in SDA area */
  214. .NOINIT_RAM_1BIT NOCLEAR :>. /* no initialized data in SDA area */
  215. .NOINIT_RAM_8BIT NOCLEAR :>. /* no initialized data in SDA area */
  216. .NOINIT_RAM_16BIT NOCLEAR align(4) :>. /* no initialized data in SDA area */
  217. .NOINIT_RAM_32BIT NOCLEAR align(4) :>. /* no initialized data in SDA area */
  218. .NOINIT_RAM_UNSPECIFIED NOCLEAR align(4) :>. /* no initialized data in SDA area */
  219. .NOINIT_RAM_PTR NOCLEAR align(4) :>. /* no initialized data in SDA area */
  220. .NOINIT_RAM_64BIT NOCLEAR align(8) :>. /* no initialized data in SDA area */
  221. .OS_GLOBAL_NOCACHE_VAR :>.
  222. /* Renesas FDL/EEL data sections */
  223. .R_FDL_Data :>. /* FDL data */
  224. .R_FDL_CodeRam :>. /* FDL code in RAM (Empty if R_FDL_EXE_INIT_CODE_ON_STACK is defined) */
  225. .R_EEL_Data :>. /* EEL data (Empty if no EEL is implemented) */
  226. .R_FAL_DATA align(4) :>. /* FAL data */
  227. .R_FAL_CODE_USR align(4) :>. /* User code located in RAM */
  228. .R_FAL_CODE_RAM align(4) :>. /* FAL code in RAM */
  229. .R_FAL_CODE_RAM_EX_PROT pad(0x50) align(4):>. /* Blank section after FAL code to avoid pre-fetch ECC errors*/
  230. .ADC_CFG_RAM_UNSPECIFIED NOCLEAR :>.
  231. .ICU_CFG_RAM_UNSPECIFIED NOCLEAR :>.
  232. .FLS_USER_BUFFER_CODE_RAM align(4) :>. /* Application Buffer */
  233. .FLS_PRIVATE_CODE_RAM :>.
  234. .ramtext align(128) MAX_SIZE(0x2000) :>. /* initialized and zero-initialized data in TDA area */
  235. .tdata align(4) MAX_SIZE(0x0100) :>. /* initialized and zero-initialized data in TDA area */
  236. .exec align(128) :>.
  237. .mev_address align(32) :>. /* Mutual Exclusive Variable is used for Sync flags between multi core */
  238. .heapbase align(4) :>.
  239. .heap align(4)
  240. pad(addr(GRA_TOP)-addr(.heapbase))
  241. NOCLEAR :>. /* definition of heap size */
  242. .top_of_RAM align(4) :> GRA_TOP
  243. .gvx1000_data_AEAR align(4):
  244. {
  245. _gvx1000_data_AEAR_START = .;
  246. *(.gvx1000_data) /* gvx1000 code data */
  247. _gvx1000_data_AEAR_END = .;
  248. . = align(4);
  249. } >VX1000_A0
  250. .stack align(4) pad(0x0800) :> STACK /* definition of stack size */
  251. /* Symbols for compiler references */
  252. }
  253. /*===========================================================================*/
  254. /* End of File */
  255. /*===========================================================================*/