iMXRT toolbox v1.2.0 linking error

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

iMXRT toolbox v1.2.0 linking error

ソリューションへジャンプ
1,827件の閲覧回数
Maciek
Contributor V

Hi,

after switching to iMXRT toolbox v1.2.0 we are trying to run examples on i.MX RT1064 EVK board.

(fresh installation in R2021a)

After changing 'evkmimxrt1060_gpio_interrupt' example to i.MX RT1064 (LED and button addresses are the same in 1060 and 1064 EVK) we get the following build error:

".../matlab/add-ons/toolboxes/nxp_mbdtoolbox_imxrt1xxx/tools/buildtools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file evkmimxrt1064_bubble_peripheral_Debug_library.ld: No such file or directory
collect2.exe: error: ld returned 1 exit status..."

How to correct this error ? 

Thanks

Maciek

0 件の賞賛
返信
1 解決策
1,814件の閲覧回数
nxa11767
NXP Employee
NXP Employee

Hello Maciek,

Sorry about this oversight from our side.

The fix can be done on your side:

- go to [toolbox_instalation_folder]\mbdtbx_imxrt\linker_files\default\flash

- look for MIMXRT1064xxxxA.ld and replace the lines:


INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_library.ld"
INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_memory.ld"

with 

INCLUDE "MIMXRT1064xxxxA_library.ld"
INCLUDE "MIMXRT1064xxxxA_memory.ld"

This ensure that the fix will apply to all projects you create on i.MXRT1064.

For the model you already created you can either delete the <model_name>Config project or copy the MIMXRT1064xxxxA.ld modified above in <model_name>Config/linker_files

Best regards,

Alexandra

元の投稿で解決策を見る

1 返信
1,815件の閲覧回数
nxa11767
NXP Employee
NXP Employee

Hello Maciek,

Sorry about this oversight from our side.

The fix can be done on your side:

- go to [toolbox_instalation_folder]\mbdtbx_imxrt\linker_files\default\flash

- look for MIMXRT1064xxxxA.ld and replace the lines:


INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_library.ld"
INCLUDE "evkmimxrt1064_bubble_peripheral_Debug_memory.ld"

with 

INCLUDE "MIMXRT1064xxxxA_library.ld"
INCLUDE "MIMXRT1064xxxxA_memory.ld"

This ensure that the fix will apply to all projects you create on i.MXRT1064.

For the model you already created you can either delete the <model_name>Config project or copy the MIMXRT1064xxxxA.ld modified above in <model_name>Config/linker_files

Best regards,

Alexandra