-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
48 lines (44 loc) · 1.24 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
; 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
[common]
firmware_version = '{2, 0, 5}'
[platformio]
build_dir = build
[env:esp8266]
platform = espressif8266
board = esp12e
framework = arduino
monitor_speed = 115200
upload_speed = 921600
; monitor_port = /dev/ttyUSB0
; upload_port = /dev/ttyUSB0
board_build.filesystem = littlefs
lib_deps =
https://github.com/me-no-dev/ESPAsyncWebServer.git
paulstoffregen/OneWire@^2.3.8
build_flags =
-D DEF_DEVICE_FIRMWARE=${common.firmware_version}
-D CURRENT_TIME=$UNIX_TIME
[env:esp32]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
upload_speed = 921600
; monitor_port = /dev/ttyUSB0
; upload_port = /dev/ttyUSB0
board_build.filesystem = littlefs
lib_deps =
https://github.com/me-no-dev/ESPAsyncWebServer.git
paulstoffregen/OneWire@^2.3.8
extra_scripts = replace_fs.py
build_flags =
-D DEF_DEVICE_FIRMWARE=${common.firmware_version}
-D CURRENT_TIME=$UNIX_TIME