summaryrefslogtreecommitdiff
path: root/platformio.ini
blob: a193a3136f1c8bd36c5ad46d98b6483444be74ee (plain)
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
; 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:sensor]
build_flags = 
	!echo "'-D PROJECT=\"$(basename "$(pwd)")\"'"
platform = espressif8266
board = esp01_1m
framework = arduino
board_build.flash_mode = dout
lib_deps = 
	LiquidCrystal_I2C
	WifWaf/MH-Z19
	adafruit/Adafruit Unified Sensor
	adafruit/Adafruit AHTX0
	PubSubClient

upload_port = /dev/ttyUSB3
;upload_protocol = espota
;upload_port = 172.19.5.106
;upload_flags = -P 36286

[env:display]
build_flags = 
	!echo "'-D PROJECT=\"$(basename "$(pwd)")\"'"
	-D mydisplay=1
platform = espressif8266
board = esp01_1m
framework = arduino
board_build.flash_mode = dout
lib_deps = 
	LiquidCrystal_I2C
	WifWaf/MH-Z19
	adafruit/Adafruit Unified Sensor
	adafruit/Adafruit AHTX0
	PubSubClient

upload_protocol = espota
upload_port = 172.19.5.205
upload_flags = -P 36286