stm32/boards/ARDUINO_PORTENTA_H7: Add custom mbedtls config.

This commit is contained in:
iabdalkader 2022-11-08 09:35:35 +01:00 committed by Damien George
parent d2c2846820
commit ebb1a4ecb0
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#ifndef MICROPY_INCLUDED_MBEDTLS_CONFIG_BOARD_H
#define MICROPY_INCLUDED_MBEDTLS_CONFIG_BOARD_H
#define MBEDTLS_ECP_NIST_OPTIM
#include "ports/stm32/mbedtls/mbedtls_config.h"
#endif /* MICROPY_INCLUDED_MBEDTLS_CONFIG_BOARD_H */

View File

@ -25,3 +25,4 @@ MICROPY_PY_USSL = 1
MICROPY_SSL_MBEDTLS = 1
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
MBEDTLS_CONFIG_FILE = '"$(BOARD_DIR)/mbedtls_config_board.h"'