-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
platformio.ini
74 lines (70 loc) · 2.06 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
; 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]
default_envs = release
[esp32doit]
lib_ldf_mode = chain
lib_compat_mode = strict
platform = espressif32 @ 6.0.1
board = esp32doit-devkit-v1
framework = arduino
board_build.partitions = min_spiffs.csv
board_build.filesystem = littlefs
upload_speed = 921600
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
build_flags =
!python git_tag_macro.py
!python build_date_macro.py
-D CONFIG_BT_NIMBLE_MAX_CONNECTIONS=7
-D CONFIG_MDNS_STRICT_MODE=1
-D CORE_DEBUG_LEVEL=1
-D ARDUINO_SERIAL_EVENT_TASK_STACK_SIZE=3500
lib_deps =
https://github.com/h2zero/NimBLE-Arduino/archive/refs/tags/1.4.0.zip
https://github.com/teemuatlut/TMCStepper/archive/refs/tags/v0.7.3.zip
https://github.com/bblanchon/ArduinoJson/archive/refs/tags/v6.20.0.zip
https://github.com/gin66/FastAccelStepper/archive/refs/tags/0.31.2.zip
https://github.com/gilmaimon/ArduinoWebsockets/archive/refs/tags/0.5.3.zip
[env:release]
extends = esp32doit
[env:debug]
extends = esp32doit
build_type = debug
build_flags = ${esp32doit.build_flags} -D__DEBUG__=1
debug_tool = esp-prog
debug_init_break = tbreak setup
check_tool = cppcheck
check_flags =
--enable=all
--suppress=*:*/.pio/*
--suppress=*:*/lib/NimBLE-Arduino/*
--suppress=unmatchedSuppression
--suppress=missingIncludeSystem
check_severity = medium, high
check_skip_packages = true
[env:native]
platform = native
lib_deps =
ArduinoFake
lib/ArduinoCompat
lib/SS2K
build_flags =
-std=c++11
lib_ldf_mode = chain+
lib_compat_mode = soft
check_tool = cppcheck
check_flags =
--enable=all
--suppress=*:*/.pio/*
--suppress=unmatchedSuppression
--suppress=missingIncludeSystem
check_severity = medium, high
check_skip_packages = true