You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior versions of the wolfSSL Espressif library expected the `user_settings.h` to be in the root wolfssl folder in a directory
67
+
called `/include`. This method, while possible, is no longer recommended.
68
+
69
+
Be sure to *not* have a `user_settings.h` in _both_ the local project and the wolfssl `include` directories.
70
+
71
+
### File: `wolfssl/wolfcrypt/settings.h`
72
+
73
+
The wolfSSL built-in `settings.h` references your project `user_settings.h`. The
74
+
`settings.h` should _not_ be edited directly. Any wolfSSL settings should be adjusted in your local project
75
+
`user_settings.h` file.
76
+
77
+
The `settings.h` has some SoC-target-specific settings, so be sure to `#include "sdkconfig.h"` at the beginning
78
+
of your source code, particularly before the `#include <wolfssl/wolfcrypt/settings.h>` line.
19
79
20
80
## Requirements
21
81
@@ -56,19 +116,29 @@ See the specific examples for additional details.
56
116
57
117
## Setup for Linux (wolfSSL local copy)
58
118
119
+
This is a legacy method for installation. It is recommended to use the new `CMakeLists.txt` to point to wolfSSL source code.
120
+
59
121
1. Run `setup.sh` at _/path/to_`/wolfssl/IDE/Espressif/ESP-IDF/` to deploy files into ESP-IDF tree
60
122
2. Find Wolfssl files at _/path/to/esp_`/esp-idf/components/wolfssl/`
61
123
3. Find [Example Programs](https://github.com/wolfSSL/wolfssl/tree/master/IDE/Espressif/ESP-IDF/examples) under _/path/to/esp_`/esp-idf/examples/protocols/wolfssl_xxx` (where xxx is the project name)
62
124
63
125
## Setup for Windows
64
126
127
+
This is a legacy method for installation. It is recommended to use the new `CMakeLists.txt` to point to wolfSSL source code.
128
+
65
129
1. Run ESP-IDF Command Prompt (cmd.exe) or Run ESP-IDF PowerShell Environment
66
130
2. Run `setup_win.bat` at `.\IDE\Espressif\ESP-IDF\`
67
131
3. Find Wolfssl files at _/path/to/esp_`/esp-idf/components/wolfssl/`
68
132
4. Find [Example programs](https://github.com/wolfSSL/wolfssl/tree/master/IDE/Espressif/ESP-IDF/examples) under _/path/to/esp_`/esp-idf/examples/protocols/wolfssl_xxx` (where xxx is the project name)
69
133
70
134
## Setup for VisualGDB
71
135
136
+
See the local project `./VisualGDB` for sample project files. For single-step JTAG debugging on boards that do not
137
+
have a built-in JTAG port, the wolfSSL examples use the open source [Tigard board](https://github.com/tigard-tools/tigard#readme).
138
+
139
+
See also the [gojimmypi blog](https://gojimmypi.github.io/Tigard-JTAG-SingleStep-Debugging-ESP32/) on using the Tigard
0 commit comments