spiram: add header guards to esp32s3/spiram.h and remove the exception

This commit is contained in:
Ivan Grokhotkov 2021-05-05 15:27:19 +02:00
parent 897496dd73
commit 2887c88f56
2 changed files with 8 additions and 1 deletions

View File

@ -21,6 +21,10 @@
#include <stdbool.h>
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize spiram interface/hardware. Normally called from cpu_start.c.
*
@ -135,4 +139,8 @@ uint32_t rodata_flash_end_page_get(void);
int rodata_flash2spiram_offset(void);
#endif
#ifdef __cplusplus
}
#endif
#endif

View File

@ -20,7 +20,6 @@ components/esp_rom/include/esp32s2/rom/rsa_pss.h
components/esp_common/include/esp_private/
components/esp32/include/esp32/brownout.h
components/esp32/include/esp32/spiram.h
components/esp32/include/esp32/cache_err_int.h
components/driver/include/driver/sdmmc_defs.h