Skip to content

Nucleo H563ZI Support #70

Closed
Closed
@dmitrybakaev

Description

@dmitrybakaev

Despite built-in LAN port availability, it seems that H563ZI is not supported yet:

s/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 */
      |                                                ^~~~~~~~~~~
/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 */
      |                                                ^~~~~~~~~~~
/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 */
      |                               ^~~~~~~~~~~
/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 */
      |                                            ^~~~~~~~~~~~~~~
/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 */
      |                               ^~~~~~~~~~~
/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 */
      |                                            ^~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:99:34: error: 'MAC_ADDR0' was not declared in this scope; did you mean 'GW_ADDR0'?
   99 | static uint8_t macaddress[6] = { MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5 };
      |                                  ^~~~~~~~~
      |                                  GW_ADDR0
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:99:45: error: 'MAC_ADDR1' was not declared in this scope; did you mean 'GW_ADDR1'?
   99 | static uint8_t macaddress[6] = { MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5 };
      |                                             ^~~~~~~~~
      |                                             GW_ADDR1
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:99:56: error: 'MAC_ADDR2' was not declared in this scope; did you mean 'GW_ADDR2'?
   99 | static uint8_t macaddress[6] = { MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5 };
      |                                                        ^~~~~~~~~
      |                                                        GW_ADDR2
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:99:67: error: 'MAC_ADDR3' was not declared in this scope; did you mean 'IP_ADDR3'?
   99 | static uint8_t macaddress[6] = { MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5 };
      |                                                                   ^~~~~~~~~
      |                                                                   IP_ADDR3
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:99:78: error: 'MAC_ADDR4' was not declared in this scope; did you mean 'IP_ADDR4'?
   99 | static uint8_t macaddress[6] = { MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5 };
      |                                                                              ^~~~~~~~~
      |                                                                              IP_ADDR4
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:99:89: error: 'MAC_ADDR5' was not declared in this scope
   99 | static uint8_t macaddress[6] = { MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5 };
      |                                                                                         ^~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp: In function 'void low_level_init(netif*)':
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:170:18: error: 'struct ETH_InitTypeDef' has no member named 'AutoNegotiation'
  170 |   EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
      |                  ^~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:170:36: error: 'ETH_AUTONEGOTIATION_ENABLE' was not declared in this scope
  170 |   EthHandle.Init.AutoNegotiation = ETH_AUTONEGOTIATION_ENABLE;
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:171:18: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
  171 |   EthHandle.Init.Speed = ETH_SPEED_100M;
      |                  ^~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:172:18: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
  172 |   EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
      |                  ^~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:172:31: error: 'ETH_MODE_FULLDUPLEX' was not declared in this scope; did you mean 'IS_I2S_FULLDUPLEX'?
  172 |   EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
      |                               ^~~~~~~~~~~~~~~~~~~
      |                               IS_I2S_FULLDUPLEX
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:174:35: error: 'ETH_MEDIA_INTERFACE_RMII' was not declared in this scope
  174 |   EthHandle.Init.MediaInterface = ETH_MEDIA_INTERFACE_RMII;
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:181:18: error: 'struct ETH_InitTypeDef' has no member named 'RxMode'
  181 |   EthHandle.Init.RxMode = ETH_RXPOLLING_MODE;
      |                  ^~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:181:27: error: 'ETH_RXPOLLING_MODE' was not declared in this scope
  181 |   EthHandle.Init.RxMode = ETH_RXPOLLING_MODE;
      |                           ^~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:183:18: error: 'struct ETH_InitTypeDef' has no member named 'ChecksumMode'
  183 |   EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
      |                  ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:183:33: error: 'ETH_CHECKSUM_BY_HARDWARE' was not declared in this scope; did you mean 'CHECKSUM_BY_HARDWARE'?
  183 |   EthHandle.Init.ChecksumMode = ETH_CHECKSUM_BY_HARDWARE;
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                 CHECKSUM_BY_HARDWARE
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:184:18: error: 'struct ETH_InitTypeDef' has no member named 'PhyAddress'
  184 |   EthHandle.Init.PhyAddress = LAN8742A_PHY_ADDRESS;
      |                  ^~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:184:31: error: 'LAN8742A_PHY_ADDRESS' was not declared in this scope
  184 |   EthHandle.Init.PhyAddress = LAN8742A_PHY_ADDRESS;
      |                               ^~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:193:41: error: 'DMATxDscrTab' was not declared in this scope
  193 |   HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
      |                                         ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:193:56: error: 'Tx_Buff' was not declared in this scope
  193 |   HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
      |                                                        ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:193:71: error: 'ETH_TXBUFNB' was not declared in this scope
  193 |   HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
      |                                                                       ^~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:193:3: error: 'HAL_ETH_DMATxDescListInit' was not declared in this scope
  193 |   HAL_ETH_DMATxDescListInit(&EthHandle, DMATxDscrTab, &Tx_Buff[0][0], ETH_TXBUFNB);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:196:41: error: 'DMARxDscrTab' was not declared in this scope
  196 |   HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
      |                                         ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:196:56: error: 'Rx_Buff' was not declared in this scope
  196 |   HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
      |                                                        ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:196:71: error: 'ETH_RXBUFNB' was not declared in this scope
  196 |   HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
      |                                                                       ^~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:196:3: error: 'HAL_ETH_DMARxDescListInit' was not declared in this scope
  196 |   HAL_ETH_DMARxDescListInit(&EthHandle, DMARxDscrTab, &Rx_Buff[0][0], ETH_RXBUFNB);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:223:39: error: 'PHY_IMR' was not declared in this scope
  223 |   HAL_ETH_ReadPHYRegister(&EthHandle, PHY_IMR, &regvalue);
      |                                       ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:225:15: error: 'PHY_ISFR_INT4' was not declared in this scope
  225 |   regvalue |= PHY_ISFR_INT4;
      |               ^~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp: In function 'err_t low_level_output(netif*, pbuf*)':
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:254:43: error: 'struct ETH_HandleTypeDef' has no member named 'TxDesc'; did you mean 'TxDescList'?
  254 |   uint8_t *buffer = (uint8_t *)(EthHandle.TxDesc->Buffer1Addr);
      |                                           ^~~~~~
      |                                           TxDescList
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:263:25: error: 'struct ETH_HandleTypeDef' has no member named 'TxDesc'; did you mean 'TxDescList'?
  263 |   DmaTxDesc = EthHandle.TxDesc;
      |                         ^~~~~~
      |                         TxDescList
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:269:21: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
  269 |     if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
      |                     ^~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:269:30: error: 'ETH_DMATXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMATXCDESC_OWN'?
  269 |     if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
      |                              ^~~~~~~~~~~~~~~~~
      |                              ETH_DMATXCDESC_OWN
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:279:47: error: 'ETH_TX_BUF_SIZE' was not declared in this scope
  279 |     while ((byteslefttocopy + bufferoffset) > ETH_TX_BUF_SIZE) {
      |                                               ^~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:284:53: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
  284 |       DmaTxDesc = (ETH_DMADescTypeDef *)(DmaTxDesc->Buffer2NextDescAddr);
      |                                                     ^~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:287:23: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
  287 |       if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
      |                       ^~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:287:32: error: 'ETH_DMATXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMATXCDESC_OWN'?
  287 |       if ((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET) {
      |                                ^~~~~~~~~~~~~~~~~
      |                                ETH_DMATXCDESC_OWN
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:292:39: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer1Addr'
  292 |       buffer = (uint8_t *)(DmaTxDesc->Buffer1Addr);
      |                                       ^~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:307:3: error: 'HAL_ETH_TransmitFrame' was not declared in this scope; did you mean 'HAL_ETH_Transmit_IT'?
  307 |   HAL_ETH_TransmitFrame(&EthHandle, framelength);
      |   ^~~~~~~~~~~~~~~~~~~~~
      |   HAL_ETH_Transmit_IT
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:314:28: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
  314 |   if ((EthHandle.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) {
      |                            ^~~~~
      |                            DMAMR
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:314:36: error: 'ETH_DMASR_TUS' was not declared in this scope; did you mean 'ETH_DMADSR_TPS'?
  314 |   if ((EthHandle.Instance->DMASR & ETH_DMASR_TUS) != (uint32_t)RESET) {
      |                                    ^~~~~~~~~~~~~
      |                                    ETH_DMADSR_TPS
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:316:25: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
  316 |     EthHandle.Instance->DMASR = ETH_DMASR_TUS;
      |                         ^~~~~
      |                         DMAMR
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:319:25: error: 'struct ETH_TypeDef' has no member named 'DMATPDR'
  319 |     EthHandle.Instance->DMATPDR = 0;
      |                         ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp: In function 'pbuf* low_level_input(netif*)':
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:346:7: error: 'HAL_ETH_GetReceivedFrame_IT' was not declared in this scope
  346 |   if (HAL_ETH_GetReceivedFrame_IT(&EthHandle) != HAL_OK) {
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:351:19: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
  351 |   len = EthHandle.RxFrameInfos.length;
      |                   ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:352:33: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
  352 |   buffer = (uint8_t *)EthHandle.RxFrameInfos.buffer;
      |                                 ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:360:27: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
  360 |     dmarxdesc = EthHandle.RxFrameInfos.FSRxDesc;
      |                           ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:368:49: error: 'ETH_RX_BUF_SIZE' was not declared in this scope
  368 |       while ((byteslefttocopy + bufferoffset) > ETH_RX_BUF_SIZE) {
      |                                                 ^~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:373:55: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
  373 |         dmarxdesc = (ETH_DMADescTypeDef *)(dmarxdesc->Buffer2NextDescAddr);
      |                                                       ^~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:374:41: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer1Addr'
  374 |         buffer = (uint8_t *)(dmarxdesc->Buffer1Addr);
      |                                         ^~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:389:25: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
  389 |   dmarxdesc = EthHandle.RxFrameInfos.FSRxDesc;
      |                         ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:391:29: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
  391 |   for (i = 0; i < EthHandle.RxFrameInfos.SegCount; i++) {
      |                             ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:392:16: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Status'
  392 |     dmarxdesc->Status |= ETH_DMARXDESC_OWN;
      |                ^~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:392:26: error: 'ETH_DMARXDESC_OWN' was not declared in this scope; did you mean 'ETH_DMARXCDESC_OWN'?
  392 |     dmarxdesc->Status |= ETH_DMARXDESC_OWN;
      |                          ^~~~~~~~~~~~~~~~~
      |                          ETH_DMARXCDESC_OWN
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:393:51: error: 'volatile struct ETH_DMADescTypeDef' has no member named 'Buffer2NextDescAddr'
  393 |     dmarxdesc = (ETH_DMADescTypeDef *)(dmarxdesc->Buffer2NextDescAddr);
      |                                                   ^~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:397:13: error: 'struct ETH_HandleTypeDef' has no member named 'RxFrameInfos'
  397 |   EthHandle.RxFrameInfos.SegCount = 0;
      |             ^~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:400:28: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
  400 |   if ((EthHandle.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) {
      |                            ^~~~~
      |                            DMAMR
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:400:36: error: 'ETH_DMASR_RBUS' was not declared in this scope; did you mean 'ETH_DMACSR_RBU'?
  400 |   if ((EthHandle.Instance->DMASR & ETH_DMASR_RBUS) != (uint32_t)RESET) {
      |                                    ^~~~~~~~~~~~~~
      |                                    ETH_DMACSR_RBU
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:402:25: error: 'struct ETH_TypeDef' has no member named 'DMASR'; did you mean 'DMAMR'?
  402 |     EthHandle.Instance->DMASR = ETH_DMASR_RBUS;
      |                         ^~~~~
      |                         DMAMR
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:404:25: error: 'struct ETH_TypeDef' has no member named 'DMARPDR'
  404 |     EthHandle.Instance->DMARPDR = 0;
      |                         ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp: In function 'uint8_t ethernetif_is_init()':
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:449:21: error: 'struct ETH_HandleTypeDef' has no member named 'State'; did you mean 'gState'?
  449 |   return (EthHandle.State != HAL_ETH_STATE_RESET);
      |                     ^~~~~
      |                     gState
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp: In function 'void ethernetif_set_link(netif*)':
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:509:39: error: 'PHY_ISFR' was not declared in this scope
  509 |   HAL_ETH_ReadPHYRegister(&EthHandle, PHY_ISFR, &regvalue);
      |                                       ^~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:512:19: error: 'PHY_ISFR_INT4' was not declared in this scope
  512 |   if ((regvalue & PHY_ISFR_INT4) != (uint16_t)RESET) {
      |                   ^~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:516:39: error: 'PHY_BSR' was not declared in this scope
  516 |   HAL_ETH_ReadPHYRegister(&EthHandle, PHY_BSR, &regvalue);
      |                                       ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:518:19: error: 'PHY_LINKED_STATUS' was not declared in this scope
  518 |   if ((regvalue & PHY_LINKED_STATUS) != (uint16_t)RESET) {
      |                   ^~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp: In function 'void ethernetif_update_config(netif*)':
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:542:24: error: 'struct ETH_InitTypeDef' has no member named 'AutoNegotiation'
  542 |     if (EthHandle.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) {
      |                        ^~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:542:43: error: 'ETH_AUTONEGOTIATION_DISABLE' was not declared in this scope
  542 |     if (EthHandle.Init.AutoNegotiation != ETH_AUTONEGOTIATION_DISABLE) {
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:545:43: error: 'PHY_SR' was not declared in this scope
  545 |       HAL_ETH_ReadPHYRegister(&EthHandle, PHY_SR, &regvalue);
      |                                           ^~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:551:23: error: 'PHY_DUPLEX_STATUS' was not declared in this scope
  551 |       if ((regvalue & PHY_DUPLEX_STATUS) != (uint32_t)RESET) {
      |                       ^~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:553:24: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
  553 |         EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
      |                        ^~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:553:37: error: 'ETH_MODE_FULLDUPLEX' was not declared in this scope; did you mean 'IS_I2S_FULLDUPLEX'?
  553 |         EthHandle.Init.DuplexMode = ETH_MODE_FULLDUPLEX;
      |                                     ^~~~~~~~~~~~~~~~~~~
      |                                     IS_I2S_FULLDUPLEX
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:556:24: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
  556 |         EthHandle.Init.DuplexMode = ETH_MODE_HALFDUPLEX;
      |                        ^~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:556:37: error: 'ETH_MODE_HALFDUPLEX' was not declared in this scope
  556 |         EthHandle.Init.DuplexMode = ETH_MODE_HALFDUPLEX;
      |                                     ^~~~~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:559:22: error: 'PHY_SPEED_STATUS' was not declared in this scope
  559 |       if (regvalue & PHY_SPEED_STATUS) {
      |                      ^~~~~~~~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:561:24: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
  561 |         EthHandle.Init.Speed = ETH_SPEED_10M;
      |                        ^~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:564:24: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
  564 |         EthHandle.Init.Speed = ETH_SPEED_100M;
      |                        ^~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:573:44: error: 'PHY_BCR' was not declared in this scope
  573 |       HAL_ETH_WritePHYRegister(&EthHandle, PHY_BCR, ((uint16_t)(EthHandle.Init.DuplexMode >> 3) |
      |                                            ^~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:573:80: error: 'struct ETH_InitTypeDef' has no member named 'DuplexMode'
  573 |       HAL_ETH_WritePHYRegister(&EthHandle, PHY_BCR, ((uint16_t)(EthHandle.Init.DuplexMode >> 3) |
      |                                                                                ^~~~~~~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:574:80: error: 'struct ETH_InitTypeDef' has no member named 'Speed'
  574 |                                                      (uint16_t)(EthHandle.Init.Speed >> 1)));
      |                                                                                ^~~~~
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:578:36: error: 'ETH_MACInitTypeDef' was not declared in this scope; did you mean 'ETH_InitTypeDef'?
  578 |     HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
      |                                    ^~~~~~~~~~~~~~~~~~
      |                                    ETH_InitTypeDef
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:578:56: error: expected primary-expression before ')' token
  578 |     HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
      |                                                        ^
/Arduino/libraries/STM32duino_STM32Ethernet/src/utility/ethernetif.cpp:578:5: error: 'HAL_ETH_ConfigMAC' was not declared in this scope
  578 |     HAL_ETH_ConfigMAC(&EthHandle, (ETH_MACInitTypeDef *) NULL);
      |     ^~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions