-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathplatformio_32.ini
68 lines (54 loc) · 2.7 KB
/
platformio_32.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
56
57
58
59
60
61
62
63
64
65
66
67
; 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 = relay-shuji
[env]
extends = esp_defaults
framework = arduino
board = esp32dev
board_build.flash_mode = dout
board_build.partitions = esp32_partition_app1600k_spiffs800k_custom32k.csv
platform = espressif32
build_flags =
-DBEARSSL_SSL_BASIC
-DCORE_DEBUG_LEVEL=0
-DNDEBUG
-w -g
${esp_defaults.build_flags}
build_unflags = -Wall
-Wdeprecated-declarations
monitor_filters = esp32_exception_decoder
[env:relay-esp32]
build_flags = ${env.build_flags} -DUSE_RCSWITCH -DUSE_DIMMING
lib_deps = ${env.lib_deps}
rc-switch=https://github.com/sui77/rc-switch.git
[env:relay-pwm]
;build_type = debug
extends = esp_wifi
build_flags = ${env.build_flags} -DUSE_RCSWITCH -DUSE_DIMMING -DUSE_ZIGBEE -DUSE_UFILESYS
lib_extra_dirs = lib_zigbee2mqtt
lib_deps = ${env.lib_deps}
rc-switch=https://github.com/sui77/rc-switch.git
LITTLEFS=https://github.com/lorol/LITTLEFS
[env:relay-lan]
extends = esp_wifi
build_flags = ${env.build_flags} -DUSE_ZIGBEE -DGPIO_ZIGBEE_RST=14 -DGPIO_ZIGBEE_TX=33 -DGPIO_ZIGBEE_RX=32 -DONLY_ZIGBEE
lib_deps = ${env.lib_deps}
[env:relay-shuji]
build_flags = ${env.build_flags} -DUSE_DIMMING -DUSE_SHUJI -DMAX_RELAY_NUM=16 -DMAX_PWM_NUM=6 -DPWM_SHIFT=2 -DUSE_HOMEKIT -DUSE_UFILESYS -DCONFIG_IDF_TARGET_ESP32=1
lib_deps = ${env.lib_deps}
Wire
ShiftRegister74HC595
SparkFun_SX1509_Arduino_Library=https://github.com/sparkfun/SparkFun_SX1509_Arduino_Library.git
LITTLEFS=https://github.com/lorol/LITTLEFS
[env:relay-esp32-homekit]
build_flags = ${env.build_flags} -DUSE_RCSWITCH -DUSE_DIMMING -DUSE_HOMEKIT -DUSE_UFILESYS
lib_deps = ${env.lib_deps}
rc-switch=https://github.com/sui77/rc-switch.git
LITTLEFS=https://github.com/lorol/LITTLEFS