Skip to content

Commit 282e559

Browse files
author
gojimmypi
committed
Update wolfcrypt settings.h for Espressif ESP-IDF
1 parent 80a63a3 commit 282e559

6 files changed

Lines changed: 1148 additions & 242 deletions

File tree

IDE/Espressif/ESP-IDF/examples/template/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
# wolfSSL Espressif Example Project CMakeLists.txt
2-
# v1.0
2+
# v1.2
33
#
44
# The following lines of boilerplate have to be in your project's
55
# CMakeLists in this exact order for cmake to work correctly
66
cmake_minimum_required(VERSION 3.16)
77

8+
# Optional no watchdog typically used for test & benchmark
9+
# add_compile_options(-DWOLFSSL_ESP_NO_WATCHDOG=1)
10+
811
# The wolfSSL CMake file should be able to find the source code.
912
# Otherwise, assign an environment variable or set it here:
1013
#
@@ -68,6 +71,8 @@ else()
6871
message(STATUS "No conflicting wolfSSL components found.")
6972
endif()
7073

74+
# Not only is a project-level "set(COMPONENTS" not needed here, this will cause
75+
# an unintuitive error about Unknown CMake command "esptool_py_flash_project_args".
7176
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
7277

7378
project(wolfssl_template)

0 commit comments

Comments
 (0)