You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

r4f_linker.cmd 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*----------------------------------------------------------------------------*/
  2. /* r4f_linker.cmd */
  3. /* */
  4. /* (c) Texas Instruments 2016, All rights reserved. */
  5. /* */
  6. /* USER CODE BEGIN (0) */
  7. /* USER CODE END */
  8. /*----------------------------------------------------------------------------*/
  9. /* Linker Settings */
  10. --retain="*(.intvecs)"
  11. /*----------------------------------------------------------------------------*/
  12. /* Memory Map */
  13. #define MMWAVE_L3RAM_SIZE (MMWAVE_L3RAM_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE - MMWAVE_MSSUSED_L3RAM_SIZE)
  14. MEMORY{
  15. PAGE 0:
  16. VECTORS (X) : origin=0x00000000 length=0x00000100
  17. PROG_RAM (RX) : origin=0x00000100 length=0x0007FF00+(MMWAVE_SHMEM_TCMA_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE)
  18. DATA_RAM (RW) : origin=0x08000000 length=0x00030000+(MMWAVE_SHMEM_TCMB_NUM_BANK*MMWAVE_SHMEM_BANK_SIZE)
  19. L3_RAM (RW) : origin=0x51000000 length=0x00000000+(MMWAVE_MSSUSED_L3RAM_SIZE)
  20. HWA_RAM (RW) : origin=0x52030000 length=0x00010000
  21. HS_RAM (RW) : origin=0x52080000 length=0x8000
  22. PAGE 1:
  23. L3_RAM (RW) : origin=0x51000000 length=0x00000000+(MMWAVE_MSSUSED_L3RAM_SIZE)
  24. }
  25. /*----------------------------------------------------------------------------*/
  26. /* Section Configuration */
  27. SECTIONS{
  28. .intvecs : {} > VECTORS
  29. .text : {} > PROG_RAM
  30. .const : {} > PROG_RAM
  31. .cinit : {} > PROG_RAM
  32. .pinit : {} > PROG_RAM
  33. .bss : {} > DATA_RAM
  34. .data : {} > DATA_RAM
  35. .stack : {} > DATA_RAM
  36. }
  37. /*----------------------------------------------------------------------------*/