-
Notifications
You must be signed in to change notification settings - Fork 14
/
platformio.ini
53 lines (48 loc) · 1.23 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
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[env:espresso_lite_v2]
platform = espressif8266
framework = arduino
board = espresso_lite_v2
lib_deps =
Adafruit Unified [email protected]
Adafruit BME280 [email protected]
upload_speed = 460800 # 230400
extra_scripts =
pre:extra_script.py
build_flags = -Wl,-Tesp8266.flash.4m1m.ld
; build_flags = -DCMMC_MQTT_DEBUG_MODE
; build_flags = -Wl,-Tesp8266.flash.4m.ld
upload_resetmethod = ck
[env:nano32]
platform = espressif32
framework = arduino
board = nano32
lib_deps =
Adafruit Unified [email protected]
Adafruit BME280 [email protected]
SPIFFS
; upload_speed = 460800 # 230400
extra_scripts =
pre:extra_script.py
[platformio]
; src_dir = examples/basic_dht
src_dir = examples/basic_mqtt
# src_dir = examples/basic_bme280
; lib_dir = ~/Documents/Arduino/libries/
lib_dir = pio_compile_here