Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit 9992d0d

Browse files
committed
chore: ensure stm32 core version is higher than 2.12.0
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
1 parent 7a4309a commit 9992d0d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/WiFiST.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
#ifndef WiFiST_H
3535
#define WiFiST_H
3636

37+
/* Core compatibility */
38+
#if defined(STM32_CORE_VERSION) && (STM32_CORE_VERSION <= 0x020C0000)
39+
#error "This library is not compatible with core version used. Please update the core."
40+
#endif
41+
3742
#include "wifi_drv.h"
3843
#include "spi_drv.h"
3944
#include "IPAddress.h"

0 commit comments

Comments
 (0)