diff --git a/arch/arm/src/stm32h7/stm32_ethernet.c b/arch/arm/src/stm32h7/stm32_ethernet.c index db001b991ca..76a3b97c74d 100644 --- a/arch/arm/src/stm32h7/stm32_ethernet.c +++ b/arch/arm/src/stm32h7/stm32_ethernet.c @@ -5161,6 +5161,10 @@ static inline int stm32_ethinitialize(int intf) priv->dev.d_features |= NETDEV_RX_STAMP; #endif +#ifdef CONFIG_STM32_ETH_TIMESTAMP_TX + priv->dev.d_features |= NETDEV_TX_STAMP; +#endif + /* Register the device with the OS so that socket IOCTLs can be performed */ netdev_register(&priv->dev, NET_LL_ETHERNET);