SAMA5D2.ld 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. */
  13. /*
  14. * SAMA5D2 memory setup in trusted mode.
  15. */
  16. MEMORY
  17. {
  18. flash : org = 0x00200000, len = 128k
  19. ram0 : org = 0x00220000, len = 128k
  20. ram1 : org = 0x00000000, len = 0
  21. ram2 : org = 0x00000000, len = 0
  22. ram3 : org = 0x00000000, len = 0
  23. ram4 : org = 0x00000000, len = 0
  24. ram5 : org = 0x00000000, len = 0
  25. ram6 : org = 0x00000000, len = 0
  26. ram7 : org = 0x00000000, len = 0
  27. }
  28. /* RAM region to be used for stacks. This stack accommodates the processing
  29. of all exceptions and interrupts*/
  30. REGION_ALIAS("STACKS_RAM", ram0);
  31. /* RAM region to be used for data segment.*/
  32. REGION_ALIAS("DATA_RAM", ram0);
  33. /* RAM region to be used for BSS segment.*/
  34. REGION_ALIAS("BSS_RAM", ram0);
  35. INCLUDE rules.ld
  36. ENTRY(Boot_Handler);