From 179ec6ca6a28958d9ba775fcfb32292c299a44a3 Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Thu, 22 Jan 2026 20:51:57 +0100 Subject: [PATCH] Fix --- Buildscripts/devicetree-compiler/source/generator.py | 2 ++ Drivers/drivers-esp/source/Esp32Gpio.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Buildscripts/devicetree-compiler/source/generator.py b/Buildscripts/devicetree-compiler/source/generator.py index 30c1fc4e..d4c9a3df 100644 --- a/Buildscripts/devicetree-compiler/source/generator.py +++ b/Buildscripts/devicetree-compiler/source/generator.py @@ -215,6 +215,8 @@ def generate_devicetree_h(filename: str): ''')) def generate(output_path: str, items: list[object], bindings: list[Binding], verbose: bool): + if not os.path.exists(output_path): + os.makedirs(output_path) devicetree_c_filename = os.path.join(output_path, "devicetree.c") generate_devicetree_c(devicetree_c_filename, items, bindings, verbose) devicetree_h_filename = os.path.join(output_path, "devicetree.h") diff --git a/Drivers/drivers-esp/source/Esp32Gpio.cpp b/Drivers/drivers-esp/source/Esp32Gpio.cpp index d18229e7..79c8eaef 100644 --- a/Drivers/drivers-esp/source/Esp32Gpio.cpp +++ b/Drivers/drivers-esp/source/Esp32Gpio.cpp @@ -46,7 +46,7 @@ static bool set_options(Device* device, gpio_pin_t pin, gpio_flags_t options) { .pull_down_en = (options & GPIO_PULL_DOWN) ? GPIO_PULLDOWN_ENABLE : GPIO_PULLDOWN_DISABLE, .intr_type = GPIO_INTERRUPT_FROM_OPTIONS(options), #if SOC_GPIO_SUPPORT_PIN_HYS_FILTER - .hys_ctrl_mode = GPIO_HYS_CTRL_EFUSE + .hys_ctrl_mode = GPIO_HYS_SOFT_DISABLE #endif };