Ethernet for Nucleo and Disco board STM32F746 works with gcc and arm. IAC is untested
Fork of F7_Ethernet by
Revision 4:c63cab7b2bda, committed 2017-08-20
- Comitter:
- TudaPellini
- Date:
- Sun Aug 20 22:09:22 2017 +0000
- Parent:
- 3:184eb6ce1e1c
- Commit message:
- Minor adjustments;
Changed in this revision
lwip-eth/arch/TARGET_STM/stm32f7_emac.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/lwip-eth/arch/TARGET_STM/stm32f7_emac.c Sun Aug 20 17:40:09 2017 +0000 +++ b/lwip-eth/arch/TARGET_STM/stm32f7_emac.c Sun Aug 20 22:09:22 2017 +0000 @@ -671,7 +671,7 @@ */ err_t eth_arch_enetif_init(struct netif *netif) { - uint8_t* sernoaddr=ID_UNIQUE_ADDRESS; + uint8_t* sernoaddr = (uint8_t*)ID_UNIQUE_ADDRESS; uint32_t serno =0; uint32_t i; uint8_t sernoid;