Skip to main content
Arno1
Senior
Jan 11, 2021 12:20 PM UTC
Solved

Unable to find definition of FW_INFO_TOT_LEN

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.
Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
Jan 11, 2021 12:36 PM UTC

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

6 replies

Jocelyn RICARD
Jocelyn RICARDBest answer
ST Employee
Jan 11, 2021 12:36 PM UTC

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
Jan 11, 2021 1:49 PM UTC

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
Jan 11, 2021 2:01 PM UTC

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

Arno1
Arno1Author
Senior
Jan 11, 2021 1:48 PM UTC

*removed, should have been reply*