From bdfdca24f31f4643a0d9890309dde72692c52bc5 Mon Sep 17 00:00:00 2001 From: Xiaoyu Liu Date: Tue, 2 Jul 2024 10:46:08 +0800 Subject: [PATCH] change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt replace endian with stdint --- .../esp32s2/include/esp32s2/rom/cache.h | 1 + .../esp32s2/include/esp32s2/rom/spi_flash.h | 1 + tools/ci/check_public_headers_exceptions.txt | 19 ------------------- 3 files changed, 2 insertions(+), 19 deletions(-) diff --git a/components/esp_rom/esp32s2/include/esp32s2/rom/cache.h b/components/esp_rom/esp32s2/include/esp32s2/rom/cache.h index 7ee63be904..751d633e6c 100644 --- a/components/esp_rom/esp32s2/include/esp32s2/rom/cache.h +++ b/components/esp_rom/esp32s2/include/esp32s2/rom/cache.h @@ -7,6 +7,7 @@ #ifndef _ROM_CACHE_H_ #define _ROM_CACHE_H_ +#include #ifdef __cplusplus extern "C" { diff --git a/components/esp_rom/esp32s2/include/esp32s2/rom/spi_flash.h b/components/esp_rom/esp32s2/include/esp32s2/rom/spi_flash.h index 6711e81aa0..21e3a8da63 100644 --- a/components/esp_rom/esp32s2/include/esp32s2/rom/spi_flash.h +++ b/components/esp_rom/esp32s2/include/esp32s2/rom/spi_flash.h @@ -6,6 +6,7 @@ #pragma once +#include #ifndef CONFIG_IDF_TARGET_ESP32S2 #error This file should only be included for ESP32-S2 target #endif diff --git a/tools/ci/check_public_headers_exceptions.txt b/tools/ci/check_public_headers_exceptions.txt index faa9bc92d8..bb81391912 100644 --- a/tools/ci/check_public_headers_exceptions.txt +++ b/tools/ci/check_public_headers_exceptions.txt @@ -84,23 +84,6 @@ components/esp_coex/include/private/esp_coexist_adapter.h components/esp_coex/include/esp_coex_i154.h ### To be fixed: headers that rely on implicit inclusion # -components/esp_rom/esp32/include/esp32/rom/rtc.h -components/esp_rom/esp32c3/include/esp32c3/rom/rtc.h -components/esp_rom/esp32s2/include/esp32s2/rom/rtc.h -components/esp_rom/esp32s3/include/esp32s3/rom/rtc.h -components/esp_rom/esp32c2/include/esp32c2/rom/rtc.h -components/esp_rom/esp32c5/include/esp32c5/rom/rtc.h -components/esp_rom/esp32c6/include/esp32c6/rom/rtc.h -components/esp_rom/esp32h2/include/esp32h2/rom/rtc.h -components/esp_rom/esp32p4/include/esp32p4/rom/rtc.h -components/esp_rom/esp32c61/include/esp32c61/rom/rtc.h -components/esp_rom/esp32/include/esp32/rom/sha.h -components/esp_rom/esp32/include/esp32/rom/secure_boot.h -components/esp_rom/esp32c3/include/esp32c3/rom/spi_flash.h -components/esp_rom/esp32s2/include/esp32s2/rom/spi_flash.h -components/esp_rom/esp32s2/include/esp32s2/rom/cache.h -components/esp_rom/esp32s2/include/esp32s2/rom/secure_boot.h -components/esp_rom/esp32s2/include/esp32s2/rom/opi_flash.h components/esp_ringbuf/include/freertos/ringbuf.h components/esp_netif/include/esp_netif_defaults.h components/esp_netif/include/esp_netif_net_stack.h @@ -123,8 +106,6 @@ components/spi_flash/include/esp_private/spi_flash_os.h ### To be fixed: files which don't compile for esp32s2 target: components/esp_psram/include/esp32/himem.h -components/esp_rom/esp32/include/esp32/rom/ets_sys.h -components/esp_rom/esp32/include/esp32/rom/uart.h ### To be fixed: files which don't compile for esp32s3 target: