-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplatformio.ini
More file actions
44 lines (38 loc) · 1.25 KB
/
platformio.ini
File metadata and controls
44 lines (38 loc) · 1.25 KB
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
; ---------------------
; | Common settings |
; ---------------------
[common]
monitor_speed = 115200 ; Serial port speed
build_flags =
-D FIRMWARE_VERSION=\"v0.1\" ; Firmware version
lib_deps =
adafruit/Adafruit NeoPixel ; NeoPixel / WS2812 LED control
;olikraus/U8g2 ; OLED display library
;lnlp/EasyLed ; LED library
;mikalhart/TinyGPS ; GPS library
[env:esp01]
platform = espressif8266
board = esp01
board_build.flash_mode = dout
framework = arduino
upload_protocol = esptool
;upload_speed = 921600
monitor_speed = ${common.monitor_speed}
lib_deps =
${common.lib_deps}
build_flags =
${common.build_flags}
-D MONITOR_SPEED=${common.monitor_speed}
-D SERIAL_DEBUGGING
-D USE_LED
-D USE_MULTICAST
-D USE_UNICAST_FALLBACK