Files
mongoose/tutorials/stm32/nucleo-h723zg/cubemx/mongoose/mongoose_config.h
T
2026-11-10 11:21:36 +00:00

15 lines
509 B
C

#pragma once
#include <stm32h7xx_hal.h>
#define MG_ARCH MG_ARCH_CUBE
#define MG_ENABLE_HEALTH 1
#define MG_ENABLE_CUSTOM_USAGE 1
// Ethernet driver tunables:
// #define MG_DRIVER_MDC_CR 4 // RMII MDC clock divider, from 0 to 5
// #define MG_TCPIP_PHY_ADDR 0 // PHY address
// Uncomment this for static IP configuration:
// #define MG_TCPIP_IP MG_IPV4(192, 168, 0, 10) // IP
// #define MG_TCPIP_GW MG_IPV4(192, 168, 0, 1) // Gateway
// #define MG_TCPIP_MASK MG_IPV4(255, 255, 255, 0) // Netmask