-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
44 lines (41 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
; 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 = WEMOS_D1
[common]
build_flags = -DCORE_DEBUG_LEVEL=5
# some compiler options to get rid of not really critical messages while compiling
-Wno-unused-variable
-Wno-format-extra-args
-Wno-misleading-indentation
-Os
# generate debug information
# use -g for default, -g1 for minimal, -g3 for maximal debug information or
# -g0 for turning debug information off
-g0
build_unflags =
lib_deps = https://github.com/FastLED/FastLED.git@>=3.4
https://github.com/crankyoldgit/IRremoteESP8266.git@>=2.7.20
https://github.com/kosme/arduinoFFT.git
https://github.com/tzapu/WiFiManager.git
[env:WEMOS_D1]
platform = espressif8266
framework = arduino
board = d1_mini # Important because of the different pin-out
board_build.mcu = esp8266
board_build.f_cpu = 80000000L
board_build.filesystem = littlefs
board_build.partitions = custompart.csv
lib_deps = ${common.lib_deps}
build_flags = ${common.build_flags}
upload_protocol = esptool
upload_port = COM8 # set this to your preferred port
monitor_port = COM8 # set this to your preferred port
monitor_speed = 115200