You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Nucleo-144 H753ZI and I am running into a problem when I run one of the examples, such as DhcpAddressPrinter, and I will get several compilation errors. I saw there are other H7 problems but with the H743ZI that have been resolved, and the examples work on my Nucleo-144 F767ZI board.
Below are the errors from the output
I am using the latest stm32_core version 2.9.0
Thanks!
`
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:80:48: error: 'ETH_RXBUFNB' was not declared in this scope
80 | __ALIGN_BEGIN ETH_DMADescTypeDef DMARxDscrTab[ETH_RXBUFNB] __ALIGN_END;/* Ethernet Rx MA Descriptor /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:85:48: error: 'ETH_TXBUFNB' was not declared in this scope
85 | __ALIGN_BEGIN ETH_DMADescTypeDef DMATxDscrTab[ETH_TXBUFNB] __ALIGN_END;/ Ethernet Tx DMA Descriptor /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:90:31: error: 'ETH_RXBUFNB' was not declared in this scope
90 | __ALIGN_BEGIN uint8_t Rx_Buff[ETH_RXBUFNB][ETH_RX_BUF_SIZE] __ALIGN_END; / Ethernet Receive Buffer /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:90:44: error: 'ETH_RX_BUF_SIZE' was not declared in this scope
90 | __ALIGN_BEGIN uint8_t Rx_Buff[ETH_RXBUFNB][ETH_RX_BUF_SIZE] __ALIGN_END; / Ethernet Receive Buffer /
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:95:31: error: 'ETH_TXBUFNB' was not declared in this scope
95 | __ALIGN_BEGIN uint8_t Tx_Buff[ETH_TXBUFNB][ETH_TX_BUF_SIZE] __ALIGN_END; / Ethernet Transmit Buffer /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:95:44: error: 'ETH_TX_BUF_SIZE' was not declared in this scope
95 | __ALIGN_BEGIN uint8_t Tx_Buff[ETH_TXBUFNB][ETH_TX_BUF_SIZE] __ALIGN_END; / Ethernet Transmit Buffer /
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void HAL_ETH_MspInit(ETH_HandleTypeDef)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:170:3: error: '__HAL_RCC_ETH_CLK_ENABLE' was not declared in this scope
170 | __HAL_RCC_ETH_CLK_ENABLE();
| ^~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void low_level_init(netif*)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:189:18: error: 'struct ETH_InitTypeDef' has no member named 'AutoNegotiation'
189 | EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:189:36: error: 'ETH_AUTONEGOTIATION_ENABLE' was not declared in this scope
189 | EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:190:18: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
190 | EthHandle.Init.Speed = ETH_SPEED_100M;
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:191:18: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
191 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:191:31: error: 'ETH_MODE_FULLDUPLEX' was not declared in this scope; did you mean 'IS_I2S_FULLDUPLEX'?
191 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~~~~~~~~~~
| IS_I2S_FULLDUPLEX
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:193:35: error: 'ETH_MEDIA_INTERFACE_RMII' was not declared in this scope
193 | EthHandle.Init.MediaInterface = ETH_MEDIA_INTERFACE_RMII;
| ^~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:200:18: error: 'struct ETH_InitTypeDef' has no member named 'RxMode'
200 | EthHandle.Init.RxMode = ETH_RXPOLLING_MODE;
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:200:27: error: 'ETH_RXPOLLING_MODE' was not declared in this scope
200 | EthHandle.Init.RxMode = ETH_RXPOLLING_MODE;
| ^~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:202:18: error: 'struct ETH_InitTypeDef' has no member named 'ChecksumMode'
202 | EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:202:33: error: 'ETH_CHECKSUM_BY_HARDWARE' was not declared in this scope; did you mean 'CHECKSUM_BY_HARDWARE'?
202 | EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| CHECKSUM_BY_HARDWARE
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:203:18: error: 'struct ETH_InitTypeDef' has no member named 'PhyAddress'
203 | EthHandle.Init.PhyAddress = LAN8742A_PHY_ADDRESS;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:203:31: error: 'LAN8742A_PHY_ADDRESS' was not declared in this scope
203 | EthHandle.Init.PhyAddress = LAN8742A_PHY_ADDRESS;
| ^~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:41: error: 'DMATxDscrTab' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:56: error: 'Tx_Buff' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:71: error: 'ETH_TXBUFNB' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:3: error: 'HAL_ETH_DMATxDescListInit' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:41: error: 'DMARxDscrTab' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:56: error: 'Rx_Buff' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:71: error: 'ETH_RXBUFNB' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:3: error: 'HAL_ETH_DMARxDescListInit' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:242:39: error: 'PHY_IMR' was not declared in this scope
242 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_IMR, ®value);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:244:15: error: 'PHY_ISFR_INT4' was not declared in this scope
244 | regvalue |= PHY_ISFR_INT4;
| ^~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'err_t low_level_output(netif*, pbuf*)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:273:43: error: 'struct ETH_HandleTypeDef' has no member named 'TxDesc'; did you mean 'TxDescList'?
273 | uint8_t *buffer = (uint8_t *)(EthHandle.TxDesc->Buffer1Addr);
| ^~~~~~
| TxDescList
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:282:25: error: 'struct ETH_HandleTypeDef' has no member named 'TxDesc'; did you mean 'TxDescList'?
282 | DmaTxDesc = EthHandle.TxDesc;
| ^~~~~~
| TxDescList
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:288:21: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
288 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:288:30: error: 'ETH_DMATXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMATXCDESC_OWN'?
288 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~~~~
| ETH_DMATXCDESC_OWN
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:298:47: error: 'ETH_TX_BUF_SIZE' was not declared in this scope
298 | while ((byteslefttocopy + bufferoffset) > ETH_TX_BUF_SIZE) {
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:303:53: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
303 | DmaTxDesc = (ETH_DMADescTypeDef )(DmaTxDesc->Buffer2NextDescAddr);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:306:23: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
306 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:306:32: error: 'ETH_DMATXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMATXCDESC_OWN'?
306 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~~~~
| ETH_DMATXCDESC_OWN
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:311:39: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer1Addr'
311 | buffer = (uint8_t )(DmaTxDesc->Buffer1Addr);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:326:3: error: 'HAL_ETH_TransmitFrame' was not declared in this scope; did you mean 'HAL_ETH_Transmit_IT'?
326 | HAL_ETH_TransmitFrame(&EthHandle, framelength);
| ^~~~~~~~~~~~~~~~~~~~~
| HAL_ETH_Transmit_IT
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:333:28: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
333 | if ((EthHandle.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) {
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:333:36: error: 'ETH_DMASR_TUS' was not declared in this scope; did you mean 'ETH_DMACSR_TPS'?
333 | if ((EthHandle.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~
| ETH_DMACSR_TPS
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:335:25: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
335 | EthHandle.Instance->DMASR = ETH_DMASR_TUS;
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:338:25: error: 'struct ETH_TypeDef' has no member named 'DMATPDR'
338 | EthHandle.Instance->DMATPDR = 0;
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'pbuf low_level_input(netif)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:365:7: error: 'HAL_ETH_GetReceivedFrame_IT' was not declared in this scope
365 | if (HAL_ETH_GetReceivedFrame_IT(&EthHandle) != HAL_OK) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:370:19: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
370 | len = EthHandle.RxFrameInfos.length;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:371:33: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
371 | buffer = (uint8_t *)EthHandle.RxFrameInfos.buffer;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:379:27: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
379 | dmarxdesc = EthHandle.RxFrameInfos.FSRxDesc;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:387:49: error: 'ETH_RX_BUF_SIZE' was not declared in this scope
387 | while ((byteslefttocopy + bufferoffset) > ETH_RX_BUF_SIZE) {
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:392:55: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
392 | dmarxdesc = (ETH_DMADescTypeDef *)(dmarxdesc->Buffer2NextDescAddr);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:393:41: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer1Addr'
393 | buffer = (uint8_t )(dmarxdesc->Buffer1Addr);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:408:25: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
408 | dmarxdesc = EthHandle.RxFrameInfos.FSRxDesc;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:410:29: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
410 | for (i = 0; i < EthHandle.RxFrameInfos.SegCount; i++) {
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:411:16: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
411 | dmarxdesc->Status |= ETH_DMARXDESC_OWN;
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:411:26: error: 'ETH_DMARXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMARXCDESC_OWN'?
411 | dmarxdesc->Status |= ETH_DMARXDESC_OWN;
| ^~~~~~~~~~~~~~~~~
| ETH_DMARXCDESC_OWN
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:412:51: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
412 | dmarxdesc = (ETH_DMADescTypeDef )(dmarxdesc->Buffer2NextDescAddr);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:416:13: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
416 | EthHandle.RxFrameInfos.SegCount = 0;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:419:28: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
419 | if ((EthHandle.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) {
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:419:36: error: 'ETH_DMASR_RBUS' was not declared in this scope; did you mean 'ETH_DMACSR_RBU'?
419 | if ((EthHandle.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~
| ETH_DMACSR_RBU
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:421:25: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
421 | EthHandle.Instance->DMASR = ETH_DMASR_RBUS;
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:423:25: error: 'struct ETH_TypeDef' has no member named 'DMARPDR'
423 | EthHandle.Instance->DMARPDR = 0;
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'uint8_t ethernetif_is_init()':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:468:21: error: 'struct ETH_HandleTypeDef' has no member named 'State'; did you mean 'gState'?
468 | return (EthHandle.State != HAL_ETH_STATE_RESET);
| ^~~~~
| gState
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void ethernetif_set_link(netif)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:528:39: error: 'PHY_ISFR' was not declared in this scope
528 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_ISFR, ®value);
| ^~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:531:19: error: 'PHY_ISFR_INT4' was not declared in this scope
531 | if ((regvalue & PHY_ISFR_INT4) != (uint16_t)RESET) {
| ^~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:535:39: error: 'PHY_BSR' was not declared in this scope
535 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_BSR, ®value);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:537:19: error: 'PHY_LINKED_STATUS' was not declared in this scope
537 | if ((regvalue & PHY_LINKED_STATUS) != (uint16_t)RESET) {
| ^~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void ethernetif_update_config(netif)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:561:24: error: 'struct ETH_InitTypeDef' has no member named 'AutoNegotiation'
561 | if (EthHandle.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) {
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:561:43: error: 'ETH_AUTONEGOTIATION_DISABLE' was not declared in this scope
561 | if (EthHandle.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:564:43: error: 'PHY_SR' was not declared in this scope
564 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_SR, ®value);
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:570:23: error: 'PHY_DUPLEX_STATUS' was not declared in this scope
570 | if ((regvalue & PHY_DUPLEX_STATUS) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:572:24: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
572 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:572:37: error: 'ETH_MODE_FULLDUPLEX' was not declared in this scope; did you mean 'IS_I2S_FULLDUPLEX'?
572 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~~~~~~~~~~
| IS_I2S_FULLDUPLEX
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:575:24: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
575 | EthHandle.Init.DuplexMode = ETH_MODE_HALFDUPLEX;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:575:37: error: 'ETH_MODE_HALFDUPLEX' was not declared in this scope
575 | EthHandle.Init.DuplexMode = ETH_MODE_HALFDUPLEX;
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:578:22: error: 'PHY_SPEED_STATUS' was not declared in this scope
578 | if (regvalue & PHY_SPEED_STATUS) {
| ^~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:580:24: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
580 | EthHandle.Init.Speed = ETH_SPEED_10M;
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:583:24: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
583 | EthHandle.Init.Speed = ETH_SPEED_100M;
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:592:44: error: 'PHY_BCR' was not declared in this scope
592 | HAL_ETH_WritePHYRegister(&EthHandle, PHY_BCR, ((uint16_t)(EthHandle.Init.DuplexMode >> 3) |
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:592:80: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
592 | HAL_ETH_WritePHYRegister(&EthHandle, PHY_BCR, ((uint16_t)(EthHandle.Init.DuplexMode >> 3) |
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:593:80: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
593 | (uint16_t)(EthHandle.Init.Speed >> 1)));
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:597:36: error: 'ETH_MACInitTypeDef' was not declared in this scope; did you mean 'ETH_InitTypeDef'?
597 | HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
| ^~~~~~~~~~~~~~~~~~
| ETH_InitTypeDef
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:597:56: error: expected primary-expression before ')' token
597 | HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
| ^
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:597:5: error: 'HAL_ETH_ConfigMAC' was not declared in this scope
597 | HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
| ^~~~~~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1`
The text was updated successfully, but these errors were encountered:
Hello,
I am using the Nucleo-144 H753ZI and I am running into a problem when I run one of the examples, such as DhcpAddressPrinter, and I will get several compilation errors. I saw there are other H7 problems but with the H743ZI that have been resolved, and the examples work on my Nucleo-144 F767ZI board.
Below are the errors from the output
I am using the latest stm32_core version 2.9.0
Thanks!
`
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:80:48: error: 'ETH_RXBUFNB' was not declared in this scope
80 | __ALIGN_BEGIN ETH_DMADescTypeDef DMARxDscrTab[ETH_RXBUFNB] __ALIGN_END;/* Ethernet Rx MA Descriptor /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:85:48: error: 'ETH_TXBUFNB' was not declared in this scope
85 | __ALIGN_BEGIN ETH_DMADescTypeDef DMATxDscrTab[ETH_TXBUFNB] __ALIGN_END;/ Ethernet Tx DMA Descriptor /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:90:31: error: 'ETH_RXBUFNB' was not declared in this scope
90 | __ALIGN_BEGIN uint8_t Rx_Buff[ETH_RXBUFNB][ETH_RX_BUF_SIZE] __ALIGN_END; / Ethernet Receive Buffer /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:90:44: error: 'ETH_RX_BUF_SIZE' was not declared in this scope
90 | __ALIGN_BEGIN uint8_t Rx_Buff[ETH_RXBUFNB][ETH_RX_BUF_SIZE] __ALIGN_END; / Ethernet Receive Buffer /
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:95:31: error: 'ETH_TXBUFNB' was not declared in this scope
95 | __ALIGN_BEGIN uint8_t Tx_Buff[ETH_TXBUFNB][ETH_TX_BUF_SIZE] __ALIGN_END; / Ethernet Transmit Buffer /
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:95:44: error: 'ETH_TX_BUF_SIZE' was not declared in this scope
95 | __ALIGN_BEGIN uint8_t Tx_Buff[ETH_TXBUFNB][ETH_TX_BUF_SIZE] __ALIGN_END; / Ethernet Transmit Buffer /
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void HAL_ETH_MspInit(ETH_HandleTypeDef)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:170:3: error: '__HAL_RCC_ETH_CLK_ENABLE' was not declared in this scope
170 | __HAL_RCC_ETH_CLK_ENABLE();
| ^~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void low_level_init(netif*)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:189:18: error: 'struct ETH_InitTypeDef' has no member named 'AutoNegotiation'
189 | EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:189:36: error: 'ETH_AUTONEGOTIATION_ENABLE' was not declared in this scope
189 | EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:190:18: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
190 | EthHandle.Init.Speed = ETH_SPEED_100M;
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:191:18: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
191 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:191:31: error: 'ETH_MODE_FULLDUPLEX' was not declared in this scope; did you mean 'IS_I2S_FULLDUPLEX'?
191 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~~~~~~~~~~
| IS_I2S_FULLDUPLEX
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:193:35: error: 'ETH_MEDIA_INTERFACE_RMII' was not declared in this scope
193 | EthHandle.Init.MediaInterface = ETH_MEDIA_INTERFACE_RMII;
| ^~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:200:18: error: 'struct ETH_InitTypeDef' has no member named 'RxMode'
200 | EthHandle.Init.RxMode = ETH_RXPOLLING_MODE;
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:200:27: error: 'ETH_RXPOLLING_MODE' was not declared in this scope
200 | EthHandle.Init.RxMode = ETH_RXPOLLING_MODE;
| ^~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:202:18: error: 'struct ETH_InitTypeDef' has no member named 'ChecksumMode'
202 | EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:202:33: error: 'ETH_CHECKSUM_BY_HARDWARE' was not declared in this scope; did you mean 'CHECKSUM_BY_HARDWARE'?
202 | EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
| ^~~~~~~~~~~~~~~~~~~~~~~~
| CHECKSUM_BY_HARDWARE
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:203:18: error: 'struct ETH_InitTypeDef' has no member named 'PhyAddress'
203 | EthHandle.Init.PhyAddress = LAN8742A_PHY_ADDRESS;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:203:31: error: 'LAN8742A_PHY_ADDRESS' was not declared in this scope
203 | EthHandle.Init.PhyAddress = LAN8742A_PHY_ADDRESS;
| ^~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:41: error: 'DMATxDscrTab' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:56: error: 'Tx_Buff' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:71: error: 'ETH_TXBUFNB' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:212:3: error: 'HAL_ETH_DMATxDescListInit' was not declared in this scope
212 | HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:41: error: 'DMARxDscrTab' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:56: error: 'Rx_Buff' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:71: error: 'ETH_RXBUFNB' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:215:3: error: 'HAL_ETH_DMARxDescListInit' was not declared in this scope
215 | HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:242:39: error: 'PHY_IMR' was not declared in this scope
242 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_IMR, ®value);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:244:15: error: 'PHY_ISFR_INT4' was not declared in this scope
244 | regvalue |= PHY_ISFR_INT4;
| ^~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'err_t low_level_output(netif*, pbuf*)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:273:43: error: 'struct ETH_HandleTypeDef' has no member named 'TxDesc'; did you mean 'TxDescList'?
273 | uint8_t *buffer = (uint8_t *)(EthHandle.TxDesc->Buffer1Addr);
| ^~~~~~
| TxDescList
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:282:25: error: 'struct ETH_HandleTypeDef' has no member named 'TxDesc'; did you mean 'TxDescList'?
282 | DmaTxDesc = EthHandle.TxDesc;
| ^~~~~~
| TxDescList
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:288:21: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
288 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:288:30: error: 'ETH_DMATXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMATXCDESC_OWN'?
288 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~~~~
| ETH_DMATXCDESC_OWN
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:298:47: error: 'ETH_TX_BUF_SIZE' was not declared in this scope
298 | while ((byteslefttocopy + bufferoffset) > ETH_TX_BUF_SIZE) {
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:303:53: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
303 | DmaTxDesc = (ETH_DMADescTypeDef )(DmaTxDesc->Buffer2NextDescAddr);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:306:23: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
306 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:306:32: error: 'ETH_DMATXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMATXCDESC_OWN'?
306 | if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~~~~
| ETH_DMATXCDESC_OWN
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:311:39: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer1Addr'
311 | buffer = (uint8_t )(DmaTxDesc->Buffer1Addr);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:326:3: error: 'HAL_ETH_TransmitFrame' was not declared in this scope; did you mean 'HAL_ETH_Transmit_IT'?
326 | HAL_ETH_TransmitFrame(&EthHandle, framelength);
| ^~~~~~~~~~~~~~~~~~~~~
| HAL_ETH_Transmit_IT
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:333:28: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
333 | if ((EthHandle.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) {
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:333:36: error: 'ETH_DMASR_TUS' was not declared in this scope; did you mean 'ETH_DMACSR_TPS'?
333 | if ((EthHandle.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~
| ETH_DMACSR_TPS
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:335:25: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
335 | EthHandle.Instance->DMASR = ETH_DMASR_TUS;
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:338:25: error: 'struct ETH_TypeDef' has no member named 'DMATPDR'
338 | EthHandle.Instance->DMATPDR = 0;
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'pbuf low_level_input(netif)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:365:7: error: 'HAL_ETH_GetReceivedFrame_IT' was not declared in this scope
365 | if (HAL_ETH_GetReceivedFrame_IT(&EthHandle) != HAL_OK) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:370:19: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
370 | len = EthHandle.RxFrameInfos.length;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:371:33: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
371 | buffer = (uint8_t *)EthHandle.RxFrameInfos.buffer;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:379:27: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
379 | dmarxdesc = EthHandle.RxFrameInfos.FSRxDesc;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:387:49: error: 'ETH_RX_BUF_SIZE' was not declared in this scope
387 | while ((byteslefttocopy + bufferoffset) > ETH_RX_BUF_SIZE) {
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:392:55: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
392 | dmarxdesc = (ETH_DMADescTypeDef *)(dmarxdesc->Buffer2NextDescAddr);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:393:41: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer1Addr'
393 | buffer = (uint8_t )(dmarxdesc->Buffer1Addr);
| ^~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:408:25: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
408 | dmarxdesc = EthHandle.RxFrameInfos.FSRxDesc;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:410:29: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
410 | for (i = 0; i < EthHandle.RxFrameInfos.SegCount; i++) {
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:411:16: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
411 | dmarxdesc->Status |= ETH_DMARXDESC_OWN;
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:411:26: error: 'ETH_DMARXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMARXCDESC_OWN'?
411 | dmarxdesc->Status |= ETH_DMARXDESC_OWN;
| ^~~~~~~~~~~~~~~~~
| ETH_DMARXCDESC_OWN
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:412:51: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
412 | dmarxdesc = (ETH_DMADescTypeDef )(dmarxdesc->Buffer2NextDescAddr);
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:416:13: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
416 | EthHandle.RxFrameInfos.SegCount = 0;
| ^~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:419:28: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
419 | if ((EthHandle.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) {
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:419:36: error: 'ETH_DMASR_RBUS' was not declared in this scope; did you mean 'ETH_DMACSR_RBU'?
419 | if ((EthHandle.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~
| ETH_DMACSR_RBU
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:421:25: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
421 | EthHandle.Instance->DMASR = ETH_DMASR_RBUS;
| ^~~~~
| DMAMR
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:423:25: error: 'struct ETH_TypeDef' has no member named 'DMARPDR'
423 | EthHandle.Instance->DMARPDR = 0;
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'uint8_t ethernetif_is_init()':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:468:21: error: 'struct ETH_HandleTypeDef' has no member named 'State'; did you mean 'gState'?
468 | return (EthHandle.State != HAL_ETH_STATE_RESET);
| ^~~~~
| gState
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void ethernetif_set_link(netif)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:528:39: error: 'PHY_ISFR' was not declared in this scope
528 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_ISFR, ®value);
| ^~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:531:19: error: 'PHY_ISFR_INT4' was not declared in this scope
531 | if ((regvalue & PHY_ISFR_INT4) != (uint16_t)RESET) {
| ^~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:535:39: error: 'PHY_BSR' was not declared in this scope
535 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_BSR, ®value);
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:537:19: error: 'PHY_LINKED_STATUS' was not declared in this scope
537 | if ((regvalue & PHY_LINKED_STATUS) != (uint16_t)RESET) {
| ^~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp: In function 'void ethernetif_update_config(netif)':
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:561:24: error: 'struct ETH_InitTypeDef' has no member named 'AutoNegotiation'
561 | if (EthHandle.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) {
| ^~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:561:43: error: 'ETH_AUTONEGOTIATION_DISABLE' was not declared in this scope
561 | if (EthHandle.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:564:43: error: 'PHY_SR' was not declared in this scope
564 | HAL_ETH_ReadPHYRegister(&EthHandle, PHY_SR, ®value);
| ^~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:570:23: error: 'PHY_DUPLEX_STATUS' was not declared in this scope
570 | if ((regvalue & PHY_DUPLEX_STATUS) != (uint32_t)RESET) {
| ^~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:572:24: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
572 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:572:37: error: 'ETH_MODE_FULLDUPLEX' was not declared in this scope; did you mean 'IS_I2S_FULLDUPLEX'?
572 | EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
| ^~~~~~~~~~~~~~~~~~~
| IS_I2S_FULLDUPLEX
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:575:24: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
575 | EthHandle.Init.DuplexMode = ETH_MODE_HALFDUPLEX;
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:575:37: error: 'ETH_MODE_HALFDUPLEX' was not declared in this scope
575 | EthHandle.Init.DuplexMode = ETH_MODE_HALFDUPLEX;
| ^~~~~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:578:22: error: 'PHY_SPEED_STATUS' was not declared in this scope
578 | if (regvalue & PHY_SPEED_STATUS) {
| ^~~~~~~~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:580:24: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
580 | EthHandle.Init.Speed = ETH_SPEED_10M;
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:583:24: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
583 | EthHandle.Init.Speed = ETH_SPEED_100M;
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:592:44: error: 'PHY_BCR' was not declared in this scope
592 | HAL_ETH_WritePHYRegister(&EthHandle, PHY_BCR, ((uint16_t)(EthHandle.Init.DuplexMode >> 3) |
| ^~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:592:80: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
592 | HAL_ETH_WritePHYRegister(&EthHandle, PHY_BCR, ((uint16_t)(EthHandle.Init.DuplexMode >> 3) |
| ^~~~~~~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:593:80: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
593 | (uint16_t)(EthHandle.Init.Speed >> 1)));
| ^~~~~
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:597:36: error: 'ETH_MACInitTypeDef' was not declared in this scope; did you mean 'ETH_InitTypeDef'?
597 | HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
| ^~~~~~~~~~~~~~~~~~
| ETH_InitTypeDef
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:597:56: error: expected primary-expression before ')' token
597 | HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
| ^
c:\Users\JohnDoe\OneDrive\Documents\Arduino\libraries\STM32duino_STM32Ethernet\src\utility\ethernetif.cpp:597:5: error: 'HAL_ETH_ConfigMAC' was not declared in this scope
597 | HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
| ^~~~~~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1`
The text was updated successfully, but these errors were encountered: