Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

build failure with Nucleo boards #83

@mridup

Description

@mridup

compilation fails when built for Nucleo boards. Tried a build with K64F which builds OK.
Adding the ENTROPY macros in mbed_app.json does not add the macros to the mbed_config.h file in the .build/ folder.

"macros": ["MBEDTLS_USER_CONFIG_FILE=\"mbedtls_mbed_client_config.h\"", "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES", "MBEDTLS_TEST_NULL_ENTROPY"],

In fact the first macro added is repeatedly added to the file multiple times.
E.g. in mbed_config.h (./build/NUCLEO_L476RG/GCC_ARM)
`

define MBEDTLS_TEST_NULL_ENTROPY

define MBEDTLS_TEST_NULL_ENTROPY

define MBEDTLS_TEST_NULL_ENTROPY

define MBEDTLS_TEST_NULL_ENTROPY

`

error is generated in the file mbed-os/features/mbedtls/inc/mbedtls/check_config.h line no.135
#error "MBEDTLS_TEST_NULL_ENTROPY defined, but not all prerequisites"

This failure happens both in mbed-cli and the online compiler.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions