Update PlatformIO wolfssl/wolfssl@^5.7.0-rev.3c
This commit is contained in:
@@ -1,20 +1,42 @@
|
||||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
framework = espidf
|
||||
upload_port = COM82
|
||||
monitor_port = COM82
|
||||
monitor_speed = 115200
|
||||
build_flags = -DWOLFSSL_USER_SETTINGS, -DWOLFSSL_ESP32
|
||||
monitor_filters = direct
|
||||
lib_deps = wolfssl-staging/wolfSSL@^5.7.0-test.1
|
||||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
;
|
||||
; To ensure that you are always using the newest version of a library:
|
||||
; lib_deps = wolfssl/wolfSSL@*
|
||||
;
|
||||
; If you want to stay within a certain range of versions while still
|
||||
; getting updates, you can use semantic versioning to specify an acceptable
|
||||
; range. For example, to get any version in the 5.x.x series:
|
||||
; lib_deps = wolfssl/wolfSSL@^5.0.0
|
||||
;
|
||||
; If you specifically want to ensure that you always get the latest version
|
||||
; that matches 5.7.0 or newer, you could use:
|
||||
; lib_deps = wolfssl/wolfSSL@>=5.7.0
|
||||
;
|
||||
; If you want to test drive previews, see the staging versions:
|
||||
; https://registry.platformio.org/search?q=owner%3Awolfssl-staging
|
||||
;
|
||||
; lib_deps = wolfssl-staging/wolfSSL@^5.7.0-test.rev03
|
||||
;
|
||||
; The regular release of wolfssl (yes there's a case difference from staging')
|
||||
;
|
||||
; lib_deps = wolfssl/wolfssl@^5.7.0-rev.3c
|
||||
|
||||
[env:esp32dev]
|
||||
platform = espressif32
|
||||
board = esp32dev
|
||||
framework = espidf
|
||||
upload_port = COM19
|
||||
monitor_port = COM19
|
||||
monitor_speed = 115200
|
||||
build_flags = -DWOLFSSL_USER_SETTINGS, -DWOLFSSL_ESP32
|
||||
monitor_filters = direct
|
||||
lib_deps = wolfssl/wolfssl@^5.7.0-rev.3d
|
||||
|
||||
@@ -1,24 +1,24 @@
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
#ifdef WOLFSSL_ESPIDF
|
||||
#include <esp_log.h>
|
||||
#include <rtc_wdt.h>
|
||||
#include <wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h>
|
||||
#endif
|
||||
#include <wolfssl/version.h>
|
||||
#include <wolfssl/wolfcrypt/types.h>
|
||||
#include <wolfcrypt/test/test.h>
|
||||
#define TAG "demo"
|
||||
|
||||
void app_main() {
|
||||
int ret = 0;
|
||||
#ifdef WOLFSSL_ESPIDF
|
||||
ESP_LOGI(TAG, "Found WOLFSSL_ESPIDF!");
|
||||
#endif
|
||||
printf("Hello World wolfSSL Version %s", LIBWOLFSSL_VERSION_STRING);
|
||||
|
||||
#if defined(HAVE_VERSION_EXTENDED_INFO) && defined(WOLFSSL_ESPIDF)
|
||||
esp_ShowExtendedSystemInfo();
|
||||
#endif
|
||||
ret = wolf_test_task();
|
||||
printf("wolf_test_task result %d", ret);
|
||||
}
|
||||
#include <wolfssl/wolfcrypt/settings.h>
|
||||
#ifdef WOLFSSL_ESPIDF
|
||||
#include <esp_log.h>
|
||||
#include <rtc_wdt.h>
|
||||
#include <wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h>
|
||||
#endif
|
||||
#include <wolfssl/version.h>
|
||||
#include <wolfssl/wolfcrypt/types.h>
|
||||
#include <wolfcrypt/test/test.h>
|
||||
#define TAG "demo"
|
||||
|
||||
void app_main() {
|
||||
int ret = 0;
|
||||
#ifdef WOLFSSL_ESPIDF
|
||||
ESP_LOGI(TAG, "Found WOLFSSL_ESPIDF!");
|
||||
#endif
|
||||
printf("Hello World wolfSSL Version\n %s", LIBWOLFSSL_VERSION_STRING);
|
||||
|
||||
#if defined(HAVE_VERSION_EXTENDED_INFO) && defined(WOLFSSL_ESPIDF)
|
||||
esp_ShowExtendedSystemInfo();
|
||||
#endif
|
||||
ret = wolf_test_task();
|
||||
printf("wolf_test_task result %d", ret);
|
||||
}
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
],
|
||||
"settings": {
|
||||
"files.associations": {
|
||||
"settings.h": "c"
|
||||
"settings.h": "c",
|
||||
"sdkconfig.h": "c"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user