-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
60 lines (57 loc) · 1.72 KB
/
platformio.ini
File metadata and controls
60 lines (57 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[env:esp32-c3-devkitm-1]
platform = espressif32@6.12.0
board = esp32-c3-devkitm-1
framework = arduino
monitor_speed = 115200
upload_speed = 921600
; === CRITICAL: 16MB flash configuration ===
board_upload.flash_size = 16MB
board_upload.maximum_size = 16777216
board_upload.offset_address = 0x10000
board_build.flash_mode = dio
board_build.flash_size = 16MB
board_build.partitions = partitions.csv
; Libraries - All dependencies pinned for reproducible builds
lib_deps =
zinggjm/GxEPD2@^1.5.9
bblanchon/ArduinoJson@^7.0.0
mathieucarbou/ESPAsyncWebServer@^3.3.23
mathieucarbou/AsyncTCP@^3.2.14
bodmer/TJpg_Decoder@^1.1.0
; Build flags
build_unflags = -std=gnu++11
build_flags =
-std=gnu++17
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
-DCONFIG_ESP_TASK_WDT_INIT=0
-DSUMI_VERSION=\"1.5.0\"
-Iinclude
-Iinclude/plugins
; ============================================
; REDUCED STACK SIZE - No more EPUB parsing on device
; All books preprocessed via portal
; ============================================
-DARDUINO_LOOP_STACK_SIZE=16384
; === ALL FEATURES ENABLED ===
-DFEATURE_READER=1
-DFEATURE_WIFI=1
-DFEATURE_WEBSERVER=1
-DFEATURE_FLASHCARDS=1
-DFEATURE_WEATHER=1
-DFEATURE_GAMES=1
-DFEATURE_LOCKSCREEN=0
-DFEATURE_BLUETOOTH=0
-DFEATURE_EPUB_FOLDER=0
; === MEMORY DEBUGGING ===
-DSUMI_MEM_DEBUG=1
; === ASYNCWEBSERVER RAM REDUCTION ===
-DASYNCWEBSERVER_REGEX=0
-DCONFIG_ASYNC_TCP_RUNNING_CORE=1
-DCONFIG_ASYNC_TCP_USE_WDT=0
-DCONFIG_ASYNC_TCP_STACK_SIZE=4096
; === ARDUINOJSON RAM REDUCTION ===
-DARDUINOJSON_ENABLE_PROGMEM=1
-DARDUINOJSON_DEFAULT_NESTING_LIMIT=5
; === COMPILER OPTIMIZATION ===
-Os