Skip to content

Commit c26a5f7

Browse files
Merge pull request #6390 from lealem47/no_asn_time
Fix for compiling with NO_ASN_TIME + doc fix
2 parents 158c036 + 03f5ce0 commit c26a5f7

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

IDE/STM32Cube/README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,6 @@ You need both the STM32 IDE and the STM32 initialization code generator (STM32Cu
3737
8. The Benchmark example uses float. To enable go to "Project Properties" -> "C/C++ Build" -> "Settings" -> "Tool Settings" -> "MCU Settings" -> Check "Use float with printf".
3838
9. To enable printf make the `main.c` changes below in the [STM32 Printf](#stm32-printf) section.
3939

40-
### STM32 Cube Pack Examples
41-
42-
In the `I-CUBE-wolfSSL.pack` pack there are pre-assembled example projects available.
43-
After installing the pack you can find these example projects in `STM32Cube/Repository/Packs/wolfSSL/wolfSSL/[Version]/Projects`.
44-
To use an example:
45-
46-
1. Open STM32CubeIDE
47-
2. Choose "Import" -> "Import an Existing STM32CubeMX Configuration File (.ioc)".
48-
3. Browse to find the .ioc in `STM32Cube/Repository/Packs/wolfSSL/wolfSSL/[Version]/Projects` and click finish.
49-
5040
### Creating your own STM32CubeMX configuration
5141

5242
If none of the examples fit your STM32 type then you can create your own in STM32CubeMX by doing the following:

src/ssl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14501,7 +14501,9 @@ void SetupSession(WOLFSSL* ssl)
1450114501
}
1450214502
#endif
1450314503
session->timeout = ssl->timeout;
14504+
#ifndef NO_ASN_TIME
1450414505
session->bornOn = LowResTimer();
14506+
#endif
1450514507
#if defined(SESSION_CERTS) || (defined(WOLFSSL_TLS13) && \
1450614508
defined(HAVE_SESSION_TICKET))
1450714509
session->version = ssl->version;

0 commit comments

Comments
 (0)