-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
81 lines (79 loc) · 1.96 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
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
[common]
lib_deps =
OneWire
Uptime Library
ArduinoJson
#teckel12/NewPing
https://github.com/Gizmodo/G8825.git
https://github.com/joruizdegaribay/shiftduino.git
bblanchon/StreamUtils
#stechio/Analog-Digital Multiplexers @ ^3.0.0
[env:ESP8266]
board_build.f_cpu = 160000000L
platform = espressif8266
board = esp12e
framework = arduino
monitor_speed = 115200
upload_speed = 921600
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
monitor_filters = esp8266_exception_decoder
build_type = debug
check_tool = pvs-studio
check_flags =
pvs-studio:
--analysis-mode=4
--exclude-path=/.pio/libdeps
build_flags =
# -DMMU_IRAM_SIZE=0xC000
# -DMMU_ICACHE_SIZE=0x4000
# -DMMU_IRAM_HEAP
# -DDEBUG_ESP_PORT=Serial
# -DDEBUG_ESP_CORE
# -DDEBUG_ESP_SSL
# -DDEBUG_ESP_HTTP_CLIENT
# -DDEBUG_ESP_HTTP_SERVER
-O2
-DDEBUG_ESP_OOM
# -DBEARSSL_SSL_BASIC
-std=c++17
-fno-exceptions
-DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_NONOSDK3V0
-DVTABLES_IN_FLASH
-Wno-unknown-pragmas
-DARDUINOJSON_USE_LONG_LONG=1
-DARDUINOJSON_USE_DOUBLE=1
-DWORK_DEF0
build_unflags =
-std=c++11
lib_deps =
${common.lib_deps}
[env1:ESP32]
board = esp32doit-devkit-v1
framework = arduino
platform = espressif32
platform_packages =
toolchain-xtensa32 @ 3.80200.200512
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git
monitor_speed = 115200
upload_speed = 921600
build_type = debug
upload_port = /dev/ttyUSB0
monitor_port = /dev/ttyUSB0
monitor_filters = esp32_exception_decoder
check_tool = pvs-studio
check_flags = pvs-studio: --analysis-mode 32 --exclude-path=/.pio/libdeps/
lib_deps =
${common.lib_deps}
build_unflags =
-std=c++11
build_flags =
-O2
-DCORE_DEBUG_LEVEL=5
-DESP32=1
-DARDUINO_ARCH_ESP32=1
-std=c++17
-Wno-unknown-pragmas
-DARDUINOJSON_USE_LONG_LONG=1
-DARDUINOJSON_USE_DOUBLE=1