Sean Parkinson 623a84ed7b Fixes for Zephyr OS | 3 rokov pred | |
---|---|---|
.. | ||
samples | 3 rokov pred | |
wolfssl | 3 rokov pred | |
CMakeLists.txt | 3 rokov pred | |
Kconfig | 3 rokov pred | |
Kconfig.tls-generic | 3 rokov pred | |
README.md | 3 rokov pred | |
include.am | 3 rokov pred | |
module.yml | 3 rokov pred | |
user_settings-tls-generic.h | 3 rokov pred | |
user_settings.h | 3 rokov pred | |
zephyr_init.c | 3 rokov pred |
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