-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
platformio.ini
70 lines (66 loc) · 1.98 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
; 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 = debug
[esp32doit]
lib_ldf_mode = chain+
lib_compat_mode = strict
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino
platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#1.0.6
; toolchain version may need to be specified here if the framework version is modified i.e. toolchain-xtensa32@~2.80400.0
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_speed = 512000
build_flags =
!python git_tag_macro.py
!python build_date_macro.py
-DCONFIG_BT_NIMBLE_MAX_CONNECTIONS=6
lib_deps =
https://github.com/h2zero/NimBLE-Arduino.git#master
teemuatlut/TMCStepper@^0.7.1
bblanchon/ArduinoJson@^6.17.2
https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot.git#master
https://github.com/gin66/FastAccelStepper/archive/refs/tags/0.23.2.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 =
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