From 99115d7e52d5667567c90d31c07e5c74a0923cc7 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Thu, 3 Jun 2021 12:09:52 +0700 Subject: [PATCH] ci: fix test_build_system* fails --- components/newlib/newlib_init.c | 2 +- components/nvs_flash/src/nvs_api.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/newlib/newlib_init.c b/components/newlib/newlib_init.c index 7f95b49885..4fdc06dfcf 100644 --- a/components/newlib/newlib_init.c +++ b/components/newlib/newlib_init.c @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include "sdkconfig.h" #include #include #include @@ -24,7 +25,6 @@ #include #include "esp_newlib.h" #include "esp_attr.h" -#include "sdkconfig.h" #include "soc/soc_caps.h" #include "esp_rom_caps.h" diff --git a/components/nvs_flash/src/nvs_api.cpp b/components/nvs_flash/src/nvs_api.cpp index 3a2a3495b6..fe58ccd2c1 100644 --- a/components/nvs_flash/src/nvs_api.cpp +++ b/components/nvs_flash/src/nvs_api.cpp @@ -11,6 +11,7 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. +#include "sdkconfig.h" #include "nvs.hpp" #include "nvs_flash.h" #include "nvs_storage.hpp" @@ -18,7 +19,6 @@ #include "nvs_platform.hpp" #include "nvs_partition_manager.hpp" #include "esp_partition.h" -#include "sdkconfig.h" #include #include "nvs_handle_simple.hpp" #include "esp_err.h"