forked from sidoh/epaper_templates
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplatformio.ini
83 lines (75 loc) · 2.49 KB
/
platformio.ini
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html
[common]
framework = arduino
board_f_cpu = 80000000L
lib_deps_builtin =
lib_deps_external =
ArduinoJson
Adafruit GFX Library@~1.6.1
Timezone@~1.2.2
;AsyncMqttClient@~0.8.2
ESP Async WebServer@~1.2.0
NTPClient@~3.1.0
PathVariableHandlers@~2.0.0
RichHttpServer@~2.0.0
DNSServer@~1.1.0
Bleeper@~1.0.4
; Battery Level Library
BatteryLevel=https://github.com/dobrishinov/18650CL.git
; Gets rid of Time.h, which screws with case-sensitive filesystems.
Time=https://github.com/xoseperez/Time#ecb2bb1
; Changes here prevent the redefinition of types that both AsyncWebServer
; and the webserver builtin to the espressif SDKs define.
WiFiManager=https://github.com/sidoh/WiFiManager#async_support
GxEPD2=https://github.com/ZinggJM/GxEPD2#1.4.8
;GxEPD2=https://github.com/dobrishinov/GxEPD2 ;fixed version 1.4.8
extra_scripts =
pre:scripts/platformio/build_web.py
post:scripts/platformio/build_full_image.py
lib_ldf_mode = deep+
build_flags = !python scripts/platformio/get_version.py -DMQTT_DEBUG -Idist
-D ENABLE_GxEPD2_GFX
-D RICH_HTTP_ASYNC_WEBSERVER
-D JSON_TEMPLATE_BUFFER_SIZE=20048
-D RICH_HTTP_REQUEST_BUFFER_SIZE=20048
-D RICH_HTTP_RESPONSE_BUFFER_SIZE=20048
; -D ASYNC_TCP_SSL_ENABLED
; -D CORE_DEBUG_LEVEL=ESP_LOG_DEBUG
; -D LOG_LOCAL_LEVEL=ESP_LOG_DEBUG
; [env:nodemcuv2]
; platform = espressif8266@~1.8
; framework = ${common.framework}
; board = nodemcuv2
; upload_speed = 921600
; build_flags = ${common.build_flags} -Wl,-Teagle.flash.4m1m.ld -D FIRMWARE_VARIANT=esp8266_nodemcuv2
; extra_scripts = ${common.extra_scripts}
; lib_ldf_mode = ${common.lib_ldf_mode}
; lib_deps =
; ${common.lib_deps_builtin}
; ${common.lib_deps_external}
; ESPAsyncTCP@~1.2.0
; lib_ignore =
; AsyncTCP
[env:esp32]
platform = espressif32@~3.5.0
framework = ${common.framework}
board = esp32doit-devkit-v1
upload_speed = 460800
build_flags = ${common.build_flags} -D FIRMWARE_VARIANT=esp32_doit
extra_scripts = ${common.extra_scripts}
lib_ldf_mode = ${common.lib_ldf_mode}
board_build.partitions = min_spiffs.csv
lib_deps =
${common.lib_deps_builtin}
${common.lib_deps_external}
AsyncTCP@~1.1.1
lib_ignore =
ESPAsyncTCP