-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I would like to import esp-wolfssl as a git submodule directly, and yet be able to customize the settings.
user_settings.h by default disables unsafe features, which unfortunately we need (specifically, we need 3DES, which is disabled by the macro NO_DES3).
At the moment it seems that the only possibility is to manually modify port/user_settings.h; this is because it is included directly by wolfssl source. This inclusion is controlled by the WOLFSSL_USER_SETTINGS macro, which is set directly in component.mk.
Is there some macro I am missing? Otherwise, would it be possible to change port/user_settings.h in a way that it can be customized without needing to touch the repo content?
For example, something like this:
#ifdef ESP_WOLFSSL_CUSTOM_USER_SETTINGS
#include <esp_user_settings.h> // File provided by the user, not bundled in esp-wolfssl
#else
// all the content of port/user_settings.h
#endifMetadata
Metadata
Assignees
Labels
No labels