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