Skip to content

Need to add another include directory in ports/stm32/Makefile to compile #18

@hacksterous

Description

@hacksterous

Got this error:

CC mbedtls/mbedtls_port.c
mbedtls/mbedtls_port.c:33:10: fatal error: mbedtls/platform_time.h: No such file or directory
33 | #include "mbedtls/platform_time.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~

The fix was to add this at line 111 in ports/stm32/Makefile:

INC += -I$(TOP)/lib/mbedtls/include

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions