Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 9 months ago.
Cloud_IBM_MbedOS error
Hello, I am running the Cloud_IBM_MbedOS on my Nucleo-F411RE and Nucleo-L476RG. The example compiled successfully with the Nucleo0L476RG, but when I changed the target to Nucleo-F411RE, it failed with the error Error: #error directive: "This hardware does not have an entropy source." in "mbedtls_entropy_config.h", Line: 22, Col: 3. I tried adding the target in mbed_app.json like this "NUCLEO_F411RE": { } but it also failed. Can you help me with this? Thank you very much.
Question relating to:
1 Answer
6 years, 9 months ago.
Hi
Entropy means that a True Random Generator (TRNG) must be embedded in the MCU. This is the case for the STM32L476RG but not for the STM32F411RE. This explains your error.
This is the list of ST boards having TRNG:
DISCO_F413ZH
DISCO_F429ZI
DISCO_F469NI
DISCO_F746NG
DISCO_F769NI
DISCO_L072CZ_LRWAN1
DISCO_L475VG_IOT01A
DISCO_L476VG
NUCLEO_F410RB
NUCLEO_F412ZG
NUCLEO_F413ZH
NUCLEO_F429ZI
NUCLEO_F439ZI
NUCLEO_F746ZG
NUCLEO_F756ZG
NUCLEO_F767ZI
NUCLEO_L073RZ
NUCLEO_L432KC
NUCLEO_L433RC_P
NUCLEO_L476RG
NUCLEO_L486RG
NUCLEO_L496ZG
NUCLEO_L496ZG_P