Skip to main content
PDeva.1
Visitor II
November 23, 2021
Question

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

  • November 23, 2021
  • 1 reply
  • 1166 views

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

This topic has been closed for replies.

1 reply

Jocelyn RICARD
ST Employee
December 16, 2021

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