Skip to content

Commit 58a1c69

Browse files
adustmadbridge
authored andcommitted
Move MBEDTLS_MD5_C define from mbedtls_device.h to targets.json
1 parent b84f5d1 commit 58a1c69

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

features/mbedtls/targets/TARGET_STM/TARGET_STM32F7/TARGET_NUCLEO_F756ZG/mbedtls_device.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* mbedtls_device.h
2+
* mbedtls_device.h
33
*******************************************************************************
44
* Copyright (c) 2017, STMicroelectronics
55
* SPDX-License-Identifier: Apache-2.0
@@ -27,7 +27,4 @@
2727
#define MBEDTLS_SHA256_ALT
2828
#define MBEDTLS_MD5_ALT
2929

30-
#define MBEDTLS_MD5_C
31-
32-
3330
#endif /* MBEDTLS_DEVICE_H */

targets/targets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1192,6 +1192,7 @@
11921192
"inherits": ["FAMILY_STM32"],
11931193
"core": "Cortex-M7F",
11941194
"extra_labels_add": ["STM32F7", "STM32F756", "STM32F756xG", "STM32F756ZG"],
1195+
"macros_add": ["MBEDTLS_CONFIG_HW_SUPPORT", "MBEDTLS_MD5_C"],
11951196
"config": {
11961197
"d11_configuration": {
11971198
"help": "Value: PA_7 for the default board configuration, PB_5 in case of solder bridge update (SB121 off/ SB122 on)",

0 commit comments

Comments
 (0)