-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathplatformio.ini
More file actions
86 lines (75 loc) · 2.17 KB
/
platformio.ini
File metadata and controls
86 lines (75 loc) · 2.17 KB
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[platformio]
default_envs = default, zcd, json
lib_dir = .
src_dir = examples/CycleStealingWithZCD
; src_dir = examples/CycleStealing
; src_dir = examples/DAC
; src_dir = examples/DACAuto
; src_dir = examples/Json
; src_dir = examples/MultipleDimmers
; src_dir = examples/PWM
; src_dir = examples/Thyristor
; src_dir = examples/ThyristorAutoFrequency
; src_dir = examples/ThyristorWithFS
[env]
framework = arduino
board = esp32dev
build_flags =
-D CONFIG_ARDUHAL_LOG_COLORS
-D CORE_DEBUG_LEVEL=ARDUHAL_LOG_LEVEL_DEBUG
-Wall -Wextra
-std=c++17
-std=gnu++17
-Og
build_unflags =
-std=gnu++11
upload_protocol = esptool
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, log2file
board_build.partitions = tools/partitions-4MB-dec.csv
board_build.app_partition_name = app
board_upload.offset_address = 0xB0000
[env:default]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.38/platform-espressif32.zip
[env:zcd]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.38/platform-espressif32.zip
lib_deps =
mathieucarbou/MycilaPulseAnalyzer @ 3.0.11
build_flags =
${env.build_flags}
-D CONFIG_ARDUINO_ISR_IRAM=1
-D CONFIG_GPTIMER_ISR_HANDLER_IN_IRAM=1
-D CONFIG_GPTIMER_CTRL_FUNC_IN_IRAM=1
-D CONFIG_GPTIMER_ISR_IRAM_SAFE=1
-D CONFIG_GPIO_CTRL_FUNC_IN_IRAM=1
[env:json]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.38/platform-espressif32.zip
lib_deps =
bblanchon/ArduinoJson @ 7.4.3
build_flags =
${env.build_flags}
-D MYCILA_JSON_SUPPORT
; CI
[env:ci]
platform = ${sysenv.PIO_PLATFORM}
board = ${sysenv.PIO_BOARD}
[env:ci-zcd]
platform = ${sysenv.PIO_PLATFORM}
board = ${sysenv.PIO_BOARD}
lib_deps =
mathieucarbou/MycilaPulseAnalyzer @ 3.0.11
build_flags =
${env.build_flags}
-D CONFIG_ARDUINO_ISR_IRAM=1
-D CONFIG_GPTIMER_ISR_HANDLER_IN_IRAM=1
-D CONFIG_GPTIMER_CTRL_FUNC_IN_IRAM=1
-D CONFIG_GPTIMER_ISR_IRAM_SAFE=1
-D CONFIG_GPIO_CTRL_FUNC_IN_IRAM=1
[env:ci-json]
platform = ${sysenv.PIO_PLATFORM}
board = ${sysenv.PIO_BOARD}
lib_deps =
bblanchon/ArduinoJson @ 7.4.3
build_flags =
${env.build_flags}
-D MYCILA_JSON_SUPPORT