-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathplatformio.ini
69 lines (66 loc) · 1.7 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
; 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
[env]
platform = espressif32@6.9.0
board = esp32dev
board_build.partitions = min_spiffs.csv
framework = arduino
upload_port = ${sysenv.upload_port}
monitor_speed = 115200
firmware_version = 1,0,8
filesystem_version = 1,0,8
lib_deps =
bodmer/TFT_eSPI@2.5.43
adafruit/Adafruit MCP23017 Arduino Library@2.3.2
adafruit/Adafruit BusIO@1.16.1
bblanchon/ArduinoJson@7.2.0
robtillaart/ADS1X15@0.5.0
adafruit/RTClib@2.1.4
esphome/AsyncTCP-esphome@2.0.0 ;newer crashes
https://github.com/yubox-node-org/ESPAsyncWebServer.git
sui77/rc-switch@2.6.4
https://github.com/autowp/arduino-mcp2515.git
https://github.com/beltoforion/muparser.git
build_flags =
-Wfatal-errors
-std=c++11
-std=gnu++11
-D FIRMWARE=${this.firmware_version}
-D FILESYSTEM=${this.filesystem_version}
-D DISABLE_ALL_LIBRARY_WARNINGS
-D USER_SETUP_LOADED=1
-D ILI9481_DRIVER=1
-D TFT_PARALLEL_8_BIT=1
-D TFT_DC=15
-D TFT_WR=4
-D TFT_RD=2
-D TFT_D0=12
-D TFT_D1=13
-D TFT_D2=26
-D TFT_D3=25
-D TFT_D4=17
-D TFT_D5=16
-D TFT_D6=27
-D TFT_D7=14
-D SMOOTH_FONT=1
[env:mydebug]
build_flags =
${env.build_flags}
-D DEBUG
-D MY_SSID=\"${sysenv.ssid}\"
-D MY_PASS=\"${sysenv.password}\"
[env:myrelease]
build_flags =
${env.build_flags}
-D MY_SSID=\"${sysenv.ssid}\"
-D MY_PASS=\"${sysenv.password}\"
; -D MY_SSID=\"esp32\"
; -D MY_PASS=\"12345678\"
extra_scripts = post:build_script.py