forked from doudar/SmartSpin2k
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
62 lines (59 loc) · 1.69 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
; 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 = esp32doit
[common_env_data]
lib_deps =
;https://github.com/h2zero/NimBLE-Arduino.git#master //Nimble is tracked and including this will probably cause issues.
teemuatlut/TMCStepper@^0.7.1
bblanchon/ArduinoJson@^6.17.2
https://github.com/witnessmenow/Universal-Arduino-Telegram-Bot/archive/V1.3.0.zip
[env:esp32doit]
build_flags =
!python git_tag_macro.py
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#master
board_build.partitions = min_spiffs.csv
upload_speed = 921600
monitor_speed = 512000
debug_init_break = tbreak setup
lib_deps =
${common_env_data.lib_deps}
lib/SS2K
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