-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
100 lines (93 loc) · 2.39 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
[env]
build_flags =
-I include
; -fpermissive
-DUSE_SPIFFS
-DconfigUSE_TRACE_FACILITY=1
-DconfigUSE_STATS_FORMATTING_FUNCTIONS=1
lib_extra_dirs = ~/Documents/Arduino/libraries
lib_deps =
SPIFFS
frankboesing/FastCRC@^1.41
br3ttb/PID@^1.2.1
budryerson/TFMPlus@^1.5.0
me-no-dev/AsyncTCP@^1.1.1
mathieucarbou/ESPAsyncWebServer@^3.3.12
bblanchon/ArduinoJson@^7.2.0
bolderflight/Bolder Flight Systems SBUS@^8.1.4
adafruit/Adafruit MPU6050@^2.2.6
;--------------------------------------------------------------
; RELEASE build
;--------------------------------------------------------------
[env:release]
platform = espressif32
board = esp32dev
framework = arduino
monitor_speed = 115200
board_build.filesystem = spiffs
build_flags =
${env.build_flags}
-O3
lib_extra_dirs =
${env.lib_extra_dirs}
lib_deps =
${env.lib_deps}
;--------------------------------------------------------------
; DEBUG build
;--------------------------------------------------------------
[env:debug]
platform = espressif32
board = esp32dev
framework = arduino
board_build.filesystem = spiffs
debug_tool = esp-prog
upload_protocol = esp-prog
debug_init_break = tbreak setup
;debug_init_break = tbreak receiverTask
debug_speed = 20000
build_type = debug
build_unflags = -O1 -O2 -O3 -Os -s -Wl,-S
platform_packages = tool-openocd-esp32 @ ~2.1200.0
debug_build_flags =
${env.build_flags}
-O0
-g3
-ggdb
-DDEBUG
-DCORE_DEBUG_LEVEL=5
-DDEBUG_FREERTOS
-fno-inline
-fno-omit-frame-pointer
-gdwarf-2
debug_extra_cmds =
source /Users/bernhardklein/esp/esp-idf/gdbinit
set substitute-path /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf /Users/bernhardklein/esp/esp-idf
lib_extra_dirs =
${env.lib_extra_dirs}
lib_deps =
${env.lib_deps}
;--------------------------------------------------------------
; UNIT-Test build
; das funktioniert leider nicht so wie ich es dachte
;
;--------------------------------------------------------------
;[env:unit_test]
;platform = espressif32
;board = esp32dev
;framework = arduino
;board_build.filesystem = spiffs
;monitor_speed = 115200
;
;test_build_src = true
;;test_filter = test_sensors/*
;
;build_unflags = -Wall
;build_flags =
; ${env.build_flags}
; -w
;
;lib_extra_dirs =
; ${env.lib_extra_dirs}
;lib_deps =
; ${env.lib_deps}
; throwtheswitch/Unity@^2.6.0