From 226d51ac2d9d031f5d1216085f7b998ea166e74f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 10 Apr 2024 08:20:23 +0200 Subject: bsps/xil-ttc: Improve clock driver Make the clock driver parameters configurable. Use the maximum counter frequency to get the best time resolution. Decouple the CPU counter from the timecounter. Make the tick catch up handling more robust. Add a validation test for the tick catch up. --- spec/build/bsps/optxilclockttcrefclk.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 spec/build/bsps/optxilclockttcrefclk.yml (limited to 'spec/build/bsps/optxilclockttcrefclk.yml') diff --git a/spec/build/bsps/optxilclockttcrefclk.yml b/spec/build/bsps/optxilclockttcrefclk.yml new file mode 100644 index 0000000000..0a9723828b --- /dev/null +++ b/spec/build/bsps/optxilclockttcrefclk.yml @@ -0,0 +1,18 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +actions: +- get-integer: null +- define: null +build-type: option +copyrights: +- Copyright (C) 2024 embedded brains GmbH & Co. KG +default: +- enabled-by: true + value: 100000000 +description: | + This option defines the Xilinx Triple-Timer Counter (TTC) reference clock in + Hz used by the Clock Driver. +enabled-by: true +format: '{}' +links: [] +name: XIL_CLOCK_TTC_REFERENCE_CLOCK +type: build -- cgit v1.2.3