From 36e15739278c3fe0cda988dac57d71dd5318d74c Mon Sep 17 00:00:00 2001 From: brisk Date: Mon, 7 Oct 2024 22:17:52 +1030 Subject: [PATCH] pulse_counter_ulp: Add ulp_main.h to satisfy clang-tidy This is generated by IDF at compile time, but clang-tidy doesn't know about it so fails at its inclusion. --- .../components/pulse_counter_ulp/ulp_main.h | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 esphome/components/pulse_counter_ulp/ulp_main.h diff --git a/esphome/components/pulse_counter_ulp/ulp_main.h b/esphome/components/pulse_counter_ulp/ulp_main.h new file mode 100644 index 0000000000..43f9db9afc --- /dev/null +++ b/esphome/components/pulse_counter_ulp/ulp_main.h @@ -0,0 +1,26 @@ +// This file has been copied into place to satisfy clang-tidy, but it should be +// created at compile-time by IDF. Please synchronise this file if changes are +// made to pulse__cnt.S +// NOLINTBEGIN + +// Variable definitions for ESP32ULP +// This file is generated automatically by esp32ulp_mapgen.py utility + +#pragma once + +extern uint32_t ulp_changed; +extern uint32_t ulp_debounce_counter; +extern uint32_t ulp_debounce_max_count; +extern uint32_t ulp_edge_count_total; +extern uint32_t ulp_edge_detected; +extern uint32_t ulp_entry; +extern uint32_t ulp_falling; +extern uint32_t ulp_falling_edge_count; +extern uint32_t ulp_io_number; +extern uint32_t ulp_mean_exec_time; +extern uint32_t ulp_next_edge; +extern uint32_t ulp_rising; +extern uint32_t ulp_rising_edge_count; +extern uint32_t ulp_run_count; + +// NOLINTEND