Skip to content

Commit 503bbbe

Browse files
committed
Update PlatformIO wolfssl/wolfssl@^5.7.0-rev.3c
1 parent 51f814e commit 503bbbe

File tree

4 files changed

+859
-45
lines changed

4 files changed

+859
-45
lines changed
Lines changed: 42 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,42 @@
1-
; PlatformIO Project Configuration File
2-
;
3-
; Build options: build flags, source filter
4-
; Upload options: custom upload port, speed and extra flags
5-
; Library options: dependencies, extra library storages
6-
; Advanced options: extra scripting
7-
;
8-
; Please visit documentation for the other options and examples
9-
; https://docs.platformio.org/page/projectconf.html
10-
11-
[env:esp32dev]
12-
platform = espressif32
13-
board = esp32dev
14-
framework = espidf
15-
upload_port = COM82
16-
monitor_port = COM82
17-
monitor_speed = 115200
18-
build_flags = -DWOLFSSL_USER_SETTINGS, -DWOLFSSL_ESP32
19-
monitor_filters = direct
20-
lib_deps = wolfssl-staging/wolfSSL@^5.7.0-test.1
1+
; PlatformIO Project Configuration File
2+
;
3+
; Build options: build flags, source filter
4+
; Upload options: custom upload port, speed and extra flags
5+
; Library options: dependencies, extra library storages
6+
; Advanced options: extra scripting
7+
;
8+
; Please visit documentation for the other options and examples
9+
; https://docs.platformio.org/page/projectconf.html
10+
11+
;
12+
; To ensure that you are always using the newest version of a library:
13+
; lib_deps = wolfssl/wolfSSL@*
14+
;
15+
; If you want to stay within a certain range of versions while still
16+
; getting updates, you can use semantic versioning to specify an acceptable
17+
; range. For example, to get any version in the 5.x.x series:
18+
; lib_deps = wolfssl/wolfSSL@^5.0.0
19+
;
20+
; If you specifically want to ensure that you always get the latest version
21+
; that matches 5.7.0 or newer, you could use:
22+
; lib_deps = wolfssl/wolfSSL@>=5.7.0
23+
;
24+
; If you want to test drive previews, see the staging versions:
25+
; https://registry.platformio.org/search?q=owner%3Awolfssl-staging
26+
;
27+
; lib_deps = wolfssl-staging/wolfSSL@^5.7.0-test.rev03
28+
;
29+
; The regular release of wolfssl (yes there's a case difference from staging')
30+
;
31+
; lib_deps = wolfssl/wolfssl@^5.7.0-rev.3c
32+
33+
[env:esp32dev]
34+
platform = espressif32
35+
board = esp32dev
36+
framework = espidf
37+
upload_port = COM19
38+
monitor_port = COM19
39+
monitor_speed = 115200
40+
build_flags = -DWOLFSSL_USER_SETTINGS, -DWOLFSSL_ESP32
41+
monitor_filters = direct
42+
lib_deps = wolfssl/wolfssl@^5.7.0-rev.3d
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
#include <wolfssl/wolfcrypt/settings.h>
2-
#ifdef WOLFSSL_ESPIDF
3-
#include <esp_log.h>
4-
#include <rtc_wdt.h>
5-
#include <wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h>
6-
#endif
7-
#include <wolfssl/version.h>
8-
#include <wolfssl/wolfcrypt/types.h>
9-
#include <wolfcrypt/test/test.h>
10-
#define TAG "demo"
11-
12-
void app_main() {
13-
int ret = 0;
14-
#ifdef WOLFSSL_ESPIDF
15-
ESP_LOGI(TAG, "Found WOLFSSL_ESPIDF!");
16-
#endif
17-
printf("Hello World wolfSSL Version %s", LIBWOLFSSL_VERSION_STRING);
18-
19-
#if defined(HAVE_VERSION_EXTENDED_INFO) && defined(WOLFSSL_ESPIDF)
20-
esp_ShowExtendedSystemInfo();
21-
#endif
22-
ret = wolf_test_task();
23-
printf("wolf_test_task result %d", ret);
24-
}
1+
#include <wolfssl/wolfcrypt/settings.h>
2+
#ifdef WOLFSSL_ESPIDF
3+
#include <esp_log.h>
4+
#include <rtc_wdt.h>
5+
#include <wolfssl/wolfcrypt/port/Espressif/esp32-crypt.h>
6+
#endif
7+
#include <wolfssl/version.h>
8+
#include <wolfssl/wolfcrypt/types.h>
9+
#include <wolfcrypt/test/test.h>
10+
#define TAG "demo"
11+
12+
void app_main() {
13+
int ret = 0;
14+
#ifdef WOLFSSL_ESPIDF
15+
ESP_LOGI(TAG, "Found WOLFSSL_ESPIDF!");
16+
#endif
17+
printf("Hello World wolfSSL Version\n %s", LIBWOLFSSL_VERSION_STRING);
18+
19+
#if defined(HAVE_VERSION_EXTENDED_INFO) && defined(WOLFSSL_ESPIDF)
20+
esp_ShowExtendedSystemInfo();
21+
#endif
22+
ret = wolf_test_task();
23+
printf("wolf_test_task result %d", ret);
24+
}

IDE/PlatformIO/examples/wolfssl_test/wolfssl_test.code-workspace

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
],
88
"settings": {
99
"files.associations": {
10-
"settings.h": "c"
10+
"settings.h": "c",
11+
"sdkconfig.h": "c"
1112
}
1213
}
1314
}

0 commit comments

Comments
 (0)