Closed omdathetkan closed 6 years ago
Hi
You can check https://os.mbed.com/teams/ST/wiki/How-to-use-own-ETHERNET-PHY and use USE_USER_DEFINED_HAL_ETH_MSPINIT macro
Regards, Jerome
Ah perfect! I will give this a try. Thanks.
ARM Internal Ref: MBOTRIAGE-12
Hi
could we close the issue ?
ST_TO_BE_CLOSED
Thx
@jeromecoutant this solves the issue so this can be closed, but wouldn't a __WEAK definition of these functions be a cleaner implementation?
Hi These functions are already WEAK in ST Cube driver files ... (targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_eth.c)
I see, makes sense.
Description
I am using a custom board, roughly based on the NUCLEO_F767ZI. Most of the pinout is the same, but for example for RMII_MII_TXD1 I am using PG14 instead of PB13 since this made much more sense from a layout perspective.
I am currently working around this using:
Which I use to wrap the connect function:
This works for me but is not very clean, especially if the original pin is used by something else. Would it make sense to make this configurable somehow? Or would trivial things like this require me to make a completely new target (undesirable form maintenance perspective)?
Issue request type
[X] Question
[ ] Enhancement
[ ] Bug