-
Notifications
You must be signed in to change notification settings - Fork 8
/
platformio.ini
55 lines (50 loc) · 1.18 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
; 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
[platformio]
description = Web interface for Huebner inverter
default_envs = release
src_dir = .
data_dir = data
extra_configs = platformio-local-override.ini
[common]
monitor_speed = 115200
[env]
platform = espressif32
framework = arduino
platform_packages = platformio/tool-esptoolpy
board = esp32dev
board_build.filesystem = spiffs
board_build.flash_mode = qout
build_src_filter = +<*> -<.git/> -<.svn/> -<src/flashloader>
upload_speed = 921600
upload_flags =
--after
no_reset_stub
[env:release]
build_flags =
${env.build_flags}
-D RELEASE
build_type = release
lib_deps =
fbiego/ESP32Time@^2.0.0
adafruit/RTClib@^2.1.1
SPI
[env:debug]
build_flags =
${env.build_flags}
-D DEBUG
-DDEBUG_ESP_PORT=Serial
-DDEBUG_ESP_CORE
-DDEBUG_ESP_WIFI
build_type = debug
lib_deps =
fbiego/ESP32Time@^2.0.0
adafruit/RTClib@^2.1.1
SPI