-
Notifications
You must be signed in to change notification settings - Fork 2
/
platformio.ini
82 lines (60 loc) · 1.83 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
; 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 = M5StickC_AudioVisLed_Release
default_envs = M5StickC_AudioVisLed_Debug
[env:M5StickC_AudioVisLed_Debug]
platform = espressif32
board = m5stick-c
framework = arduino
lib_deps =
M5StickC
FastLED
https://github.com/kosme/arduinoFFT.git#develop
upload_speed = 1500000
monitor_speed = 115200
build_type = debug
;build_flags = -D CORE_DEBUG_LEVEL=5 ; 'Verbose'
build_flags = -D CORE_DEBUG_LEVEL=4 ; 'Debug'
monitor_filters = log2file, esp32_exception_decoder, default
[env:M5StickC_AudioVisLed_LogRawAudio]
platform = espressif32
board = m5stick-c
framework = arduino
lib_deps =
M5StickC
FastLED
https://github.com/kosme/arduinoFFT.git#develop
upload_speed = 1500000
monitor_speed = 115200
build_type = debug
;build_flags = -D CORE_DEBUG_LEVEL=5 ; 'Verbose'
build_flags = -D CORE_DEBUG_LEVEL=0 ; 'None'
monitor_filters = log2file, direct
[env:M5StickC_AudioVisLed_Release]
platform = espressif32
board = m5stick-c
framework = arduino
lib_deps =
M5StickC
FastLED
https://github.com/kosme/arduinoFFT.git#develop
upload_speed = 1500000
monitor_speed = 115200
build_type = release
build_flags = -D CORE_DEBUG_LEVEL=1
monitor_filters = time, default
; ***** Available Log Levels *****
;#define ARDUHAL_LOG_LEVEL_NONE (0)
;#define ARDUHAL_LOG_LEVEL_ERROR (1)
;#define ARDUHAL_LOG_LEVEL_WARN (2)
;#define ARDUHAL_LOG_LEVEL_INFO (3)
;#define ARDUHAL_LOG_LEVEL_DEBUG (4)
;#define ARDUHAL_LOG_LEVEL_VERBOSE (5)