Skip to content

Commit f348b46

Browse files
committed
Document a working solution to disable ECCX08
1 parent 081dcb2 commit f348b46

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

README.adoc

+21-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,27 @@ image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/
1010
Port of https://bearssl.org[BearSSL] to Arduino.
1111

1212
This library depends on ArduinoECCX08. This dependency could be
13-
disabled by defining ARDUINO_DISABLE_ECCX08 in ArduinoBearSSLConfig.h
14-
(see examples).
13+
disabled by defining ARDUINO_DISABLE_ECCX08 in ArduinoBearSSLConfig.h.
14+
15+
To do this create a configuration library called ArduinoBearSSLConfig with the
16+
following file structure:
17+
18+
```
19+
└── ArduinoBearSSLConfig/
20+
├── src/
21+
│ └── ArduinoBearSSLConfig.h
22+
└── library.properties
23+
```
24+
25+
ArduinoBearSSLConfig.h
26+
```
27+
#pragma once
28+
#define ARDUINO_DISABLE_ECCX08
29+
```
30+
library.properties
31+
```
32+
name=ArduinoBearSSLConfig
33+
```
1534

1635
== License ==
1736

0 commit comments

Comments
 (0)