mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-21 19:51:50 +00:00
MG_ARCH_CUBE detection for WiFi drivers
This commit is contained in:
1 parent
71a7b3e092
commit
1963f0bdeb
2 files changed
+7
-2
No files matched your search
+4
-1
@@ -160,7 +160,9 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MG_ENABLE_TCPIP && !defined(MG_ENABLE_DRIVER_STM32F) && \
|
#if MG_ENABLE_TCPIP && !defined(MG_ENABLE_DRIVER_STM32F) && \
|
||||||
!defined(MG_ENABLE_DRIVER_STM32H) && !defined(MG_ENABLE_DRIVER_STM32N)
|
!defined(MG_ENABLE_DRIVER_STM32H) && !defined(MG_ENABLE_DRIVER_STM32N) && \
|
||||||
|
!defined(MG_ENABLE_DRIVER_CYW) && !defined(MG_ENABLE_DRIVER_CYW_SDIO) && \
|
||||||
|
!defined(MG_ENABLE_DRIVER_ST67W6)
|
||||||
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7)
|
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7)
|
||||||
#define MG_ENABLE_DRIVER_STM32F 1
|
#define MG_ENABLE_DRIVER_STM32F 1
|
||||||
#elif defined(STM32H5) || defined(STM32H7)
|
#elif defined(STM32H5) || defined(STM32H7)
|
||||||
@@ -1112,6 +1114,7 @@ struct timeval {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Macros to record timestamped events that happens with a connection.
|
// Macros to record timestamped events that happens with a connection.
|
||||||
// They are saved into a c->prof IO buffer, each event is a name and a 32-bit
|
// They are saved into a c->prof IO buffer, each event is a name and a 32-bit
|
||||||
// timestamp in milliseconds since connection init time.
|
// timestamp in milliseconds since connection init time.
|
||||||
|
|||||||
+3
-1
@@ -36,7 +36,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MG_ENABLE_TCPIP && !defined(MG_ENABLE_DRIVER_STM32F) && \
|
#if MG_ENABLE_TCPIP && !defined(MG_ENABLE_DRIVER_STM32F) && \
|
||||||
!defined(MG_ENABLE_DRIVER_STM32H) && !defined(MG_ENABLE_DRIVER_STM32N)
|
!defined(MG_ENABLE_DRIVER_STM32H) && !defined(MG_ENABLE_DRIVER_STM32N) && \
|
||||||
|
!defined(MG_ENABLE_DRIVER_CYW) && !defined(MG_ENABLE_DRIVER_CYW_SDIO) && \
|
||||||
|
!defined(MG_ENABLE_DRIVER_ST67W6)
|
||||||
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7)
|
#if defined(STM32F1) || defined(STM32F2) || defined(STM32F4) || defined(STM32F7)
|
||||||
#define MG_ENABLE_DRIVER_STM32F 1
|
#define MG_ENABLE_DRIVER_STM32F 1
|
||||||
#elif defined(STM32H5) || defined(STM32H7)
|
#elif defined(STM32H5) || defined(STM32H7)
|
||||||
|
|||||||
Reference in new issue
Block a user