MBD linking files

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MBD linking files

596件の閲覧回数
abdelrhman
Contributor III

How to modify the linking file of MPC5744P kit before building an MBD simulink model ?

0 件の賞賛
2 返答(返信)

591件の閲覧回数
mariuslucianand
NXP Employee
NXP Employee

Hello @abdelrhman,

MBDT toolbox allows you to specify a custom linker file through the main config block. To do that, please follow the steps below:

1. In MATLAB, please type the following command: "winopen(fullfile(mbd_find_mpc_root, 'mbdtbx_mpc574x\src\linker\gcc'))" if you are using gcc compiler.

2. In the newly opened window, please add your custom linker file, following the pattern <MCU_NAME>_<target>_<any distinctive word>.ld. For example MPC5744P_flash_custom.ld.

mariuslucianand_1-1658387272808.png

3. Go to the Main config block and under Build Toolchian tab, please uncheck the "Default Target Memory Definitions" and select the one you have just added.

mariuslucianand_0-1658387228692.png

Hope this helps,

Marius

 

0 件の賞賛

583件の閲覧回数
abdelrhman
Contributor III

thank you

0 件の賞賛