mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-29 21:08:24 +00:00
stm32 examples revamp
This commit is contained in:
1 parent
d4013e47f9
commit
21b9cdaef7
1577 files changed
+619
-842795
No files matched your search
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// See https://mongoose.ws/documentation/#build-options
|
||||
#define MG_ARCH MG_ARCH_ARMGCC
|
||||
#define MG_TLS MG_TLS_BUILTIN
|
||||
|
||||
#define MG_ENABLE_TCPIP 1
|
||||
#define MG_ENABLE_CUSTOM_MILLIS 1
|
||||
#define MG_ENABLE_CUSTOM_RANDOM 1
|
||||
#define MG_ENABLE_DRIVER_CYW_SDIO 1
|
||||
|
||||
// MAC address is read from OTP by the driver
|
||||
|
||||
// Set your Wi-Fi configuration using a custom function:
|
||||
extern void wifi_setconfig(void *data);
|
||||
#define MG_SET_WIFI_CONFIG(ifp, data) wifi_setconfig(data)
|
||||
Reference in new issue
Block a user