-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio-example.ini
50 lines (45 loc) · 1.23 KB
/
platformio-example.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
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/en/stable/projectconf.html
[platformio]
default_envs = debug
env_default = debug
[common]
build_flags =
-D PROJECT=systemair
-D VERSION=systemair-1.0.0
-D BOARD=$BOARD
-D FRAMEWORK=$PIOFRAMEWORK
-D MQTT_MAX_PACKET_SIZE=256
-D OTA_UPDATE_URL=http://example.com/ota
-D WIFI_SSID=mywifissid
-D WIFI_SSID_PWD=mywifipasswd
-D MQTT_HOST=mqtt.example.com
-D MQTT_USER=exampleuser
-D MQTT_PWD=mymqttpassword
-D LATITUDE="25.0000093"
-D LONGITUDE="-71.0043774"
[env:debug]
platform = espressif32
framework = arduino
board = featheresp32
upload_speed = 115200
board_build.partitions = default_16MB.csv
upload_port = /dev/cu.SLAB_USBtoUART
build_flags =
${common.build_flags}
-D DEBUG
-D COMP_WEATHER_FORCAST
; -D ENABLE_OTA
; -D COMP_OLED
lib_deps =
ModbusMaster
ESP32 BLE Arduino
ArduinoJson@~6.15.2
; Adafruit SSD1306