iMXRT toolbox v1.2.0 linking error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMXRT toolbox v1.2.0 linking error

Jump to solution
1,823 Views
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 Kudos
Reply
1 Solution
1,810 Views
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

View solution in original post

1 Reply
1,811 Views
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