TinyGPU
Loading...
Searching...
No Matches
src
TinyGPUConfig.h
Go to the documentation of this file.
1
#
pragma
once
2
3
#
include
<
vector
>
4
#
include
"TinyGPU/PSRAMAllocator.h"
5
6
/// Activate ESP32-S3-specific optimizations
7
#
ifndef
TINYGPU_ENABLE_ESP32S3_OPTIMIZATIONS
8
#
if
defined
(
CONFIG_IDF_TARGET_ESP32S3
)
9
#
define
TINYGPU_ENABLE_ESP32S3_OPTIMIZATIONS
1
10
#
else
11
#
define
TINYGPU_ENABLE_ESP32S3_OPTIMIZATIONS
0
12
#
endif
13
#
endif
14
15
#
ifdef
ESP32
16
#
define
HAS_PSRAM
1
17
#
else
18
#
define
HAS_PSRAM
0
19
#
endif
20
21
22
/// Use PSRAM if available for large buffers to save internal RAM
23
#
ifndef
TINYGPU_USE_PSRAM_ALLOCATOR
24
#
define
TINYGPU_USE_PSRAM_ALLOCATOR
HAS_PSRAM
25
#
endif
HAS_PSRAM
#define HAS_PSRAM
Definition:
TinyGPUConfig.h:18
Generated by
1.9.6