From 42f62d30f306d675f2212acf9b89c532f0b22505 Mon Sep 17 00:00:00 2001 From: pennam Date: Wed, 10 Jan 2024 22:18:21 +0100 Subject: [PATCH] Add build configuration file for ECCX08 --- src/AIoTC_Config.h | 2 ++ src/ArduinoECCX08Config.h | 27 +++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 src/ArduinoECCX08Config.h diff --git a/src/AIoTC_Config.h b/src/AIoTC_Config.h index eb2750b4..62d62e34 100644 --- a/src/AIoTC_Config.h +++ b/src/AIoTC_Config.h @@ -18,6 +18,8 @@ #ifndef ARDUINO_AIOTC_CONFIG_H_ #define ARDUINO_AIOTC_CONFIG_H_ +#include + /****************************************************************************** * USER CONFIGURABLE DEFINES ******************************************************************************/ diff --git a/src/ArduinoECCX08Config.h b/src/ArduinoECCX08Config.h new file mode 100644 index 00000000..41edf970 --- /dev/null +++ b/src/ArduinoECCX08Config.h @@ -0,0 +1,27 @@ +/* + This file is part of ArduinoIoTCloud. + + Copyright 2020 ARDUINO SA (http://www.arduino.cc/) + + This software is released under the GNU General Public License version 3, + which covers the main part of arduino-cli. + The terms of this license can be found at: + https://www.gnu.org/licenses/gpl-3.0.en.html + + You can be released from the requirements of the above licenses by purchasing + a commercial license. Buying such a license is mandatory if you want to modify or + otherwise use the software for commercial activities involving the Arduino + software without disclosing the source code of your own applications. To purchase + a commercial license, send an email to license@arduino.cc. +*/ + +#ifndef ARDUINO_ECCX08_CONFIG_H +#define ARDUINO_ECCX08_CONFIG_H + +#define ECCX08_DISABLE_ASN1 +#define ECCX08_DISABLE_CSR +#define ECCX08_DISABLE_JWS +#define ECCX08_DISABLE_SSC +#define ECCX08_DISABLE_PEM + +#endif /* ARDUINO_ECCX08_CONFIG_H */