esp-idf/examples/ethernet/ptp/main/Kconfig.projbuild
Ondrej Kosta d2b1202d5a feat(esp_eth): added HW Time Stamping support for ESP32P4
Added mechanism to L2 TAP to retreive time stamp

Added PTP time synchronization example
2024-11-07 15:01:24 +08:00

23 lines
747 B
Plaintext

menu "Example Configuration"
orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
config EXAMPLE_PTP_PULSE_GPIO
int "PPS GPIO number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 20
help
Set the GPIO number at which the Pulse signal is outputted.
config EXAMPLE_PTP_PULSE_WIDTH_NS
int "Pulse width (ns)"
range 5000 999999999
default 500000000
help
Set pulse width in ns.
WARNING: Since the new pulse target time is set programmatically in the callback
function, width accuracy may vary or it may be lost completely when you select
very short pulse width.
endmenu