-
Notifications
You must be signed in to change notification settings - Fork 900
Espressif HW Improvements #6624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
c18fb50
Espressif HW Improvements w/upstream merge & squash 3
gojimmypi ff66297
code review changes for #6624
gojimmypi 354d9eb
Merge branch 'master' of https://github.com/wolfSSL/wolfssl into Espr…
gojimmypi ed35677
Merge branch 'master' of https://github.com/wolfssl/wolfssl into Espr…
gojimmypi 13e9464
ESP32 polish, code review changes, exit value revision.
gojimmypi d0756bd
revised AES HW/SW fallback logic for ESP32
gojimmypi 36ef979
PR 6624 Espressif HW Math code review polish
gojimmypi 7ed1f27
Merge branch 'master' of https://github.com/wolfssl/wolfssl into Espr…
gojimmypi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,7 @@ and have not yet been upgraded to the master branch V5. | |
| See the latest [migration guides](https://docs.espressif.com/projects/esp-idf/en/latest/esp32/migration-guides/index.html). | ||
|
|
||
| ## Overview | ||
|
|
||
| ESP-IDF development framework with wolfSSL by setting *WOLFSSL_ESPIDF* definition | ||
|
|
||
| Including the following examples: | ||
|
|
@@ -17,29 +18,57 @@ Including the following examples: | |
| The *user_settings.h* file enables some of the hardened settings. | ||
|
|
||
| ## Requirements | ||
|
|
||
| 1. [ESP-IDF development framework](https://docs.espressif.com/projects/esp-idf/en/latest/get-started/) | ||
|
|
||
| ## Setup for Linux | ||
|
|
||
| 1. Run `setup.sh` at _/path/to_`/wolfssl/IDE/Espressif/ESP-IDF/` to deploy files into ESP-IDF tree | ||
| 2. Find Wolfssl files at _/path/to/esp_`/esp-idf/components/wolfssl/` | ||
| 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) | ||
| 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) | ||
|
|
||
| ## Setup for Windows | ||
|
|
||
| 1. Run ESP-IDF Command Prompt (cmd.exe) or Run ESP-IDF PowerShell Environment | ||
| 2. Run `setup_win.bat` at `.\IDE\Espressif\ESP-IDF\` | ||
| 3. Find Wolfssl files at _/path/to/esp_`/esp-idf/components/wolfssl/` | ||
| 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) | ||
|
|
||
| ## Setup for VisualGDB | ||
|
|
||
| ### Clone a specific version: | ||
|
|
||
| ``` | ||
| C:\SysGCC\esp32\esp-idf>git clone -b v5.0.2 --recursive https://github.com/espressif/esp-idf.git v5.0.2 | ||
| ``` | ||
|
|
||
| ## Configuration | ||
|
|
||
| 1. The `user_settings.h` can be found in _/path/to/esp_`/esp-idf/components/wolfssl/include/user_settings.h` | ||
|
|
||
| ## Build examples | ||
|
|
||
| 1. See README in each example folder | ||
|
|
||
| ## Support | ||
|
|
||
| For question please email [[email protected]] | ||
|
|
||
| Note: This is tested with : | ||
| - OS: Ubuntu 20.04.3 LTS and Microsoft Windows 10 Pro 10.0.19041 and well as WSL Ubuntu | ||
| - OS: Ubuntu 20.04.3 LTS | ||
| - Microsoft Windows 10 Pro 10.0.19041 | ||
| - WSL Ubuntu | ||
|
|
||
| - ESP-IDF: ESP-IDF v4.3.2 | ||
| - Module : ESP32-WROOM-32 | ||
|
|
||
| ## JTAG Debugging | ||
|
|
||
| All of the examples are configured to use either the on-board JTAG (when available) or | ||
| the open source [Tigard multi-protocol tool for hardware hacking](https://github.com/tigard-tools/tigard). | ||
|
|
||
| VisualGDB users should find the configuration file in the `interface\ftdi` directory: | ||
|
|
||
| ``` | ||
| C:\Users\%USERNAME%\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.esp32.core\share\openocd\scripts\interface\ftdi | ||
| ``` | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.