forked from wolfSSL/wolfssl
Add steps for including wolfSSL as an Arduino library
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
### wolfSSL with Arduino
|
### wolfSSL with Arduino
|
||||||
|
|
||||||
##### reformat-wolfssl.sh
|
##### Reformatting wolfSSL as a compatible Arduino Library
|
||||||
This is a shell script that will re-organize the wolfSSL library to be
|
This is a shell script that will re-organize the wolfSSL library to be
|
||||||
compatible with Arduino projects. The Arduino IDE requires a library's source
|
compatible with Arduino projects. The Arduino IDE requires a library's source
|
||||||
files to be in the library's root directory with a header file in the name of
|
files to be in the library's root directory with a header file in the name of
|
||||||
@@ -10,4 +10,10 @@ creates a stub header file called wolfssl.h.
|
|||||||
To configure wolfSSL with Arduino, enter the following from within the
|
To configure wolfSSL with Arduino, enter the following from within the
|
||||||
wolfssl/IDE/ARDUINO directory:
|
wolfssl/IDE/ARDUINO directory:
|
||||||
|
|
||||||
sh reformat-wolfssl.sh
|
./wolfssl-arduino.sh
|
||||||
|
|
||||||
|
#####Including wolfSSL in Arduino Libraries (for Arduino version 1.6.6)
|
||||||
|
1. Copy the wolfSSL directory into Arduino/libraries (or wherever Arduino searches for libraries).
|
||||||
|
2. In the Arduino IDE:
|
||||||
|
- Go to ```Sketch > Include Libraries > Manage Libraries```. This refreshes your changes to the libraries.
|
||||||
|
- Next go to ```Sketch > Include Libraries > wolfSSL```. This includes wolfSSL in your sketch.
|
||||||
|
Reference in New Issue
Block a user