forked from realA10001986/Flux-Capacitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.ini
43 lines (40 loc) · 1.35 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
; 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 = esp32dev
data_dir = src/data
[env:esp32dev]
platform = espressif32 ;@ 6.3.2
framework = arduino
board = nodemcu-32s
platform_packages =
framework-arduinoespressif32 ;@ 2.0.6
board_build.f_cpu = 240000000L
board_build.flash_mode = qio
lib_deps =
;earlephilhower/ESP8266Audio @ ^1.9.7
gianbacchio/ESP8266Spiram @ ^1.0
;https://github.com/tzapu/WiFiManager.git ;now local
ArduinoJson @ ^6.21.5
upload_speed = 921600
monitor_speed = 115200
build_flags =
-std=gnu++11
-mtarget-align
;see fc_global.h for full explanations of these options
-DFC_DBG ;enables serial debug
#-DUSE_SPIFFS ;use SPIFFS for arduinoespressif32 < 2.0, otherwise use LittleFS - If LittleFS uncomment board_build.filesystem below
board_build.filesystem = LittleFS ;uncomment if using LittleFS - make sure USE_SPIFFS IS commented above
build_src_flags =
-DDEBUG_PORT=Serial
-ggdb
;uncomment the following to use the esp32 exception decoder
#monitor_filters = esp32_exception_decoder
#build_type = debug