Daniel Pouzzner b4f1b6d04d fix whitespace and C++-style comments. | il y a 2 ans | |
---|---|---|
.. | ||
samples | il y a 2 ans | |
wolfssl | il y a 3 ans | |
CMakeLists.txt | il y a 2 ans | |
Kconfig | il y a 3 ans | |
Kconfig.tls-generic | il y a 3 ans | |
README.md | il y a 2 ans | |
include.am | il y a 2 ans | |
module.yml | il y a 3 ans | |
nrf5340dk_nrf5340_user_settings.h | il y a 2 ans | |
user_settings-tls-generic.h | il y a 2 ans | |
user_settings.h | il y a 2 ans | |
zephyr_init.c | il y a 2 ans |
This port is for the Zephyr RTOS Project, available here.
It provides the following zephyr code.
Add wolfssl as a project to your west.yml:
manifest:
remotes:
# <your other remotes>
- name: wolfssl
url-base: https://github.com/wolfssl
projects:
# <your other projects>
- name: wolfssl
path: modules/crypto/wolfssl
revision: master
remote: wolfssl
If you are using the Nordic nRF Connect SDK with Zephyr, the sdk-nrf manifest
file is located at: vX.X.X/nrf/west.yml
. On OSX the default installation
location for the nRF Connect SDK is at /opt/nordic/ncs/vX.X.X
.
Update west's modules:
west update
Now west recognizes 'wolfssl' as a module, and will include it's Kconfig and CMakeFiles.txt in the build system.
If using the Nordic nRF Connect SDK, to get access to a terminal with west tool access, open "nRF Connect for Desktop", then "Toolchain Manager", and finally next to the SDK version you are using click the drop down arrow, then "Open Terminal".
build and execute wolfssl_test
cd [zephyrproject]
west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_test
west build -t run
build and execute wolfssl_benchmark
cd [zephyrproject]
west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_benchmark
west build -t run
wolfssl_tls_sock
cd [zephyrproject]
west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_sock
west build -t run
wolfssl_tls_thread
cd [zephyrproject]
west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_thread
west build -t run