Skip to main content
Andrew Neil
Super User
May 14, 2021
Solved

Error in I-CUBE-LRWAN v1.3.1 End Node project for B-L072Z-LRWAN1 'Release' build

  • May 14, 2021
  • 1 reply
  • 621 views

I know that  I-CUBE-LRWAN v2.0.0 is now available, but there are still tutorials, etc, referring to the old version.

The 'Debug' configuration builds OK, but the 'Release' fails with:

make: *** No rule to make target '../STM32L072CZTx_FLASH.ld', needed by 'mlm32l07x01.elf'. Stop.

The problem is that there is, indeed, no such file as STM32L072CZTx_FLASH.ld - only STM32L072CZYx_FLASH.ld

The 'Debug' build uses STM32L072CZYx_FLASH.ld - hence it succeeds.

This topic has been closed for replies.
Best answer by Andrew Neil

The solution is simply to change the Linker File specified for the 'Release' configuration:

0693W00000AOLLSQA5.pngThe 'T' in the part number just indicates the LQFP package option; 'Y' indicates WLCSP - none of which should be of any concern to the Linker.

1 reply

Andrew Neil
Andrew NeilAuthorBest answer
Super User
May 14, 2021

The solution is simply to change the Linker File specified for the 'Release' configuration:

0693W00000AOLLSQA5.pngThe 'T' in the part number just indicates the LQFP package option; 'Y' indicates WLCSP - none of which should be of any concern to the Linker.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.