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