forked from Qrome/marquee-scroller
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathplatformio.ini
More file actions
62 lines (56 loc) · 2.08 KB
/
platformio.ini
File metadata and controls
62 lines (56 loc) · 2.08 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
61
62
; 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
; https://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = src
include_dir = src
lib_dir = lib
default_envs = release
[env]
platform = espressif8266 @ ^4.2.1 ; => framework-arduinoespressif8266 @ 3.30102.0 (3.1.2) Latest Arduino core stable version (Mar 2023!)
;platform = espressif8266 @ ^3.0.2 ; => framework-arduinoespressif8266 @ 3.30002.0 (3.0.2)
framework = arduino
board_build.filesystem = littlefs
monitor_speed = 115200
upload_speed = 921600
lib_deps =
# tzapu/WiFiManager @ 2.0.17 # replaced by ESP_WiFiManager_Lite fork
# khoih-prog/ESP_WiFiManager_Lite@^1.10.5 # replaced by ESP_WiFiManager_Lite fork
# Adafruit GFX Library@^1.12.0 # now internal to be able to modify font file glcdfont.c
Adafruit BusIO @ 1.17.4
PaulStoffregen/Time @ ^1.6
hmueller01/pubsubclient3 @ ^3.2.0
ArduinoJson @ ^7.4
[env:release]
board = d1_mini
# Wemos D1 (mini) is function compatible with Node MCU V0.9 and V2.0 and other ESP devkits, but not pin compatible!
# Wemos D1 mini lite is NOT compatible! (has only 1MB flash)
build_flags = #-Wl,-Map=firmware.map -Wall -Wextra -Wfatal-errors -Wunused-variable
[env:debug]
board = d1_mini
build_flags = -Wl,-Map=firmware.map -Wall -Wextra -Wfatal-errors -Wunused-variable
-DDEBUG=1
-DDEBUG_ESP_PORT=Serial
-DDEBUG_ESP_WIFI=1
-DDEBUG_ESP_HTTP_CLIENT=1
-DDEBUG_ESP_HTTP_UPDATE=1
-DDEBUG_ESP_MQTT=1
-DDEBUG_ESP_TIME=1
-DDEBUG_ESP_EEPROM=1
-DDEBUG_ESP_LITTLEFS=1
-DDEBUG_ESP_WIFIMANAGER=1
-DDEBUG_ESP_PUBSUBCLIENT=1
-DCORE_DEBUG_LEVEL=5
[env:remote]
board = d1_mini
build_flags = -Wl,-Map=firmware.map -Wall -Wextra -Wfatal-errors -Wunused-variable
-DREMOTE=1
-DDEBUG=1
upload_protocol = espota
upload_port = 192.168.2.100 # set your actual device IP in PIO GUI "set upload port" field or PIO CLI with --upload-port option