From 288d7a3e7b4f90ae7ad81391d4cbcb6acac1249b Mon Sep 17 00:00:00 2001 From: Catalin Patulea Date: Sat, 11 Apr 2026 04:35:42 -0700 Subject: [PATCH] Revert "Add include directive for mbedtls error handling in build flags" (#10073) This reverts commit 391928ed08c267647af641dfc807338d7ea30129. Since esp32_https_server commit e2c9f98, this is no longer necessary. Also, the esp32-common.ini '-include mbedtls/error.h' causes a build error under IDF v5 (https://github.com/meshtastic/firmware/pull/9122#issuecomment-4185767085): : fatal error: mbedtls/error.h: No such file or directory so this change fixes that error. --- variants/esp32/esp32-common.ini | 1 - 1 file changed, 1 deletion(-) diff --git a/variants/esp32/esp32-common.ini b/variants/esp32/esp32-common.ini index db826b3f9..b9d6f5c50 100644 --- a/variants/esp32/esp32-common.ini +++ b/variants/esp32/esp32-common.ini @@ -39,7 +39,6 @@ build_flags = -Wall -Wextra -Isrc/platform/esp32 - -include mbedtls/error.h -std=gnu++17 -DLOG_LOCAL_LEVEL=ESP_LOG_DEBUG -DCORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG