samples: net: gptp: native_posix: Set 1ms clock accuracy

Instead of unknown clock accuracy, set it to 1ms for native_posix
boards. This looks better in TSN monitor.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2020-08-10 13:28:05 +03:00 committed by Anas Nashif
commit db2b5dbaf9
2 changed files with 6 additions and 0 deletions

View file

@ -3,3 +3,6 @@ CONFIG_ETH_NATIVE_POSIX_PTP_CLOCK=y
#CONFIG_ETH_NATIVE_POSIX_RANDOM_MAC=y
CONFIG_ETH_NATIVE_POSIX_MAC_ADDR="00:00:5e:00:53:2a"
# Assume 1 ms accuracy for native_posix simulated clock
CONFIG_NET_GPTP_CLOCK_ACCURACY_1MS=y

View file

@ -3,3 +3,6 @@ CONFIG_ETH_NATIVE_POSIX_PTP_CLOCK=y
#CONFIG_ETH_NATIVE_POSIX_RANDOM_MAC=y
CONFIG_ETH_NATIVE_POSIX_MAC_ADDR="00:00:5e:00:53:2a"
# Assume 1 ms accuracy for native_posix simulated clock
CONFIG_NET_GPTP_CLOCK_ACCURACY_1MS=y