Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager

請問在.lsl中,如何為.rodata分配兩個不連續的位址空間?

以下是我現在的寫法,全部分配給pfls1,實現實現另開一片不與現在連續的flash空間,並且不穩定。rodata有何用?

群組(有序,align=4,run_addr=mem:pfls1)

{

選擇“(.rodata.rodata_cpu1|.rodata.rodata_cpu1.*)”

}

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/%E6%88%91%E8%83%BD%E4%B8%BA-rodata%E5%88%86%E9%85%8D%E4%B8%A4%E4%B8%AA%E4%B8%8D%E8%BF%9E%E7%BB%AD%E6%AE%B5%E5%90%97/td-p/735043

1 解決方案
lock attach
Attachments are accessible only for community members.
Translation_Bot
Community Manager
Community Manager
Community Manager

@bigbigname1

你上面在ADS的iLLD程式中的寫法也有對應的相似寫法,你可以參考一下。

BR,

傑瑞米

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/%E6%88%91%E8%83%BD%E4%B8%BA-rodata%E5%88%86%E9%85%8D%E4%B8%A4%E4%B8%AA%E4%B8%8D%E8%BF%9E%E7%BB%AD%E6%AE%B5%E5%90%97/m-p/735146

在原始文章中檢視解決方案

0
2 回應
lock attach
Attachments are accessible only for community members.
Translation_Bot
Community Manager
Community Manager
Community Manager

@bigbigname1

你上面在ADS的iLLD程式中的寫法也有對應的相似寫法,你可以參考一下。

BR,

傑瑞米

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/%E6%88%91%E8%83%BD%E4%B8%BA-rodata%E5%88%86%E9%85%8D%E4%B8%A4%E4%B8%AA%E4%B8%8D%E8%BF%9E%E7%BB%AD%E6%AE%B5%E5%90%97/m-p/735146

0
Translation_Bot
Community Manager
Community Manager
Community Manager

經過嘗試,在指定run_addr時用|可以

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/AURIX/%E6%88%91%E8%83%BD%E4%B8%BA-rodata%E5%88%86%E9%85%8D%E4%B8%A4%E4%B8%AA%E4%B8%8D%E8%BF%9E%E7%BB%AD%E6%AE%B5%E5%90%97/m-p/735537

0