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.

pcount3D_dss_linker.cmd 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. /*----------------------------------------------------------------------------*/
  2. /* Linker Settings */
  3. --retain="*(.intvecs)"
  4. /*----------------------------------------------------------------------------*/
  5. /* Include Libraries */
  6. -llibdpm_xwr68xx.ae674
  7. -llibmailbox_xwr68xx.ae674
  8. -llibsoc_xwr68xx.ae674
  9. -llibosal_xwr68xx.ae674
  10. -ldsplib.ae674
  11. //-opcount3D_dss_pe674.oe674
  12. /* Section Configuration */
  13. SECTIONS
  14. {
  15. systemHeap : {} >> L2SRAM_UMAP0 | L2SRAM_UMAP1
  16. //.l3ram: {} >> L3SRAM
  17. .dpc_l1Heap : { } > L1DSRAM
  18. .dpc_l2Heap: { } >> L2SRAM_UMAP0 | L2SRAM_UMAP1
  19. .ovly > L2SRAM_UMAP0 | L2SRAM_UMAP1
  20. /* L3SRAM has code that is overlaid with data, so data must be
  21. marked uninitialized. Application can initialize this section
  22. using _L3data_* symbols defined below. Code should be written carefully as
  23. these are linker symbols (see for example http://e2e.ti.com/support/development_tools/compiler/f/343/t/92002 ):
  24. extern far uint8_t _L3data_start; // the type here does not matter
  25. extern far uint8_t _L3data_size; // the type here does not matter
  26. memset((void *)_symval(&_L3data_start), 0, (uint32_t) _symval(&_L3data_size));
  27. */
  28. .l3data: type=NOINIT, start(_L3data_start), size(_L3data_size), load=L3SRAM PAGE 1
  29. .fastCode:
  30. {
  31. RADARDEMO_detectionCFAR_priv.oe674 (.text:RADARDEMO_detectionCFAR_raCAAll)
  32. RADARDEMO_aoaEst2DCaponBF_heatmapEst.oe674 (.text:RADARDEMO_aoaEst2DCaponBF_raHeatmap)
  33. RADARDEMO_aoaEst2DCaponBF_rnEstInv.oe674 (.text:RADARDEMO_aoaEst2DCaponBF_covInv)
  34. MATRIX_cholesky.oe674 (.text:MATRIX_cholesky_flp_inv)
  35. RADARDEMO_aoaEst2DCaponBF_staticRemoval.oe674 (.text:RADARDEMO_aoaEst2DCaponBF_clutterRemoval)
  36. copyTranspose.oe674 (.text:copyTranspose)
  37. //dsplib.ae674<*.obj>(.text)
  38. } load=L3SRAM PAGE 0 , run=L1PSRAM PAGE 0, table(_pcount3DDemo_fastCode_L1PSRAM_copy_table, compression=off)
  39. .hsramCode:
  40. {
  41. libdpm_xwr68xx.ae674 (.text:DPM_deinit)
  42. libmailbox_xwr68xx.ae674 (.text:Mailbox_close)
  43. libdpm_xwr68xx.ae674 (.text:DPM_pipeDeinit)
  44. dss_main.oe674 (.text:Pcount3DDemo_sensorStopEpilog)
  45. rts*.lib (.text:_outc)
  46. rts*.lib (.text:_outs)
  47. rts*.lib (.text:printf)
  48. rts*.lib (.text:_ltostr)
  49. rts*.lib (.text:__c6xabi_isnan)
  50. rts*.lib (.text:_ecpy)
  51. rts*.lib (.text:_mcpy)
  52. rts*.lib (.text:_pconv_g)
  53. rts*.lib (.text:fcvt)
  54. rts*.lib (.text:_pconv_f)
  55. rts*.lib (.text:_pconv_e)
  56. rts*.lib (.text:_pconv_a)
  57. rts*.lib (.text:__TI_printfi)
  58. rts*.lib (.text:fputs)
  59. rts*.lib (.text:fputc)
  60. rts*.lib (.text:__c6xabi_divul)
  61. rts*.lib (.text:__c6xabi_divd)
  62. rts*.lib (.text:frexp)
  63. rts*.lib (.text:ldexp)
  64. } load=L3SRAM PAGE 0, run=HSRAM PAGE 0, table(_pcount3DDemo_configCode_HSRAM_copy_table, compression=off)
  65. .overlaidCode:
  66. {
  67. RADARDEMO_aoaEst2DCaponBF.oe674 (.text:RADARDEMO_aoaEst2DCaponBF_create)
  68. RADARDEMO_detectionCFAR.oe674 (.text:RADARDEMO_detectionCFAR_create)
  69. RADARDEMO_aoaEst2DCaponBF_utils.oe674 (.text:tw_gen_float)
  70. radarProcess.oe674 (.text:DPU_radarProcess_init)
  71. objectdetection.oe674 (.text:DPC_ObjectDetection_deinit)
  72. radarOsal_malloc.oe674 (.text:radarOsal_memAlloc)
  73. radarOsal_malloc.oe674 (.text:radarOsal_memInit)
  74. radarOsal_malloc.oe674 (.text:radarOsal_memDeInit)
  75. radarOsal_malloc.oe674 (.text:radarOsal_printHeapStats)
  76. objectdetection.oe674 (.text:DPC_ObjectDetection_init)
  77. RADARDEMO_aoaEst2DCaponBF_utils.oe674 (.text:cosdp_i)
  78. RADARDEMO_aoaEst2DCaponBF_angleEst.oe674 (.text:RADARDEMO_aoaEst2DCaponBF_aeEstElevAzim)
  79. libedma_xwr68xx.ae674<*.oe674>(.text)
  80. dss_main.oe674 (.text:MmwDemo_edmaOpen)
  81. dss_main.oe674 (.text:MmwDemo_edmaInit)
  82. dss_main.oe674 (.text:MmwDemo_edmaBlockCopy)
  83. dss_main.oe674 (.text:MmwDemo_copyTable)
  84. cycle_measure.oe674 (.text:cache_setMar)
  85. dss_main.oe674 (.text:MmwDemo_EDMA_errorCallbackFxn)
  86. dss_main.oe674 (.text:MmwDemo_EDMA_transferControllerErrorCallbackFxn)
  87. libedma_xwr68xx.ae674 (.far:EDMA_object)
  88. dss_main.oe674 (.text:main)
  89. dss_main.oe674 (.text:Pcount3DDemo_dssInitTask)
  90. } load=L3SRAM PAGE 0
  91. .unUsedCode:
  92. {
  93. RADARDEMO_detectionCFAR_priv.oe674 (.text:RADARDEMO_detectionCFAR_CAAll)
  94. RADARDEMO_detectionCFAR_priv.oe674 (.text:RADARDEMO_detectionCFAR_OS)
  95. } load=L3SRAM PAGE 0
  96. .slowCode:
  97. {
  98. libmailbox_xwr68xx.ae674 (.text:Mailbox_init)
  99. libdpm_xwr68xx.ae674 (.text:DPM_init)
  100. libmailbox_xwr68xx.ae674 (.text:Mailbox_open)
  101. libsoc_xwr68xx.ae674 (.text:SOC_deviceInit)
  102. libdpm_xwr68xx.ae674 (.text:DPM_mboxInit)
  103. libosal_xwr68xx.ae674 (.text:SemaphoreP_create)
  104. libdpm_xwr68xx.ae674 (.text:DPM_pipeInit)
  105. libsoc_xwr68xx.ae674 (.text:SOC_init)
  106. objectdetection.oe674 (.text:DPC_ObjDetDSP_preStartConfig)
  107. //pcount3D_dss_pe674.oe674 (.text:xdc_runtime_System_printfExtend__I)
  108. //rts*.lib (.text:__TI_tls_init) //not copied to HSRAM, but moved to L3
  109. rts*.lib (.text:__c6xabi_divf)
  110. rts*.lib (.text:setvbuf)
  111. rts*.lib (.text:HOSTrename)
  112. rts*.lib (.text:getdevice)
  113. rts*.lib (.text:__TI_closefile)
  114. rts*.lib (.text:atoi)
  115. rts*.lib (.text:fflush)
  116. rts*.lib (.text:fseek)
  117. rts*.lib (.text:HOSTlseek)
  118. rts*.lib (.text:HOSTopen)
  119. rts*.lib (.text:HOSTwrite)
  120. rts*.lib (.text:__TI_ltoa)
  121. rts*.lib (.text:__TI_wrt_ok)
  122. rts*.lib (.text:close)
  123. rts*.lib (.text:HOSTread)
  124. rts*.lib (.text:HOSTunlink)
  125. rts*.lib (.text:__TI_doflush)
  126. rts*.lib (.text:__divu)
  127. rts*.lib (.text:modf)
  128. rts*.lib (.text:HOSTclose)
  129. rts*.lib (.text:__TI_cleanup)
  130. rts*.lib (.text:__c6xabi_fixfu)
  131. rts*.lib (.text:__remu)
  132. rts*.lib (.text:finddevice)
  133. rts*.lib (.text:__TI_readmsg)
  134. rts*.lib (.text:__c6xabi_fixdu)
  135. rts*.lib (.text:__c6xabi_llshl)
  136. rts*.lib (.text:unlink)
  137. rts*.lib (.text:__TI_writemsg)
  138. rts*.lib (.text:__c6xabi_llshru)
  139. rts*.lib (.text:_subcull)
  140. rts*.lib (.text:lseek)
  141. rts*.lib (.text:write)
  142. rts*.lib (.text:__TI_frcmpyd_div)
  143. rts*.lib (.text:__c6xabi_isinf)
  144. rts*.lib (.text:wcslen)
  145. } load=L3SRAM PAGE 0 (HIGH)
  146. }
  147. /*----------------------------------------------------------------------------*/