mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-30 21:18:25 +00:00
Add teensy41 example
This commit is contained in:
1 parent
a619de0508
commit
b815e6bc04
20 files changed
+671
-462
No files matched your search
@@ -42,7 +42,8 @@ int main(void) {
|
||||
mg_log_set(MG_LL_DEBUG); // Set log level
|
||||
|
||||
// Initialise Mongoose network stack
|
||||
struct mg_tcpip_driver_rt1020_data driver_data = {.mdc_cr = 24};
|
||||
struct mg_tcpip_driver_rt1020_data driver_data = {.mdc_cr = 24,
|
||||
.phy_addr = 2};
|
||||
struct mg_tcpip_if mif = {.mac = GENERATE_LOCALLY_ADMINISTERED_MAC(),
|
||||
// Uncomment below for static configuration:
|
||||
// .ip = mg_htonl(MG_U32(192, 168, 0, 223)),
|
||||
|
||||
Reference in new issue
Block a user