Sean Parkinson 623a84ed7b Fixes for Zephyr OS | 3 år sedan | |
---|---|---|
.. | ||
samples | 3 år sedan | |
wolfssl | 3 år sedan | |
CMakeLists.txt | 3 år sedan | |
Kconfig | 3 år sedan | |
Kconfig.tls-generic | 3 år sedan | |
README.md | 3 år sedan | |
include.am | 3 år sedan | |
module.yml | 3 år sedan | |
user_settings-tls-generic.h | 3 år sedan | |
user_settings.h | 3 år sedan | |
zephyr_init.c | 3 år sedan |
This port is for the Zephyr RTOS Project, available here.
It provides the following zephyr code.
Add wolfssl as a project:
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
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.
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
cd [zephyrproject]
west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_sock
west build -t run
cd [zephyrproject]
west build -p auto -b qemu_x86 modules/crypto/wolfssl/zephyr/samples/wolfssl_tls_thread
west build -t run