Skip to main content
Arno1
Senior
January 11, 2021
Solved

Unable to find definition of FW_INFO_TOT_LEN

  • January 11, 2021
  • 2 replies
  • 1067 views

I'm trying to port the SBSFU to STM32H735. I started from the project for the NUCLEO-H753ZI.

I get errors in sfu_fwimg_core.c on FW_INFO_TOT_LEN but where is this defined?

A simple grep -r turns up nothing.

Thanks!

This topic has been closed for replies.
Best answer by Jocelyn RICARD

Hello Arno,

this symbol is used in SBSFU v2.3.1 but no more in latest version 2.4.0

In previous release you could find

#define FW_HEADER_TOT_LEN        (sizeof(SE_FwRawHeaderTypeDef))   /*!< FW INFO Total Len*/ 

in sfu_fwimg_internals.h

So, I guess there is a mixup between the 2 releases.

Best regards

Jocelyn

2 replies

Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
January 11, 2021

Hello Arno,

this symbol is used in SBSFU v2.3.1 but no more in latest version 2.4.0

In previous release you could find

#define FW_HEADER_TOT_LEN        (sizeof(SE_FwRawHeaderTypeDef))   /*!< FW INFO Total Len*/ 

in sfu_fwimg_internals.h

So, I guess there is a mixup between the 2 releases.

Best regards

Jocelyn

Arno1
Arno1Author
Senior
January 11, 2021

Thank you for the quick response. Does this mean the project for H753 hasn't been updated yet to v2.4.0?

Arno1
Arno1Author
Senior
January 11, 2021

Also I must add, that this could be entirely my error.

Arno1
Arno1Author
Senior
January 11, 2021

*removed, should have been reply*