Skip to main content
Antoine1
Associate
November 21, 2019
Question

report small bugs about X-CUBE-SBSFU

  • November 21, 2019
  • 1 reply
  • 574 views

2 small bugs I encountered:

** sfu_error.c l.246

function SFU_ErrorStatus SFU_EXCPT_Check_Code(SFU_EXCPT_IdTypeDef eExceptionId)

=> missing case SFU_EXCPT_NONE

=> never returns SFU_ERROR (should be added in default case)

** When assertion is enabled in CubeMx project, compilation fails.

There's an extra line which can be removed I guess (assert_param)

cf below:

sfu_low_level_security.c  l.886

in function FU_ErrorStatus SFU_LL_SECU_SetProtectionDAP(void)

<<

 assert_param(SFU_IS_FUNCTIONAL_STATE(eState));

>>

  

This topic has been closed for replies.

1 reply

Jocelyn RICARD
ST Employee
June 17, 2020

Hello Antoine,

thank you for your feedback. And sorry for late answer, I've just seen this post.

I will report first one.

I know second one was already raised and will be fixed in next release

Best regards

Jocelyn