9 years, 1 month ago.

MBED_ASSERT doesn't operate in STM32F401.

I could not use MBED_ASSERT in STM32F401. So, I tried to call mbed_die function. But LED didn't blink. Witch is it, bug or specification?

Question relating to:

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

1 Answer

9 years, 1 month ago.

Looks like DEVICE_ERROR_PATTERN is not set and DEVICE_ERROR_RED is set to 0 , therefore there's no code executed in the mbed_die. I create a new issue on github for this, to look at this.

Accepted Answer