diff --git a/IDE/include.am b/IDE/include.am index c11e6e3a8..573a0f829 100644 --- a/IDE/include.am +++ b/IDE/include.am @@ -38,7 +38,8 @@ include IDE/XilinxSDK/include.am include IDE/VisualDSP/include.am include IDE/QNX/include.am include IDE/WINCE/include.am +include IDE/zephyr/include.am -EXTRA_DIST+= IDE/IAR-EWARM IDE/MDK-ARM IDE/MDK5-ARM IDE/MYSQL IDE/LPCXPRESSO IDE/HEXIWEAR IDE/Espressif IDE/zephyr +EXTRA_DIST+= IDE/IAR-EWARM IDE/MDK-ARM IDE/MDK5-ARM IDE/MYSQL IDE/LPCXPRESSO IDE/HEXIWEAR IDE/Espressif EXTRA_DIST+= IDE/OPENSTM32/README.md EXTRA_DIST+= IDE/Espressif/ESP-IDF/setup_win.bat diff --git a/IDE/zephyr/README.md b/IDE/zephyr/README.md index adda89170..0fb3f6cdd 100644 --- a/IDE/zephyr/README.md +++ b/IDE/zephyr/README.md @@ -20,7 +20,7 @@ It provides the following zephyr code. ## How to setup -### delopy wolfssl source to zephyr project +### deploy wolfssl source to zephyr project Specify the path of the zephyr project and execute `wolfssl/IDE/zephyr/setup.sh`. ```bash diff --git a/IDE/zephyr/include.am b/IDE/zephyr/include.am new file mode 100644 index 000000000..7adc55d1f --- /dev/null +++ b/IDE/zephyr/include.am @@ -0,0 +1,33 @@ +# vim:ft=automake +# included from Top Level Makefile.am +# All paths should be given relative to the root + +EXTRA_DIST+= IDE/zephyr/lib/settings/user_settings-tls-generic.h +EXTRA_DIST+= IDE/zephyr/lib/zephyr/module.yml +EXTRA_DIST+= IDE/zephyr/lib/install_lib.sh +EXTRA_DIST+= IDE/zephyr/lib/README +EXTRA_DIST+= IDE/zephyr/lib/user_settings.h +EXTRA_DIST+= IDE/zephyr/module/CMakeLists.txt +EXTRA_DIST+= IDE/zephyr/module/install_module.sh +EXTRA_DIST+= IDE/zephyr/module/Kconfig +EXTRA_DIST+= IDE/zephyr/module/Kconfig.tls-generic +EXTRA_DIST+= IDE/zephyr/module/zephyr_init.c +EXTRA_DIST+= IDE/zephyr/wolfssl_test/CMakeLists.txt +EXTRA_DIST+= IDE/zephyr/wolfssl_test/install_test.sh +EXTRA_DIST+= IDE/zephyr/wolfssl_test/prj.conf +EXTRA_DIST+= IDE/zephyr/wolfssl_test/README +EXTRA_DIST+= IDE/zephyr/wolfssl_test/sample.yaml +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_sock/src/tls_sock.c +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_sock/CMakeLists.txt +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_sock/install_sample.sh +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_sock/prf.conf +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_sock/README +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_sock/sample.yaml +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_thread/src/tls_threaded.c +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_thread/CMakeLists.txt +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_thread/install_sample.sh +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_thread/prf.conf +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_thread/README +EXTRA_DIST+= IDE/zephyr/wolfssl_tls_thread/sample.yaml +EXTRA_DIST+= IDE/zephyr/README.md +EXTRA_DIST+= IDE/zephyr/setup.sh diff --git a/IDE/zephyr/lib/settings/user_settings-tls-generic.h b/IDE/zephyr/lib/settings/user_settings-tls-generic.h index 2c398060e..3ba179a2d 100644 --- a/IDE/zephyr/lib/settings/user_settings-tls-generic.h +++ b/IDE/zephyr/lib/settings/user_settings-tls-generic.h @@ -1,4 +1,4 @@ -/* wolfssl options.h +/* user_settings-tls-generic.h * generated from configure options * * Copyright (C) 2006-2021 wolfSSL Inc. diff --git a/IDE/zephyr/lib/user_settings.h b/IDE/zephyr/lib/user_settings.h index e660a95c4..2fe961bff 100644 --- a/IDE/zephyr/lib/user_settings.h +++ b/IDE/zephyr/lib/user_settings.h @@ -1,3 +1,23 @@ +/* user_settings.h + * + * Copyright (C) 2006-2021 wolfSSL Inc. + * + * This file is part of wolfSSL. + * + * wolfSSL is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * wolfSSL is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + */ #ifndef USER_SETTINGS_H #define USER_SETTINGS_H diff --git a/IDE/zephyr/module/zephyr_init.c b/IDE/zephyr/module/zephyr_init.c index ccaebafcd..45c027ed2 100644 --- a/IDE/zephyr/module/zephyr_init.c +++ b/IDE/zephyr/module/zephyr_init.c @@ -1,3 +1,24 @@ +/* zephyr_init.c + * + * Copyright (C) 2006-2021 wolfSSL Inc. + * + * This file is part of wolfSSL. + * + * wolfSSL is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * wolfSSL is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA + */ + /** @file * @brief wolfSSL initialization *