-
-
Notifications
You must be signed in to change notification settings - Fork 70
/
platformio.ini
34 lines (27 loc) · 1.15 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
; You can adjust speed of the serial port communication by adjusting 'SERIALCOM_SPEED' variable in [env] section
; Also you can force to clear LEDs on the esp8266 start up (-DCLEAR_LEDS=number_of_leds_to_clear)
; The pinout can not be changed for esp8266 board
[platformio]
default_envs = SK6812_RGBW_COLD, SK6812_RGBW_NEUTRAL, WS281x_RGB, SPI_APA102_SK9822_HD107, SPI_WS2801
[env]
build_flags = -DSERIALCOM_SPEED=2000000 ;-DCLEAR_LEDS=24 ;remove leading semi-colon to uncomment
extra_scripts = pre:extra_script.py
platform = espressif8266
board = d1_mini
framework = arduino
lib_deps = makuna/[email protected]
[env:SK6812_RGBW_COLD]
build_flags = -DNEOPIXEL_RGBW -DCOLD_WHITE ${env.build_flags}
custom_prog_version = SK6812_RGBW_COLD
[env:SK6812_RGBW_NEUTRAL]
build_flags = -DNEOPIXEL_RGBW ${env.build_flags}
custom_prog_version = SK6812_RGBW_NEUTRAL
[env:WS281x_RGB]
build_flags = -DNEOPIXEL_RGB ${env.build_flags}
custom_prog_version = WS281x_RGB
[env:SPI_APA102_SK9822_HD107]
build_flags = -DSPILED_APA102 ${env.build_flags}
custom_prog_version = SPI_APA102_SK9822_HD107
[env:SPI_WS2801]
build_flags = -DSPILED_WS2801 ${env.build_flags}
custom_prog_version = SPI_WS2801