Introduce MG_ARCH_CUBE, autodetect everything

This commit is contained in:
Sergey Lyubka committed 2025-07-17 17:29:48 +01:00
1 parent e07a8283ec
commit 75c11436ff
9 files changed
+186 -56

No files matched your search

+1
View File
@@ -41,6 +41,7 @@ struct mg_tcpip_driver_stm32f_data {
mif_.driver_data = &driver_data_; \
MG_SET_MAC_ADDRESS(mif_.mac); \
mg_tcpip_init(mgr, &mif_); \
NVIC_EnableIRQ(ETH_IRQn); \
MG_INFO(("Driver: stm32f, MAC: %M", mg_print_mac, mif_.mac)); \
} while (0)
+1
View File
@@ -54,6 +54,7 @@ struct mg_tcpip_driver_stm32h_data {
mif_.driver_data = &driver_data_; \
MG_SET_MAC_ADDRESS(mif_.mac); \
mg_tcpip_init(mgr, &mif_); \
NVIC_EnableIRQ(ETH_IRQn); \
MG_INFO(("Driver: stm32h, MAC: %M", mg_print_mac, mif_.mac)); \
} while (0)