mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Add driver init to mg_mgr_init()
This commit is contained in:
1 parent
1be96b653b
commit
78332d488b
4 files changed
+28
No files matched your search
@@ -3412,6 +3412,15 @@ struct mg_tcpip_spi {
|
||||
#include "Driver_ETH_MAC.h" // keep this include
|
||||
#include "Driver_ETH_PHY.h" // keep this include
|
||||
|
||||
#ifndef MG_MAC_ADDRESS
|
||||
#define MG_MAC_ADDRESS MG_MAC_ADDRESS_RANDOM
|
||||
#endif
|
||||
|
||||
#define MG_TCPIP_DRIVER_DATA int driver_data;
|
||||
|
||||
#define MG_TCPIP_DRIVER_CODE &mg_tcpip_driver_cmsis
|
||||
#define MG_TCPIP_DRIVER_NAME "cmsis"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user