psram_bss.h 248 B

12345678910111213
  1. /*
  2. * Explicit per-symbol placement into PSRAM-backed BSS.
  3. */
  4. #ifndef PSRAM_BSS_H_
  5. #define PSRAM_BSS_H_
  6. #ifdef CONFIG_ESP_SPIRAM
  7. #define PSRAM_BSS __attribute__((section(".ext_ram.bss")))
  8. #else
  9. #define PSRAM_BSS
  10. #endif
  11. #endif /* PSRAM_BSS_H_ */