From 9028fe72c7baa776861d076254a2ac12b49fb680 Mon Sep 17 00:00:00 2001 From: Tiago Medicci Serrano Date: Fri, 27 Mar 2026 09:42:08 -0300 Subject: [PATCH] ci: split xtensa jobs into three separate jobs (instead of two) This is necessary because new defconfig were recently added to Xtensa-based Espressif SoCs and the build job may exceed 2 hours. In order to avoid increasing job timeout, a specific job for each supported SoC (ESP32, ESP32-S2 and ESP32-S3) was created instead. Signed-off-by: Tiago Medicci Serrano --- .../esp32/heltec_wifi_lora32/src/esp32_sx127x.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/boards/xtensa/esp32/heltec_wifi_lora32/src/esp32_sx127x.c b/boards/xtensa/esp32/heltec_wifi_lora32/src/esp32_sx127x.c index 8eeb5991006..16dc27a1a8b 100644 --- a/boards/xtensa/esp32/heltec_wifi_lora32/src/esp32_sx127x.c +++ b/boards/xtensa/esp32/heltec_wifi_lora32/src/esp32_sx127x.c @@ -90,13 +90,13 @@ static int sx127x_irq0_attach(xcpt_t isr, void *arg) /* Make sure the interrupt is disabled */ - esp32_gpioirqdisable(irq); + esp_gpioirqdisable(irq); wlinfo("Attach DIO0 IRQ\n"); /* Attach to IRQ on pin connected to DIO0 */ - ret = irq_attach(irq, isr, arg); + ret = esp_gpio_irq(GPIO_SX127X_DIO0, isr, arg); if (ret < 0) { syslog(LOG_ERR, "ERROR: gpint_attach() failed: %d\n", ret); @@ -105,7 +105,7 @@ static int sx127x_irq0_attach(xcpt_t isr, void *arg) /* IRQ on rising edge */ - esp32_gpioirqenable(irq, RISING); + esp_gpioirqenable(irq); return OK; } @@ -125,7 +125,7 @@ static void sx127x_chip_reset(void) /* Set pin to zero */ - esp32_gpiowrite(GPIO_SX127X_RESET, 0); + esp_gpiowrite(GPIO_SX127X_RESET, 0); /* Wait 1 ms */ @@ -133,7 +133,7 @@ static void sx127x_chip_reset(void) /* Set pin to high */ - esp32_gpiowrite(GPIO_SX127X_RESET, 1); + esp_gpiowrite(GPIO_SX127X_RESET, 1); /* Wait 10 ms */ @@ -203,7 +203,7 @@ int esp32_lpwaninitialize(void) /* Setup DIO0 */ - esp_configgpio(GPIO_SX127X_DIO0, INPUT_FUNCTION_3 | PULLDOWN); + esp_configgpio(GPIO_SX127X_DIO0, INPUT_FUNCTION_3 | PULLDOWN | RISING); /* Init SPI bus */