stm32/Makefile: Allow overriding the default MBEDTLS_CONFIG_FILE.

This commit is contained in:
iabdalkader 2022-11-08 09:02:05 +01:00 committed by Damien George
parent efe7dac0aa
commit d2c2846820
1 changed files with 2 additions and 1 deletions

View File

@ -474,7 +474,8 @@ USBDEV_SRC_C += $(addprefix $(USBDEV_DIR)/,\
) )
ifeq ($(MICROPY_SSL_MBEDTLS),1) ifeq ($(MICROPY_SSL_MBEDTLS),1)
CFLAGS += -DMBEDTLS_CONFIG_FILE='"mbedtls/mbedtls_config.h"' MBEDTLS_CONFIG_FILE ?= '"mbedtls/mbedtls_config.h"'
CFLAGS += -DMBEDTLS_CONFIG_FILE=$(MBEDTLS_CONFIG_FILE)
LIB_SRC_C += mbedtls/mbedtls_port.c LIB_SRC_C += mbedtls/mbedtls_port.c
endif endif