Skip to content

Commit 7a67ff8

Browse files
author
Charley Chu
committed
psoc64: Disable TRNG and MXCRYPTO on 064B0S2
Signed-off-by: Charley Chu <[email protected]>
1 parent d3d0e51 commit 7a67ff8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

features/mbedtls/targets/TARGET_Cypress/TARGET_MXCRYPTO/mbedtls_device.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#ifndef MBEDTLS_DEVICE_H
1919
#define MBEDTLS_DEVICE_H
2020

21+
#ifndef MXCRYPTO_DISABLED
2122
/* Currently this target supports SHA1 */
2223
// #define MBEDTLS_SHA1_C
2324

@@ -44,4 +45,5 @@
4445
#define MBEDTLS_ECDSA_SIGN_ALT
4546
#define MBEDTLS_ECDSA_VERIFY_ALT
4647

48+
#endif /* #ifndef MXCRYPTO_DISABLED */
4749
#endif /* MBEDTLS_DEVICE_H */

targets/targets.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6841,11 +6841,11 @@
68416841
"device_has_remove": [
68426842
"ANALOGOUT",
68436843
"QSPI",
6844+
"TRNG",
68446845
"CRC"
68456846
],
68466847
"extra_labels_add": [
68476848
"PSOC6_02",
6848-
"MXCRYPTO_02",
68496849
"CORDIO",
68506850
"TFM",
68516851
"TFM_DUALCPU"
@@ -6854,6 +6854,7 @@
68546854
"CYB0644ABZI_S2D44",
68556855
"CY_IPC_DEFAULT_CFG_DISABLE",
68566856
"CYBSP_WIFI_CAPABLE",
6857+
"MXCRYPTO_DISABLED",
68576858
"TFM_MULTI_CORE_MULTI_CLIENT_CALL=1"
68586859
],
68596860
"detect_code": [

0 commit comments

Comments
 (0)