forked from schreibfaul1/ESP32-MiniWebRadio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
72 lines (62 loc) · 2.96 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
; 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/en/latest/platforms/espressif32.html
[env:esp32dev]
;platform = https://github.com/platformio/platform-espressif32.git#v4.2.0 ; Arduino V2.0.1
;platform = https://github.com/platformio/platform-espressif32.git#v4.4.0 ; Arduino V2.0.3
;platform = https://github.com/platformio/platform-espressif32.git#v5.0.0 ; Arduino V2.0.4
;platform = https://github.com/platformio/platform-espressif32.git#v5.1.0 ; Arduino V2.0.4
platform = https://github.com/platformio/platform-espressif32.git#v5.2.0 ; Arduino V2.0.5
;platform = https://github.com/platformio/platform-espressif32.git
board = esp32dev ;chipmodel ESP32, 4M FLASH, USBtoTTL
;board = um_tinys3 ;chipmodel ESP32S3, 8M FLASH, HAS_PSRAM, SerialUSB
;board = esp32-12k ;chipmodel ESP32S3, 8M FLASH, HAS_PSRAM, USBtoTTL
board_build.f_cpu = 240000000L
board_build.flash_size=4MB
board_build.flash_freq=80M
board_build.spiram_mode=2
framework = arduino
monitor_speed = 115200
monitor_filters = esp32_exception_decoder
board_build.partitions = miniwebradio.csv
upload_speed = 460800 ; 921600, 512000, 460800, 256000, 115200
lib_deps =
https://github.com/schreibfaul1/ESP32-IR-Remote-Control.git
https://github.com/schreibfaul1/ESP32-vs1053_ext.git
https://github.com/schreibfaul1/ESP32-audioI2S.git
platform_packages =
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.1-RC1
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.3
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.4
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#2.0.5
; framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#master ; newest release
board_upload.maximum_size = 3145728
board_upload.flash_size = 4MB
board_build.flash_mode = qio
board_build.bootloader = dio
;build_flags = -DCORE_DEBUG_LEVEL=0 ; None
;build_flags = -DCORE_DEBUG_LEVEL=1 ; Error
;build_flags = -DCORE_DEBUG_LEVEL=2 ; Warn
;build_flags = -DCORE_DEBUG_LEVEL=3 ; Info
;build_flags = -DCORE_DEBUG_LEVEL=4 ; Debug
;build_flags = -DCORE_DEBUG_LEVEL=5 ; Verbose
build_flags =
; -Wall
; -Wextra
-Wdouble-promotion ; double to float warnings
-Wimplicit-fallthrough ; switch case without break
-DCORE_DEBUG_LEVEL=3
-DCONFIG_ARDUHAL_LOG_COLORS
-DBOARD_HAS_PSRAM
-DARDUINO_RUNNING_CORE=1 ; Arduino Runs On Core (setup, loop)
-DARDUINO_EVENT_RUNNING_CORE=1 ; Events Run On Core
; -DAUDIO_LOG
build_unflags =
; -DARDUINO_USB_CDC_ON_BOOT=0 ; traditional log
; -DBOARD_HAS_PSRAM