cancel
Showing results for 
Search instead for 
Did you mean: 

Linker error occurred in IAR 7.60 when compiling the XCUBE expansion package for NUCLEO-F411RE

PDeva.1
Associate

I am using IAR Embedded Workbench 7.60 and configuring the XCube-SBSFU extension package for Nucleo-F411RE.

I have done the Compilation in below order and the it is successful for Securebin & SBSFU project.

  1. Securebin
  2. SBSFU
  3. UserApp

When compiling the User App project, getting the below linker error for the following line in the .icf file .

define root section aes_block_padding with alignment = 16

{

udata8 "Force Alignment";

pad_to 16;

};

Error[Lc003]: expected "block", "memory", "movable", "overlay", "region", "sharing", or "symbol"

I don't understand the issue here. For reference, attached the file

1 REPLY 1
Jocelyn RICARD
ST Employee

Hello @PDeva.1​ 

Do you still have the issue?

I'm afraid this version of IAR is too old and does not support this alignment section.

Reason to align is related to the encryption of the firmware using AES CBC

Best regards

Jocelyn