code cleanup & fix compile with pico-sdk 2.2.0
This commit is contained in:
+3
-2
@@ -1,5 +1,5 @@
|
||||
#ifndef MBEDTLS_CONFIG_EXAMPLES_COMMON_H
|
||||
#define MBEDTLS_CONFIG_EXAMPLES_COMMON_H
|
||||
#ifndef MBEDTLS_CONFIG_H
|
||||
#define MBEDTLS_CONFIG_H
|
||||
|
||||
/* Workaround for some mbedtls source files using INT_MAX without including limits.h */
|
||||
#include <limits.h>
|
||||
@@ -11,6 +11,7 @@
|
||||
|
||||
#define MBEDTLS_ALLOW_PRIVATE_ACCESS
|
||||
#define MBEDTLS_HAVE_TIME
|
||||
#define MBEDTLS_PLATFORM_MS_TIME_ALT
|
||||
|
||||
#define MBEDTLS_CIPHER_MODE_CBC
|
||||
#define MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
|
||||
Reference in New Issue
Block a user